From: Huck Boles Date: Sat, 22 Oct 2022 17:00:02 +0000 (-0500) Subject: automatic backup X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=ff0f7b217248bd60e7bfaf995c5171567a1ea580;p=odot.git automatic backup --- diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@alloca.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@alloca.h.blob index 899af99..d86109c 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@alloca.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@alloca.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@atomic_wide_counter.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@atomic_wide_counter.h.blob index b7f5f30..492f865 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@atomic_wide_counter.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@atomic_wide_counter.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@byteswap.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@byteswap.h.blob index 5f7f1eb..b859ea7 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@byteswap.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@byteswap.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endian.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endian.h.blob index 533ada9..9727efa 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endian.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endian.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endianness.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endianness.h.blob index 8376355..1305858 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endianness.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@endianness.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn-common.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn-common.h.blob index 691d09d..0b6438b 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn-common.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn-common.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn.h.blob index 98609aa..6c085e0 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@floatn.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@libc-header-start.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@libc-header-start.h.blob index 9df32ba..5e2fc39 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@libc-header-start.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@libc-header-start.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@long-double.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@long-double.h.blob index 926d0af..c179bd3 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@long-double.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@long-double.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes-arch.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes-arch.h.blob index eb339b5..a95bcd3 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes-arch.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes-arch.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes.h.blob index 58e50ff..22c68f3 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@pthreadtypes.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@select.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@select.h.blob index 30155ac..e23301f 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@select.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@select.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdint-intn.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdint-intn.h.blob index 8374ea6..b844b25 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdint-intn.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdint-intn.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdio_lim.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdio_lim.h.blob index 62dc396..c3501b5 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdio_lim.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdio_lim.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdlib-float.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdlib-float.h.blob index 7b6c5c2..fa813d9 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdlib-float.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@stdlib-float.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_mutex.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_mutex.h.blob index 06660e0..adf8500 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_mutex.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_mutex.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_rwlock.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_rwlock.h.blob index 56e3cc5..f5dcb3b 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_rwlock.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@struct_rwlock.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@thread-shared-types.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@thread-shared-types.h.blob index 120d525..e152d0c 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@thread-shared-types.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@thread-shared-types.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time.h.blob index aceb24f..7601b30 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time64.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time64.h.blob index 03bbdaa..271fbc1 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time64.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@time64.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@timesize.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@timesize.h.blob index e27db2c..01e5eb1 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@timesize.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@timesize.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types.h.blob index bb5f9fe..397eee9 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@FILE.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@FILE.h.blob index 4ae1be7..b2eaac6 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@FILE.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@FILE.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__FILE.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__FILE.h.blob index cd8f071..fe30053 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__FILE.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__FILE.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos64_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos64_t.h.blob index f30a54d..f90f738 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos64_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos64_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos_t.h.blob index 7b94062..dc88dd8 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__fpos_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__locale_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__locale_t.h.blob index 41fdbb6..856dab4 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__locale_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__locale_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__mbstate_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__mbstate_t.h.blob index b8e3329..fe7aca3 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__mbstate_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__mbstate_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__sigset_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__sigset_t.h.blob index 9b278be..f931a53 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__sigset_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@__sigset_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clock_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clock_t.h.blob index 74cbb7c..7663dfa 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clock_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clock_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clockid_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clockid_t.h.blob index 114b219..062b74e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clockid_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@clockid_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@locale_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@locale_t.h.blob index 428fb16..36f8628 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@locale_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@locale_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@sigset_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@sigset_t.h.blob index 7e8459d..f159c20 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@sigset_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@sigset_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_FILE.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_FILE.h.blob index ee02955..88e43b8 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_FILE.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_FILE.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_itimerspec.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_itimerspec.h.blob index 6c2a459..10c09cd 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_itimerspec.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_itimerspec.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timespec.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timespec.h.blob index 97e0b42..e701600 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timespec.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timespec.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timeval.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timeval.h.blob index fb2d47b..288d577 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timeval.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_timeval.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_tm.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_tm.h.blob index fef60e7..22b9a02 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_tm.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@struct_tm.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@time_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@time_t.h.blob index 07ed960..c4868f4 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@time_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@time_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@timer_t.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@timer_t.h.blob index ef8b5a2..88eba7e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@timer_t.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@types@timer_t.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@typesizes.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@typesizes.h.blob index 7c044a6..146064e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@typesizes.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@typesizes.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@uintn-identity.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@uintn-identity.h.blob index b4df500..4e45704 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@uintn-identity.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@uintn-identity.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitflags.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitflags.h.blob index d802eb7..7b374a5 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitflags.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitflags.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitstatus.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitstatus.h.blob index 29f35f7..fee1c08 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitstatus.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@waitstatus.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@wordsize.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@wordsize.h.blob index 7870468..83d7c43 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@wordsize.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@bits@wordsize.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@ctype.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@ctype.h.blob index 08f0be3..844666e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@ctype.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@ctype.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@endian.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@endian.h.blob index bff8782..ecacf64 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@endian.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@endian.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features-time64.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features-time64.h.blob index 73e7ab5..fa4aeee 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features-time64.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features-time64.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features.h.blob index 53fd5de..be90214 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@features.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs-64.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs-64.h.blob index 52d62fb..006dd6e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs-64.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs-64.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs.h.blob index 2b84f8b..234c447 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@gnu@stubs.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdc-predef.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdc-predef.h.blob index ec725de..605f6ab 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdc-predef.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdc-predef.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdio.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdio.h.blob index f7f3f3e..46791e7 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdio.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdio.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdlib.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdlib.h.blob index 8075e38..9407580 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdlib.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@stdlib.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@string.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@string.h.blob index 8f17dd3..7ca7c8a 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@string.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@string.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@strings.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@strings.h.blob index 8381de7..3bcb320 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@strings.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@strings.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@cdefs.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@cdefs.h.blob index e036e58..f66b0cb 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@cdefs.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@cdefs.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@select.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@select.h.blob index 5cc5e99..e5f93e9 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@select.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@select.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@types.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@types.h.blob index 26c055b..9754b2e 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@types.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@sys@types.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@time.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@time.h.blob index f73f1a9..7b24f83 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@include@time.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@include@time.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stdarg.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stdarg.h.blob index 419fa60..47ed2b8 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stdarg.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stdarg.h.blob differ diff --git a/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stddef.h.blob b/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stddef.h.blob index 8bf5ca3..c622d3b 100644 Binary files a/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stddef.h.blob and b/.ccls-cache/@@home@huck@.repos@odot/@usr@lib@clang@14.0.6@include@stddef.h.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/dialogue.c b/.ccls-cache/@home@huck@.repos@odot/dialogue.c index 9e186ad..599408c 100644 --- a/.ccls-cache/@home@huck@.repos@odot/dialogue.c +++ b/.ccls-cache/@home@huck@.repos@odot/dialogue.c @@ -3,7 +3,18 @@ void error(char type){ switch (type) { case 'f': + fprintf(stderr,"ERROR: COULD NOT ACCESS FILE: %s\n", TODOLIST); + exit(1); case 't': - case '' + fprintf(stderr,"ERROR: COULD NOT GET CURRENT TIME\n"); + exit(2); + case 'r': + fprintf(stderr,"ERROR: ARGUMENT OUT OF RANGE\n"); + exit(3); } } + +void dialogue(char *m1, char *m2, int c){ + printf("\033[1;3%im%s\033[0m: %s\n", c, m1, m2); + return; +} diff --git a/.ccls-cache/@home@huck@.repos@odot/dialogue.c.blob b/.ccls-cache/@home@huck@.repos@odot/dialogue.c.blob index 0f2a42f..47b96a6 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/dialogue.c.blob and b/.ccls-cache/@home@huck@.repos@odot/dialogue.c.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/file.c b/.ccls-cache/@home@huck@.repos@odot/file.c index 9800c59..9449bae 100644 --- a/.ccls-cache/@home@huck@.repos@odot/file.c +++ b/.ccls-cache/@home@huck@.repos@odot/file.c @@ -8,10 +8,8 @@ enum color {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE}; void add(void){ fp = fopen(TODOLIST, "a"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE: %s\n",TODOLIST); - return; - } + if (fp == NULL) + error('f'); fputs(strcat(note,"\n"),fp); fclose(fp); } @@ -21,10 +19,8 @@ void rem(void){ FILE *tmp = fopen("temp", "w"); fp = fopen(TODOLIST, "r"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE: %s\n",TODOLIST); - return; - } + if (fp == NULL) + error('f'); while (fgets(s, MAXLINE, fp) != NULL){ @@ -46,11 +42,8 @@ void rem(void){ void show(void){ char *c = (char *) malloc(MAXLINE * sizeof(int)); - fp = fopen(TODOLIST,"r"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE %s",TODOLIST); - return; - } + if (fp == NULL) + error('f'); while (fgets(c, MAXLINE, fp) != NULL ) printf("\t\t\033[1;3%im*\033[0m %s",geturgency(urgency), c); diff --git a/.ccls-cache/@home@huck@.repos@odot/file.c.blob b/.ccls-cache/@home@huck@.repos@odot/file.c.blob index 5ce3b00..2417fd5 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/file.c.blob and b/.ccls-cache/@home@huck@.repos@odot/file.c.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/func.c b/.ccls-cache/@home@huck@.repos@odot/func.c index e88fb54..4d025af 100644 --- a/.ccls-cache/@home@huck@.repos@odot/func.c +++ b/.ccls-cache/@home@huck@.repos@odot/func.c @@ -2,14 +2,17 @@ enum color {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE}; -int listcheck(void){ - char *s = malloc(MAXLINE * sizeof(char)); + +int listcheck(struct task t){ + char *s = malloc(t.length* sizeof(char)); fp = fopen(TODOLIST, "r"); + if (fp == NULL) + error('f'); - while (fgets(s, MAXLINE, fp) != NULL){ + while (fgets(s, t.length, fp) != NULL){ s[strlen(s) - 1] = 0; - if (strcmp(note, s) == 0){ + if (strcmp(t.task, s) == 0){ free(s); return 1; } @@ -27,26 +30,38 @@ int geturgency(int n){ else return GREEN; } else { - printf("ERROR: urgency OUT OF RANGE"); - return -1; + error('r'); } - } char *gettime(void){ - char *c = malloc(64*sizeof(char)); - time_t t = time(NULL); + struct tm *s; + time_t *t ; + char *c = malloc(16*sizeof(char)); + + *t = time(NULL); if (t == ((t) - 1)){ error('t'); } + + s = localtime(t); - c = ctime(&t); + strftime(c, 16, "%y-%m-%d %H:%M", s); if (c == NULL){ error('t'); } return c; +} - +int linecount(FILE *fp){ + int i = 0; + char c; + while ((c = fgetc(fp)) != EOF){ + if (c == '\n') + i++; + } + rewind(fp); + return i; } diff --git a/.ccls-cache/@home@huck@.repos@odot/func.c.blob b/.ccls-cache/@home@huck@.repos@odot/func.c.blob index 1e4696f..c06aab0 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/func.c.blob and b/.ccls-cache/@home@huck@.repos@odot/func.c.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/input.c b/.ccls-cache/@home@huck@.repos@odot/input.c index 5f1ac10..a0dbedf 100644 --- a/.ccls-cache/@home@huck@.repos@odot/input.c +++ b/.ccls-cache/@home@huck@.repos@odot/input.c @@ -36,7 +36,7 @@ void getopt(int n, char *arg[]){ if (isdigit((int) *++arg)){ urgency = (int) *arg; } else { - printf("Non-integer argument for -i: %s\n", *arg); + error('r'); } } else { urgency = 5; diff --git a/.ccls-cache/@home@huck@.repos@odot/input.c.blob b/.ccls-cache/@home@huck@.repos@odot/input.c.blob index 00881a6..36a66b3 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/input.c.blob and b/.ccls-cache/@home@huck@.repos@odot/input.c.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/main.c b/.ccls-cache/@home@huck@.repos@odot/main.c index 745a777..6ec8b64 100644 --- a/.ccls-cache/@home@huck@.repos@odot/main.c +++ b/.ccls-cache/@home@huck@.repos@odot/main.c @@ -6,17 +6,17 @@ extern int urgency; int main(int argc, char *argv[]){ char op; int length,i; + struct task t; note = (char *) malloc(MAXLINE * sizeof(char)); o = (char *) malloc (3 * sizeof(char)); - getnote(argc, argv); - length = strlen(note)+1; + t = maketask(argc, argv); getopt(argc, argv); for (i = 0; i < strlen(o); i++) switch (o[i]) { case 'n': - if (listcheck() == 0){ + if (listcheck(t) == 0){ add(); printf("\033[32mAdded to list\033[0m: %s\n", note); } else { @@ -26,7 +26,7 @@ int main(int argc, char *argv[]){ } break; case 'd': - if (listcheck() == 1) { + if (listcheck(t) == 1) { rem(); printf("\033[36mRemoved from list\033[0m: %s\n", note); } else { diff --git a/.ccls-cache/@home@huck@.repos@odot/main.c.blob b/.ccls-cache/@home@huck@.repos@odot/main.c.blob index 9ab12da..2c2f711 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/main.c.blob and b/.ccls-cache/@home@huck@.repos@odot/main.c.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/odot.h b/.ccls-cache/@home@huck@.repos@odot/odot.h index d617324..81a5ea9 100644 --- a/.ccls-cache/@home@huck@.repos@odot/odot.h +++ b/.ccls-cache/@home@huck@.repos@odot/odot.h @@ -8,16 +8,31 @@ #define TIME "%H:%M %m-%d-%y" #define TODOLIST "/home/huck/.local/state/odot/todo" +struct task { + int length; + char *task; + char *date; + char *due; + int urgency; +}; + char *getnote(int, char *[]); void getopt(int, char *[]); + void add(void); void rem(void); void show(void); -int listcheck(void); + +int listcheck(struct task); int geturgency(int); +char *gettime(void); void error(char); +struct task maketask(int n, char **arg); +void puttask(struct task n, FILE *fp); +struct task gettask(FILE *fp); + char *note, *o; int urgency; FILE *fp; diff --git a/.ccls-cache/@home@huck@.repos@odot/odot.h.blob b/.ccls-cache/@home@huck@.repos@odot/odot.h.blob index 7ca150a..e61d6f5 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/odot.h.blob and b/.ccls-cache/@home@huck@.repos@odot/odot.h.blob differ diff --git a/.ccls-cache/@home@huck@.repos@odot/structure.c b/.ccls-cache/@home@huck@.repos@odot/structure.c index 5071761..ecdfb7f 100644 --- a/.ccls-cache/@home@huck@.repos@odot/structure.c +++ b/.ccls-cache/@home@huck@.repos@odot/structure.c @@ -3,41 +3,29 @@ extern int urgency; extern FILE *fp; -struct task { - int length; - char *task; - int date; - int due; - int urgency; -}; struct task maketask(int n, char **arg){ struct task temp; temp.task = getnote(n,arg); temp.length = strlen(temp.task); - temp.date = 0; + temp.date = gettime(); temp.due = 0; temp.urgency = urgency; return temp; } -void puttask(struct task n){ - fp = fopen(TODOLIST, "w"); +void puttask(struct task n, FILE *fp){ - if (fp == NULL){ - error('f'); - } - - fprintf(fp, "%i\t%s\t%i\t%i\t%i\n",n.length,n.task,n.date,n.due,n.urgency); + fprintf(fp, "%i\t%s\t%s\t%s\t%i\n",n.length,n.task,n.date,n.due,n.urgency); } -struct task gettask(char *c){ +struct task gettask(FILE *fp){ struct task tmp; - sscanf(c,"%i\t%s\t%i\t%i\t%i\n",&tmp.length,tmp.task,&tmp.date,&tmp.due,&tmp.urgency); + fscanf(fp,"%i\t%s\t%s\t%s\t%i\n",&tmp.length,tmp.task,tmp.date,tmp.due,&tmp.urgency); return tmp; } diff --git a/.ccls-cache/@home@huck@.repos@odot/structure.c.blob b/.ccls-cache/@home@huck@.repos@odot/structure.c.blob index 72290d8..c697e64 100644 Binary files a/.ccls-cache/@home@huck@.repos@odot/structure.c.blob and b/.ccls-cache/@home@huck@.repos@odot/structure.c.blob differ diff --git a/dialogue.c b/dialogue.c index 9e186ad..599408c 100644 --- a/dialogue.c +++ b/dialogue.c @@ -3,7 +3,18 @@ void error(char type){ switch (type) { case 'f': + fprintf(stderr,"ERROR: COULD NOT ACCESS FILE: %s\n", TODOLIST); + exit(1); case 't': - case '' + fprintf(stderr,"ERROR: COULD NOT GET CURRENT TIME\n"); + exit(2); + case 'r': + fprintf(stderr,"ERROR: ARGUMENT OUT OF RANGE\n"); + exit(3); } } + +void dialogue(char *m1, char *m2, int c){ + printf("\033[1;3%im%s\033[0m: %s\n", c, m1, m2); + return; +} diff --git a/file.c b/file.c index 9800c59..9449bae 100644 --- a/file.c +++ b/file.c @@ -8,10 +8,8 @@ enum color {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE}; void add(void){ fp = fopen(TODOLIST, "a"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE: %s\n",TODOLIST); - return; - } + if (fp == NULL) + error('f'); fputs(strcat(note,"\n"),fp); fclose(fp); } @@ -21,10 +19,8 @@ void rem(void){ FILE *tmp = fopen("temp", "w"); fp = fopen(TODOLIST, "r"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE: %s\n",TODOLIST); - return; - } + if (fp == NULL) + error('f'); while (fgets(s, MAXLINE, fp) != NULL){ @@ -46,11 +42,8 @@ void rem(void){ void show(void){ char *c = (char *) malloc(MAXLINE * sizeof(int)); - fp = fopen(TODOLIST,"r"); - if (fp == NULL){ - printf("ERROR: COULD NOT ACCESS FILE %s",TODOLIST); - return; - } + if (fp == NULL) + error('f'); while (fgets(c, MAXLINE, fp) != NULL ) printf("\t\t\033[1;3%im*\033[0m %s",geturgency(urgency), c); diff --git a/func.c b/func.c index e88fb54..4d025af 100644 --- a/func.c +++ b/func.c @@ -2,14 +2,17 @@ enum color {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE}; -int listcheck(void){ - char *s = malloc(MAXLINE * sizeof(char)); + +int listcheck(struct task t){ + char *s = malloc(t.length* sizeof(char)); fp = fopen(TODOLIST, "r"); + if (fp == NULL) + error('f'); - while (fgets(s, MAXLINE, fp) != NULL){ + while (fgets(s, t.length, fp) != NULL){ s[strlen(s) - 1] = 0; - if (strcmp(note, s) == 0){ + if (strcmp(t.task, s) == 0){ free(s); return 1; } @@ -27,26 +30,38 @@ int geturgency(int n){ else return GREEN; } else { - printf("ERROR: urgency OUT OF RANGE"); - return -1; + error('r'); } - } char *gettime(void){ - char *c = malloc(64*sizeof(char)); - time_t t = time(NULL); + struct tm *s; + time_t *t ; + char *c = malloc(16*sizeof(char)); + + *t = time(NULL); if (t == ((t) - 1)){ error('t'); } + + s = localtime(t); - c = ctime(&t); + strftime(c, 16, "%y-%m-%d %H:%M", s); if (c == NULL){ error('t'); } return c; +} - +int linecount(FILE *fp){ + int i = 0; + char c; + while ((c = fgetc(fp)) != EOF){ + if (c == '\n') + i++; + } + rewind(fp); + return i; } diff --git a/input.c b/input.c index 5f1ac10..a0dbedf 100644 --- a/input.c +++ b/input.c @@ -36,7 +36,7 @@ void getopt(int n, char *arg[]){ if (isdigit((int) *++arg)){ urgency = (int) *arg; } else { - printf("Non-integer argument for -i: %s\n", *arg); + error('r'); } } else { urgency = 5; diff --git a/main.c b/main.c index 745a777..6ec8b64 100644 --- a/main.c +++ b/main.c @@ -6,17 +6,17 @@ extern int urgency; int main(int argc, char *argv[]){ char op; int length,i; + struct task t; note = (char *) malloc(MAXLINE * sizeof(char)); o = (char *) malloc (3 * sizeof(char)); - getnote(argc, argv); - length = strlen(note)+1; + t = maketask(argc, argv); getopt(argc, argv); for (i = 0; i < strlen(o); i++) switch (o[i]) { case 'n': - if (listcheck() == 0){ + if (listcheck(t) == 0){ add(); printf("\033[32mAdded to list\033[0m: %s\n", note); } else { @@ -26,7 +26,7 @@ int main(int argc, char *argv[]){ } break; case 'd': - if (listcheck() == 1) { + if (listcheck(t) == 1) { rem(); printf("\033[36mRemoved from list\033[0m: %s\n", note); } else { diff --git a/odot.h b/odot.h index d617324..81a5ea9 100644 --- a/odot.h +++ b/odot.h @@ -8,16 +8,31 @@ #define TIME "%H:%M %m-%d-%y" #define TODOLIST "/home/huck/.local/state/odot/todo" +struct task { + int length; + char *task; + char *date; + char *due; + int urgency; +}; + char *getnote(int, char *[]); void getopt(int, char *[]); + void add(void); void rem(void); void show(void); -int listcheck(void); + +int listcheck(struct task); int geturgency(int); +char *gettime(void); void error(char); +struct task maketask(int n, char **arg); +void puttask(struct task n, FILE *fp); +struct task gettask(FILE *fp); + char *note, *o; int urgency; FILE *fp; diff --git a/structure.c b/structure.c index 5071761..ecdfb7f 100644 --- a/structure.c +++ b/structure.c @@ -3,41 +3,29 @@ extern int urgency; extern FILE *fp; -struct task { - int length; - char *task; - int date; - int due; - int urgency; -}; struct task maketask(int n, char **arg){ struct task temp; temp.task = getnote(n,arg); temp.length = strlen(temp.task); - temp.date = 0; + temp.date = gettime(); temp.due = 0; temp.urgency = urgency; return temp; } -void puttask(struct task n){ - fp = fopen(TODOLIST, "w"); +void puttask(struct task n, FILE *fp){ - if (fp == NULL){ - error('f'); - } - - fprintf(fp, "%i\t%s\t%i\t%i\t%i\n",n.length,n.task,n.date,n.due,n.urgency); + fprintf(fp, "%i\t%s\t%s\t%s\t%i\n",n.length,n.task,n.date,n.due,n.urgency); } -struct task gettask(char *c){ +struct task gettask(FILE *fp){ struct task tmp; - sscanf(c,"%i\t%s\t%i\t%i\t%i\n",&tmp.length,tmp.task,&tmp.date,&tmp.due,&tmp.urgency); + fscanf(fp,"%i\t%s\t%s\t%s\t%i\n",&tmp.length,tmp.task,tmp.date,tmp.due,&tmp.urgency); return tmp; }