commit 7fbd431d8bdcc14a5f4254be6b753891e6d222c2 Author: Bruce Guenter Date: Fri Feb 23 10:22:45 2018 -0600 Bump version to 2.04 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 94a5eb9ced586bab2efed04263242bff88534337 Author: Bruce Guenter Date: Tue Feb 6 17:43:20 2018 -0600 msg: Allow setting $MSG_NO_PROGRAM to suppress the program prefix NEWS | 2 ++ msg/common.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit a88c5c3c9e8e32620d051b7ee76d2151178ea14d Author: Bruce Guenter Date: Tue Feb 6 17:42:48 2018 -0600 NEWS: Add note about fixing DNS tests NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 683eed96cc1249ed9740be8973ef8cfa8f57d95c Author: Bruce Guenter Date: Thu Mar 3 14:31:39 2016 -0600 dns-responder: Rework test harness to run multiple tests dns-responder.c | 14 ++++++++------ net/dns_ip4.c | 31 +++++++++++++++---------------- net/dns_ip6.c | 4 ++-- net/dns_mx.c | 36 ++++++++++++++++++------------------ net/dns_txt.c | 28 ++++++++++++++-------------- 5 files changed, 57 insertions(+), 56 deletions(-) commit 13f8e92b958c0c5db055841b12b57f6895d86ce7 Author: Bruce Guenter Date: Thu Mar 3 12:00:10 2016 -0600 net/dns: Use captive data in the name[46] tests net/dns_name4.c | 54 +++++++++++++++++++++++++++++++++++++++++++++--------- net/dns_name6.c | 55 +++++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 86 insertions(+), 23 deletions(-) commit c280bb87d01214d3f9499c178d116de256606c29 Author: Bruce Guenter Date: Wed Mar 2 15:33:15 2016 -0600 net/resolve: Use dns_qualify to provide qualification for IPv4 lookups dns-responder.c | 11 ++++++----- include/resolve.h | 2 ++ net/resolve_calldns.c | 18 ++++++++++++++++++ net/resolve_ipv4name.c | 22 ++++++++++++++++++---- 4 files changed, 44 insertions(+), 9 deletions(-) commit 393ad06f3bb571b6dc93bae0d0d5891f31785111 Author: Bruce Guenter Date: Wed Mar 2 15:32:25 2016 -0600 dns-responder: Add support for multiple-packet DNS sequences dns-responder.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 369bbe6754d87c27ca14af9b42b2f64aea8e5a39 Author: Bruce Guenter Date: Wed Mar 2 19:45:52 2016 -0600 net/dns: Fix handling of multiple + additions in dns_qualify NEWS | 5 +---- net/dns_qualify.c | 35 +++++++++++++++++++++++++++++------ 2 files changed, 30 insertions(+), 10 deletions(-) commit abf93dc7b4f3106007694f6450260d26edfb9964 Author: Bruce Guenter Date: Wed Mar 2 19:18:15 2016 -0600 net/dns: Move dns_qualify tests into dns_qualify.c net/dns_qualify.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ net/dns_resolvconfrewrite.c | 37 ------------------------------------- 2 files changed, 44 insertions(+), 37 deletions(-) commit 234376375ef0b5e9b69030d7067c446408508a7c Author: Bruce Guenter Date: Wed Mar 2 19:11:34 2016 -0600 net/dns: Test output of dns_resolvconfrewrite net/dns_resolvconfrewrite.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit d6b5534e3fc9c12f74466b50abb5e5d9167975ad Author: Bruce Guenter Date: Wed Mar 2 17:22:56 2016 -0600 net/dns: Add selftests for fromdot/todot net/dns_domain_fromdot.c | 39 +++++++++++++++++++++++++++++++++++++++ net/dns_domain_todot.c | 21 +++++++++++++++++++++ 2 files changed, 60 insertions(+) commit 48f83d871bd0562dfa83506aa1ccdc290c8cb924 Author: Bruce Guenter Date: Wed Mar 2 14:57:47 2016 -0600 net/dns: Fix prototype for (unused) dns_qualify The dns_qualify function is supposed to call one of the dns_* functions (like dns_ip4). It was providing a str* for the output, but those functions output via struct dns_result*. NEWS | 2 ++ include/dns.h | 8 ++++---- net/dns_qualify.c | 10 +++++----- net/dns_resolvconfrewrite.c | 4 ++-- 4 files changed, 13 insertions(+), 11 deletions(-) commit 742731135b2862b74ec3cbc9d13152ae7762fa08 Author: Bruce Guenter Date: Wed Mar 2 13:21:28 2016 -0600 Fix INCLUDES setting in (not used) automake files cdb++/Makefile.am | 2 +- cgi/Makefile.am | 2 +- cli++/Makefile.am | 2 +- fdbuf/Makefile.am | 2 +- mystring/Makefile.am | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 87a72571d72563f566f6ad2e6beda6754a0d883d Author: Bruce Guenter Date: Thu Aug 13 21:54:45 2015 -0600 include: Remove obsolete cloexec.h and nonblock.h include/cloexec.h | 7 ------- include/nonblock.h | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 include/cloexec.h delete mode 100644 include/nonblock.h commit 9cc6039a7d32a7d5439d9057ba24200714801205 Author: Bruce Guenter Date: Sun May 17 13:57:15 2015 -0600 net/dns: Slight simplification of declarations dns-responder.c | 17 ++++++++--------- net/dns_ip4.c | 12 ++++++------ net/dns_ip6.c | 8 ++++---- net/dns_mx.c | 4 ++-- net/dns_txt.c | 10 +++++----- 5 files changed, 25 insertions(+), 26 deletions(-) commit 6b2e99762a99435f57e222aa655958ff92bddfad Author: Bruce Guenter Date: Sun May 17 13:49:42 2015 -0600 net/dns: Use captive data test for dns_mx dns-responder.c | 6 +++++- net/dns_mx.c | 43 ++++++++++++++++++++++++++++++------------- 2 files changed, 35 insertions(+), 14 deletions(-) commit ee11fdc1af957af4daa8e424e9f6f770208b0ec2 Author: Bruce Guenter Date: Sun May 17 12:13:55 2015 -0600 net/dns: Use captive test data for dns_ip[46] dns-responder.c | 11 +++++++++-- net/dns_ip4.c | 43 ++++++++++++++++++++++++++++++++----------- net/dns_ip6.c | 28 ++++++++++++++++++---------- net/dns_txt.c | 4 ++-- 4 files changed, 61 insertions(+), 25 deletions(-) commit 4b60936011db10521b5d12198927d6a3ff4a55dd Author: Bruce Guenter Date: Sun May 17 11:36:29 2015 -0600 net/dns: Modify selftest for dns_txt to use captive data net/dns_txt.c | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) commit 0b833be320670b76ec6aa98a15f892ed85417595 Author: Bruce Guenter Date: Sun May 17 11:36:05 2015 -0600 Add DNS test responder framework dns-responder.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 dns-responder.c commit 5d2747a60ebb9ccfcd4ddf4aa074a932a1532afe Author: Bruce Guenter Date: Sun May 17 11:53:24 2015 -0600 net/dns: Break out DNS RR union include/dns.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 0e2e1788a29cd1f4ec494513f5744dbbc1e6ac6e Author: Bruce Guenter Date: Sat May 16 13:47:12 2015 -0600 net/dns: Support dns queries on alternate port with $DNSCACHEPORT NEWS | 2 ++ net/dns_resolvconfip.c | 10 ++++++++++ net/dns_transmit.c | 6 +++--- 3 files changed, 15 insertions(+), 3 deletions(-) commit 3477ae73bb4d774d095122e1515549f1ac53b509 Author: Bruce Guenter Date: Sat May 16 13:38:48 2015 -0600 net/dns_transmit.c: Add define for DNS port number net/dns_transmit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 501725b9dbdca2c20f913f87039594955614df6e Author: Bruce Guenter Date: Fri May 15 14:26:47 2015 -0600 sys: Need #define _GNU_SOURCE 1 for definition of struct ucred NEWS | 2 ++ sys/haspeercred.h1 | 1 + sys/trypeercred.c | 1 + sysdeps-head.h | 1 + 4 files changed, 5 insertions(+) commit 90478c13cb819d378e0dcab8aeba07b9ed6a5dd0 Author: Bruce Guenter Date: Fri May 15 13:54:17 2015 -0600 net/dns_qualify: Use memmove instead of memcpy since the areas overlap NEWS | 3 +++ net/dns_qualify.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 92c0d51c7dba96715db2ff2e37bafb7385cda1ac Author: Bruce Guenter Date: Fri Feb 6 17:56:11 2015 -0600 Bump version to 2.03 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit f6131aa9345616bd2b4e78915f44ef4627879f13 Author: Bruce Guenter Date: Fri Feb 6 17:54:35 2015 -0600 config.dxy: Fix list of INPUT subdirectories config.dxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4aa02e459c289c183e89045091a3879fed5d4485 Author: Bruce Guenter Date: Fri Feb 6 15:30:45 2015 -0600 Revert installed libbg-cli back to static linkage. The CLI lib calls cli_show_help when it needs to show help text. The library includes an implementation that dynamically generates the help text from the options structure, but cli-generate also builds its own function that has pre-generated text. In the dynamic .so file, this doesn't work, since it's all pre-linked internally. I could change cli_show_help to a weak symbol, but that adds a gcc dependancy, and the CLI library is small and doesn't change much, so just revert to static linkage. INSTHIER | 2 +- NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 5ae53d7e9f6cc50f6fc46c3a4e42e51fdfe601fd Author: Bruce Guenter Date: Tue Feb 3 16:23:15 2015 -0600 Bump version to 2.02 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit be9735e90a586c582d77f80707246e5031ff445b Author: Bruce Guenter Date: Tue Feb 3 15:16:55 2015 -0600 obuf, str: Mark the *_digits constants as deprecated include/obuf.h | 7 ++++--- include/str.h | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) commit c97d6c8e6d11549b86ff7649dc00c39888f46119 Author: Bruce Guenter Date: Tue Feb 3 14:22:11 2015 -0600 Fix make race condition in compiling CLI C sources The CLI generated C source indirectly includes sysdeps.h, but did not depend on it, leading to a build race. %-cli.c.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e896c122cb32ff081d99e6b96ead1cef5cecc32c Author: Bruce Guenter Date: Tue Feb 3 14:45:21 2015 -0600 str: Drop internal use of the str_*_digits constants str/catiw.c | 7 ++++--- str/catiwll.c | 7 ++++--- str/catuw.c | 7 ++++--- str/catuwll.c | 7 ++++--- str/catxw.c | 7 ++++--- str/catxwll.c | 7 ++++--- 6 files changed, 24 insertions(+), 18 deletions(-) commit c65de5c2b77d4bc6cdebc952cb288d29a49550e3 Author: Bruce Guenter Date: Tue Feb 3 14:34:38 2015 -0600 iobuf: Drop internal use of the obuf_*_digits constants crc-gentab=x | 3 ++- iobuf/obuf_putsllnumw.c | 4 ++-- iobuf/obuf_putsnumw.c | 4 ++-- iobuf/obuf_putullnumw.c | 12 ++++++------ iobuf/obuf_putunumw.c | 12 ++++++------ 5 files changed, 18 insertions(+), 17 deletions(-) commit b3adcf73200175a6a78293771ea24af503202daa Author: Bruce Guenter Date: Tue Feb 3 14:21:22 2015 -0600 cli-generate: Fix obuf.h include path in generated C files NEWS | 2 ++ cli-generate.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b9b087d00269c260e42b4613bf31746b0a846caa Author: Bruce Guenter Date: Tue Feb 3 11:11:42 2015 -0600 ipv4: Use internal __DEPRECATED__ sysdep include/ipv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 811812171b18fe9e9458035dbe71b19c6a39625a Author: Bruce Guenter Date: Tue Feb 3 10:10:10 2015 -0600 Make sure selftest.c source gets included in the dist NEWS | 2 ++ selftests.spac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit aadb9377dbaf004bb94ed0615759a28ecfa5da80 Author: Bruce Guenter Date: Tue Feb 3 10:08:39 2015 -0600 iobuf, str: Use fmt for formatting numbers NEWS | 2 ++ TODO | 2 -- crc-gentab=x | 1 + iobuf/obuf_putsllnumw.c | 37 +++++-------------------------------- iobuf/obuf_putsnumw.c | 37 +++++-------------------------------- iobuf/obuf_putullnumw.c | 25 +++++-------------------- iobuf/obuf_putunumw.c | 24 +++++------------------- str/catsllnum.c | 32 +++++--------------------------- str/catsnum.c | 32 +++++--------------------------- str/catullnum.c | 23 ++++++----------------- str/catunum.c | 23 ++++++----------------- 11 files changed, 45 insertions(+), 193 deletions(-) commit 26089ab212e7fdc18499e3f5bb46ec2303487ad8 Author: Bruce Guenter Date: Fri Jan 30 15:45:13 2015 -0600 Bump version to 2.01 NEWS | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 06bdacfc34cf2334d98f6d3173f2e9e4eb9d1bc2 Author: Bruce Guenter Date: Fri Jan 30 15:44:40 2015 -0600 Fix #include lines in uint##.h headers NEWS | 3 +++ uint16.h | 4 ++-- uint32.h | 4 ++-- uint64.h | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) commit e466f9c951187f7756abe74c8dccdceb1bcd8776 Author: Bruce Guenter Date: Fri Jan 30 09:39:59 2015 -0600 Move the example template CLI into doc EXTRADIST | 2 +- template.cli => doc/template.cli | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename template.cli => doc/template.cli (100%) commit b80a37480c99178b3ba461b17e290a1459d0292e Author: Bruce Guenter Date: Fri Jan 30 08:36:14 2015 -0600 config.dxy: Upgrade to Doxygen 1.8.5 config.dxy | 2305 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1358 insertions(+), 947 deletions(-) commit 7e84fa9b68eb3dc352b431863db8d86fdb4da1a8 Author: Bruce Guenter Date: Thu Jan 29 17:00:11 2015 -0600 Add bglibs symlink in include to fix building the bg-installer cli bits EXTRADIST | 1 + INSTHIER | 2 +- include/bglibs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 include/bglibs commit c5e64398808a753947e594e56b486bdab690a817 Author: Bruce Guenter Date: Thu Jan 29 12:25:05 2015 -0600 Bump version to 2.00 LIBVERSION | 2 +- NEWS | 5 +++++ VERSION | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit de2585b87517c3d9bc63a3bf7fbbf09fe67487da Author: Bruce Guenter Date: Thu Jan 29 11:51:06 2015 -0600 Drop installed compatibility symlinks for header files INSTHIER | 82 ---------------------------------------------------------------- 1 file changed, 82 deletions(-) commit 7c34957b7561dcde406eb96fa9da48e02951fc59 Author: Bruce Guenter Date: Wed Jan 28 13:10:47 2015 -0600 Remove the libbg-sysdeps library, merged completely into libbg INSTHIER | 1 - bg-installer=x | 1 - crc-gentab=x | 2 +- libbg-sysdeps=l | 20 -------------------- libraries.spac | 1 - selftests.spac | 2 +- 6 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 libbg-sysdeps=l commit 2841941fadfd3269f55aacfbe3ba4e30be747122 Author: Bruce Guenter Date: Thu Jan 22 16:02:18 2015 -0600 reorg: Add libbg-sysdeps objects into libbg proper, and drop internal use libbg=l | 20 ++++++++++++++++++++ selftest-cmp=x | 1 - selftests.sh | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) commit 58a70337a4ea5c2118b5a3c2135414eb3b0dc820 Merge: e39ca61 632ed98 Author: Bruce Guenter Date: Thu Jan 22 15:16:42 2015 -0600 Merge branch 'reorg' Conflicts: libbg-net=l net/dns_mx.c net/dns_name4.c net/dns_name6.c commit 632ed980d779ae512399aea14d84fcc14cb3f1ae Author: Bruce Guenter Date: Wed Jan 21 16:18:14 2015 -0600 spec: Clean up for reorg changes spec | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) commit 4764b089db5288ac00cc992fb533bc3eb9730cdb Author: Bruce Guenter Date: Wed Jan 21 16:03:07 2015 -0600 reorg: Move the default install directories up a level to just /usr/local/* conf-include | 2 +- conf-lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ad76e1dc367568af023e6226893296e4fb50a42a Author: Bruce Guenter Date: Wed Jan 21 16:01:22 2015 -0600 reorg: Install all includes in bglibs subdir except for pwcmp and vmailmgr INSTHIER | 138 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) commit 89fb7c67e030e7a630bcc3b397e554fd46b76866 Author: Bruce Guenter Date: Wed Jan 21 15:48:37 2015 -0600 reorg: Install sysdeps.h, systime.h, and uint*.h into bglibs subdir INSTHIER | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 2dcc7fd6174b1ac25c97077352d86e4f4732ae07 Author: Bruce Guenter Date: Wed Jan 21 15:38:26 2015 -0600 reorg: Drop compatibility pwcmp and vmailmgr lib links This prepares the lib install portion for going in .../lib directly INSTHIER | 9 --------- 1 file changed, 9 deletions(-) commit 8d24c6f8fde6c8b47303a8a7b262bc972caf8897 Author: Bruce Guenter Date: Wed Jan 21 15:33:52 2015 -0600 reorg: Drop the .lib installs INSTHIER | 9 --------- all.spac | 2 +- dotlibs.spac | 1 - spec | 1 - 4 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 dotlibs.spac commit bd5a466bc3edb74589ae68492e1b517a412edd88 Author: Bruce Guenter Date: Wed Apr 11 16:19:02 2012 -0600 reorg: Drop all libbg-* libraries except libbg-{cli,sysdeps} This requires crc-gentab link directly to needed objects. INSTHIER | 68 +----------- bg-installer=x | 6 +- crc-gentab=x | 15 ++- libbg-adt=l | 21 ---- libbg-base64=l | 6 -- libbg-cdb=l | 7 -- libbg-crc=l | 12 --- libbg-crypto=l | 15 --- libbg-dict=l | 9 -- libbg-fmt=l | 19 ---- libbg-iobuf=l | 51 --------- libbg-misc=l | 5 - libbg-msg=l | 18 ---- libbg-net=l | 69 ------------ libbg-path=l | 6 -- libbg-str=l | 69 ------------ libbg-unix=l | 25 ----- libbg.la.spac | 16 --- libbg=l | 332 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ libraries.spac | 2 +- 20 files changed, 348 insertions(+), 423 deletions(-) delete mode 100644 libbg-adt=l delete mode 100644 libbg-base64=l delete mode 100644 libbg-cdb=l delete mode 100644 libbg-crc=l delete mode 100644 libbg-crypto=l delete mode 100644 libbg-dict=l delete mode 100644 libbg-fmt=l delete mode 100644 libbg-iobuf=l delete mode 100644 libbg-misc=l delete mode 100644 libbg-msg=l delete mode 100644 libbg-net=l delete mode 100644 libbg-path=l delete mode 100644 libbg-str=l delete mode 100644 libbg-unix=l delete mode 100644 libbg.la.spac create mode 100644 libbg=l commit c59937292b7ad97c373c264d317085c6e6785538 Author: Bruce Guenter Date: Tue Apr 10 14:59:23 2012 -0600 reorg: Move misc/*.h INSTHIER | 4 ++-- {misc => include}/misc.h | 3 ++- {misc => include}/ucspi.h | 0 vmailmgr/vpwentry_import.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) rename {misc => include}/misc.h (94%) rename {misc => include}/ucspi.h (100%) commit fa71ff63f356e5ede1c82913190b865c4abcd600 Author: Bruce Guenter Date: Tue Apr 10 14:49:43 2012 -0600 reorg: Move and merge cdb/*.h into one cdb.h include INSTHIER | 6 +++--- cdb/get.c | 1 - cdb/getnext.c | 1 - cdb/make.h | 21 --------------------- cdb/str.h | 10 ---------- {cdb => include}/cdb.h | 32 +++++++++++++++++++++++++++++--- 6 files changed, 32 insertions(+), 39 deletions(-) delete mode 100644 cdb/str.h rename {cdb => include}/cdb.h (58%) commit 513dfa526a17c95fdac859fba32f8ecf0da03fdd Author: Bruce Guenter Date: Tue Apr 10 14:40:47 2012 -0600 reorg: Remove obsolete installer libraries INSTHIER | 7 --- instlib/installer.c | 139 ---------------------------------------------------- instlib/installer.h | 49 ------------------ instlib/instcheck.c | 113 ------------------------------------------ instlib/instmain.c | 22 --------- instlib/instshow.c | 129 ------------------------------------------------ libbg-installer=l | 39 --------------- libbg-instcheck=l | 38 -------------- libbg-instshow=l | 37 -------------- 9 files changed, 573 deletions(-) delete mode 100644 instlib/installer.c delete mode 100644 instlib/installer.h delete mode 100644 instlib/instcheck.c delete mode 100644 instlib/instmain.c delete mode 100644 instlib/instshow.c delete mode 100644 libbg-installer=l delete mode 100644 libbg-instcheck=l delete mode 100644 libbg-instshow=l commit 7fb7e632f60b2fd1a80949bd851c73ba18d911cd Author: Bruce Guenter Date: Tue Apr 10 13:48:03 2012 -0600 reorg: Unify unix/fcntl.h, cloexec.h, and nonblock.h into new unix.h INSTHIER | 6 +++--- include/unix.h | 15 +++++++++++++++ net/connect4_timeout.c | 2 +- net/connect6_timeout.c | 2 +- net/connectu_timeout.c | 2 +- unix/cloexec_off.c | 3 +-- unix/cloexec_on.c | 3 +-- unix/fcntl.c | 2 +- unix/fcntl.h | 9 --------- unix/fcntl_fd_off.c | 2 +- unix/fcntl_fd_on.c | 2 +- unix/fcntl_fl_off.c | 2 +- unix/fcntl_fl_on.c | 2 +- unix/nonblock_off.c | 3 +-- unix/nonblock_on.c | 3 +-- unix/selfpipe.c | 3 +-- unix/signalfd.c | 3 +-- 17 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 include/unix.h delete mode 100644 unix/fcntl.h commit 7a0d23a9e76d3d1b8f2647c8c874ffa0746ff63c Author: Bruce Guenter Date: Tue Apr 10 13:33:48 2012 -0600 reorg: Move most of the unix/*.h (except fcntl.h) Moving the fcntl.h into the build include path breaks other things that depend on the system fcntl.h. INSTHIER | 12 ++++++------ {unix => include}/cloexec.h | 0 {unix => include}/nonblock.h | 0 {unix => include}/selfpipe.h | 0 {unix => include}/sig.h | 0 {unix => include}/signalfd.h | 0 {unix => include}/trigger.h | 2 +- net/connect4_timeout.c | 2 +- net/connect6_timeout.c | 2 +- net/connectu_timeout.c | 2 +- unix/selfpipe.c | 8 ++++---- unix/signalfd.c | 8 ++++---- 12 files changed, 18 insertions(+), 18 deletions(-) rename {unix => include}/cloexec.h (100%) rename {unix => include}/nonblock.h (100%) rename {unix => include}/selfpipe.h (100%) rename {unix => include}/sig.h (100%) rename {unix => include}/signalfd.h (100%) rename {unix => include}/trigger.h (98%) commit fd58cf78f00915ff5293b894aa9548ab1703e3f8 Author: Bruce Guenter Date: Tue Apr 10 13:17:35 2012 -0600 reorg: Remove obsolete err sources err/die.c | 10 ---------- err/err.h | 53 ----------------------------------------------------- err/error.c | 7 ------- err/message.c | 33 --------------------------------- err/warn.c | 7 ------- 5 files changed, 110 deletions(-) delete mode 100644 err/die.c delete mode 100644 err/err.h delete mode 100644 err/error.c delete mode 100644 err/message.c delete mode 100644 err/warn.c commit 109d03b574bb1d4c7e10c6f08bd63cb624417b52 Author: Bruce Guenter Date: Tue Apr 10 12:04:20 2012 -0600 reorg: Move all public net/*.h INSTHIER | 12 ++++++------ {net => include}/dns.h | 12 ++++++------ {net => include}/ipv4.h | 2 +- {net => include}/ipv6.h | 2 +- {net => include}/resolve.h | 0 {net => include}/socket.h | 0 net/connect4_timeout.c | 2 +- net/connect6_timeout.c | 2 +- net/connectu_timeout.c | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) rename {net => include}/dns.h (98%) rename {net => include}/ipv4.h (97%) rename {net => include}/ipv6.h (96%) rename {net => include}/resolve.h (100%) rename {net => include}/socket.h (100%) commit 2bafa72f2e9754c4aecd1d4ab8dc5a9170550cc9 Author: Bruce Guenter Date: Tue Apr 10 11:58:21 2012 -0600 reorg: Merge all of fmt/*.h into one new fmt.h header INSTHIER | 6 +++--- bg-installer.c | 2 +- fmt/char.c | 2 +- fmt/chars.c | 2 +- fmt/lcase.c | 2 +- fmt/misc.h | 27 --------------------------- fmt/multi.c | 6 +++--- fmt/multi.h | 27 --------------------------- fmt/pad.c | 2 +- fmt/sdec.c | 2 +- fmt/sign_pad.c | 2 +- fmt/slldec.c | 2 +- fmt/sllnum.c | 2 +- fmt/snum.c | 2 +- fmt/ucase.c | 2 +- fmt/udec.c | 2 +- fmt/uhexl.c | 2 +- fmt/uhexu.c | 2 +- fmt/ulldec.c | 2 +- fmt/ullhexl.c | 2 +- fmt/ullhexu.c | 2 +- fmt/ullnum.c | 2 +- fmt/unum.c | 2 +- fmt/number.h => include/fmt.h | 32 ++++++++++++++++++++++++++++++++ iobuf/obuf_putf.c | 2 +- misc/random.c | 2 +- misc/strtou.c | 2 +- misc/utoa.c | 2 +- misc/utoa2.c | 2 +- net/dns_name4_domain.c | 2 +- net/dns_name6_domain.c | 2 +- str/catf.c | 2 +- str/copyf.c | 2 +- 33 files changed, 66 insertions(+), 88 deletions(-) delete mode 100644 fmt/misc.h delete mode 100644 fmt/multi.h rename fmt/number.h => include/fmt.h (82%) commit 7f22db9bd48ead7286ddfb879de33ee93acaa945 Author: Bruce Guenter Date: Tue Apr 10 11:47:27 2012 -0600 reorg: Move dict/dict.h and merge in dict/load.h INSTHIER | 4 ++-- dict/load.h | 11 ----------- dict/load_list.c | 1 - dict/load_map.c | 1 - {dict => include}/dict.h | 7 ++++++- 5 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 dict/load.h rename {dict => include}/dict.h (77%) commit 2851d2658124bf99d2c4bc1dc6d58a4997d46075 Author: Bruce Guenter Date: Tue Apr 10 11:41:08 2012 -0600 reorg: Move path/path.h INSTHIER | 2 +- bg-installer.c | 2 +- {path => include}/path.h | 2 +- instlib/installer.c | 2 +- selftest-cmp.c | 2 +- selftest.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename {path => include}/path.h (96%) commit 8c43a790beba192c6f3df0530ee08b8ba5d208b9 Author: Bruce Guenter Date: Tue Apr 10 11:28:15 2012 -0600 reorg: Move adt/*.h INSTHIER | 7 +++---- adt/adt_sp.c | 2 +- adt/hashb.c | 2 +- adt/hashs.c | 2 +- adt/common.h => include/adt_common.h | 0 {adt => include}/ghash.h | 2 +- {adt => include}/gqueue.h | 2 +- {adt => include}/gstack.h | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) rename adt/common.h => include/adt_common.h (100%) rename {adt => include}/ghash.h (99%) rename {adt => include}/gqueue.h (98%) rename {adt => include}/gstack.h (98%) commit 3888e254f9313c160c6c2acab63a59804043965c Author: Bruce Guenter Date: Tue Apr 10 10:36:27 2012 -0600 reorg: Move cli/cli.h INSTHIER | 2 +- bg-installer.c | 2 +- cli-generate.pl | 2 +- {cli => include}/cli.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {cli => include}/cli.h (100%) commit 63bf8ad16afd3452d22315a3fd76760caba02f5b Author: Bruce Guenter Date: Tue Apr 10 10:21:25 2012 -0600 reorg: Move msg/*.h INSTHIER | 6 +++--- bg-installer.c | 4 ++-- cli/help.c | 2 +- cli/main.c | 2 +- crc-gentab.c | 2 +- {msg => include}/debug.h | 0 {msg => include}/msg.h | 4 ++-- {msg => include}/wrap.h | 0 instlib/installer.c | 4 ++-- instlib/instcheck.c | 4 ++-- instlib/instshow.c | 4 ++-- path/match.c | 2 +- selftest-cmp.c | 4 ++-- selftest.c | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) rename {msg => include}/debug.h (100%) rename {msg => include}/msg.h (98%) rename {msg => include}/wrap.h (100%) commit c4f53f460d70cc0a183335de2ce5c1b25e78b3a1 Author: Bruce Guenter Date: Tue Apr 10 09:30:07 2012 -0600 reorg: Move crypto/*.h INSTHIER | 16 ++++++++-------- {crypto => include}/hmac.h | 0 {crypto => include}/md4.h | 0 {crypto => include}/md5.h | 0 {crypto => include}/sha1.h | 3 +-- {crypto => include}/sha256.h | 2 +- {crypto => include}/sha384.h | 4 ++-- {crypto => include}/sha512.h | 2 +- {crypto => include}/surf.h | 4 ++-- {crypto => include}/surfrand.h | 2 +- net/dns_random.c | 2 +- 11 files changed, 17 insertions(+), 18 deletions(-) rename {crypto => include}/hmac.h (100%) rename {crypto => include}/md4.h (100%) rename {crypto => include}/md5.h (100%) rename {crypto => include}/sha1.h (97%) rename {crypto => include}/sha256.h (93%) rename {crypto => include}/sha384.h (84%) rename {crypto => include}/sha512.h (94%) rename {crypto => include}/surf.h (89%) rename {crypto => include}/surfrand.h (97%) commit 44a86b3dd33259d9e5c6d9601c67a18e57afb325 Author: Bruce Guenter Date: Tue Apr 10 09:10:26 2012 -0600 reorg: Move crc/*.h INSTHIER | 14 +++++++------- {crc => include}/crc16_arc.h | 2 +- {crc => include}/crc16_ccitt.h | 2 +- {crc => include}/crc16_xmodem.h | 2 +- {crc => include}/crc32.h | 4 ++-- {crc => include}/crc32c.h | 2 +- {crc => include}/crc64.h | 2 +- {crc => include}/gcrc.h | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) rename {crc => include}/crc16_arc.h (93%) rename {crc => include}/crc16_ccitt.h (94%) rename {crc => include}/crc16_xmodem.h (94%) rename {crc => include}/crc32.h (90%) rename {crc => include}/crc32c.h (94%) rename {crc => include}/crc64.h (96%) rename {crc => include}/gcrc.h (95%) commit 2204474938e1d53306b4428ba134eb17f9d1b587 Author: Bruce Guenter Date: Tue Apr 10 09:03:45 2012 -0600 reorg: Move base64/base64.h INSTHIER | 2 +- {base64 => include}/base64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {base64 => include}/base64.h (96%) commit 16a03900797e89b4d798ce4750e253e23f59dd88 Author: Bruce Guenter Date: Tue Apr 10 09:00:28 2012 -0600 reorg: Move str/env.h to envstr.h INSTHIER | 2 +- str/env.h => include/envstr.h | 0 str/env_find.c | 2 +- str/env_from_array.c | 2 +- str/env_from_string.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/env_put.c | 2 +- str/env_set.c | 2 +- str/env_unset.c | 2 +- 10 files changed, 9 insertions(+), 9 deletions(-) rename str/env.h => include/envstr.h (100%) commit c40e05baca83a4461beb88cace970c0912c921a7 Author: Bruce Guenter Date: Tue Apr 10 08:40:27 2012 -0600 reorg: Move str/iter.h INSTHIER | 2 +- bg-installer.c | 2 +- str/iter.h => include/striter.h | 0 net/dns_mx.c | 2 +- net/dns_name4.c | 2 +- net/dns_name6.c | 2 +- net/dns_resolvconfip.c | 2 +- net/dns_resolvconfrewrite.c | 2 +- path/match.c | 2 +- str/env_find.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/iter_advance.c | 2 +- str/iter_start.c | 2 +- str/iter_valid.c | 2 +- 15 files changed, 14 insertions(+), 14 deletions(-) rename str/iter.h => include/striter.h (100%) commit daab2ca3c06f869fbb5cdb74bb89d7f5bac0da1b Author: Bruce Guenter Date: Tue Apr 10 07:35:58 2012 -0600 reorg: Flatten out the include path This will allow internal sources to use just "filename.h" instead of "bglibs/filename.h" base64/base64.h | 2 +- bg-installer.c | 2 +- build-includes | 1 + crypto/hmac-md5.c | 2 +- crypto/hmac-sha1.c | 2 +- crypto/hmac.c | 2 +- crypto/md5.c | 2 +- crypto/sha1.c | 2 +- dict/dict.h | 2 +- dict/str_free.c | 2 +- fmt/chars.c | 2 +- fmt/multi.c | 2 +- instlib/installer.c | 2 +- instlib/instcheck.c | 2 +- instlib/instshow.c | 2 +- net/dns.h | 2 +- path/match.c | 2 +- path/path.h | 2 +- selftest-cmp.c | 2 +- selftest.c | 2 +- str/alloc.c | 2 +- str/buildmap.c | 2 +- str/case_end.c | 2 +- str/case_glob.c | 2 +- str/case_match.c | 2 +- str/case_start.c | 2 +- str/cat.c | 2 +- str/cat2s.c | 2 +- str/cat3s.c | 2 +- str/cat4s.c | 2 +- str/cat5s.c | 2 +- str/cat6s.c | 2 +- str/catf.c | 2 +- str/catiw.c | 2 +- str/catiwll.c | 2 +- str/catns.c | 2 +- str/catsllnum.c | 2 +- str/catsnum.c | 2 +- str/catullnum.c | 2 +- str/catunum.c | 2 +- str/catuw.c | 2 +- str/catuwll.c | 2 +- str/catxw.c | 2 +- str/catxwll.c | 2 +- str/cmp.c | 2 +- str/copy.c | 2 +- str/copy2s.c | 2 +- str/copy3s.c | 2 +- str/copy4s.c | 2 +- str/copy5s.c | 2 +- str/copy6s.c | 2 +- str/copyf.c | 2 +- str/copyns.c | 2 +- str/count.c | 2 +- str/countof.c | 2 +- str/cut.c | 2 +- str/diff.c | 2 +- str/digits.c | 2 +- str/end.c | 2 +- str/env_find.c | 2 +- str/env_from_array.c | 2 +- str/env_from_string.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/env_put.c | 2 +- str/env_set.c | 2 +- str/env_unset.c | 2 +- str/findnext.c | 2 +- str/findnextnot.c | 2 +- str/findnextof.c | 2 +- str/findprev.c | 2 +- str/findprevnot.c | 2 +- str/findprevof.c | 2 +- str/free.c | 2 +- str/glob.c | 2 +- str/init.c | 2 +- str/iter_advance.c | 2 +- str/iter_start.c | 2 +- str/iter_valid.c | 2 +- str/join.c | 2 +- str/lower.c | 2 +- str/lstrip.c | 2 +- str/match.c | 2 +- str/rstrip.c | 2 +- str/sort.c | 2 +- str/splice.c | 2 +- str/start.c | 2 +- str/subst.c | 2 +- str/truncate.c | 2 +- str/upper.c | 2 +- str/xlate.c | 2 +- vmailmgr/client.h | 2 +- vmailmgr/vpwentry.h | 2 +- vmailmgr/vpwentry_export.c | 2 +- 94 files changed, 94 insertions(+), 93 deletions(-) commit a6ca643a0ae72b5a5fc54604381dfc7831615668 Author: Bruce Guenter Date: Tue Apr 10 00:23:37 2012 -0600 reorg: Move str/str.h include INSTHIER | 2 +- base64/base64.h | 2 +- bg-installer.c | 2 +- cdb/get.c | 2 +- cdb/getnext.c | 2 +- crypto/hmac-md5.c | 2 +- crypto/hmac-sha1.c | 2 +- crypto/hmac-sha256.c | 2 +- crypto/hmac-sha384.c | 2 +- crypto/hmac-sha512.c | 2 +- crypto/hmac.c | 2 +- crypto/md5.c | 2 +- crypto/sha1.c | 2 +- crypto/sha256.c | 1 - crypto/sha384.c | 1 - crypto/sha512.c | 1 - dict/dict.h | 2 +- dict/load_list.c | 2 +- dict/load_map.c | 2 +- dict/str_free.c | 2 +- fmt/chars.c | 2 +- fmt/multi.c | 2 +- {str => include}/str.h | 0 instlib/installer.c | 2 +- instlib/instcheck.c | 2 +- instlib/instshow.c | 2 +- iobuf/ibuf_getnetstring.c | 2 +- iobuf/ibuf_getstr.c | 2 +- iobuf/ibuf_getstr_crlf.c | 2 +- iobuf/ibuf_openreadclose.c | 2 +- iobuf/ibuf_readall.c | 2 +- net/dns.h | 2 +- path/match.c | 2 +- path/path.h | 2 +- selftest-cmp.c | 2 +- selftest.c | 2 +- str/alloc.c | 2 +- str/buildmap.c | 2 +- str/case_end.c | 2 +- str/case_glob.c | 2 +- str/case_match.c | 2 +- str/case_start.c | 2 +- str/cat.c | 2 +- str/cat2s.c | 2 +- str/cat3s.c | 2 +- str/cat4s.c | 2 +- str/cat5s.c | 2 +- str/cat6s.c | 2 +- str/catf.c | 2 +- str/catiw.c | 2 +- str/catiwll.c | 2 +- str/catns.c | 2 +- str/catsllnum.c | 2 +- str/catsnum.c | 2 +- str/catullnum.c | 2 +- str/catunum.c | 2 +- str/catuw.c | 2 +- str/catuwll.c | 2 +- str/catxw.c | 2 +- str/catxwll.c | 2 +- str/cmp.c | 2 +- str/copy.c | 2 +- str/copy2s.c | 2 +- str/copy3s.c | 2 +- str/copy4s.c | 2 +- str/copy5s.c | 2 +- str/copy6s.c | 2 +- str/copyf.c | 2 +- str/copyns.c | 2 +- str/count.c | 2 +- str/countof.c | 2 +- str/cut.c | 2 +- str/diff.c | 2 +- str/digits.c | 2 +- str/end.c | 2 +- str/env_find.c | 2 +- str/env_from_array.c | 2 +- str/env_from_string.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/env_put.c | 2 +- str/env_set.c | 2 +- str/env_unset.c | 2 +- str/findnext.c | 2 +- str/findnextnot.c | 2 +- str/findnextof.c | 2 +- str/findprev.c | 2 +- str/findprevnot.c | 2 +- str/findprevof.c | 2 +- str/free.c | 2 +- str/glob.c | 2 +- str/init.c | 2 +- str/iter_advance.c | 2 +- str/iter_start.c | 2 +- str/iter_valid.c | 2 +- str/join.c | 2 +- str/lower.c | 2 +- str/lstrip.c | 2 +- str/match.c | 2 +- str/rstrip.c | 2 +- str/sort.c | 2 +- str/splice.c | 2 +- str/start.c | 2 +- str/subst.c | 2 +- str/truncate.c | 2 +- str/upper.c | 2 +- str/xlate.c | 2 +- vmailmgr/client.h | 2 +- vmailmgr/vpwentry.h | 2 +- vmailmgr/vpwentry_export.c | 2 +- 110 files changed, 106 insertions(+), 109 deletions(-) rename {str => include}/str.h (100%) commit d73091502ec8cc105f286bcc01c1a53bf6e282b4 Author: Bruce Guenter Date: Mon Apr 9 16:36:12 2012 -0600 reorg: Move iobuf includes INSTHIER | 7 +++---- bg-installer.c | 6 +++--- cdb/make.h | 2 +- cli-generate.pl | 2 +- cli/help.c | 2 +- cli/main.c | 2 +- crc-gentab.c | 2 +- crypto/hmac-sha256.c | 2 +- crypto/hmac-sha384.c | 2 +- crypto/hmac-sha512.c | 2 +- crypto/sha256.c | 2 +- crypto/sha384.c | 2 +- crypto/sha512.c | 2 +- dict/load_list.c | 2 +- dict/load_map.c | 2 +- err/message.c | 2 +- {iobuf => include}/ibuf.h | 2 +- {iobuf => include}/iobuf.h | 6 +++--- iobuf/common.h => include/iobuf_common.h | 0 {iobuf => include}/obuf.h | 2 +- instlib/instmain.c | 2 +- instlib/instshow.c | 2 +- iobuf/ibuf_openreadclose.c | 2 +- iobuf/ibuf_readall.c | 2 +- msg/common.c | 2 +- msg/commonf.c | 2 +- net/dns_resolvconfip.c | 2 +- net/dns_resolvconfrewrite.c | 2 +- selftest-cmp.c | 2 +- selftest.c | 2 +- 30 files changed, 35 insertions(+), 36 deletions(-) rename {iobuf => include}/ibuf.h (98%) rename {iobuf => include}/iobuf.h (80%) rename iobuf/common.h => include/iobuf_common.h (100%) rename {iobuf => include}/obuf.h (99%) commit bfd7231332c376e0c8ab1e9da47c1564554c1c15 Author: Bruce Guenter Date: Mon Apr 9 16:35:43 2012 -0600 reorg: First stage, set up a new include directory for installation INSTHIER | 5 ++++- build-includes | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 build-includes commit c42e26337eef86d8ad5427dee3ab0392084f926f Author: Bruce Guenter Date: Wed Jan 21 15:02:33 2015 -0600 Add a 'programs' make target all.spac | 2 +- programs.spac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 programs.spac commit e39ca61f2c8f6269707c669eb7de831ed77dbbdd Merge: 3539286 fd77b32 Author: Bruce Guenter Date: Tue Jan 20 13:40:12 2015 -0600 Merge branch 'dns_struct' Conflicts: net/dns_ip6.c commit 3539286abf56c454732f8d0d171c5c52aed23075 Author: Bruce Guenter Date: Tue Jan 20 13:37:41 2015 -0600 net/dns_ip6: Fix bogus short header length on stack net/dns_ip6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 321d0c7f379815efc5d8d3dc91fb182c6fa05013 Author: Bruce Guenter Date: Tue Jan 20 10:08:31 2015 -0600 crypto/surfrand: Fix selftest since words are produced in reverse order crypto/surfrand.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 11694eafdc0b7186c2a1e75a1fbd5faa659d2c18 Author: Bruce Guenter Date: Thu Jan 15 17:07:43 2015 -0600 Remove misleading DNS comment in the TODO TODO | 3 --- 1 file changed, 3 deletions(-) commit fd77b32d664886fdd8aa39c336abe671ddaee236 Author: Bruce Guenter Date: Thu Apr 17 21:49:13 2014 -0600 net/dns: Add test of dns_mx for site with multiple MXs net/dns_mx.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit 0b32e269b9f41bae8cea8d4bf4f37cd2d38b8b9b Author: Bruce Guenter Date: Thu Apr 17 21:54:06 2014 -0600 net/dns: Add dns_sort_mx routine libbg-net=l | 1 + net/dns.h | 2 ++ net/dns_sort.c | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 net/dns_sort.c commit 95ab280c14e07af58d2a14b6f95fea8c187fa8dc Author: Bruce Guenter Date: Wed Apr 16 21:33:32 2014 -0600 net/resolve: Use the DNS library internally libbg-net=l | 2 +- net/resolve.h | 7 ++++++- net/resolve_calldns.c | 19 +++++++++++++++++++ net/resolve_error.c | 21 --------------------- net/resolve_ipv4addr.c | 23 ++++++++++++++++------- net/resolve_ipv4name.c | 39 +++++++++++++++++++++++++++------------ 6 files changed, 69 insertions(+), 42 deletions(-) create mode 100644 net/resolve_calldns.c delete mode 100644 net/resolve_error.c commit 0840a5bc3ab6289702e78aaecffd9b23f96cf4b2 Author: Bruce Guenter Date: Wed Apr 16 16:46:27 2014 -0600 net/dns: Allocate internal space for result names in single chunk net/dns.h | 7 +++++-- net/dns_ip4.c | 7 ++++--- net/dns_ip6.c | 9 +++++---- net/dns_mx.c | 23 ++++++++++++++++------- net/dns_name_packet.c | 21 +++++++++++++++------ net/dns_packet.c | 33 +++++++++++++++++++++++---------- net/dns_result.c | 42 +++++++++++++++++------------------------- net/dns_txt.c | 23 ++++++++++++++--------- 8 files changed, 99 insertions(+), 66 deletions(-) commit b5d24a37845a7ce91dd13f7c605af916ef3c8b8f Author: Bruce Guenter Date: Tue Apr 15 21:29:19 2014 -0600 net/dns: Return results from main functions in struct dns_result libbg-net=l | 1 + net/dns.h | 86 +++++++++++++++++++++++++++++++++++---------------- net/dns_ip4.c | 46 ++++++++++++++------------- net/dns_ip6.c | 53 +++++++++++++++++-------------- net/dns_mx.c | 41 ++++++++++++------------ net/dns_name4.c | 19 ++++++------ net/dns_name6.c | 19 +++++++----- net/dns_name_packet.c | 15 ++++++--- net/dns_packet.c | 45 +++++++++++++++++---------- net/dns_result.c | 61 ++++++++++++++++++++++++++++++++++++ net/dns_txt.c | 55 +++++++++++++++++++++++--------- 11 files changed, 297 insertions(+), 144 deletions(-) create mode 100644 net/dns_result.c commit ea4b42cb233bec9360a3e3d33a907c60cbb32bc0 Author: Bruce Guenter Date: Sun Apr 20 17:08:23 2014 -0600 net/dns: Use the existing surfrand implementation net/dns_random.c | 58 ++++++++++---------------------------------------------- 1 file changed, 10 insertions(+), 48 deletions(-) commit f987fcad2989465f2f6e3eca417d88e64bd51f96 Author: Bruce Guenter Date: Mon Apr 21 12:23:45 2014 -0600 surfrand: Change "used" counter into number of words left in output crypto/surfrand.c | 8 ++++---- crypto/surfrand.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 4e8ef000414ae324ed08667efce66499ec6f0036 Author: Bruce Guenter Date: Sun Apr 20 17:30:24 2014 -0600 crypto: Add surfrand_uniform function NEWS | 2 ++ crypto/surfrand.c | 22 ++++++++++++++++++++++ crypto/surfrand.h | 1 + 3 files changed, 25 insertions(+) commit 7e0a61500d794d6ba8c2d653ca30c31eb03d3da9 Author: Bruce Guenter Date: Sun Apr 20 17:11:42 2014 -0600 crypto: Unroll inner loop in surfrand crypto/surfrand.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 7aed9fee0ae46f30d20a8e1e0d8c244cf75f6927 Author: Bruce Guenter Date: Tue Apr 15 17:37:03 2014 -0600 selftests: Flush output in NL(), and dump program's output when it dies selftest.c | 2 +- selftests.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 99448fbccc7a9eec83d5c3688f27c494b2618d6b Author: Bruce Guenter Date: Tue Apr 15 16:21:02 2014 -0600 net/dns: Add fmt_dns_domain function libbg-net=l | 1 + net/dns.h | 2 ++ net/dns_domain_todot.c | 36 +++++++----------------------------- net/dns_fmt.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 29 deletions(-) create mode 100644 net/dns_fmt.c commit c3c65aad189c28b4a7594677bc6969a9f67afcfe Author: Bruce Guenter Date: Fri Apr 11 19:20:52 2014 -0600 Rename some variables named "str" to avoid shadowed variable warnings crypto/md4.c | 8 ++++---- crypto/sha1test.c | 4 ++-- misc/strtou.c | 6 +++--- net/ipv4_format.c | 32 ++++++++++++++++---------------- net/ipv4_scan.c | 12 ++++++------ net/ipv6_format.c | 46 +++++++++++++++++++++++----------------------- 6 files changed, 54 insertions(+), 54 deletions(-) commit ec0cb420c08bca31889b30044f20cad8c7013b21 Merge: 560a7d0 402c788 Author: Bruce Guenter Date: Fri Apr 11 17:45:48 2014 -0600 Merge branch 'dns' commit 402c788df8e3b2aec068eb1723a73854ef4b2889 Author: Bruce Guenter Date: Thu Apr 10 09:01:44 2014 -0600 net/dns: Add documentation net/dns.h | 87 ++++++++++++++++++++++++++++++++++++++++----- net/dns_domain.c | 6 ++++ net/dns_domain_fromdot.c | 1 + net/dns_domain_todot.c | 1 + net/dns_ip4.c | 5 +++ net/dns_ip6.c | 5 +++ net/dns_mx.c | 5 +++ net/dns_name4.c | 4 +++ net/dns_name4_domain.c | 1 + net/dns_name6.c | 4 +++ net/dns_name6_domain.c | 1 + net/dns_name_packet.c | 1 + net/dns_packet.c | 16 +++++++++ net/dns_qualify.c | 26 ++++++++++++++ net/dns_random.c | 2 ++ net/dns_resolvconfip.c | 3 ++ net/dns_resolvconfrewrite.c | 18 ++++++++++ net/dns_resolve.c | 7 ++++ net/dns_rotate.c | 8 +++++ net/dns_transmit.c | 15 ++++++++ net/dns_txt.c | 5 +++ 21 files changed, 212 insertions(+), 9 deletions(-) commit c69b5fc6051e0036f060445a0de4fd54b6f6e53e Author: Bruce Guenter Date: Fri Apr 11 16:53:22 2014 -0600 net/dns: Use a dns_*_r function in dns_qualify{_rules} net/dns.h | 6 ++++-- net/dns_qualify.c | 12 ++++++++---- net/dns_resolvconfrewrite.c | 3 ++- 3 files changed, 14 insertions(+), 7 deletions(-) commit d1cb8a210d7fe2f14e51336d63bfbdc2f3d0b922 Author: Bruce Guenter Date: Fri Apr 11 13:26:59 2014 -0600 net/dns: Add another const marker to dns_transmit_io net/dns.h | 2 +- net/dns_transmit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8fedff654f6c330da94eed30a4ade0f7cb2d867e Author: Bruce Guenter Date: Fri Apr 11 12:32:38 2014 -0600 net/dns: Allow NULL localip in dns_transmit_start net/dns_resolve.c | 4 +--- net/dns_transmit.c | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) commit 560a7d0e967ebdf3f845d8766182c04c41a21703 Author: Bruce Guenter Date: Thu Apr 10 09:02:02 2014 -0600 config.dxy: Upgrade with current version of doxygen config.dxy | 1793 ++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 1076 insertions(+), 717 deletions(-) commit 61098422c2b37ff4c853a0ee775497fd374f856c Author: Bruce Guenter Date: Mon Apr 7 15:10:57 2014 -0600 net/dns: Add dns_ip6 function libbg-net=l | 1 + net/dns.h | 3 +++ net/dns_ip6.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 net/dns_ip6.c commit 96995f76aaa7126203f1ddc681ed1dc74917edee Author: Bruce Guenter Date: Mon Apr 7 17:23:59 2014 -0600 net/dns: Simplify IP literal parsing in dns_ip4 net/dns_ip4.c | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) commit 50533ba2cee014876dc9c3f28c2b22cf2bef9b6f Author: Bruce Guenter Date: Sun Apr 6 01:56:21 2014 -0600 net/dns: Add dns_name6 functions libbg-net=l | 3 +++ net/dns.h | 11 ++++++++--- net/dns_name4.c | 18 +----------------- net/dns_name6.c | 38 ++++++++++++++++++++++++++++++++++++++ net/dns_name6_domain.c | 20 ++++++++++++++++++++ net/dns_name_packet.c | 19 +++++++++++++++++++ 6 files changed, 89 insertions(+), 20 deletions(-) create mode 100644 net/dns_name6.c create mode 100644 net/dns_name6_domain.c create mode 100644 net/dns_name_packet.c commit aecf7cf49ba7876452d99b0c20a2ff58ece4ac22 Author: Bruce Guenter Date: Sun Apr 6 07:46:13 2014 -0600 net/dns: Rename dns_sortip to dns_rotateipv4 and add dns_rotateipv6 libbg-net=l | 2 +- net/dns.h | 4 +++- net/dns_ip4.c | 2 +- net/dns_rotate.c | 28 ++++++++++++++++++++++++++++ net/dns_sortip.c | 21 --------------------- 5 files changed, 33 insertions(+), 24 deletions(-) create mode 100644 net/dns_rotate.c delete mode 100644 net/dns_sortip.c commit 8b2b7c143f13515b1832e3f10a2e28c94e498cee Author: Bruce Guenter Date: Sat Apr 5 08:48:33 2014 -0600 net/dns: Merge common dns packet extraction code into new function net/dns.h | 2 ++ net/dns_ip4.c | 38 +++++++++++++------------------------- net/dns_mx.c | 46 +++++++++++++++------------------------------- net/dns_name4.c | 41 ++++++++++++----------------------------- net/dns_packet.c | 30 ++++++++++++++++++++++++++++++ net/dns_txt.c | 56 ++++++++++++++++++++------------------------------------ 6 files changed, 92 insertions(+), 121 deletions(-) commit 0006be8ac1547a8f038fe7c89a18f03b751ec57f Author: Bruce Guenter Date: Fri Apr 4 14:02:11 2014 -0600 net/dns: Add selftests net/dns_ip4.c | 25 ++++++++++++++++++ net/dns_mx.c | 21 +++++++++++++++ net/dns_name4.c | 17 ++++++++++++ net/dns_resolvconfip.c | 64 +++++++++++++++++++++++++++++++++++++++++++++ net/dns_resolvconfrewrite.c | 64 +++++++++++++++++++++++++++++++++++++++++++++ net/dns_txt.c | 14 ++++++++++ selftest.c | 13 +++++++++ 7 files changed, 218 insertions(+) commit 7134925883d63f5c8d800545f4371ef9f960df7d Author: Bruce Guenter Date: Fri Apr 4 16:23:10 2014 -0600 net/dns: Rewrite dns_ip4_qualify to be more generic, supporting other functions libbg-net=l | 2 +- net/dns.h | 4 ++-- net/{dns_ip4_qualify.c => dns_qualify.c} | 11 ++++++----- 3 files changed, 9 insertions(+), 8 deletions(-) rename net/{dns_ip4_qualify.c => dns_qualify.c} (80%) commit 14217d7cdd49a9072f08d75d2bf2cbe61523c4e8 Author: Bruce Guenter Date: Fri Apr 4 14:59:02 2014 -0600 net/dns: Support overriding location of /etc/resolv.conf with $DNSRESOLVCONF net/dns.h | 1 + net/dns_resolvconfip.c | 11 ++++++++++- net/dns_resolvconfrewrite.c | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) commit d9cb4e20020f73984cca9deb4059986c3d1252c6 Author: Bruce Guenter Date: Fri Apr 4 14:52:05 2014 -0600 net/dns: IP addresses in $DNSCACHEIP are separated by ',' not '.' net/dns_resolvconfip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0856c67494f1c7406ef2da3b34f19541065e9961 Author: Bruce Guenter Date: Fri Apr 4 13:51:09 2014 -0600 net/dns: Eliminate another static in the main dns query paths net/dns_ip4.c | 9 ++++----- net/dns_mx.c | 15 ++++++++------- net/dns_name4.c | 10 +++++----- net/dns_txt.c | 9 ++++----- 4 files changed, 21 insertions(+), 22 deletions(-) commit df43a7140f1288838d57f860763ab4586420e580 Author: Bruce Guenter Date: Fri Apr 4 12:29:45 2014 -0600 net/dns: Eliminate the dns_transmit_tx global, adding (semi)reentrant functions net/dns.h | 16 ++++++++++++++-- net/dns_ip4.c | 10 ++++++---- net/dns_mx.c | 10 ++++++---- net/dns_name4.c | 10 ++++++---- net/dns_resolve.c | 10 ++++------ net/dns_txt.c | 9 +++++---- 6 files changed, 41 insertions(+), 24 deletions(-) commit e0ff3ae414cc08270a8b1df8933ed0e4ee929ff3 Author: Bruce Guenter Date: Fri Apr 4 11:44:11 2014 -0600 net/dns: Convert text input parameters to char* for ease of calling net/dns.h | 10 +++++----- net/dns_ip4.c | 12 +++++++----- net/dns_ip4_qualify.c | 10 +++++----- net/dns_mx.c | 4 ++-- net/dns_txt.c | 4 ++-- 5 files changed, 21 insertions(+), 19 deletions(-) commit 57e8c639159d87948e801309048ce493486473b4 Author: Bruce Guenter Date: Fri Apr 4 11:21:13 2014 -0600 net/dns_random: Auto-initialize on first use net/dns_random.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit c94c90ada9f685cc6bedfddf04da2ae6015add1c Author: Bruce Guenter Date: Fri Apr 4 09:28:12 2014 -0600 net/dns: Add defined constants for some hard-coded limits net/dns.h | 9 ++++++--- net/dns_random.c | 2 +- net/dns_resolvconfip.c | 6 +++--- net/dns_resolve.c | 2 +- net/dns_transmit.c | 6 +++--- 5 files changed, 14 insertions(+), 11 deletions(-) commit c0aaf827bdb374218ad1f3e057b89a81133dbe5c Author: Bruce Guenter Date: Fri Apr 4 08:51:56 2014 -0600 net/dns: Convert DNS class/type constants from strings into integers net/dns.h | 39 ++++++++++++++++++++------------------- net/dns_ip4.c | 5 ++--- net/dns_mx.c | 5 ++--- net/dns_name4.c | 5 ++--- net/dns_resolve.c | 2 +- net/dns_transmit.c | 13 ++++++------- net/dns_txt.c | 5 ++--- 7 files changed, 35 insertions(+), 39 deletions(-) commit f2b835979e4971a804fee2df2328ba74ed2fc443 Author: Bruce Guenter Date: Thu Apr 3 19:49:39 2014 -0600 net/dns: Rewrite some string splitting loops using striter net/dns_resolvconfip.c | 31 ++++++++--------- net/dns_resolvconfrewrite.c | 81 ++++++++++++++++++++++----------------------- 2 files changed, 53 insertions(+), 59 deletions(-) commit e3529462f6cb7dfdaa6ac6f2f873b8c82f390eac Author: Bruce Guenter Date: Fri Apr 4 08:40:52 2014 -0600 net/dns: Resolve some signed/unsigned char pointer issues a different way net/dns.h | 2 +- net/dns_ip4.c | 8 ++++---- net/dns_mx.c | 10 +++++----- net/dns_name4.c | 6 +++--- net/dns_packet.c | 2 +- net/dns_transmit.c | 6 +++--- net/dns_txt.c | 6 +++--- 7 files changed, 20 insertions(+), 20 deletions(-) commit 531b0594c8c5e7f7951cbf6f558575fc74148fad Author: Bruce Guenter Date: Thu Apr 3 19:12:10 2014 -0600 net/dns: Eliminate some warnings net/dns_domain.c | 2 +- net/dns_mx.c | 4 ++-- net/dns_resolve.c | 2 +- net/dns_transmit.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 4a103e74ed3c3d7b9b4f375e60be66666a9aec02 Author: Bruce Guenter Date: Thu Apr 3 19:03:58 2014 -0600 net/dns: Eliminate use of DJB case library net/dns_domain.c | 3 +-- net/dns_ip4_qualify.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 4e296c3fbc545eb43dea9c08b83d638ed1541752 Author: Bruce Guenter Date: Thu Apr 3 16:02:05 2014 -0600 net/dns: Eliminate use of DNS tai/taia libraries net/dns.h | 10 ++++++---- net/dns_random.c | 11 ++++------- net/dns_resolvconfip.c | 13 ++++++------- net/dns_resolvconfrewrite.c | 13 ++++++------- net/dns_resolve.c | 27 ++++++++++++--------------- net/dns_transmit.c | 26 ++++++++++---------------- 6 files changed, 44 insertions(+), 56 deletions(-) commit 6f08002c361911cd9d17064f33b2fd55c04b491d Author: Bruce Guenter Date: Thu Apr 3 16:01:44 2014 -0600 net/dns: Eliminate use of DJB openreadclose function net/dns_resolvconfip.c | 4 ++-- net/dns_resolvconfrewrite.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 2c54099a8219bb3395ae1100d1e59ab1207c4ad1 Author: Bruce Guenter Date: Thu Apr 3 16:01:28 2014 -0600 net/dns: Eliminate use of DJB ip4+socket libraries, and use ipv4addr addresses net/dns.h | 15 ++++++++------- net/dns_ip4.c | 2 +- net/dns_name4.c | 2 +- net/dns_name4_domain.c | 10 +++++----- net/dns_resolvconfip.c | 26 ++++++++++++-------------- net/dns_resolve.c | 6 ++++-- net/dns_sortip.c | 10 +++++----- net/dns_transmit.c | 20 ++++++++++---------- 8 files changed, 46 insertions(+), 45 deletions(-) commit 5cf915ab0e99cb7931d4cdfed2722d12007d5e6e Author: Bruce Guenter Date: Thu Apr 3 16:00:59 2014 -0600 net/dns: Internalize DJB iopause library net/dns.h | 6 +++--- net/dns_resolve.c | 26 ++++++++++++++++++++++++-- net/dns_transmit.c | 8 ++++---- 3 files changed, 31 insertions(+), 9 deletions(-) commit d1d05c399e518ed54a24e814f4cce1f74dd26562 Author: Bruce Guenter Date: Thu Apr 3 16:00:19 2014 -0600 net/dns: Eliminate use of DJB fmt library net/dns_name4_domain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 559fb8db6ea598e5a625c28b28ecb5a3c4a38aa5 Author: Bruce Guenter Date: Thu Apr 3 16:00:00 2014 -0600 net/dns: Eliminate use of DJB error library net/dns_domain.c | 2 +- net/dns_domain_fromdot.c | 4 ++-- net/dns_packet.c | 9 +++++---- net/dns_transmit.c | 14 +++++++------- 4 files changed, 15 insertions(+), 14 deletions(-) commit 2c2b6cf2831755b2c50b260962e21fb94acec6b7 Author: Bruce Guenter Date: Thu Apr 3 15:59:42 2014 -0600 net/dns: Eliminate use of DJB env library net/dns_resolvconfip.c | 4 ++-- net/dns_resolvconfrewrite.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 648359defc9101a802e42c49406255cc6b90e1ad Author: Bruce Guenter Date: Thu Apr 3 15:59:26 2014 -0600 net/dns: Eliminate use of DJB byte library net/dns_domain.c | 4 ++-- net/dns_domain_fromdot.c | 8 ++++---- net/dns_ip4.c | 7 ++++--- net/dns_ip4_qualify.c | 18 ++++++++++-------- net/dns_mx.c | 7 ++++--- net/dns_name4.c | 7 ++++--- net/dns_name4_domain.c | 5 +++-- net/dns_resolvconfip.c | 11 ++++++----- net/dns_resolvconfrewrite.c | 9 +++++---- net/dns_resolve.c | 3 ++- net/dns_sortip.c | 9 +++++---- net/dns_transmit.c | 26 +++++++++++++------------- net/dns_txt.c | 7 ++++--- 13 files changed, 66 insertions(+), 55 deletions(-) commit 7ee4b144703dfc870f7aa182a7746da3e7c304a7 Author: Bruce Guenter Date: Thu Apr 3 15:59:01 2014 -0600 net/dns: Eliminate use of DJB alloc library net/dns_domain.c | 9 +++++---- net/dns_domain_fromdot.c | 7 ++++--- net/dns_transmit.c | 19 ++++++++++--------- 3 files changed, 19 insertions(+), 16 deletions(-) commit 4ff8f67091a4b2398cdaac12a6a9f779b3569a2d Author: Bruce Guenter Date: Thu Apr 3 15:58:42 2014 -0600 net/dns: Eliminate use of DJB uint## libraries net/dns_ip4.c | 4 ++-- net/dns_mx.c | 4 ++-- net/dns_name4.c | 4 ++-- net/dns_random.c | 4 ++-- net/dns_transmit.c | 2 +- net/dns_txt.c | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) commit fb786466d0fcfc17d4d63ec2a636050b2add5589 Author: Bruce Guenter Date: Thu Apr 3 15:58:21 2014 -0600 net/dns: Eliminate use of DJB stralloc library net/dns.h | 26 ++++++++++---------- net/dns_domain_todot.c | 11 ++++----- net/dns_ip4.c | 13 +++++----- net/dns_ip4_qualify.c | 13 +++++----- net/dns_mx.c | 11 ++++----- net/dns_name4.c | 7 +++--- net/dns_resolvconfip.c | 4 ++-- net/dns_resolvconfrewrite.c | 58 ++++++++++++++++++++++----------------------- net/dns_txt.c | 9 ++++--- 9 files changed, 73 insertions(+), 79 deletions(-) commit 886c72d936a315a1d9af2f69d78f46e22b1c7f24 Author: Bruce Guenter Date: Thu Apr 3 15:57:58 2014 -0600 net/dns: Eliminate use of DJB str library net/dns_ip4_qualify.c | 9 ++++++--- net/dns_resolvconfrewrite.c | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) commit 0c4ec4bdf8c95da00983e67d97fdd12d2da85449 Author: Bruce Guenter Date: Thu Apr 3 20:01:23 2014 -0600 net/dns: Rename several files to more descriptive names libbg-net=l | 16 ++++++++-------- net/dns.h | 2 +- net/{dns_dfd.c => dns_domain_fromdot.c} | 0 net/{dns_dtda.c => dns_domain_todot.c} | 0 net/{dns_ip.c => dns_ip4.c} | 0 net/{dns_ipq.c => dns_ip4_qualify.c} | 0 net/{dns_name.c => dns_name4.c} | 4 ++-- net/{dns_nd.c => dns_name4_domain.c} | 0 net/{dns_rcip.c => dns_resolvconfip.c} | 0 net/{dns_rcrw.c => dns_resolvconfrewrite.c} | 0 10 files changed, 11 insertions(+), 11 deletions(-) rename net/{dns_dfd.c => dns_domain_fromdot.c} (100%) rename net/{dns_dtda.c => dns_domain_todot.c} (100%) rename net/{dns_ip.c => dns_ip4.c} (100%) rename net/{dns_ipq.c => dns_ip4_qualify.c} (100%) rename net/{dns_name.c => dns_name4.c} (87%) rename net/{dns_nd.c => dns_name4_domain.c} (100%) rename net/{dns_rcip.c => dns_resolvconfip.c} (100%) rename net/{dns_rcrw.c => dns_resolvconfrewrite.c} (100%) commit a39a5057da01aa78213a3b2069555b47b70c12d7 Author: Bruce Guenter Date: Thu Apr 3 15:55:54 2014 -0600 net: Initial commit of DNS library, copied from public domain djbdns-1.05 INSTHIER | 1 + NEWS | 2 + libbg-net=l | 16 +++ net/dns.h | 84 ++++++++++++ net/dns_dfd.c | 69 ++++++++++ net/dns_domain.c | 74 +++++++++++ net/dns_dtda.c | 35 +++++ net/dns_ip.c | 75 +++++++++++ net/dns_ipq.c | 71 +++++++++++ net/dns_mx.c | 49 +++++++ net/dns_name.c | 48 +++++++ net/dns_nd.c | 24 ++++ net/dns_packet.c | 77 +++++++++++ net/dns_random.c | 63 +++++++++ net/dns_rcip.c | 86 +++++++++++++ net/dns_rcrw.c | 131 +++++++++++++++++++ net/dns_resolve.c | 29 +++++ net/dns_sortip.c | 20 +++ net/dns_transmit.c | 366 +++++++++++++++++++++++++++++++++++++++++++++++++++++ net/dns_txt.c | 59 +++++++++ 20 files changed, 1379 insertions(+) create mode 100644 net/dns.h create mode 100644 net/dns_dfd.c create mode 100644 net/dns_domain.c create mode 100644 net/dns_dtda.c create mode 100644 net/dns_ip.c create mode 100644 net/dns_ipq.c create mode 100644 net/dns_mx.c create mode 100644 net/dns_name.c create mode 100644 net/dns_nd.c create mode 100644 net/dns_packet.c create mode 100644 net/dns_random.c create mode 100644 net/dns_rcip.c create mode 100644 net/dns_rcrw.c create mode 100644 net/dns_resolve.c create mode 100644 net/dns_sortip.c create mode 100644 net/dns_transmit.c create mode 100644 net/dns_txt.c commit dfb477f7843efa3ea530b42f1b94afa022e3322c Author: Bruce Guenter Date: Wed Apr 9 17:11:07 2014 -0600 net: Eliminate strict-aliasing warnings in recvfd and sendfd net/recvfd.c | 4 +++- net/sendfd.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit 20d18d40dbc408f8db1a34813faaa54fdc36f747 Author: Bruce Guenter Date: Wed Apr 9 17:09:56 2014 -0600 crypto: Use uint32_pack_lsb to eliminate strict-aliasing warning crypto/md4.c | 14 +++++++------- crypto/md5.c | 16 +++++++++------- 2 files changed, 16 insertions(+), 14 deletions(-) commit bbfe4a4121144e64467211c2304a7d041a4453aa Author: Bruce Guenter Date: Wed Apr 9 11:16:09 2014 -0600 path: Simplify fnmatch selftest path/fnmatch.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 65f577ac24d61643b63d86273d1caefaf54eba4d Author: Bruce Guenter Date: Tue Apr 8 08:33:09 2014 -0600 selftests: Compare results using a new selftest-cmp program This new program optionally compares expected output with fnmatch style patterns, allowing for more flexible result testing in the presence of varying results. .gitignore | 1 + path/match.c | 12 +++---- selftest-cmp.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ selftest-cmp=x | 2 ++ selftests.sh | 7 ++-- selftests.spac | 2 +- 6 files changed, 116 insertions(+), 10 deletions(-) create mode 100644 selftest-cmp.c create mode 100644 selftest-cmp=x commit 7fe38d75e20165e14581cc23118df831a7aedc95 Author: Bruce Guenter Date: Mon Apr 7 17:35:19 2014 -0600 net: Switch IPv6 output format to use IETF recommended lower-case net/ipv6_format.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ee3580afdaad3a0d08f8898b07afc60407f10c89 Author: Bruce Guenter Date: Mon Apr 7 15:07:52 2014 -0600 net: Rename ipv6_isv4addr to ipv6_isv4mapped net/ipv6.h | 2 +- net/ipv6_addr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 21a3c799ab5a1131c3e408fcc745dcabbe546713 Author: Bruce Guenter Date: Sun Apr 6 01:39:18 2014 -0600 net/ipv6: Add bits to test for IPv4-in-IPv6 addresses net/ipv6.h | 2 ++ net/ipv6_addr.c | 10 ++++++++++ 2 files changed, 12 insertions(+) commit f897b39c8e6ca028ac4703f4b377ecbce429888a Author: Bruce Guenter Date: Sat Apr 5 19:46:29 2014 -0600 net/ipv6: Fix typos in IPV6ADDR constants net/ipv6_addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4b44336d9fc733d53b38f1ae2f3fe3926c7e9975 Author: Bruce Guenter Date: Sat Apr 5 16:42:01 2014 -0600 net: Fix typo in ipv6 header net/ipv6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd33c6cafafe59ece6ed2580bc4a41e05567af81 Author: Bruce Guenter Date: Fri Apr 4 14:38:32 2014 -0600 Automatically #include "selftest.c" when compiling for selftests adt/ghash_test.c | 1 - adt/gqueue_test.c | 1 - adt/gstack_test.c | 1 - crc/gcrc16fwd.c | 1 - crc/gcrc16rfl.c | 1 - crc/gcrc32rfl.c | 1 - crc/gcrc64fwd.c | 1 - crypto/hmac-md5.c | 3 +-- crypto/hmac-sha1.c | 1 - crypto/hmac-sha256.c | 4 +--- crypto/hmac-sha384.c | 4 +--- crypto/hmac-sha512.c | 4 +--- crypto/md4.c | 3 +-- crypto/md5.c | 3 +-- crypto/sha1.c | 1 - crypto/sha1test.c | 3 +-- crypto/sha256.c | 4 +--- crypto/sha384.c | 4 +--- crypto/sha512.c | 4 +--- crypto/surf.c | 1 - crypto/surfrand.c | 1 - fmt/char.c | 1 - fmt/chars.c | 1 - fmt/multi.c | 1 - fmt/sign_pad.c | 1 - fmt/sllnum.c | 1 - fmt/snum.c | 1 - fmt/ullnum.c | 1 - fmt/unum.c | 1 - iobuf/ibuf_getc.c | 1 - iobuf/ibuf_getnetstring.c | 1 - iobuf/ibuf_gets.c | 1 - iobuf/ibuf_getstr_crlf.c | 1 - iobuf/iobuf_init.c | 1 - iobuf/obuf_put2s.c | 1 - iobuf/obuf_put3s.c | 1 - iobuf/obuf_put4s.c | 1 - iobuf/obuf_put5s.c | 1 - iobuf/obuf_put6s.c | 1 - iobuf/obuf_put7s.c | 1 - iobuf/obuf_putf.c | 1 - iobuf/obuf_putns.c | 1 - iobuf/obuf_putsllnumw.c | 1 - iobuf/obuf_putsnumw.c | 1 - iobuf/obuf_putullnumw.c | 1 - iobuf/obuf_putunumw.c | 1 - iobuf/obuf_sign_pad.c | 1 - iobuf/obuf_write.c | 1 - misc/strtou.c | 1 - misc/ucspi.c | 1 - misc/utoa.c | 1 - misc/utoa2.c | 1 - msg/common.c | 1 - msg/commonf.c | 1 - msg/wrap_alloc.c | 1 - msg/wrap_chdir.c | 1 - msg/wrap_str.c | 1 - net/connect4.c | 1 - net/ipv4_format.c | 1 - net/ipv4_scan.c | 1 - net/ipv6_format.c | 1 - net/ipv6_scan.c | 1 - net/tcp4.c | 1 - path/fnmatch.c | 1 - path/match.c | 1 - path/merge.c | 1 - selftest.c | 6 +++++- selftests.sh | 2 +- str/alloc.c | 1 - str/case_end.c | 1 - str/case_glob.c | 1 - str/case_match.c | 1 - str/case_start.c | 1 - str/cat2s.c | 1 - str/cat3s.c | 1 - str/cat4s.c | 1 - str/cat5s.c | 1 - str/cat6s.c | 1 - str/catf.c | 1 - str/catns.c | 1 - str/copy.c | 1 - str/copy2s.c | 1 - str/copy3s.c | 1 - str/copy4s.c | 1 - str/copy5s.c | 1 - str/copy6s.c | 1 - str/copyf.c | 1 - str/copyns.c | 1 - str/end.c | 1 - str/env_find.c | 1 - str/env_from_array.c | 1 - str/env_from_string.c | 1 - str/env_get.c | 1 - str/env_make_array.c | 1 - str/env_put.c | 1 - str/env_set.c | 1 - str/env_unset.c | 1 - str/findnext.c | 1 - str/findnextof.c | 1 - str/findprev.c | 1 - str/findprevnot.c | 1 - str/findprevof.c | 1 - str/free.c | 1 - str/glob.c | 1 - str/init.c | 1 - str/join.c | 1 - str/match.c | 1 - str/splice.c | 1 - str/start.c | 1 - str/xlate.c | 1 - unix/fcntl.c | 1 - unix/selfpipe.c | 1 - unix/signalfd.c | 1 - 113 files changed, 16 insertions(+), 129 deletions(-) commit 45d7ad76e8346e8ea1a3373d1cbdd40930d35708 Author: Bruce Guenter Date: Tue Apr 1 18:12:30 2014 -0600 Add a template CLI source file for reference documentation EXTRADIST | 1 + template.cli | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 EXTRADIST create mode 100644 template.cli commit c17e8d5c6e95e25c6e4d8bbe010901925ab27dac Author: Bruce Guenter Date: Tue Apr 1 13:40:38 2014 -0600 bg-installer: Use cli-generate to make/install a man page %.1.spac | 7 +++++++ .gitignore | 1 + INSTHIER | 1 + all.spac | 2 +- man.spac | 1 + 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 %.1.spac create mode 100644 man.spac commit 39adf3d2e51edb549b10c14ebfd90acd843237b9 Author: Bruce Guenter Date: Tue Apr 1 10:18:30 2014 -0600 bg-installer: Use cli-generate to generate CLI interface %-cli.c.spac | 2 + %-cli.h.spac | 2 + .gitignore | 1 + bg-installer.c | 77 +------------------------------- bg-installer.cli | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+), 75 deletions(-) create mode 100644 %-cli.c.spac create mode 100644 %-cli.h.spac create mode 100644 bg-installer.cli commit e52a6ecd884ca7579c59000167adda8c32e5792a Author: Bruce Guenter Date: Tue Apr 1 07:51:44 2014 -0600 cli-generate: Rewrite text section parsing to add support for itemize and enumerate NEWS | 2 + cli-generate.pl | 178 +++++++++++++++++++++++++++++++++----------------------- 2 files changed, 108 insertions(+), 72 deletions(-) commit 732e56e61640d840ac94dbbf434aae2c501838a5 Author: Bruce Guenter Date: Mon Mar 31 12:26:56 2014 -0600 cli-generate: Fix HTML output of @example sections cli-generate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ba113c602615e9184d1c30ba2363732413461e2 Author: Bruce Guenter Date: Thu Mar 27 10:25:40 2014 -0600 Don't warn about unused return values conf-cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 823a31387eb4bfe8d6e7aad2b43c3dcd0175783f Author: Bruce Guenter Date: Thu Mar 27 10:18:40 2014 -0600 cli-generate: Fix handling of sections in HTML output cli-generate.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 0e36002d3a64e7615e2f6787e5fcaff8797e54ca Author: Bruce Guenter Date: Sat Feb 22 10:24:36 2014 -0600 cli-generate: Parse tags in more places for C and man output cli-generate.pl | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit c7acae9d1483fbf48c2eef79a74c27bddeaef987 Author: Bruce Guenter Date: Fri Feb 21 14:30:45 2014 -0600 sys/getpeereid.c: Eliminate a parameter warning sys/getpeereid.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5180a6b69bf7f29f9aaa49afd9dad82682c7f153 Author: Bruce Guenter Date: Fri Feb 21 14:26:36 2014 -0600 README: Note development is on GitHub README.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 60b060c321ea37c8604edd3e04c592152fcee6ec Author: Bruce Guenter Date: Tue Apr 10 00:18:24 2012 -0600 Ignore ltcompile and ltload instead of libcompile .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a877158bbd1b332463ff44d0df48db6bec76cfc9 Author: Bruce Guenter Date: Tue Apr 10 00:16:43 2012 -0600 bg-installer: Add support for substitutions in the dest filename NEWS | 2 +- bg-installer.c | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 46 insertions(+), 6 deletions(-) commit 3dd689f38392fac4f104bfe70a4a0ca82beef3e0 Author: Bruce Guenter Date: Tue Apr 10 00:04:36 2012 -0600 bg-installer: Tweak makepath to take a destination string parameter bg-installer.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit ff30912d1853ab2c2854469282174fa19ca95277 Author: Bruce Guenter Date: Mon Apr 9 23:56:59 2012 -0600 bg-installer: Add wildcard handling If the source filename has wildcards, the line is repeated once for each matching filename. Not too useful as it stands right now, substitution is coming. NEWS | 2 ++ bg-installer.c | 34 +++++++++++++++++++++++++++++----- 2 files changed, 31 insertions(+), 5 deletions(-) commit e4cfd39730886dd45a0e5d21fad677bcbbf7105e Author: Bruce Guenter Date: Mon Apr 9 17:18:49 2012 -0600 bg-installer: Reorganize the main loop bg-installer.c | 163 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 87 insertions(+), 76 deletions(-) commit 4e5067da2bb2b439c4c93965c7866498d4577e8b Author: Bruce Guenter Date: Mon Apr 9 16:27:38 2012 -0600 instlib: Fix compile problem with conflicting redefinition of opendir The system include declares opendir, but the declaration in instlib/installer.h conflicts. The naming choice on my part was unfortunate. instlib/installer.c | 3 +++ instlib/instcheck.c | 3 +++ instlib/instshow.c | 3 +++ 3 files changed, 9 insertions(+) commit f1e11652275d7f8d2f034d35c8f4cdf19c328028 Author: Bruce Guenter Date: Wed Apr 4 09:01:37 2012 -0600 msg: Mark die functions as "noreturn" This can fix warnings where a die will effectively terminate a loop or function but the compiler doesn't see that. msg/msg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7f53b6143caf835e5231b8599ea5253db631446c Author: Bruce Guenter Date: Tue Jan 4 10:19:24 2011 -0600 sysdeps.h: Add test for noreturn attribute sys/hasnoreturn.h0 | 2 ++ sys/hasnoreturn.h1 | 2 ++ sys/trynoreturn.c | 1 + sysdeps.h.spac | 3 ++- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sys/hasnoreturn.h0 create mode 100644 sys/hasnoreturn.h1 create mode 100644 sys/trynoreturn.c commit 399527ffb98a858602115bb5296711402fd61cab Author: Bruce Guenter Date: Tue Dec 28 14:51:23 2010 -0600 Add TODO note about better hash functions TODO | 4 ++++ 1 file changed, 4 insertions(+) commit a40c0baaf9876a4918661faa543659a63c5e6aad Author: Jorge Valdes Date: Tue Dec 28 12:01:38 2010 -0600 net: Add reversed IPv4 format functions. NEWS | 1 + net/ipv4.h | 2 ++ net/ipv4_format.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 50 insertions(+), 2 deletions(-) commit 02ba61d3f543a082c887332bebd10c00b3c780a7 Author: Bruce Guenter Date: Mon Dec 27 23:14:09 2010 -0600 fmt: Add support for calling arbitrary functions within fmt_multiv NEWS | 2 ++ fmt/multi.c | 24 ++++++++++++++++++++++-- fmt/multi.h | 6 ++++++ 3 files changed, 30 insertions(+), 2 deletions(-) commit 0077ff52231432ea513671739aa7923c1f12c774 Author: Bruce Guenter Date: Tue Dec 28 08:58:13 2010 -0600 Upgrade the Doxygen config for version 1.5.8 config.dxy | 394 ++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 297 insertions(+), 97 deletions(-) commit d898a5d147471b030dd61e396edf5cb7fe1b00b7 Author: Bruce Guenter Date: Wed Dec 1 14:06:59 2010 -0600 str: Add str_end* and str_case_end* functions NEWS | 3 +++ libbg-str=l | 2 ++ str/{case_start.c => case_end.c} | 42 +++++++++++++++++++++------------------- str/{start.c => end.c} | 40 ++++++++++++++++++++------------------ str/str.h | 8 ++++++++ 5 files changed, 56 insertions(+), 39 deletions(-) copy str/{case_start.c => case_end.c} (59%) copy str/{start.c => end.c} (56%) commit 8f99f273495b4ec00a4458e00b6e83e44e8191c5 Author: Bruce Guenter Date: Wed Dec 1 13:59:57 2010 -0600 Start new version NEWS | 3 +++ VERSION | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 48e3e9a260458d2164f5713f5cf511952a706995 Author: Bruce Guenter Date: Mon Feb 16 11:10:55 2009 -0600 Fixed installation of msg/debug.h header file. INSTHIER | 2 +- NEWS | 2 ++ msg/msg.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 37524bfa95089fbebeecbd8e38c37f2ddc1efe3f Author: Bruce Guenter Date: Mon Feb 16 11:05:56 2009 -0600 Bumped version to 1.106 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit a230cb4435b70ae47d29953ce5fb9f04d7af75ae Author: Bruce Guenter Date: Fri Feb 13 15:30:30 2009 -0600 Use -static instead of -static-libtool-libs in =x files. It appears that -static-libtool-libs is a recent change to libtool. bg-installer=x | 2 +- crc-gentab=x | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d370a6bb82dddbe23ae3d3127499da1d7681b93e Author: Bruce Guenter Date: Fri Feb 13 11:02:55 2009 -0600 Fixed the copyright year in the README. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea7826ae23c10000ae5e73b07f4e66dcc2f18f42 Author: Bruce Guenter Date: Fri Feb 13 10:55:50 2009 -0600 Bumped LIBVERSION for release. LIBVERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e13c7bce59d2b830261b798297b3d5c5c5de26e1 Author: Bruce Guenter Date: Thu Feb 12 19:32:46 2009 -0600 Modified the build procedure to build all libraries as shared. The problems were caused by a misunderstanding of how make works. If a makefile contains the rule: a b: doit it is 100% equivalent to: a: doit b: doit Which means that "doit" can be executed multiple times, even if "doit" generates the same two files. In this case, I had rules effectively: %.lo %.o: %.c ./libcompile $< However, while the libraries depended on the .lo files, the crc-gentab program depended on the .o files, to produce a static executable. What would happen is that make would occasionally try to use the .o file immediately before running libcompile again, which removes it. Bleh. So, this change builds everything to libtool .lo/.la files, and links from there, but installs the private .a from the .libs subdirectory. It's a somewhat internal feature of libtool, but it works. INSTHIER | 108 ++++++++++++++++++++++++++++----------------------------- NEWS | 3 ++ bg-installer=x | 15 ++++---- crc-gentab=x | 7 ++-- libraries.spac | 2 +- 5 files changed, 70 insertions(+), 65 deletions(-) commit 9befe53a58b7c7bb7ef4f6f47457d4ddb30b9c0d Author: Bruce Guenter Date: Fri Jan 30 10:32:54 2009 -0600 Fixed the debug messages to not enable any by default. NEWS | 2 ++ msg/debug_bits.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit e59377e762616f48bc2a1f24830f8793716b3b74 Author: Bruce Guenter Date: Thu Jan 29 23:22:20 2009 -0600 Split off the msg/debug functions into their own header. INSTHIER | 1 + msg/debug.h | 33 +++++++++++++++++++++++++++++++++ msg/msg.h | 26 +------------------------- 3 files changed, 35 insertions(+), 25 deletions(-) create mode 100644 msg/debug.h commit 1d185b8bb7ee6d58abda5cc99be9edc82f40a7ac Author: Bruce Guenter Date: Wed Jan 21 22:14:30 2009 -0600 Fixed the newer logic in path_match to mirror shell globbing properly. NEWS | 2 +- path/match.c | 59 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 31 insertions(+), 30 deletions(-) commit 4e0ee714d2ad5fca971342c19b7ea7cdfc6865fd Author: Bruce Guenter Date: Wed Jan 21 16:54:00 2009 -0600 Fixed a signed/unsigned comparison warning in envstr_unset. str/env_unset.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b98013dcedc8f69e5a0b0f66a4f962ad1254f492 Author: Bruce Guenter Date: Wed Jan 21 16:24:30 2009 -0600 Cast pointers to unsigned long to cover both 32 and 64 bit systems. adt/ghash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 06f3102b883d2f3d1c75887355e25c60444131c2 Author: Bruce Guenter Date: Fri Jan 16 11:08:19 2009 -0600 Indicate the source file used by cli-generate in the generated files. NEWS | 2 ++ cli-generate.pl | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 90a9598f0c0c8287683f08940aadefc3404e6a41 Author: Bruce Guenter Date: Fri Jan 16 11:00:54 2009 -0600 Fixed the path_match function to match filenames containing glob chars. NEWS | 3 +++ path/match.c | 39 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) commit c296cb6ad2fdb2165e85611b1088b3c343152cb8 Author: Bruce Guenter Date: Fri Jan 16 10:54:31 2009 -0600 Fixed up the comments in the ?buf_copy*fd functions. iobuf/ibuf_copytofd.c | 2 +- iobuf/obuf_copyfromfd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 44b3d026119b00b97a1aa511f525f4a3a3dee93e Author: Bruce Guenter Date: Fri Jan 16 10:53:52 2009 -0600 Added a proper .gitignore file. .gitignore | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitignore commit 085291acf4cfc362224aad077f5105acce5fc4ad Author: Bruce Guenter Date: Fri Jan 16 10:53:30 2009 -0600 Removed executable mode on spec file. spec | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 spec commit 30c43b89cf313fc6ba1be732a5d192336bfee1e7 Author: Bruce Guenter Date: Tue Apr 29 14:17:29 2008 -0600 Added sysdep for d_type in struct dirent. Also simplified the d_ino test slightly to prevent a potential assignment to read only location failure. NEWS | 2 +- sys/hasdirenttype.h0 | 2 ++ sys/hasdirenttype.h1 | 3 +++ sys/trydirentino.c | 2 +- sys/{trydirent.c => trydirenttype.c} | 2 +- sysdeps.h.spac | 3 ++- 6 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 sys/hasdirenttype.h0 create mode 100644 sys/hasdirenttype.h1 copy sys/{trydirent.c => trydirenttype.c} (85%) commit 06695e5d43fa890e5c04ad999a7fce780424282b Author: Bruce Guenter Date: Tue Apr 29 14:13:24 2008 -0600 Added sysdep for d_ino in struct dirent. NEWS | 2 ++ sys/hasdirentino.h0 | 2 ++ sys/hasdirentino.h1 | 3 +++ sys/{trydirent.c => trydirentino.c} | 2 +- sysdeps.h.spac | 4 +++- 5 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 sys/hasdirentino.h0 create mode 100644 sys/hasdirentino.h1 copy sys/{trydirent.c => trydirentino.c} (83%) commit a79700ba68fd3a3f8e8926fbb77330bb92cce7ae Author: Bruce Guenter Date: Sun Apr 13 22:49:13 2008 -0600 Fixed envstr_unset to remove all instances of the given name. NEWS | 1 + str/env_unset.c | 17 +++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) commit 6970809ba77c49f7b92c2cf5ce53b5d9f3f67adf Author: Bruce Guenter Date: Sun Apr 13 22:48:35 2008 -0600 Bumped version to 1.105 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit d9e3ccd1634a527f1d2d7e04332fc906c70e5bd3 Author: Bruce Guenter Date: Wed Apr 9 07:56:42 2008 -0600 Renamed some files that differed only in upper/lower case. This should fix building on OSX. Thanks to Amitai Schlair for pointing this out. NEWS | 3 +++ fmt/{uhex.c => uhexl.c} | 0 fmt/{uHex.c => uhexu.c} | 0 fmt/{ullhex.c => ullhexl.c} | 0 fmt/{ullHex.c => ullhexu.c} | 0 libbg-fmt=l | 8 ++++---- 6 files changed, 7 insertions(+), 4 deletions(-) rename fmt/{uhex.c => uhexl.c} (100%) rename fmt/{uHex.c => uhexu.c} (100%) rename fmt/{ullhex.c => ullhexl.c} (100%) rename fmt/{ullHex.c => ullhexu.c} (100%) commit deb8396b303c02b60a60c9b3b107b99b57ca8582 Author: Bruce Guenter Date: Fri Apr 4 11:45:55 2008 -0600 Made note of previous changes in the NEWS. NEWS | 1 + 1 file changed, 1 insertion(+) commit 96a65cc5e8f0eb83c62886b8a692be820364e639 Author: Bruce Guenter Date: Fri Apr 4 07:33:06 2008 -0600 Fix Require: syntax in spec file. Thanks again Giam Teck Choon spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 136d4ef275aa77992cf898a9397ad02e6a68d728 Author: Bruce Guenter Date: Thu Apr 3 15:49:21 2008 -0600 Bumped version to 1.104 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 68307fcfbeb6504f7130794e60110d4f2c6558f0 Author: Bruce Guenter Date: Thu Apr 3 15:48:57 2008 -0600 Fixed typo in installation path of md5 library. INSTHIER | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8bbd07bde737018490573d0c44e5f128c1be629 Author: Bruce Guenter Date: Thu Apr 3 11:02:04 2008 -0600 Added missing no-bglibs control file. Without this file, spac will cause the "load" script to include -lbg-sysdeps, which will in turn cause all sysdeps that require linking to fail on systems that did not have bglibs installed previously. Thanks to Giam Teck Choon for pointing this out. cli-generate=pl => no-bglibs | 0 1 file changed, 0 insertions(+), 0 deletions(-) copy cli-generate=pl => no-bglibs (100%) commit 7368c8c9f479b39154d1ca2046c0362a1d19d3bc Author: Bruce Guenter Date: Wed Apr 2 17:40:27 2008 -0600 Include the .la files in the -devel RPM. spec | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 spec commit 13bff47d3639edbf2ec7f0e81418a9aac91f7995 Author: Bruce Guenter Date: Wed Apr 2 17:17:10 2008 -0600 Added missing COPYING file. COPYING | 504 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 504 insertions(+) create mode 100644 COPYING commit 11dd311ecb64d39c76872d1dcb6e94f1111bb7c5 Author: Bruce Guenter Date: Wed Apr 2 15:59:23 2008 -0600 Bumped up the libtool library version info. LIBVERSION | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) commit b05c2264bccb780f54a588c2f6ec9fea5b391474 Author: Bruce Guenter Date: Wed Apr 2 13:53:11 2008 -0600 Put the development libs into their own RPM. TODO | 6 ------ spec | 31 +++++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 12 deletions(-) commit f2ea788317308dde569c5de5ff0574785bb9725d Author: Bruce Guenter Date: Wed Apr 2 12:15:31 2008 -0600 Added some self-tests for misc conversion/formatting functions. misc/strtou.c | 30 ++++++++++++++++++++++++++++++ misc/utoa.c | 27 +++++++++++++++++++++++++++ misc/utoa2.c | 30 ++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) commit eba3fd8ee02669cee4bc7302acee3f0095a3bed2 Author: Bruce Guenter Date: Tue Apr 1 23:40:03 2008 -0600 Added a #include to misc/random.c to avoid a parallel compile problem. misc/random.c | 1 + 1 file changed, 1 insertion(+) commit 5888f852931dfba36acc0797f6ec546cc297ccec Author: Bruce Guenter Date: Tue Apr 1 23:39:20 2008 -0600 Fixed up the ghash_set implementation and added a self-test. adt/ghash_set.c | 15 ++++++++++++--- adt/ghash_test.c | 13 +++++++++++-- 2 files changed, 23 insertions(+), 5 deletions(-) commit 11cf67c687f6c8dfcffd111b072c6f113dd44ab6 Author: Bruce Guenter Date: Tue Apr 1 14:19:38 2008 -0600 Fixed up typo in the systime.h build file. systime.h.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 491f24b48de64bd9309bab02444959849ef61924 Author: Bruce Guenter Date: Tue Apr 1 14:07:00 2008 -0600 Removed the now useless $Id$ tags from the source files. ac/dirent.h | 1 - ac/time.h | 1 - ac/wait.h | 1 - adt/adt_sp.c | 1 - adt/common.h | 1 - adt/ghash.h | 1 - adt/ghash_add.c | 1 - adt/ghash_foreach.c | 1 - adt/ghash_free.c | 1 - adt/ghash_get.c | 1 - adt/ghash_init.c | 1 - adt/ghash_insert.c | 1 - adt/ghash_iter.c | 1 - adt/ghash_rebuild.c | 1 - adt/ghash_rehash.c | 1 - adt/ghash_remove.c | 1 - adt/ghash_search.c | 1 - adt/ghash_set.c | 1 - adt/ghash_test.c | 1 - adt/gqueue.h | 1 - adt/gqueue_pop.c | 1 - adt/gqueue_push.c | 1 - adt/gqueue_test.c | 1 - adt/gqueue_top.c | 1 - adt/gstack.h | 1 - adt/gstack_pop.c | 1 - adt/gstack_push.c | 1 - adt/gstack_test.c | 1 - adt/gstack_top.c | 1 - adt/hashb.c | 1 - adt/hashs.c | 1 - base64/asc2bin.c | 1 - base64/base64.h | 1 - base64/bin2asc.c | 1 - base64/decode_line.c | 1 - base64/decode_part.c | 1 - base64/encode_line.c | 1 - base64/encode_part.c | 1 - bg-installer.c | 1 - cdb++/cdb++.h | 1 - cdb++/datum.h | 1 - cdb++/internal.h | 1 - cdb/cdb.c | 1 - cdb/cdb.h | 1 - cdb/cdbhash.c | 1 - cdb/find.c | 1 - cdb/get.c | 1 - cdb/getnext.c | 1 - cdb/make.c | 1 - cdb/make.h | 1 - cdb/read.c | 1 - cdb/str.h | 1 - cgi/cgi-args.h | 1 - cgi/cgi-base.h | 1 - cli++/cli++.h | 1 - cli-generate.1 | 1 - cli-generate.pl | 1 - cli/cli.h | 1 - cli/help.c | 1 - cli/internal.h | 1 - cli/main.c | 1 - crc-gentab.c | 1 - crc/crc16_arc.h | 1 - crc/crc16_ccitt.h | 1 - crc/crc16_xmodem.h | 1 - crc/crc32.h | 1 - crc/crc32c.h | 1 - crc/crc64.h | 1 - crc/gcrc.h | 1 - crc/gcrc16fwd.c | 1 - crc/gcrc16rfl.c | 1 - crc/gcrc32fwd.c | 1 - crc/gcrc32rfl.c | 1 - crc/gcrc64fwd.c | 1 - crc/gcrc64rfl.c | 1 - crypto/hmac-sha1.c | 1 - crypto/hmac-sha256.c | 1 - crypto/hmac-sha384.c | 1 - crypto/hmac-sha512.c | 1 - crypto/hmac.c | 1 - crypto/md4.c | 1 - crypto/md4.h | 1 - crypto/md5-crypt.c | 1 - crypto/md5.c | 1 - crypto/md5.h | 1 - crypto/sha1.c | 1 - crypto/sha1.h | 1 - crypto/sha1test.c | 1 - crypto/sha256.c | 1 - crypto/sha256.h | 1 - crypto/sha384.c | 1 - crypto/sha384.h | 1 - crypto/sha512.c | 1 - crypto/sha512.h | 1 - crypto/surf.c | 1 - crypto/surf.h | 1 - dict/add.c | 1 - dict/dict.h | 1 - dict/dicthash.c | 1 - dict/foreach.c | 1 - dict/free.c | 1 - dict/get.c | 1 - dict/init.c | 1 - dict/load.h | 1 - dict/load_list.c | 1 - dict/load_map.c | 1 - dict/str_free.c | 1 - err/die.c | 1 - err/err.h | 1 - err/error.c | 1 - err/message.c | 1 - err/warn.c | 1 - fdbuf/fdbuf.h | 1 - fdbuf/fdibuf.h | 1 - fdbuf/fdobuf.h | 1 - fmt/char.c | 1 - fmt/chars.c | 1 - fmt/lcase.c | 1 - fmt/misc.h | 1 - fmt/multi.c | 1 - fmt/multi.h | 1 - fmt/number.h | 1 - fmt/pad.c | 1 - fmt/sdec.c | 1 - fmt/sign_pad.c | 1 - fmt/slldec.c | 1 - fmt/sllnum.c | 1 - fmt/snum.c | 1 - fmt/uHex.c | 1 - fmt/ucase.c | 1 - fmt/udec.c | 1 - fmt/uhex.c | 1 - fmt/ullHex.c | 1 - fmt/ulldec.c | 1 - fmt/ullhex.c | 1 - fmt/ullnum.c | 1 - fmt/unum.c | 1 - instlib/installer.c | 1 - instlib/installer.h | 1 - instlib/instcheck.c | 1 - instlib/instmain.c | 1 - instlib/instshow.c | 1 - iobuf/common.h | 1 - iobuf/ibuf.h | 1 - iobuf/ibuf_copytofd.c | 1 - iobuf/ibuf_getc.c | 1 - iobuf/ibuf_getnetstring.c | 1 - iobuf/ibuf_gets.c | 1 - iobuf/ibuf_getstr.c | 1 - iobuf/ibuf_getstr_crlf.c | 1 - iobuf/ibuf_getu.c | 1 - iobuf/ibuf_init.c | 1 - iobuf/ibuf_open.c | 1 - iobuf/ibuf_openreadclose.c | 1 - iobuf/ibuf_peek.c | 1 - iobuf/ibuf_read.c | 1 - iobuf/ibuf_readall.c | 1 - iobuf/ibuf_refill.c | 1 - iobuf/ibuf_seek.c | 1 - iobuf/ibuf_status.c | 1 - iobuf/ibuf_stdin.c | 1 - iobuf/ibuf_tell.c | 1 - iobuf/iobuf.h | 1 - iobuf/iobuf_close.c | 1 - iobuf/iobuf_copy.c | 1 - iobuf/iobuf_init.c | 1 - iobuf/iobuf_timeout.c | 1 - iobuf/obuf.h | 1 - iobuf/obuf_close.c | 1 - iobuf/obuf_copyfromfd.c | 1 - iobuf/obuf_digits.c | 1 - iobuf/obuf_endl.c | 1 - iobuf/obuf_flush.c | 1 - iobuf/obuf_init.c | 1 - iobuf/obuf_open.c | 1 - iobuf/obuf_pad.c | 1 - iobuf/obuf_put2s.c | 1 - iobuf/obuf_put3s.c | 1 - iobuf/obuf_put4s.c | 1 - iobuf/obuf_put5s.c | 1 - iobuf/obuf_put6s.c | 1 - iobuf/obuf_put7s.c | 1 - iobuf/obuf_putc.c | 1 - iobuf/obuf_putf.c | 1 - iobuf/obuf_putnetstring.c | 1 - iobuf/obuf_putns.c | 1 - iobuf/obuf_putsflush.c | 1 - iobuf/obuf_putsllnumw.c | 1 - iobuf/obuf_putsnumw.c | 1 - iobuf/obuf_putullnumw.c | 1 - iobuf/obuf_putunumw.c | 1 - iobuf/obuf_seek.c | 1 - iobuf/obuf_sign_pad.c | 1 - iobuf/obuf_stderr.c | 1 - iobuf/obuf_stdout.c | 1 - iobuf/obuf_sync.c | 1 - iobuf/obuf_write.c | 1 - misc/misc.h | 1 - misc/random.c | 1 - misc/strtou.c | 1 - misc/ucspi.c | 1 - misc/ucspi.h | 1 - misc/utoa.c | 1 - misc/utoa2.c | 1 - msg/common.c | 1 - msg/commonf.c | 1 - msg/debug.c | 1 - msg/debug_init.c | 1 - msg/debugf.c | 1 - msg/die.c | 1 - msg/dief.c | 1 - msg/error.c | 1 - msg/errorf.c | 1 - msg/msg.h | 1 - msg/oom.c | 1 - msg/warn.c | 1 - msg/warnf.c | 1 - msg/wrap.h | 1 - msg/wrap_alloc.c | 1 - msg/wrap_chdir.c | 1 - msg/wrap_exit.c | 1 - msg/wrap_str.c | 1 - mystring/iter.h | 1 - mystring/join.h | 1 - mystring/mystring.h | 1 - mystring/rep.h | 1 - mystring/trace.h | 1 - net/accept4.c | 1 - net/accept6.c | 1 - net/acceptu.c | 1 - net/bind4.c | 1 - net/bind6.c | 1 - net/bindu.c | 1 - net/broadcast.c | 1 - net/cmsg.h | 1 - net/connect4.c | 1 - net/connect4_timeout.c | 1 - net/connect6.c | 1 - net/connect6_timeout.c | 1 - net/connected.c | 1 - net/connectu.c | 1 - net/connectu_timeout.c | 1 - net/cork.c | 1 - net/getaddr4.c | 1 - net/getaddr6.c | 1 - net/ipv4.h | 1 - net/ipv4_addr.c | 1 - net/ipv4_format.c | 1 - net/ipv4_scan.c | 1 - net/ipv6.h | 1 - net/ipv6_addr.c | 1 - net/ipv6_format.c | 1 - net/ipv6_scan.c | 1 - net/linger.c | 1 - net/listen.c | 1 - net/notcpdelay.c | 1 - net/pairdgm.c | 1 - net/pairstr.c | 1 - net/recv4.c | 1 - net/recv6.c | 1 - net/recvfd.c | 1 - net/recvu.c | 1 - net/resolve.h | 1 - net/resolve_error.c | 1 - net/resolve_ipv4addr.c | 1 - net/resolve_ipv4name.c | 1 - net/reuse.c | 1 - net/send4.c | 1 - net/send6.c | 1 - net/sendfd.c | 1 - net/sendu.c | 1 - net/setopt.c | 1 - net/shutdown.c | 1 - net/socket.h | 1 - net/tcp4.c | 1 - net/tcp6.c | 1 - net/udp4.c | 1 - net/udp6.c | 1 - net/uncork.c | 1 - net/unixdgm.c | 1 - net/unixstr.c | 1 - path/contains.c | 1 - path/fnmatch.c | 1 - path/match.c | 1 - path/merge.c | 1 - path/mkdirs.c | 1 - path/mktemp.c | 1 - path/path.h | 1 - selftest.c | 1 - str/alloc.c | 1 - str/buildmap.c | 1 - str/case_glob.c | 1 - str/case_match.c | 1 - str/case_start.c | 1 - str/cat.c | 1 - str/cat2s.c | 1 - str/cat3s.c | 1 - str/cat4s.c | 1 - str/cat5s.c | 1 - str/cat6s.c | 1 - str/catf.c | 1 - str/catiw.c | 1 - str/catiwll.c | 1 - str/catns.c | 1 - str/catsllnum.c | 1 - str/catsnum.c | 1 - str/catullnum.c | 1 - str/catunum.c | 1 - str/catuw.c | 1 - str/catuwll.c | 1 - str/catxw.c | 1 - str/catxwll.c | 1 - str/cmp.c | 1 - str/copy.c | 1 - str/copy2s.c | 1 - str/copy3s.c | 1 - str/copy4s.c | 1 - str/copy5s.c | 1 - str/copy6s.c | 1 - str/copyf.c | 1 - str/copyns.c | 1 - str/count.c | 1 - str/countof.c | 1 - str/cut.c | 1 - str/diff.c | 1 - str/digits.c | 1 - str/env.h | 1 - str/env_find.c | 1 - str/env_from_array.c | 1 - str/env_from_string.c | 1 - str/env_get.c | 1 - str/env_make_array.c | 1 - str/env_put.c | 1 - str/env_set.c | 1 - str/findnext.c | 1 - str/findnextnot.c | 1 - str/findnextof.c | 1 - str/findprev.c | 1 - str/findprevnot.c | 1 - str/findprevof.c | 1 - str/free.c | 1 - str/glob.c | 1 - str/init.c | 1 - str/iter.h | 1 - str/iter_advance.c | 1 - str/iter_start.c | 1 - str/iter_valid.c | 1 - str/join.c | 1 - str/lower.c | 1 - str/lstrip.c | 1 - str/match.c | 1 - str/rstrip.c | 1 - str/sort.c | 1 - str/splice.c | 1 - str/start.c | 1 - str/str.h | 1 - str/subst.c | 1 - str/truncate.c | 1 - str/upper.c | 1 - str/xlate.c | 1 - sys/clock_gettime.c | 1 - sys/getpeereid.c | 1 - sys/iopoll.c | 1 - sys/mkfifo.c | 1 - sys/setenv.c | 1 - sys/tryattribute.c | 1 - sys/tryclockgettime.c | 1 - sys/trydaylight.c | 1 - sys/trydeprecated.c | 1 - sys/trydirent.c | 1 - sys/tryendian.c | 1 - sys/tryflock.c | 1 - sys/trygetpeereid.c | 1 - sys/tryinline.c | 1 - sys/tryipv6.c | 1 - sys/trymkfifo.c | 1 - sys/trynamedpipebug.c | 1 - sys/trypeercred.c | 1 - sys/trypoll.c | 1 - sys/trysendfile.c | 1 - sys/trysetenv.c | 1 - sys/trysigaction.c | 1 - sys/trysigprocmask.c | 1 - sys/tryspnam.c | 1 - sys/trysysselect.c | 1 - sys/trysystime.c | 1 - sys/trytime.c | 1 - sys/trytimespec.c | 1 - sys/tryulong32.c | 1 - sys/tryulong64.c | 1 - sys/tryunaligned.c | 1 - sys/tryunsetenv.c | 1 - sys/tryuserpw.c | 1 - sys/tryvfork.c | 1 - sys/trywaitp.c | 1 - sys/tryzlib.c | 1 - sys/unsetenv.c | 1 - sysdeps-head.h | 1 - sysdeps-tail.h | 1 - uint16.h | 1 - uint16/get.c | 1 - uint16/pack.c | 1 - uint16/unpack.c | 1 - uint32.h | 1 - uint32/get_lsb.c | 1 - uint32/get_msb.c | 1 - uint32/pack_lsb.c | 1 - uint32/pack_msb.c | 1 - uint32/unpack_lsb.c | 1 - uint32/unpack_msb.c | 1 - uint64.h | 1 - uint64/get_lsb.c | 1 - uint64/get_msb.c | 1 - uint64/pack_lsb.c | 1 - uint64/pack_msb.c | 1 - uint64/unpack_lsb.c | 1 - uint64/unpack_msb.c | 1 - uintnn.h | 1 - unix/cloexec.h | 1 - unix/cloexec_off.c | 1 - unix/cloexec_on.c | 1 - unix/fcntl.c | 1 - unix/fcntl.h | 1 - unix/fcntl_fd_off.c | 1 - unix/fcntl_fd_on.c | 1 - unix/fcntl_fl_off.c | 1 - unix/fcntl_fl_on.c | 1 - unix/nonblock.h | 1 - unix/nonblock_off.c | 1 - unix/nonblock_on.c | 1 - unix/selfpipe.c | 1 - unix/selfpipe.h | 1 - unix/sig.h | 1 - unix/sig_alarm.c | 1 - unix/sig_all.c | 1 - unix/sig_block.c | 1 - unix/sig_bug.c | 1 - unix/sig_catch.c | 1 - unix/sig_child.c | 1 - unix/sig_hup.c | 1 - unix/sig_int.c | 1 - unix/sig_misc.c | 1 - unix/sig_pipe.c | 1 - unix/sig_quit.c | 1 - unix/sig_suspend.c | 1 - unix/sig_term.c | 1 - unix/signalfd.c | 1 - unix/trigger.h | 1 - unix/trigger_pull.c | 1 - unix/trigger_set.c | 1 - vmailmgr/client.h | 1 - vmailmgr/req_arg.c | 1 - vmailmgr/req_init.c | 1 - vmailmgr/req_write.c | 1 - vmailmgr/resp_read.c | 1 - vmailmgr/vpwentry.h | 1 - vmailmgr/vpwentry_export.c | 1 - vmailmgr/vpwentry_free.c | 1 - vmailmgr/vpwentry_import.c | 1 - 459 files changed, 459 deletions(-) commit 8697535351f68a5c9bf9edae2bf66795469b8c6e Author: Bruce Guenter Date: Tue Apr 1 13:16:00 2008 -0600 Updated copyright notes on the crypto files. crypto/surf.c | 2 +- crypto/surfrand.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 806721b9e4861956b8d1564360d9ad309f946e7a Author: Bruce Guenter Date: Tue Apr 1 13:15:43 2008 -0600 Updated the README README.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9e654537538af3fe933cd63cdca51d2f66911caa Author: Bruce Guenter Date: Tue Apr 1 12:42:19 2008 -0600 Fixed a serious typo in the surfrand_fill function. crypto/surfrand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d6765585a8647042b4959738b4306c085482478b Author: Bruce Guenter Date: Mon Mar 31 23:22:33 2008 -0600 Added documentation for the new surf/surfrand functions. config.dxy | 1 + crypto/surf.c | 20 ++++++++++++++++---- crypto/surf.h | 11 +++++++++++ crypto/surfrand.c | 20 ++++++++++++++++++++ crypto/surfrand.h | 11 +++++++++++ 5 files changed, 59 insertions(+), 4 deletions(-) commit 368bf1149d3292779e43bfba3604e5ddb1e1d31b Author: Bruce Guenter Date: Mon Mar 31 22:35:39 2008 -0600 Updated the Doxygen configuration for version 1.5 config.dxy | 140 +++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 41 deletions(-) commit d2852a56dd04f9b164bfc9fce0f71a1bded39b6e Author: Bruce Guenter Date: Mon Mar 31 22:32:51 2008 -0600 Completed the signalfd implementation and self-tests. INSTHIER | 1 + libbg-unix=l | 1 + unix/signalfd.c | 39 +++++++++++++++++++++++---------------- 3 files changed, 25 insertions(+), 16 deletions(-) commit 8f8a2050baf67e8acac6e70710cff420e5a10e84 Author: Bruce Guenter Date: Mon Mar 31 22:13:07 2008 -0600 Fixed up msg selftest problems caused by previous selftest.c change. msg/common.c | 2 +- msg/commonf.c | 4 +--- msg/wrap_alloc.c | 4 +--- msg/wrap_chdir.c | 4 +--- msg/wrap_str.c | 4 +--- 5 files changed, 5 insertions(+), 13 deletions(-) commit 851fbafcb7a8d86edaf531117b68ff737f196c66 Author: Bruce Guenter Date: Mon Mar 31 17:35:44 2008 -0600 Added a random number generator based on SURF. INSTHIER | 3 +- NEWS | 2 + crypto/surfrand.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/surfrand.h | 19 +++++++++ libbg-crypto=l | 1 + 5 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 crypto/surfrand.c create mode 100644 crypto/surfrand.h commit e4ba26534e160078ae2f15f94d1355f7b6d0dbe1 Author: Bruce Guenter Date: Mon Mar 31 17:29:58 2008 -0600 Added files that were missing from the svn->git conversion. crypto/hmac-md5.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ str/env_unset.c | 28 +++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 crypto/hmac-md5.c create mode 100644 str/env_unset.c commit 99518c7ff759cf4cd23c9359fe578dc3f0a760a8 Author: Bruce Guenter Date: Mon Mar 31 17:28:52 2008 -0600 Fixed typos in two #include statements in headers. cdb/str.h | 2 +- dict/load.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0f15beb1c9d357a8ad67d8e95eecd82a15cd9bfc Author: Bruce Guenter Date: Fri Oct 5 08:46:55 2007 -0600 Added program and msg_show_pid definitions to the selftest. selftest.c | 3 +++ 1 file changed, 3 insertions(+) commit 7bb68b74932968e4c3c996adac1269a53c3b1a88 Author: Bruce Guenter Date: Fri Oct 5 08:35:22 2007 -0600 Added a set of "signalfd" functions as a generic self-pipe setup. NEWS | 2 ++ unix/{selfpipe.c => signalfd.c} | 71 ++++++++++++++++++++++------------------- unix/signalfd.h | 14 ++++++++ 3 files changed, 55 insertions(+), 32 deletions(-) copy unix/{selfpipe.c => signalfd.c} (55%) create mode 100644 unix/signalfd.h commit b7c615c318cf73b15a59e9a5e3b5ab333beb0a4e Author: Bruce Guenter Date: Fri Oct 5 08:34:25 2007 -0600 Added a ghash_set function (like ghash_add, but overwrites). NEWS | 2 ++ adt/ghash.h | 12 ++++++++++++ adt/ghash_set.c | 11 +++++++++++ libbg-adt=l | 1 + 4 files changed, 26 insertions(+) create mode 100644 adt/ghash_set.c commit 65da84c59d934380d682947e87a699d3f761c9d4 Author: Bruce Guenter Date: Wed Apr 11 03:08:38 2007 +0000 Added two missing header files: fmt/misc.h and fmt/multi.h INSTHIER | 2 ++ NEWS | 1 + 2 files changed, 3 insertions(+) commit b0f73b29f979bd1c9bcfceaeb856e038f1fbcc8b Author: Bruce Guenter Date: Wed Apr 11 03:08:05 2007 +0000 Bumped version to 1.103 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e7fc34c5a1c56f32f3767a5373b43510d287678d Author: Bruce Guenter Date: Mon Oct 30 21:08:42 2006 +0000 I no longer have intentions to add FP to fmt, at least not until I (or somebody else using it) needs it. TODO | 4 ---- 1 file changed, 4 deletions(-) commit 6269bfc5887749ca8316c14cb89da0b5841a2f31 Author: Bruce Guenter Date: Mon Oct 30 21:08:18 2006 +0000 Bumped the implementation number in LIBVERSION. LIBVERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f6449cf74beca64f9c9373e274d7958fb16bdf9 Author: Bruce Guenter Date: Mon Oct 30 21:06:28 2006 +0000 Fixed a bug in resolve_ipv4name_n: when handling multiple IPs, it would always copy the first one multiple times. NEWS | 3 +++ net/resolve_ipv4name.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 01f74a8835431ed226e93fb6ad3b18b6c389dca1 Author: Bruce Guenter Date: Tue Sep 12 17:49:06 2006 +0000 Added "m" format option for strerror(errno) NEWS | 4 +++- fmt/multi.c | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit f97c734bd52a18104ebf8e45f0f2d678bb9321b4 Author: Bruce Guenter Date: Mon Sep 11 18:19:54 2006 +0000 Made some of the net tests more lenient. Thanks Paul Jarc net/connect4.c | 8 ++++---- net/tcp4.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 3804e9be68746ff94c4e45a9324a9487a832697a Author: Bruce Guenter Date: Mon Sep 11 16:40:58 2006 +0000 Added self-tests for str_join str/join.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit fe50620614d7b4704bf1da30c1021e28fdf5528d Author: Bruce Guenter Date: Tue Aug 22 17:32:50 2006 +0000 Added support for str formatting in fmt_multi with "S". NEWS | 1 + fmt/multi.c | 8 ++++++++ 2 files changed, 9 insertions(+) commit ec500dbaa3ddecb77a0c7b12a576a9b04ed9a5da Author: Bruce Guenter Date: Thu Aug 3 16:10:24 2006 +0000 Bumped version to 1.102 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit c42fd52fc3b47a33924d6fc1683a85bd7a0e98d3 Author: Bruce Guenter Date: Wed Aug 2 16:42:15 2006 +0000 Clarified NEWS entry. NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eeeb6eba382fb348025a418a37f19a765caf3ade Author: Bruce Guenter Date: Tue Aug 1 15:22:11 2006 +0000 Marked some symbols as "weak" to prevent link errors if they aren't defined. NEWS | 3 +++ libbg-msg=l | 1 + msg/common.c | 21 +++++++++++---------- msg/commonf.c | 17 ++++++++++------- msg/msg.h | 4 ++-- msg/show_pid.c | 2 ++ 6 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 msg/show_pid.c commit 5ead89175045ae00e121176fe514eb31df0188a4 Author: Bruce Guenter Date: Tue Aug 1 15:12:47 2006 +0000 Use __attribute__ directly instead of the __DEPRECATED__ macro. net/ipv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e83f0865576c33639c919fdef75e76d1503186f Author: Bruce Guenter Date: Tue Aug 1 05:51:38 2006 +0000 Added sysdep for __attribute__. NEWS | 2 ++ sys/hasattribute.h0 | 2 ++ sys/hasattribute.h1 | 1 + sys/tryattribute.c | 2 ++ sysdeps.h.spac | 7 ++++--- 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 sys/hasattribute.h0 create mode 100644 sys/hasattribute.h1 create mode 100644 sys/tryattribute.c commit 05a9d504ee7b87175e1fe2838a8549694b7cd5a8 Author: Bruce Guenter Date: Mon Jul 31 20:48:31 2006 +0000 Fixed include compatibility problem in sys/tryclockgettime.c. Thanks Amitai Schlair NEWS | 2 ++ sys/tryclockgettime.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 5f94b6fcd4f7c8277ec156e8d793769c0fd2a930 Author: Bruce Guenter Date: Mon Jul 31 20:47:31 2006 +0000 Bumped version to 1.101 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 875d2e8a79fe2f028b5745f1317e5f5f14ba027c Author: Bruce Guenter Date: Thu Jul 27 23:53:42 2006 +0000 Tidied up several pointer signedness warnings (emitted by newer GCCs). base64/base64.h | 2 +- base64/decode_line.c | 6 +++--- base64/decode_part.c | 10 +++++----- cdb/cdb.h | 2 +- cdb/find.c | 6 +++--- cdb/get.c | 3 ++- cdb/getnext.c | 3 ++- cdb/make.c | 12 ++++++------ cdb/make.h | 2 +- crc/gcrc16fwd.c | 2 +- crc/gcrc16rfl.c | 2 +- crc/gcrc32fwd.c | 2 +- crc/gcrc32rfl.c | 2 +- crc/gcrc64fwd.c | 2 +- crc/gcrc64rfl.c | 2 +- crypto/hmac.c | 4 ++-- crypto/sha1.c | 4 +++- crypto/sha1test.c | 2 +- dict/dict.h | 2 +- net/accept4.c | 4 ++-- net/accept6.c | 4 ++-- net/acceptu.c | 4 ++-- net/connected.c | 2 +- net/getaddr4.c | 2 +- net/getaddr6.c | 2 +- net/ipv6_format.c | 4 ++-- net/recv4.c | 2 +- net/recv6.c | 2 +- sys/getpeereid.c | 2 +- 29 files changed, 51 insertions(+), 47 deletions(-) commit 211ee7f469ea3b6d80badf5843ea01dd133c6fec Author: Bruce Guenter Date: Thu Jul 27 23:28:51 2006 +0000 Fixed up some missing bits in the spec needed for shared libraries. INSTHIER | 4 ++-- libraries.spac | 2 +- spec | 20 +++++++++++++++----- 3 files changed, 18 insertions(+), 8 deletions(-) commit e8ab8305ddf216416974d5b746f43c230dc3f6fa Author: Bruce Guenter Date: Thu Jul 27 23:10:08 2006 +0000 Add dl.lib to the installed files. INSTHIER | 1 + 1 file changed, 1 insertion(+) commit 69967a78379d016adcf302b31b4ab01c0a15aef0 Author: Bruce Guenter Date: Thu Jul 27 22:32:39 2006 +0000 Added documentation for the gqueue and gstack ADTs. adt/gqueue.h | 29 +++++++++++++++++++++++++++++ adt/gqueue_pop.c | 4 ++++ adt/gqueue_push.c | 10 +++++++--- adt/gqueue_test.c | 6 +++--- adt/gqueue_top.c | 2 ++ adt/gstack.h | 28 ++++++++++++++++++++++++++++ adt/gstack_pop.c | 4 ++++ adt/gstack_push.c | 2 ++ adt/gstack_top.c | 2 ++ 9 files changed, 81 insertions(+), 6 deletions(-) commit f6979d0f21f0ac49bb3c0ad9cc94b8b9eddea72e Author: Bruce Guenter Date: Thu Jul 27 22:32:21 2006 +0000 Allow for NULL key copy functions in ghash. adt/ghash.h | 5 ++++- adt/ghash_add.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) commit 748f6fe8f4d94aa2045d009e8522df611e762f79 Author: Bruce Guenter Date: Thu Jul 27 19:02:06 2006 +0000 Convert all "void selftest(void)" functions in selftests to simply "MAIN". adt/gqueue_test.c | 2 +- adt/gstack_test.c | 2 +- msg/common.c | 2 +- msg/commonf.c | 2 +- msg/wrap_alloc.c | 2 +- msg/wrap_chdir.c | 2 +- msg/wrap_str.c | 2 +- net/connect4.c | 2 +- net/ipv4_format.c | 2 +- net/ipv4_scan.c | 2 +- net/ipv6_scan.c | 2 +- net/tcp4.c | 2 +- path/merge.c | 2 +- str/alloc.c | 2 +- str/catf.c | 2 +- str/copy.c | 2 +- str/copyf.c | 2 +- str/env_find.c | 2 +- str/env_from_array.c | 2 +- str/env_from_string.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/env_put.c | 2 +- str/env_set.c | 2 +- str/findnext.c | 2 +- str/findnextof.c | 2 +- str/findprev.c | 2 +- str/findprevnot.c | 2 +- str/findprevof.c | 2 +- str/free.c | 2 +- str/init.c | 2 +- str/splice.c | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) commit 20728a2e48c2d8baeae9423f7c3b03bc90dcb003 Author: Bruce Guenter Date: Thu Jul 27 19:01:19 2006 +0000 The version was mistakenly not bumped up to 1.100 VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3a0c99443b5c692bc3ef80e6a1a45c06d8748a8 Author: Bruce Guenter Date: Thu Jul 27 19:01:01 2006 +0000 Pointer signedness fixup. adt/adt_sp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b934600d10ee1df341df920964deff4b608954ac Author: Bruce Guenter Date: Thu Jul 27 18:56:15 2006 +0000 Document the resolve_ipv4name macro. net/resolve.h | 1 + 1 file changed, 1 insertion(+) commit 8b7f0b256b155faecd0619541a93f4b2843e3f26 Author: Bruce Guenter Date: Thu Jul 27 18:56:01 2006 +0000 Added missing "@}" comment in iobuf/common.h that was causing some function documentation to be skipped. iobuf/common.h | 2 ++ 1 file changed, 2 insertions(+) commit cc48d83b7f4710117314f6bcb128d9c032a8d888 Author: Bruce Guenter Date: Thu Jul 27 18:53:17 2006 +0000 Moved the gqueue and gstack test code into seperate files. adt/gqueue_push.c | 31 ------------------------------- adt/{gqueue_push.c => gqueue_test.c} | 18 ------------------ adt/gstack_push.c | 31 ------------------------------- adt/{gstack_push.c => gstack_test.c} | 17 ----------------- 4 files changed, 97 deletions(-) copy adt/{gqueue_push.c => gqueue_test.c} (55%) copy adt/{gstack_push.c => gstack_test.c} (57%) commit 1bd712e32ab5996c926d9a3068a3679b13743614 Author: Bruce Guenter Date: Thu Jul 27 18:52:50 2006 +0000 Moved all selftest code into ghash_test.c, to make it a better example. adt/ghash_iter.c | 63 --------------------------------------------- adt/ghash_remove.c | 69 ------------------------------------------------- adt/ghash_test.c | 75 ++++++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 62 insertions(+), 145 deletions(-) commit 6bc8c114902fb4b8c7f3293ec8b148ace483751e Author: Bruce Guenter Date: Thu Jul 27 18:35:10 2006 +0000 Added Doxygen documentation to adt/ghash adt/common.h | 22 +++++++ adt/ghash.h | 64 +++++++++++++++++++- adt/ghash_add.c | 112 ++++------------------------------- adt/ghash_foreach.c | 1 + adt/ghash_free.c | 1 + adt/ghash_get.c | 8 +++ adt/ghash_init.c | 1 + adt/ghash_insert.c | 1 + adt/ghash_iter.c | 3 + adt/ghash_rebuild.c | 3 + adt/ghash_rehash.c | 2 + adt/ghash_remove.c | 6 ++ adt/ghash_search.c | 2 + adt/{ghash_remove.c => ghash_test.c} | 74 +++++++++++------------ config.dxy | 5 +- 15 files changed, 162 insertions(+), 143 deletions(-) copy adt/{ghash_remove.c => ghash_test.c} (54%) commit 81840784fc404ceb367a7b0832a75ca6ea4d498d Author: Bruce Guenter Date: Thu Jul 27 16:55:07 2006 +0000 Added self tests for the generic queue and stack implementations, fixing several bugs in the process. adt/gqueue.h | 6 +++--- adt/gqueue_pop.c | 3 ++- adt/gqueue_push.c | 36 +++++++++++++++++++++++++++++++++++- adt/gstack_pop.c | 3 ++- adt/gstack_push.c | 36 +++++++++++++++++++++++++++++++++++- 5 files changed, 77 insertions(+), 7 deletions(-) commit 262767baef76426777e1d5037c674c7c6d8b6b58 Author: Bruce Guenter Date: Thu Jul 27 05:56:55 2006 +0000 Updated the Doxygen config for version 1.4.7 config.dxy | 52 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 14 deletions(-) commit ab57cb2a16b7add3d3a243778946e45c1c88aeb8 Author: Bruce Guenter Date: Tue Jul 25 20:43:55 2006 +0000 Updated the Doxygen configuration. config.dxy | 255 +++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 206 insertions(+), 49 deletions(-) commit a6499926d68c6add20fd061e5c806e28227d9303 Author: Bruce Guenter Date: Tue Jul 25 14:51:21 2006 +0000 Added self test to ipv4_format.c net/ipv4_format.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit d2a35b16fedaf25cf644f4c1636c047725cc19ef Author: Bruce Guenter Date: Tue Jul 25 14:45:48 2006 +0000 Added self tests for several IPv4 functions. net/connect4.c | 25 +++++++++++++++++++++++++ net/tcp4.c | 18 ++++++++++++++++++ selftest.c | 13 +++++++++++++ 3 files changed, 56 insertions(+) commit cbb6535a88ed0aee33bccf6f8eb0b605970f5c61 Author: Bruce Guenter Date: Mon Jul 24 23:44:01 2006 +0000 Modified the package to install libbg and libbg-sysdeps as shared libraries using libtool. INSTHIER | 4 ++-- LIBVERSION | 39 +++++++++++++++++++++++++++++++++++++++ NEWS | 5 ++++- TODO | 2 ++ VERSION | 2 +- libbg.a.spac | 23 ----------------------- libbg.la.spac | 16 ++++++++++++++++ libraries.spac | 2 +- selftests.sh | 2 +- selftests.spac | 2 +- 10 files changed, 67 insertions(+), 30 deletions(-) create mode 100644 LIBVERSION delete mode 100644 libbg.a.spac create mode 100644 libbg.la.spac commit 0e9059e70000b736523609d1524b96c2d793ac8e Author: Bruce Guenter Date: Mon Jul 24 23:14:39 2006 +0000 Added support to bg-installer for installing shared libraries with libtool. NEWS | 3 +++ bg-installer.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 1 deletion(-) commit e8e8d926c3220c42ed4d3ebfb07e66c69bf7acba Author: Bruce Guenter Date: Mon Jul 24 23:02:38 2006 +0000 Added missing libpwcmp library definition files. They were missed in a previous step because the actual pwcmp library is in a different repository. libpwcmp-module=l | 1 + libpwcmp=l | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 libpwcmp-module=l create mode 100644 libpwcmp=l commit fad30a6a90bbc5b1aa9140ab3571163416db47b1 Author: Bruce Guenter Date: Mon Jul 24 20:48:02 2006 +0000 Fixed a missing include in the old fdbuf C++ library. fdbuf/fdobuf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 16c8c0f04217e2010c4340772aa0f97b031a53f2 Author: Bruce Guenter Date: Mon Jul 24 19:57:47 2006 +0000 Fixed bug in error return of ibuf_openreadclose. Thanks Gerrit Pape NEWS | 2 ++ iobuf/ibuf_openreadclose.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit c2c08dff039d92dcfa21ac2099180fecb28b414e Author: Bruce Guenter Date: Thu Mar 23 04:25:47 2006 +0000 Fixed the missing vmailmgr/ prefix in libvmailmgr libvmailmgr=l | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 7b598647f66951e11e967b2ec3a63fb1b58005ae Author: Bruce Guenter Date: Thu Mar 23 04:15:58 2006 +0000 Added missing source necessary in the libbg-msg library. msg/debug_bits.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 msg/debug_bits.c commit bfe9e1902e5d10863348a460937db0a37a92dac7 Author: Bruce Guenter Date: Thu Mar 23 04:14:35 2006 +0000 Renamed the library targets into the top directory with their final names. This will help make generation of shared libraries easier. INSTHIER | 42 ++++++++++++------------- adt/lib=l | 20 ------------ base64/lib=l | 6 ---- bg-installer=x | 8 +++-- cdb/lib=l | 7 ----- cli/lib=l | 2 -- crc-gentab=x | 4 +-- crc/lib=l | 12 ------- crypto/lib=l | 14 --------- dict/lib=l | 9 ------ fmt/lib=l | 19 ------------ iobuf/lib=l | 51 ------------------------------ libbg-adt=l | 20 ++++++++++++ libbg-base64=l | 6 ++++ libbg-cdb=l | 7 +++++ libbg-cli=l | 2 ++ libbg-crc=l | 12 +++++++ libbg-crypto=l | 14 +++++++++ libbg-dict=l | 9 ++++++ libbg-fmt=l | 19 ++++++++++++ installer=l => libbg-installer=l | 0 instcheck=l => libbg-instcheck=l | 0 instshow=l => libbg-instshow=l | 0 libbg-iobuf=l | 51 ++++++++++++++++++++++++++++++ libbg-misc=l | 5 +++ libbg-msg=l | 17 ++++++++++ libbg-net=l | 48 ++++++++++++++++++++++++++++ libbg-path=l | 6 ++++ libbg-str=l | 67 ++++++++++++++++++++++++++++++++++++++++ libbg-unix=l | 24 ++++++++++++++ libbg.a.spac | 6 ++-- libraries.spac | 2 +- vmailmgr/lib=l => libvmailmgr=l | 0 misc/lib=l | 5 --- msg/lib=l | 16 ---------- net/lib=l | 48 ---------------------------- path/lib=l | 6 ---- str/lib=l | 67 ---------------------------------------- unix/lib=l | 24 -------------- 39 files changed, 341 insertions(+), 334 deletions(-) delete mode 100644 adt/lib=l delete mode 100644 base64/lib=l delete mode 100644 cdb/lib=l delete mode 100644 cli/lib=l delete mode 100644 crc/lib=l delete mode 100644 crypto/lib=l delete mode 100644 dict/lib=l delete mode 100644 fmt/lib=l delete mode 100644 iobuf/lib=l create mode 100644 libbg-adt=l create mode 100644 libbg-base64=l create mode 100644 libbg-cdb=l create mode 100644 libbg-cli=l create mode 100644 libbg-crc=l create mode 100644 libbg-crypto=l create mode 100644 libbg-dict=l create mode 100644 libbg-fmt=l rename installer=l => libbg-installer=l (100%) rename instcheck=l => libbg-instcheck=l (100%) rename instshow=l => libbg-instshow=l (100%) create mode 100644 libbg-iobuf=l create mode 100644 libbg-misc=l create mode 100644 libbg-msg=l create mode 100644 libbg-net=l create mode 100644 libbg-path=l create mode 100644 libbg-str=l create mode 100644 libbg-unix=l rename vmailmgr/lib=l => libvmailmgr=l (100%) delete mode 100644 misc/lib=l delete mode 100644 msg/lib=l delete mode 100644 net/lib=l delete mode 100644 path/lib=l delete mode 100644 str/lib=l delete mode 100644 unix/lib=l commit 734671aaa013ba9272e38549e94f6e1ac143daa0 Author: Bruce Guenter Date: Sun Mar 19 05:51:54 2006 +0000 Simplified the result length-only formula in fmt/*num.c slightly. fmt/sllnum.c | 2 +- fmt/snum.c | 2 +- fmt/ullnum.c | 2 +- fmt/unum.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit a7a87e99cbe3e86b56c20323901dd1c30535ecab Author: Bruce Guenter Date: Sun Mar 19 05:48:23 2006 +0000 Fixed a bug in counting the length of signed and unsigned long long integers (0 was counted as having zero length). NEWS | 2 ++ fmt/sllnum.c | 6 ++++-- fmt/ullnum.c | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit ee65018d5fb44fa562970ec8747770a7b9d60889 Author: Bruce Guenter Date: Sun Mar 19 05:46:57 2006 +0000 Bumped version to 1.042 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 14ffc6c8d8855bba6498593c1fc42e4c43136e58 Author: Bruce Guenter Date: Wed Mar 8 19:16:08 2006 +0000 Fixed up newline handling to deal with @verbatim and @example sections better. cli-generate.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 6a220deaf2e12008dfa4bbeda530a87902c6f536 Author: Bruce Guenter Date: Fri Mar 3 21:49:04 2006 +0000 Renamed dict/hash.c and cdb/hash.c to prevent future linkage problems. cdb/{hash.c => cdbhash.c} | 0 cdb/lib=l | 3 +-- dict/{hash.c => dicthash.c} | 0 dict/lib=l | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) rename cdb/{hash.c => cdbhash.c} (100%) rename dict/{hash.c => dicthash.c} (100%) commit 21a5e64d1231e76a4cb58902a9e2ce8ae43a4592 Author: Bruce Guenter Date: Tue Feb 28 19:43:52 2006 +0000 Reverted revisions 677 and 678. From now on all crypto apps should target libtomcrypt (or some other better external library). NEWS | 7 +- VERSION | 2 +- crypto/hash-lookup.c | 43 --------- crypto/hash-md4.c | 196 -------------------------------------- crypto/hash-md5.c | 216 ------------------------------------------ crypto/hash-pack-uint128.c | 10 -- crypto/hash-pack-uint64.c | 14 --- crypto/hash-sha1.c | 168 --------------------------------- crypto/hash-sha256.c | 194 -------------------------------------- crypto/hash-sha384.c | 110 ---------------------- crypto/hash-sha512.c | 229 --------------------------------------------- crypto/hash.c | 102 -------------------- crypto/hash.h | 56 ----------- crypto/lib=l | 10 -- 14 files changed, 2 insertions(+), 1355 deletions(-) delete mode 100644 crypto/hash-lookup.c delete mode 100644 crypto/hash-md4.c delete mode 100644 crypto/hash-md5.c delete mode 100644 crypto/hash-pack-uint128.c delete mode 100644 crypto/hash-pack-uint64.c delete mode 100644 crypto/hash-sha1.c delete mode 100644 crypto/hash-sha256.c delete mode 100644 crypto/hash-sha384.c delete mode 100644 crypto/hash-sha512.c delete mode 100644 crypto/hash.c delete mode 100644 crypto/hash.h commit 031c40d85338d073a6ad7904bcb2fc46484f413a Author: Bruce Guenter Date: Tue Feb 28 19:36:45 2006 +0000 Removed extraneous #! header on cli-generate. cli-generate.pl | 1 - 1 file changed, 1 deletion(-) commit 77dfa60e69eda16aede787da9fbf6782ceab2ae4 Author: Bruce Guenter Date: Tue Feb 28 19:35:21 2006 +0000 Added support for HTML output to cli-generate. NEWS | 3 + TODO | 19 ---- cli-generate.1 | 5 + cli-generate.pl | 308 +++++++++++++++++++++++++++++++++++++++++++------------- 4 files changed, 246 insertions(+), 89 deletions(-) commit b37206f6738c07f76bb45602e755789ac358e8cf Author: Bruce Guenter Date: Tue Feb 28 17:56:45 2006 +0000 Added and fixed up the man page formatting codes. cli-generate.1 | 57 +++++++++++++++++++++++++++ cli-generate.pl | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 167 insertions(+), 10 deletions(-) commit ca6c8ac71e21dc88ba6d4a696fd6878f33e66bc8 Author: Bruce Guenter Date: Fri Feb 24 23:31:32 2006 +0000 Added some additional man page sections (warnings and authors). cli-generate.pl | 2 ++ 1 file changed, 2 insertions(+) commit 6d7318e69e795b5b7cd7ac79fedf8f7ddd42915d Author: Bruce Guenter Date: Wed Feb 22 18:05:12 2006 +0000 Added a crypto hash "lookup by name" function. NEWS | 2 ++ net/connect6.c => crypto/hash-lookup.c | 43 +++++++++++++++++----------------- crypto/hash-md4.c | 1 + crypto/hash-md5.c | 1 + crypto/hash-sha1.c | 1 + crypto/hash-sha256.c | 1 + crypto/hash-sha384.c | 1 + crypto/hash-sha512.c | 1 + crypto/hash.h | 3 +++ crypto/lib=l | 1 + 10 files changed, 34 insertions(+), 21 deletions(-) copy net/connect6.c => crypto/hash-lookup.c (55%) commit 3be0cb093130266be4907c9687cc3840d404fdf9 Author: Bruce Guenter Date: Wed Feb 22 17:18:37 2006 +0000 Modified all the crypto hash functions to fit a control block framework (like the HMAC system does), bumping the version to 1.050 NEWS | 5 +- VERSION | 2 +- crypto/hash-md4.c | 195 +++++++++++++++++++++++++++++++++ crypto/hash-md5.c | 215 +++++++++++++++++++++++++++++++++++++ crypto/hash-pack-uint128.c | 10 ++ crypto/hash-pack-uint64.c | 14 +++ crypto/hash-sha1.c | 167 ++++++++++++++++++++++++++++ crypto/{sha256.c => hash-sha256.c} | 127 +++++++++------------- crypto/{sha384.c => hash-sha384.c} | 60 ++++++----- crypto/{sha512.c => hash-sha512.c} | 140 ++++++++++-------------- crypto/hash.c | 102 ++++++++++++++++++ crypto/hash.h | 53 +++++++++ crypto/lib=l | 9 ++ 13 files changed, 910 insertions(+), 189 deletions(-) create mode 100644 crypto/hash-md4.c create mode 100644 crypto/hash-md5.c create mode 100644 crypto/hash-pack-uint128.c create mode 100644 crypto/hash-pack-uint64.c create mode 100644 crypto/hash-sha1.c copy crypto/{sha256.c => hash-sha256.c} (73%) copy crypto/{sha384.c => hash-sha384.c} (75%) copy crypto/{sha512.c => hash-sha512.c} (76%) create mode 100644 crypto/hash.c create mode 100644 crypto/hash.h commit 7acf82302ddf9d7276042350c036b9e4b5d00e45 Author: Bruce Guenter Date: Mon Feb 20 00:30:00 2006 +0000 Tweaked the hmac_finish prototype to properly indicate that the midstate is const and unmodified by the function. NEWS | 2 ++ TODO | 2 ++ crypto/hmac.c | 2 +- crypto/hmac.h | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) commit 870632edd85208e9fa6bbc6af1cb723680076e74 Author: Bruce Guenter Date: Mon Feb 20 00:29:20 2006 +0000 Bumped the version to 1.041 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 9b41cfb62655535982f7447d7bc4d72abc561c3f Author: Bruce Guenter Date: Sun Feb 19 06:51:29 2006 +0000 Install the man page(s) into RPMs. spec | 2 ++ 1 file changed, 2 insertions(+) commit 83ba0bb8600f110fc20c449b09243cc9587cf36a Author: Bruce Guenter Date: Sun Feb 19 06:21:47 2006 +0000 Warn about missing Description: header in cli-generate. cli-generate.pl | 3 +++ 1 file changed, 3 insertions(+) commit 5340dbb5c3c6dd9748bb6d1987900654fef83dc3 Author: Bruce Guenter Date: Sun Feb 19 06:21:18 2006 +0000 Stop blocking SIGSEGV with the sig_all_* functions, as this has resulted in bugs causing endless signal loops. NEWS | 3 +++ unix/sig_all.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 7741cd55f2b4babefae48c28070b38270bf2ddbb Author: Bruce Guenter Date: Sun Feb 19 06:20:09 2006 +0000 Added some more notes on the crypto hash rewriting. TODO | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 2b75d700052c14d3d85fe82ef2622e68da6e489b Author: Bruce Guenter Date: Sun Feb 19 06:19:51 2006 +0000 Fixed a couple of installation bugs for the man page. INSTHIER | 1 + install.spac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 35b981474cc3443acb07ad50c98a0574e118134b Author: Bruce Guenter Date: Sun Feb 19 05:58:04 2006 +0000 Modified the crypto HMAC code to do precalculation of the intermediate hash results. NEWS | 3 ++ TODO | 11 ++++++++ crypto/hmac-sha1.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hmac-sha256.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hmac-sha384.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hmac-sha512.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hmac.c | 79 +++++++++++++++++++++++++++++++++++++++++----------- crypto/hmac.h | 16 +++++++++-- crypto/lib=l | 5 ++++ crypto/md5.c | 45 +----------------------------- crypto/sha1.c | 35 ----------------------- crypto/sha256.c | 35 ----------------------- crypto/sha384.c | 35 ----------------------- crypto/sha512.c | 35 ----------------------- 14 files changed, 397 insertions(+), 202 deletions(-) create mode 100644 crypto/hmac-sha1.c create mode 100644 crypto/hmac-sha256.c create mode 100644 crypto/hmac-sha384.c create mode 100644 crypto/hmac-sha512.c commit e8cac94621e86b6063267536a3577664a8e226b2 Author: Bruce Guenter Date: Fri Feb 17 19:31:54 2006 +0000 Cleaned up some bits I missed in the cli-generate man page. cli-generate.1 | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) commit e4232a8a4c44b3e6ce604f81725f648f75bf8e21 Author: Bruce Guenter Date: Fri Feb 17 19:27:15 2006 +0000 Added a man page for cli-generate. INSTHIER | 3 + cli-generate.1 | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cli-generate.pl | 2 +- conf-man | 4 ++ 4 files changed, 200 insertions(+), 1 deletion(-) create mode 100644 cli-generate.1 create mode 100644 conf-man commit 639d57a2a3cdc7053a4d3be27c9dd56f8150fe60 Author: Bruce Guenter Date: Fri Feb 17 18:59:15 2006 +0000 Account for the "-h, --help" options when calculating the minimum width. cli-generate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d340a7a14653eb180aecff0b423a742d2b83f1aa Author: Bruce Guenter Date: Fri Feb 17 18:27:43 2006 +0000 Added preliminary support for generating man pages. cli-generate.pl | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 115 insertions(+), 5 deletions(-) commit c696852303547a4bf3d48a59985fde5812b26d8f Author: Bruce Guenter Date: Fri Feb 17 15:42:23 2006 +0000 Simplified the header/section parsing mechanics to seperate dividing up the file into sections from parsing the content within the sections. This will make it simpler to add more kinds of sections (for docs). cli-generate.pl | 140 +++++++++++++++++++++++--------------------------------- 1 file changed, 57 insertions(+), 83 deletions(-) commit 8988b84338cb9eb40510b1ec3feccc08c4789149 Author: Bruce Guenter Date: Fri Feb 17 06:16:59 2006 +0000 Added a 'description' field to the header, and fixed up newline addition to the prefix in cli-generate. cli-generate.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 494cc33e2b7bec1fbe824bedddc4a83ffc42c027 Author: Bruce Guenter Date: Thu Feb 16 22:48:18 2006 +0000 Tweaked the ghash_add function to return a pointer to the newly created entry (since some uses will want to use it immediately). NEWS | 3 +++ adt/ghash.h | 10 ++++++---- adt/ghash_add.c | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) commit 363c97ea96ae70ca466ea2c9d4aec6e0403ea0e6 Author: Bruce Guenter Date: Tue Jan 24 04:49:09 2006 +0000 Add support for outputting the msg_debug_bits flag in cli-generate. cli-generate.pl | 5 +++++ 1 file changed, 5 insertions(+) commit 94e1453440cbd753e0255f5998a930e7b21f9250 Author: Bruce Guenter Date: Sun Jan 22 04:27:57 2006 +0000 Large number of changes, mostly steming from reworking the program to work on a single file only, and send its output to stdout. Also made the script pre-calculate the help text (omitting it from cli_options), and fixed a number of bugs. cli-generate.pl | 206 +++++++++++++++++++++++++++----------------------------- 1 file changed, 99 insertions(+), 107 deletions(-) commit 8001d963c5ea5a528b02b87a404bd545f3797ef3 Author: Bruce Guenter Date: Fri Jan 20 22:53:58 2006 +0000 Split the help text output code out of the rest of the CLI library. cli/cli.h | 1 + cli/help.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++ cli/internal.h | 9 +++++ cli/lib=l | 1 + cli/main.c | 115 ++++++++++----------------------------------------------- 5 files changed, 134 insertions(+), 95 deletions(-) create mode 100644 cli/help.c create mode 100644 cli/internal.h commit 2985e0433cc349509e1347f11f92a9758a97ff2a Author: Bruce Guenter Date: Fri Jan 20 22:53:05 2006 +0000 Stamped the README with the year 2006. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8dfdf539b5e98c728ae9a7cbee05a42d1bfc4310 Author: Bruce Guenter Date: Fri Jan 20 18:12:57 2006 +0000 Added cli-generate, a program to produce C header and source from command-line interface description files. INSTHIER | 1 + NEWS | 5 +- VERSION | 2 +- all.spac | 2 +- cli-generate.pl | 351 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cli-generate=pl | 0 6 files changed, 358 insertions(+), 3 deletions(-) create mode 100644 cli-generate.pl create mode 100644 cli-generate=pl commit 3cfdc5051430a0ffb1accd87b52ae687c516daa6 Author: Bruce Guenter Date: Sun Dec 18 22:15:26 2005 +0000 Fixed base64 decoding on systems where char is unsigned by default. Thanks Gerrit Pape NEWS | 2 ++ base64/asc2bin.c | 2 +- base64/base64.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 82d7628be2421058d715e937f98aee9681fa0db9 Author: Bruce Guenter Date: Sun Dec 18 22:13:52 2005 +0000 Bumped version to 1.032 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e208c944df9a7da3392e31c76e5533bf604c058b Author: Bruce Guenter Date: Fri Dec 2 06:09:11 2005 +0000 Added note about missing installing hmac.h file. NEWS | 1 + 1 file changed, 1 insertion(+) commit 51afa18ddc6b3a745276af5617634a8391e7626c Author: Bruce Guenter Date: Fri Dec 2 06:08:30 2005 +0000 Bumped version to 1.031 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit c730153c1f548f6960a938daefd2b9d3a392ce41 Author: Bruce Guenter Date: Fri Dec 2 06:06:51 2005 +0000 Fixed missing installation of crypto/hmac.h INSTHIER | 1 + 1 file changed, 1 insertion(+) commit 409f51bd919f2924a6c51ab8bccd4ff5d2831c50 Author: Bruce Guenter Date: Fri Dec 2 04:26:39 2005 +0000 Bumped version to 1.030. VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16024640f0c3df3019dd69c74eba6d4dbfb6b284 Author: Bruce Guenter Date: Fri Dec 2 03:51:31 2005 +0000 Fixed the copyright on the new HMAC code to the LGPL. crypto/hmac.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 11b6420a5adc6dd82992fbe8a6d24e77f072a49d Author: Bruce Guenter Date: Thu Dec 1 22:07:11 2005 +0000 Added a RFC 2104 generic HMAC (keyed hashing for message authentication) routine to the crypto section, with control blocks for MD5, SHA1, SHA256, SHA384, and SHA512. NEWS | 6 ++++- crypto/hmac.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/hmac.h | 30 +++++++++++++++++++++++++ crypto/lib=l | 1 + crypto/md5.c | 52 +++++++++++++++++++++++++++++++++++++++---- crypto/sha1.c | 36 ++++++++++++++++++++++++++++++ crypto/sha256.c | 51 +++++++++++++++++++++++++++++++++++++------ crypto/sha384.c | 59 +++++++++++++++++++++++++++++++++++++++---------- crypto/sha512.c | 59 +++++++++++++++++++++++++++++++++++++++---------- 9 files changed, 328 insertions(+), 34 deletions(-) create mode 100644 crypto/hmac.c create mode 100644 crypto/hmac.h commit a68039a54400671ec7996f4877207a6d052b04b2 Author: Bruce Guenter Date: Wed Nov 30 03:52:22 2005 +0000 Updated the documentation inside bg-installer.c bg-installer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 849b0974d8d5b42d11d852f5b908eeaff7198620 Author: Bruce Guenter Date: Tue Nov 29 18:56:38 2005 +0000 Added support for UID and GID names (instead of just numbers) in bg-installer. NEWS | 2 ++ bg-installer.c | 43 +++++++++++++++++++++++++++++++++++++------ 2 files changed, 39 insertions(+), 6 deletions(-) commit 9c2389f96ddcbaa6e8bd2ecde4da6278bc795ef8 Author: Bruce Guenter Date: Tue Nov 29 18:11:01 2005 +0000 Bumped version to 1.029 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 859f719508f1154bb26233ceb3ee2c692f984294 Author: Bruce Guenter Date: Mon Nov 21 05:33:04 2005 +0000 Fixed missing dependancy in the sysdeps.h file. sysdeps.h.spac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 28f6720b195359501f7c130b44d891939a0bacdf Author: Bruce Guenter Date: Mon Nov 21 04:51:21 2005 +0000 Fixed up copyright notice in the README. README.in | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 6ef08c056e874189b79f3481dbadfd7464c93d82 Author: Bruce Guenter Date: Mon Nov 21 04:43:14 2005 +0000 Since the copyright changed, added a 2005 copyright stamp on all files claimed by myself. cdb++/cdb_get.cc | 2 +- cdb++/cdb_getrec.cc | 2 +- cdb++/cdb_make.cc | 2 +- cdb++/cdb_reader.cc | 2 +- cdb++/cdb_writer.cc | 2 +- cdb++/datum.cc | 2 +- cdb++/internal.h | 2 +- cdb/get.c | 2 +- cdb/getnext.c | 2 +- cgi/cgi-args.cc | 2 +- cgi/cgi-base.cc | 2 +- cli++/clitest.cc | 2 +- cli++/main.cc | 2 +- cli++/messages.cc | 2 +- cli/main.c | 2 +- crypto/md4.c | 2 +- crypto/md4.h | 2 +- crypto/sha256.c | 2 +- crypto/sha384.c | 2 +- crypto/sha512.c | 2 +- crypto/surf.c | 2 +- fdbuf/fdbuf.cc | 2 +- fdbuf/fdbuf.h | 2 +- fdbuf/fdbuf_copy.cc | 2 +- fdbuf/fdibuf.cc | 2 +- fdbuf/fdibuf.h | 2 +- fdbuf/fdibuf_mystring.cc | 2 +- fdbuf/fdibuf_netstring.cc | 2 +- fdbuf/fdobuf.cc | 2 +- fdbuf/fdobuf.h | 2 +- fdbuf/fdobuf_chownmod.cc | 2 +- fdbuf/fdobuf_seek.cc | 2 +- fdbuf/fdobuf_signed.cc | 2 +- fdbuf/fdobuf_unsigned.cc | 2 +- fmt/sllnum.c | 2 +- fmt/snum.c | 2 +- fmt/ullnum.c | 2 +- fmt/unum.c | 2 +- mystring/count.cc | 2 +- mystring/iter.cc | 2 +- mystring/iter.h | 2 +- mystring/join.h | 2 +- mystring/mystring.h | 2 +- mystring/rep.h | 2 +- net/accept4.c | 2 +- net/accept6.c | 2 +- net/acceptu.c | 2 +- net/bind4.c | 2 +- net/bind6.c | 2 +- net/bindu.c | 2 +- net/broadcast.c | 2 +- net/connect4.c | 2 +- net/connect4_timeout.c | 2 +- net/connect6.c | 2 +- net/connect6_timeout.c | 2 +- net/connected.c | 2 +- net/connectu.c | 2 +- net/connectu_timeout.c | 2 +- net/cork.c | 2 +- net/getaddr4.c | 2 +- net/getaddr6.c | 2 +- net/linger.c | 2 +- net/listen.c | 2 +- net/notcpdelay.c | 2 +- net/pairdgm.c | 2 +- net/pairstr.c | 2 +- net/recv4.c | 2 +- net/recv6.c | 2 +- net/recvfd.c | 2 +- net/recvu.c | 2 +- net/reuse.c | 2 +- net/send4.c | 2 +- net/send6.c | 2 +- net/sendfd.c | 2 +- net/sendu.c | 2 +- net/setopt.c | 2 +- net/shutdown.c | 2 +- net/tcp4.c | 2 +- net/tcp6.c | 2 +- net/udp4.c | 2 +- net/udp6.c | 2 +- net/uncork.c | 2 +- net/unixdgm.c | 2 +- net/unixstr.c | 2 +- path/contains.c | 2 +- path/fnmatch.c | 2 +- path/match.c | 2 +- path/merge.c | 2 +- python/template/__init__.py | 2 +- python/template/context.py | 2 +- python/template/functions.py | 2 +- python/template/lex.py | 2 +- python/template/parser.py | 2 +- python/template/syntax.py | 2 +- str/buildmap.c | 2 +- str/case_match.c | 2 +- str/case_start.c | 2 +- str/cat.c | 2 +- str/cat2s.c | 2 +- str/cat3s.c | 2 +- str/cat4s.c | 2 +- str/cat5s.c | 2 +- str/cat6s.c | 2 +- str/catiw.c | 2 +- str/catiwll.c | 2 +- str/catns.c | 2 +- str/catsllnum.c | 2 +- str/catsnum.c | 2 +- str/catullnum.c | 2 +- str/catunum.c | 2 +- str/catuw.c | 2 +- str/catuwll.c | 2 +- str/catxw.c | 2 +- str/catxwll.c | 2 +- str/cmp.c | 2 +- str/copy.c | 2 +- str/copy2s.c | 2 +- str/copy3s.c | 2 +- str/copy4s.c | 2 +- str/copy5s.c | 2 +- str/copy6s.c | 2 +- str/copyns.c | 2 +- str/count.c | 2 +- str/countof.c | 2 +- str/cut.c | 2 +- str/diff.c | 2 +- str/findnext.c | 2 +- str/findnextnot.c | 2 +- str/findnextof.c | 2 +- str/free.c | 2 +- str/init.c | 2 +- str/join.c | 2 +- str/lower.c | 2 +- str/lstrip.c | 2 +- str/match.c | 2 +- str/rstrip.c | 2 +- str/sort.c | 2 +- str/splice.c | 2 +- str/start.c | 2 +- str/subst.c | 2 +- str/truncate.c | 2 +- str/upper.c | 2 +- str/xlate.c | 2 +- unix/cloexec_off.c | 2 +- unix/cloexec_on.c | 2 +- unix/fcntl_fd_off.c | 2 +- unix/fcntl_fd_on.c | 2 +- unix/fcntl_fl_off.c | 2 +- unix/fcntl_fl_on.c | 2 +- unix/nonblock_off.c | 2 +- unix/nonblock_on.c | 2 +- unix/sig_block.c | 2 +- unix/sig_catch.c | 2 +- unix/sig_suspend.c | 2 +- 154 files changed, 154 insertions(+), 154 deletions(-) commit 7cc27b9b17c771df6c4645c044d44ec97c2725d0 Author: Bruce Guenter Date: Mon Nov 21 04:39:57 2005 +0000 Switched from standard GPL to LGPL-2.1 license. NEWS | 2 ++ bg-installer.c | 20 ++++++++++---------- cdb++/cdb++.h | 20 ++++++++++---------- cdb++/cdb_get.cc | 20 ++++++++++---------- cdb++/cdb_getrec.cc | 20 ++++++++++---------- cdb++/cdb_make.cc | 20 ++++++++++---------- cdb++/cdb_reader.cc | 20 ++++++++++---------- cdb++/cdb_writer.cc | 20 ++++++++++---------- cdb++/datum.cc | 20 ++++++++++---------- cdb++/internal.h | 20 ++++++++++---------- cdb/get.c | 20 ++++++++++---------- cdb/getnext.c | 20 ++++++++++---------- cgi/cgi-args.cc | 20 ++++++++++---------- cgi/cgi-base.cc | 20 ++++++++++---------- cli++/clitest.cc | 20 ++++++++++---------- cli++/main.cc | 20 ++++++++++---------- cli++/messages.cc | 20 ++++++++++---------- cli/main.c | 20 ++++++++++---------- crypto/md4.c | 20 ++++++++++---------- crypto/sha256.c | 20 ++++++++++---------- crypto/sha384.c | 20 ++++++++++---------- crypto/sha512.c | 20 ++++++++++---------- crypto/surf.c | 20 ++++++++++---------- fdbuf/fdbuf.cc | 20 ++++++++++---------- fdbuf/fdbuf.h | 20 ++++++++++---------- fdbuf/fdbuf_copy.cc | 20 ++++++++++---------- fdbuf/fdibuf.cc | 20 ++++++++++---------- fdbuf/fdibuf.h | 20 ++++++++++---------- fdbuf/fdibuf_mystring.cc | 20 ++++++++++---------- fdbuf/fdibuf_netstring.cc | 20 ++++++++++---------- fdbuf/fdobuf.cc | 20 ++++++++++---------- fdbuf/fdobuf.h | 20 ++++++++++---------- fdbuf/fdobuf_chownmod.cc | 20 ++++++++++---------- fdbuf/fdobuf_seek.cc | 20 ++++++++++---------- fdbuf/fdobuf_signed.cc | 20 ++++++++++---------- fdbuf/fdobuf_unsigned.cc | 20 ++++++++++---------- fmt/char.c | 20 ++++++++++---------- fmt/chars.c | 20 ++++++++++---------- fmt/multi.c | 20 ++++++++++---------- fmt/sllnum.c | 20 ++++++++++---------- fmt/snum.c | 20 ++++++++++---------- fmt/ullnum.c | 20 ++++++++++---------- fmt/unum.c | 20 ++++++++++---------- iobuf/ibuf_getstr_crlf.c | 20 ++++++++++---------- mystring/count.cc | 20 ++++++++++---------- mystring/iter.cc | 20 ++++++++++---------- mystring/iter.h | 20 ++++++++++---------- mystring/join.h | 20 ++++++++++---------- mystring/mystring.h | 20 ++++++++++---------- mystring/rep.h | 20 ++++++++++---------- net/accept4.c | 20 ++++++++++---------- net/accept6.c | 20 ++++++++++---------- net/acceptu.c | 20 ++++++++++---------- net/bind4.c | 20 ++++++++++---------- net/bind6.c | 20 ++++++++++---------- net/bindu.c | 20 ++++++++++---------- net/broadcast.c | 20 ++++++++++---------- net/connect4.c | 20 ++++++++++---------- net/connect4_timeout.c | 20 ++++++++++---------- net/connect6.c | 20 ++++++++++---------- net/connect6_timeout.c | 20 ++++++++++---------- net/connected.c | 20 ++++++++++---------- net/connectu.c | 20 ++++++++++---------- net/connectu_timeout.c | 20 ++++++++++---------- net/cork.c | 20 ++++++++++---------- net/getaddr4.c | 20 ++++++++++---------- net/getaddr6.c | 20 ++++++++++---------- net/linger.c | 20 ++++++++++---------- net/listen.c | 20 ++++++++++---------- net/notcpdelay.c | 20 ++++++++++---------- net/pairdgm.c | 20 ++++++++++---------- net/pairstr.c | 20 ++++++++++---------- net/recv4.c | 20 ++++++++++---------- net/recv6.c | 20 ++++++++++---------- net/recvfd.c | 20 ++++++++++---------- net/recvu.c | 20 ++++++++++---------- net/reuse.c | 20 ++++++++++---------- net/send4.c | 20 ++++++++++---------- net/send6.c | 20 ++++++++++---------- net/sendfd.c | 20 ++++++++++---------- net/sendu.c | 20 ++++++++++---------- net/setopt.c | 20 ++++++++++---------- net/shutdown.c | 20 ++++++++++---------- net/tcp4.c | 20 ++++++++++---------- net/tcp6.c | 20 ++++++++++---------- net/udp4.c | 20 ++++++++++---------- net/udp6.c | 20 ++++++++++---------- net/uncork.c | 20 ++++++++++---------- net/unixdgm.c | 20 ++++++++++---------- net/unixstr.c | 20 ++++++++++---------- path/contains.c | 20 ++++++++++---------- path/fnmatch.c | 20 ++++++++++---------- path/match.c | 20 ++++++++++---------- path/merge.c | 20 ++++++++++---------- python/template/__init__.py | 20 ++++++++++---------- python/template/context.py | 20 ++++++++++---------- python/template/functions.py | 20 ++++++++++---------- python/template/lex.py | 20 ++++++++++---------- python/template/parser.py | 20 ++++++++++---------- python/template/syntax.py | 20 ++++++++++---------- str/alloc.c | 20 ++++++++++---------- str/buildmap.c | 20 ++++++++++---------- str/case_match.c | 20 ++++++++++---------- str/case_start.c | 20 ++++++++++---------- str/cat.c | 20 ++++++++++---------- str/cat2s.c | 20 ++++++++++---------- str/cat3s.c | 20 ++++++++++---------- str/cat4s.c | 20 ++++++++++---------- str/cat5s.c | 20 ++++++++++---------- str/cat6s.c | 20 ++++++++++---------- str/catf.c | 20 ++++++++++---------- str/catiw.c | 20 ++++++++++---------- str/catiwll.c | 20 ++++++++++---------- str/catns.c | 20 ++++++++++---------- str/catsllnum.c | 20 ++++++++++---------- str/catsnum.c | 20 ++++++++++---------- str/catullnum.c | 20 ++++++++++---------- str/catunum.c | 20 ++++++++++---------- str/catuw.c | 20 ++++++++++---------- str/catuwll.c | 20 ++++++++++---------- str/catxw.c | 20 ++++++++++---------- str/catxwll.c | 20 ++++++++++---------- str/cmp.c | 20 ++++++++++---------- str/copy.c | 20 ++++++++++---------- str/copy2s.c | 20 ++++++++++---------- str/copy3s.c | 20 ++++++++++---------- str/copy4s.c | 20 ++++++++++---------- str/copy5s.c | 20 ++++++++++---------- str/copy6s.c | 20 ++++++++++---------- str/copyf.c | 20 ++++++++++---------- str/copyns.c | 20 ++++++++++---------- str/count.c | 20 ++++++++++---------- str/countof.c | 20 ++++++++++---------- str/cut.c | 20 ++++++++++---------- str/diff.c | 20 ++++++++++---------- str/findnext.c | 20 ++++++++++---------- str/findnextnot.c | 20 ++++++++++---------- str/findnextof.c | 20 ++++++++++---------- str/findprev.c | 20 ++++++++++---------- str/findprevnot.c | 20 ++++++++++---------- str/findprevof.c | 20 ++++++++++---------- str/free.c | 20 ++++++++++---------- str/init.c | 20 ++++++++++---------- str/join.c | 20 ++++++++++---------- str/lower.c | 20 ++++++++++---------- str/lstrip.c | 20 ++++++++++---------- str/match.c | 20 ++++++++++---------- str/rstrip.c | 20 ++++++++++---------- str/sort.c | 20 ++++++++++---------- str/splice.c | 20 ++++++++++---------- str/start.c | 20 ++++++++++---------- str/subst.c | 20 ++++++++++---------- str/truncate.c | 20 ++++++++++---------- str/upper.c | 20 ++++++++++---------- str/xlate.c | 20 ++++++++++---------- unix/cloexec_off.c | 20 ++++++++++---------- unix/cloexec_on.c | 20 ++++++++++---------- unix/fcntl_fd_off.c | 20 ++++++++++---------- unix/fcntl_fd_on.c | 20 ++++++++++---------- unix/fcntl_fl_off.c | 20 ++++++++++---------- unix/fcntl_fl_on.c | 20 ++++++++++---------- unix/nonblock_off.c | 20 ++++++++++---------- unix/nonblock_on.c | 20 ++++++++++---------- unix/sig_block.c | 20 ++++++++++---------- unix/sig_catch.c | 20 ++++++++++---------- unix/sig_suspend.c | 20 ++++++++++---------- 166 files changed, 1652 insertions(+), 1650 deletions(-) commit 5538b03d481d51e6fde31e4b53a8a98b8f059710 Author: Bruce Guenter Date: Sun Nov 20 23:38:23 2005 +0000 Switched email address from bruceg@em.ca to bruce@untroubled.org. README.in | 2 +- cdb++/cdb++.h | 2 +- cdb++/cdb_get.cc | 2 +- cdb++/cdb_getrec.cc | 2 +- cdb++/cdb_make.cc | 2 +- cdb++/cdb_reader.cc | 2 +- cdb++/cdb_writer.cc | 2 +- cdb++/datum.cc | 2 +- cdb++/internal.h | 2 +- cdb/get.c | 2 +- cdb/getnext.c | 2 +- cgi/cgi-args.cc | 2 +- cgi/cgi-base.cc | 2 +- cli++/clitest.cc | 2 +- cli++/main.cc | 2 +- cli++/messages.cc | 2 +- cli/main.c | 2 +- crypto/md5.c | 2 +- crypto/sha1.c | 2 +- crypto/sha1.h | 2 +- crypto/sha256.c | 2 +- crypto/sha384.c | 2 +- crypto/sha512.c | 2 +- crypto/surf.c | 2 +- fdbuf/fdbuf.cc | 2 +- fdbuf/fdbuf.h | 2 +- fdbuf/fdbuf_copy.cc | 2 +- fdbuf/fdibuf.cc | 2 +- fdbuf/fdibuf.h | 2 +- fdbuf/fdibuf_mystring.cc | 2 +- fdbuf/fdibuf_netstring.cc | 2 +- fdbuf/fdobuf.cc | 2 +- fdbuf/fdobuf.h | 2 +- fdbuf/fdobuf_chownmod.cc | 2 +- fdbuf/fdobuf_seek.cc | 2 +- fdbuf/fdobuf_signed.cc | 2 +- fdbuf/fdobuf_unsigned.cc | 2 +- fmt/char.c | 2 +- fmt/chars.c | 2 +- fmt/multi.c | 2 +- fmt/sllnum.c | 2 +- fmt/snum.c | 2 +- fmt/ullnum.c | 2 +- fmt/unum.c | 2 +- mystring/count.cc | 2 +- mystring/iter.cc | 2 +- mystring/iter.h | 2 +- mystring/join.h | 2 +- mystring/mystring.h | 2 +- mystring/rep.h | 2 +- net/accept4.c | 2 +- net/accept6.c | 2 +- net/acceptu.c | 2 +- net/bind4.c | 2 +- net/bind6.c | 2 +- net/bindu.c | 2 +- net/broadcast.c | 2 +- net/connect4.c | 2 +- net/connect4_timeout.c | 2 +- net/connect6.c | 2 +- net/connect6_timeout.c | 2 +- net/connected.c | 2 +- net/connectu.c | 2 +- net/connectu_timeout.c | 2 +- net/cork.c | 2 +- net/getaddr4.c | 2 +- net/getaddr6.c | 2 +- net/linger.c | 2 +- net/listen.c | 2 +- net/notcpdelay.c | 2 +- net/pairdgm.c | 2 +- net/pairstr.c | 2 +- net/recv4.c | 2 +- net/recv6.c | 2 +- net/recvfd.c | 2 +- net/recvu.c | 2 +- net/reuse.c | 2 +- net/send4.c | 2 +- net/send6.c | 2 +- net/sendfd.c | 2 +- net/sendu.c | 2 +- net/setopt.c | 2 +- net/shutdown.c | 2 +- net/tcp4.c | 2 +- net/tcp6.c | 2 +- net/udp4.c | 2 +- net/udp6.c | 2 +- net/uncork.c | 2 +- net/unixdgm.c | 2 +- net/unixstr.c | 2 +- path/contains.c | 2 +- path/fnmatch.c | 2 +- path/match.c | 2 +- path/merge.c | 2 +- python/template/__init__.py | 2 +- python/template/context.py | 2 +- python/template/functions.py | 2 +- python/template/lex.py | 2 +- python/template/parser.py | 2 +- python/template/syntax.py | 2 +- spec | 2 +- str/alloc.c | 2 +- str/buildmap.c | 2 +- str/case_match.c | 2 +- str/case_start.c | 2 +- str/cat.c | 2 +- str/cat2s.c | 2 +- str/cat3s.c | 2 +- str/cat4s.c | 2 +- str/cat5s.c | 2 +- str/cat6s.c | 2 +- str/catf.c | 2 +- str/catiw.c | 2 +- str/catiwll.c | 2 +- str/catns.c | 2 +- str/catsllnum.c | 2 +- str/catsnum.c | 2 +- str/catullnum.c | 2 +- str/catunum.c | 2 +- str/catuw.c | 2 +- str/catuwll.c | 2 +- str/catxw.c | 2 +- str/catxwll.c | 2 +- str/cmp.c | 2 +- str/copy.c | 2 +- str/copy2s.c | 2 +- str/copy3s.c | 2 +- str/copy4s.c | 2 +- str/copy5s.c | 2 +- str/copy6s.c | 2 +- str/copyf.c | 2 +- str/copyns.c | 2 +- str/count.c | 2 +- str/countof.c | 2 +- str/cut.c | 2 +- str/diff.c | 2 +- str/findnext.c | 2 +- str/findnextnot.c | 2 +- str/findnextof.c | 2 +- str/findprev.c | 2 +- str/findprevnot.c | 2 +- str/findprevof.c | 2 +- str/free.c | 2 +- str/init.c | 2 +- str/join.c | 2 +- str/lower.c | 2 +- str/lstrip.c | 2 +- str/match.c | 2 +- str/rstrip.c | 2 +- str/sort.c | 2 +- str/splice.c | 2 +- str/start.c | 2 +- str/subst.c | 2 +- str/truncate.c | 2 +- str/upper.c | 2 +- str/xlate.c | 2 +- unix/cloexec_off.c | 2 +- unix/cloexec_on.c | 2 +- unix/fcntl_fd_off.c | 2 +- unix/fcntl_fd_on.c | 2 +- unix/fcntl_fl_off.c | 2 +- unix/fcntl_fl_on.c | 2 +- unix/nonblock_off.c | 2 +- unix/nonblock_on.c | 2 +- unix/sig_block.c | 2 +- unix/sig_catch.c | 2 +- unix/sig_suspend.c | 2 +- 167 files changed, 167 insertions(+), 167 deletions(-) commit f4999098287c1be44ffd88e57e83e7db44315d56 Author: Bruce Guenter Date: Fri Nov 4 20:47:46 2005 +0000 Fixed bug in self test for unix/selfpipe.c that caused problems with running make -- the self test sent signals to "0", which is the process group, instead of to a single PID. NEWS | 3 +++ unix/selfpipe.c | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 3b84c854ea167890c232d13714f6e3bca806c241 Author: Bruce Guenter Date: Wed Nov 2 17:37:50 2005 +0000 Expose the mystring::append functions publically. mystring/mystring.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3c9e872c084a6e4d7a48d1cf3bf3acd49cc61934 Author: Bruce Guenter Date: Sun Sep 4 04:41:12 2005 +0000 Fixed name of cli++topod.pl script. cli++/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b22e74d62493c5b455a5a3c3ea6dbc3601b1c89 Author: Bruce Guenter Date: Sun Sep 4 04:20:59 2005 +0000 Changed the definition of uint32 to just "unsigned" in order to make the cdb++ library work on both 32 and 64-bit systems. cdb++/cdb++.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fec890671c833192b9ab6de342de1c817bc7e293 Author: Bruce Guenter Date: Mon Aug 29 17:39:54 2005 +0000 Fixed sysdep for clock_gettime to link with rt.lib. sysdeps.h.spac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e6d4dbc1421c939f3feee704b5e93ec0ce494e15 Author: Bruce Guenter Date: Mon Aug 29 17:32:59 2005 +0000 Added sysdep for dynamic linker functions (dlopen etc). NEWS | 1 + choose.sh | 12 +++++++----- dotlibs.spac | 2 +- sys/hasdl.h0 | 1 + sys/hasdl.h1 | 2 ++ sys/trydl.c | 10 ++++++++++ sysdeps.h.spac | 4 +++- 7 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 sys/hasdl.h0 create mode 100644 sys/hasdl.h1 create mode 100644 sys/trydl.c commit 42aa4ab1ff9ebd23b95279dfbcaaffd9463a05eb Author: Bruce Guenter Date: Mon Aug 29 17:32:16 2005 +0000 Bumped version to 1.028 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 32710ac43be298788556bfeba11e14e807154e43 Author: Bruce Guenter Date: Mon Aug 29 17:20:07 2005 +0000 Simplified sysdep choosing: All sysdeps follow the try*.c has*.h0 has*.h1 scheme. sys/{direntry.h0 => hasdirent.h0} | 0 sys/{direntry.h1 => hasdirent.h1} | 0 sys/{endian.h0 => hasendian.h0} | 0 sys/{endian.h1 => hasendian.h1} | 0 sys/{iopoll.h0 => haspoll.h0} | 5 ----- sys/{iopoll.h1 => haspoll.h1} | 5 ----- sys/{uint32.h0 => hasulong32.h0} | 0 sys/{uint32.h1 => hasulong32.h1} | 0 sys/{uint64.h0 => hasulong64.h0} | 0 sys/{uint64.h1 => hasulong64.h1} | 0 sys/{unaligned.h0 => hasunaligned.h0} | 0 sys/{unaligned.h1 => hasunaligned.h1} | 0 sys/{unsetenv.h0 => hasunsetenv.h0} | 0 sys/{unsetenv.h1 => hasunsetenv.h1} | 0 sysdeps.h.spac | 32 +++++++++++++------------------- 15 files changed, 13 insertions(+), 29 deletions(-) rename sys/{direntry.h0 => hasdirent.h0} (100%) rename sys/{direntry.h1 => hasdirent.h1} (100%) rename sys/{endian.h0 => hasendian.h0} (100%) rename sys/{endian.h1 => hasendian.h1} (100%) rename sys/{iopoll.h0 => haspoll.h0} (86%) rename sys/{iopoll.h1 => haspoll.h1} (85%) rename sys/{uint32.h0 => hasulong32.h0} (100%) rename sys/{uint32.h1 => hasulong32.h1} (100%) rename sys/{uint64.h0 => hasulong64.h0} (100%) rename sys/{uint64.h1 => hasulong64.h1} (100%) rename sys/{unaligned.h0 => hasunaligned.h0} (100%) rename sys/{unaligned.h1 => hasunaligned.h1} (100%) rename sys/{unsetenv.h0 => hasunsetenv.h0} (100%) rename sys/{unsetenv.h1 => hasunsetenv.h1} (100%) commit ae26188abdf34f5a918fd4f1d6eab583998c0497 Author: Bruce Guenter Date: Mon Aug 29 17:10:26 2005 +0000 Renamed .h2 to .h1 (1 meaning "on") and fixed up the choose.sh file to match. choose.sh | 8 ++++---- sys/{direntry.h2 => direntry.h1} | 0 sys/{endian.h2 => endian.h1} | 0 sys/{hasclockgettime.h2 => hasclockgettime.h1} | 0 sys/{hasdaylight.h2 => hasdaylight.h1} | 0 sys/{hasdeprecated.h2 => hasdeprecated.h1} | 0 sys/{hasflock.h2 => hasflock.h1} | 0 sys/{hasgetpeereid.h2 => hasgetpeereid.h1} | 0 sys/{hasinline.h2 => hasinline.h1} | 0 sys/{hasipv6.h2 => hasipv6.h1} | 0 sys/{hasmkfifo.h2 => hasmkfifo.h1} | 0 sys/{hasnamedpipebug.h2 => hasnamedpipebug.h1} | 0 sys/{haspeercred.h2 => haspeercred.h1} | 0 sys/{hassendfile.h2 => hassendfile.h1} | 0 sys/{hassetenv.h2 => hassetenv.h1} | 0 sys/{hassigaction.h2 => hassigaction.h1} | 0 sys/{hassigprocmask.h2 => hassigprocmask.h1} | 0 sys/{hasspnam.h2 => hasspnam.h1} | 0 sys/{hassysselect.h2 => hassysselect.h1} | 0 sys/{hastimespec.h2 => hastimespec.h1} | 0 sys/{hasuserpw.h2 => hasuserpw.h1} | 0 sys/{hasvfork.h2 => hasvfork.h1} | 0 sys/{haswaitp.h2 => haswaitp.h1} | 0 sys/{haszlib.h2 => haszlib.h1} | 0 sys/{iopoll.h2 => iopoll.h1} | 0 sys/{uint32.h2 => uint32.h1} | 0 sys/{uint64.h2 => uint64.h1} | 0 sys/{unaligned.h2 => unaligned.h1} | 0 sys/{unsetenv.h2 => unsetenv.h1} | 0 sysdeps.h.spac | 16 ++++++++-------- 30 files changed, 12 insertions(+), 12 deletions(-) rename sys/{direntry.h2 => direntry.h1} (100%) rename sys/{endian.h2 => endian.h1} (100%) rename sys/{hasclockgettime.h2 => hasclockgettime.h1} (100%) rename sys/{hasdaylight.h2 => hasdaylight.h1} (100%) rename sys/{hasdeprecated.h2 => hasdeprecated.h1} (100%) rename sys/{hasflock.h2 => hasflock.h1} (100%) rename sys/{hasgetpeereid.h2 => hasgetpeereid.h1} (100%) rename sys/{hasinline.h2 => hasinline.h1} (100%) rename sys/{hasipv6.h2 => hasipv6.h1} (100%) rename sys/{hasmkfifo.h2 => hasmkfifo.h1} (100%) rename sys/{hasnamedpipebug.h2 => hasnamedpipebug.h1} (100%) rename sys/{haspeercred.h2 => haspeercred.h1} (100%) rename sys/{hassendfile.h2 => hassendfile.h1} (100%) rename sys/{hassetenv.h2 => hassetenv.h1} (100%) rename sys/{hassigaction.h2 => hassigaction.h1} (100%) rename sys/{hassigprocmask.h2 => hassigprocmask.h1} (100%) rename sys/{hasspnam.h2 => hasspnam.h1} (100%) rename sys/{hassysselect.h2 => hassysselect.h1} (100%) rename sys/{hastimespec.h2 => hastimespec.h1} (100%) rename sys/{hasuserpw.h2 => hasuserpw.h1} (100%) rename sys/{hasvfork.h2 => hasvfork.h1} (100%) rename sys/{haswaitp.h2 => haswaitp.h1} (100%) rename sys/{haszlib.h2 => haszlib.h1} (100%) rename sys/{iopoll.h2 => iopoll.h1} (100%) rename sys/{uint32.h2 => uint32.h1} (100%) rename sys/{uint64.h2 => uint64.h1} (100%) rename sys/{unaligned.h2 => unaligned.h1} (100%) rename sys/{unsetenv.h2 => unsetenv.h1} (100%) commit 7949ef52ab42a717b4147fb118e8c618f6830e4a Author: Bruce Guenter Date: Mon Aug 29 17:10:02 2005 +0000 Switched from hard-coded constants to the symbolic names for vpwentry flag numbers. vmailmgr/vpwentry_import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9369f973de71880e8e196f4beaf9471573d09933 Author: Bruce Guenter Date: Mon Aug 29 17:08:28 2005 +0000 First step of renaming has*.h# files: .h1 becomes .h0 (0 meaning not set) sys/{direntry.h1 => direntry.h0} | 0 sys/{endian.h1 => endian.h0} | 0 sys/{hasclockgettime.h1 => hasclockgettime.h0} | 0 sys/{hasdaylight.h1 => hasdaylight.h0} | 0 sys/{hasdeprecated.h1 => hasdeprecated.h0} | 0 sys/{hasflock.h1 => hasflock.h0} | 0 sys/{hasgetpeereid.h1 => hasgetpeereid.h0} | 0 sys/{hasinline.h1 => hasinline.h0} | 0 sys/{hasipv6.h1 => hasipv6.h0} | 0 sys/{hasmkfifo.h1 => hasmkfifo.h0} | 0 sys/{hasnamedpipebug.h1 => hasnamedpipebug.h0} | 0 sys/{haspeercred.h1 => haspeercred.h0} | 0 sys/{hassendfile.h1 => hassendfile.h0} | 0 sys/{hassetenv.h1 => hassetenv.h0} | 0 sys/{hassigaction.h1 => hassigaction.h0} | 0 sys/{hassigprocmask.h1 => hassigprocmask.h0} | 0 sys/{hasspnam.h1 => hasspnam.h0} | 0 sys/{hassysselect.h1 => hassysselect.h0} | 0 sys/{hastimespec.h1 => hastimespec.h0} | 0 sys/{hasuserpw.h1 => hasuserpw.h0} | 0 sys/{hasvfork.h1 => hasvfork.h0} | 0 sys/{haswaitp.h1 => haswaitp.h0} | 0 sys/{haszlib.h1 => haszlib.h0} | 0 sys/{iopoll.h1 => iopoll.h0} | 0 sys/{uint32.h1 => uint32.h0} | 0 sys/{uint64.h1 => uint64.h0} | 0 sys/{unaligned.h1 => unaligned.h0} | 0 sys/{unsetenv.h1 => unsetenv.h0} | 0 28 files changed, 0 insertions(+), 0 deletions(-) rename sys/{direntry.h1 => direntry.h0} (100%) rename sys/{endian.h1 => endian.h0} (100%) rename sys/{hasclockgettime.h1 => hasclockgettime.h0} (100%) rename sys/{hasdaylight.h1 => hasdaylight.h0} (100%) rename sys/{hasdeprecated.h1 => hasdeprecated.h0} (100%) rename sys/{hasflock.h1 => hasflock.h0} (100%) rename sys/{hasgetpeereid.h1 => hasgetpeereid.h0} (100%) rename sys/{hasinline.h1 => hasinline.h0} (100%) rename sys/{hasipv6.h1 => hasipv6.h0} (100%) rename sys/{hasmkfifo.h1 => hasmkfifo.h0} (100%) rename sys/{hasnamedpipebug.h1 => hasnamedpipebug.h0} (100%) rename sys/{haspeercred.h1 => haspeercred.h0} (100%) rename sys/{hassendfile.h1 => hassendfile.h0} (100%) rename sys/{hassetenv.h1 => hassetenv.h0} (100%) rename sys/{hassigaction.h1 => hassigaction.h0} (100%) rename sys/{hassigprocmask.h1 => hassigprocmask.h0} (100%) rename sys/{hasspnam.h1 => hasspnam.h0} (100%) rename sys/{hassysselect.h1 => hassysselect.h0} (100%) rename sys/{hastimespec.h1 => hastimespec.h0} (100%) rename sys/{hasuserpw.h1 => hasuserpw.h0} (100%) rename sys/{hasvfork.h1 => hasvfork.h0} (100%) rename sys/{haswaitp.h1 => haswaitp.h0} (100%) rename sys/{haszlib.h1 => haszlib.h0} (100%) rename sys/{iopoll.h1 => iopoll.h0} (100%) rename sys/{uint32.h1 => uint32.h0} (100%) rename sys/{uint64.h1 => uint64.h0} (100%) rename sys/{unaligned.h1 => unaligned.h0} (100%) rename sys/{unsetenv.h1 => unsetenv.h0} (100%) commit 63f1a5310315fcf7c360adfbc0b24f1be0f7ea40 Author: Bruce Guenter Date: Tue Aug 23 18:21:54 2005 +0000 Added some selftests for a few ibuf functions. iobuf/ibuf_getc.c | 24 ++++++++++++++++++++++++ iobuf/ibuf_getnetstring.c | 22 ++++++++++++++++++++++ iobuf/ibuf_gets.c | 21 +++++++++++++++++++++ iobuf/ibuf_getstr_crlf.c | 23 +++++++++++++++++++++++ 4 files changed, 90 insertions(+) commit 72f012097cbbb67957086f6cdad70416059398c8 Author: Bruce Guenter Date: Tue Aug 23 17:41:16 2005 +0000 Added notes about recent changes. NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 44ce8a40d02d639e86e84ad130531b2201a448f4 Author: Bruce Guenter Date: Tue Aug 23 17:37:44 2005 +0000 Added some generated .lib files, for testing. INSTHIER | 8 ++++++++ all.spac | 2 +- dotlibs.spac | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 dotlibs.spac commit 3e9d76cd863f67477c31ec454acbd4fc3b214fb3 Author: Bruce Guenter Date: Fri Aug 19 22:38:58 2005 +0000 Fixed numberic export glitch in vpwentry_export: (unsigned)-1 is represented in vpwentries as "-" instead of "4294967295". NEWS | 1 + vmailmgr/vpwentry_export.c | 2 ++ 2 files changed, 3 insertions(+) commit 0a79e129642369260cb5abae550c0ee47443b993 Author: Bruce Guenter Date: Fri Aug 19 22:37:20 2005 +0000 Bumped version to 1.027 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 9ab7da66d422cf26328b8b70fa62b749407eea13 Author: Bruce Guenter Date: Fri Aug 19 20:39:41 2005 +0000 Added some dependancies in the selftests.sh spac file to allow "make -j" to work without errors. selftests.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e66d36c1a2901f00ab235ebf99957b1c541c3ac Author: Bruce Guenter Date: Fri Aug 19 20:17:04 2005 +0000 Change depricated Copyright: tag to License: in spec. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8612f91d9695a2a4a7d994e49461749931bff467 Author: Bruce Guenter Date: Fri Aug 19 20:11:01 2005 +0000 Added $Id$ tags to all C sources and includes. ac/dirent.h | 1 + ac/time.h | 1 + ac/wait.h | 1 + adt/adt_sp.c | 1 + adt/common.h | 1 + adt/ghash.h | 1 + adt/ghash_add.c | 1 + adt/ghash_foreach.c | 1 + adt/ghash_free.c | 1 + adt/ghash_get.c | 1 + adt/ghash_init.c | 1 + adt/ghash_insert.c | 1 + adt/ghash_iter.c | 1 + adt/ghash_rebuild.c | 1 + adt/ghash_rehash.c | 1 + adt/ghash_remove.c | 1 + adt/ghash_search.c | 1 + adt/gqueue.h | 1 + adt/gqueue_pop.c | 1 + adt/gqueue_push.c | 1 + adt/gqueue_top.c | 1 + adt/gstack.h | 1 + adt/gstack_pop.c | 1 + adt/gstack_push.c | 1 + adt/gstack_top.c | 1 + adt/hashb.c | 1 + adt/hashs.c | 1 + base64/asc2bin.c | 1 + base64/base64.h | 1 + base64/bin2asc.c | 1 + base64/decode_line.c | 1 + base64/decode_part.c | 1 + base64/encode_line.c | 1 + base64/encode_part.c | 1 + cdb++/cdb++.h | 1 + cdb++/datum.h | 1 + cdb++/internal.h | 1 + cdb/cdb.c | 1 + cdb/cdb.h | 1 + cdb/find.c | 1 + cdb/get.c | 1 + cdb/getnext.c | 1 + cdb/hash.c | 1 + cdb/make.c | 1 + cdb/make.h | 1 + cdb/read.c | 1 + cdb/str.h | 1 + cgi/cgi-args.h | 1 + cgi/cgi-base.h | 1 + cli++/cli++.h | 1 + cli/cli.h | 1 + cli/main.c | 1 + crc-gentab.c | 1 + crc/crc16_arc.h | 1 + crc/crc16_ccitt.h | 1 + crc/crc16_xmodem.h | 1 + crc/crc32.h | 1 + crc/crc32c.h | 1 + crc/crc64.h | 1 + crc/gcrc.h | 1 + crc/gcrc16fwd.c | 1 + crc/gcrc16rfl.c | 1 + crc/gcrc32fwd.c | 1 + crc/gcrc32rfl.c | 1 + crc/gcrc64fwd.c | 1 + crc/gcrc64rfl.c | 1 + crypto/md4.c | 1 + crypto/md4.h | 1 + crypto/md5-crypt.c | 1 + crypto/md5.c | 1 + crypto/md5.h | 1 + crypto/sha1.c | 1 + crypto/sha1.h | 1 + crypto/sha1test.c | 1 + crypto/sha256.c | 1 + crypto/sha256.h | 1 + crypto/sha384.c | 1 + crypto/sha384.h | 1 + crypto/sha512.c | 1 + crypto/sha512.h | 1 + crypto/surf.c | 1 + crypto/surf.h | 1 + dict/add.c | 1 + dict/dict.h | 1 + dict/foreach.c | 1 + dict/free.c | 1 + dict/get.c | 1 + dict/hash.c | 1 + dict/init.c | 1 + dict/load.h | 1 + dict/load_list.c | 1 + dict/load_map.c | 1 + dict/str_free.c | 1 + err/die.c | 1 + err/err.h | 1 + err/error.c | 1 + err/message.c | 1 + err/warn.c | 1 + fdbuf/fdbuf.h | 1 + fdbuf/fdibuf.h | 1 + fdbuf/fdobuf.h | 1 + fmt/char.c | 1 + fmt/chars.c | 1 + fmt/lcase.c | 1 + fmt/misc.h | 1 + fmt/multi.c | 1 + fmt/multi.h | 1 + fmt/number.h | 1 + fmt/pad.c | 1 + fmt/sdec.c | 1 + fmt/sign_pad.c | 1 + fmt/slldec.c | 1 + fmt/sllnum.c | 1 + fmt/snum.c | 1 + fmt/uHex.c | 1 + fmt/ucase.c | 1 + fmt/udec.c | 1 + fmt/uhex.c | 1 + fmt/ullHex.c | 1 + fmt/ulldec.c | 1 + fmt/ullhex.c | 1 + fmt/ullnum.c | 1 + fmt/unum.c | 1 + instlib/installer.c | 1 + instlib/installer.h | 1 + instlib/instcheck.c | 1 + instlib/instmain.c | 1 + instlib/instshow.c | 1 + iobuf/common.h | 1 + iobuf/ibuf.h | 1 + iobuf/ibuf_copytofd.c | 1 + iobuf/ibuf_getc.c | 1 + iobuf/ibuf_getnetstring.c | 1 + iobuf/ibuf_gets.c | 1 + iobuf/ibuf_getstr.c | 1 + iobuf/ibuf_getstr_crlf.c | 1 + iobuf/ibuf_getu.c | 1 + iobuf/ibuf_init.c | 1 + iobuf/ibuf_open.c | 1 + iobuf/ibuf_openreadclose.c | 1 + iobuf/ibuf_peek.c | 1 + iobuf/ibuf_read.c | 1 + iobuf/ibuf_readall.c | 1 + iobuf/ibuf_refill.c | 1 + iobuf/ibuf_seek.c | 1 + iobuf/ibuf_status.c | 1 + iobuf/ibuf_stdin.c | 1 + iobuf/ibuf_tell.c | 1 + iobuf/iobuf.h | 1 + iobuf/iobuf_close.c | 1 + iobuf/iobuf_copy.c | 1 + iobuf/iobuf_init.c | 1 + iobuf/iobuf_timeout.c | 1 + iobuf/obuf.h | 1 + iobuf/obuf_close.c | 1 + iobuf/obuf_copyfromfd.c | 1 + iobuf/obuf_digits.c | 1 + iobuf/obuf_endl.c | 1 + iobuf/obuf_flush.c | 1 + iobuf/obuf_init.c | 1 + iobuf/obuf_open.c | 1 + iobuf/obuf_pad.c | 1 + iobuf/obuf_put2s.c | 1 + iobuf/obuf_put3s.c | 1 + iobuf/obuf_put4s.c | 1 + iobuf/obuf_put5s.c | 1 + iobuf/obuf_put6s.c | 1 + iobuf/obuf_put7s.c | 1 + iobuf/obuf_putc.c | 1 + iobuf/obuf_putf.c | 1 + iobuf/obuf_putnetstring.c | 1 + iobuf/obuf_putns.c | 1 + iobuf/obuf_putsflush.c | 1 + iobuf/obuf_putsllnumw.c | 1 + iobuf/obuf_putsnumw.c | 1 + iobuf/obuf_putullnumw.c | 1 + iobuf/obuf_putunumw.c | 1 + iobuf/obuf_seek.c | 1 + iobuf/obuf_sign_pad.c | 1 + iobuf/obuf_stderr.c | 1 + iobuf/obuf_stdout.c | 1 + iobuf/obuf_sync.c | 1 + iobuf/obuf_write.c | 1 + misc/misc.h | 1 + misc/random.c | 1 + misc/strtou.c | 1 + misc/ucspi.c | 1 + misc/ucspi.h | 1 + misc/utoa.c | 1 + misc/utoa2.c | 1 + msg/common.c | 1 + msg/commonf.c | 1 + msg/debug.c | 1 + msg/debug_init.c | 1 + msg/debugf.c | 1 + msg/die.c | 1 + msg/dief.c | 1 + msg/error.c | 1 + msg/errorf.c | 1 + msg/msg.h | 1 + msg/oom.c | 1 + msg/warn.c | 1 + msg/warnf.c | 1 + msg/wrap.h | 1 + msg/wrap_alloc.c | 1 + msg/wrap_chdir.c | 1 + msg/wrap_exit.c | 1 + msg/wrap_str.c | 1 + mystring/iter.h | 1 + mystring/join.h | 1 + mystring/mystring.h | 1 + mystring/rep.h | 1 + mystring/trace.h | 1 + net/accept4.c | 1 + net/accept6.c | 1 + net/acceptu.c | 1 + net/bind4.c | 1 + net/bind6.c | 1 + net/bindu.c | 1 + net/broadcast.c | 1 + net/cmsg.h | 1 + net/connect4.c | 1 + net/connect4_timeout.c | 1 + net/connect6.c | 1 + net/connect6_timeout.c | 1 + net/connected.c | 1 + net/connectu.c | 1 + net/connectu_timeout.c | 1 + net/cork.c | 1 + net/getaddr4.c | 1 + net/getaddr6.c | 1 + net/ipv4.h | 1 + net/ipv4_addr.c | 1 + net/ipv4_format.c | 1 + net/ipv4_scan.c | 1 + net/ipv6.h | 1 + net/ipv6_addr.c | 1 + net/ipv6_format.c | 1 + net/ipv6_scan.c | 1 + net/linger.c | 1 + net/listen.c | 1 + net/notcpdelay.c | 1 + net/pairdgm.c | 1 + net/pairstr.c | 1 + net/recv4.c | 1 + net/recv6.c | 1 + net/recvfd.c | 1 + net/recvu.c | 1 + net/resolve.h | 1 + net/resolve_error.c | 1 + net/resolve_ipv4addr.c | 1 + net/resolve_ipv4name.c | 1 + net/reuse.c | 1 + net/send4.c | 1 + net/send6.c | 1 + net/sendfd.c | 1 + net/sendu.c | 1 + net/setopt.c | 1 + net/shutdown.c | 1 + net/socket.h | 1 + net/tcp4.c | 1 + net/tcp6.c | 1 + net/udp4.c | 1 + net/udp6.c | 1 + net/uncork.c | 1 + net/unixdgm.c | 1 + net/unixstr.c | 1 + path/contains.c | 1 + path/fnmatch.c | 1 + path/match.c | 1 + path/merge.c | 1 + path/mkdirs.c | 1 + path/mktemp.c | 1 + path/path.h | 1 + selftest.c | 1 + str/alloc.c | 1 + str/buildmap.c | 1 + str/case_glob.c | 1 + str/case_match.c | 1 + str/case_start.c | 1 + str/cat.c | 1 + str/cat2s.c | 1 + str/cat3s.c | 1 + str/cat4s.c | 1 + str/cat5s.c | 1 + str/cat6s.c | 1 + str/catf.c | 1 + str/catiw.c | 1 + str/catiwll.c | 1 + str/catns.c | 1 + str/catsllnum.c | 1 + str/catsnum.c | 1 + str/catullnum.c | 1 + str/catunum.c | 1 + str/catuw.c | 1 + str/catuwll.c | 1 + str/catxw.c | 1 + str/catxwll.c | 1 + str/cmp.c | 1 + str/copy.c | 1 + str/copy2s.c | 1 + str/copy3s.c | 1 + str/copy4s.c | 1 + str/copy5s.c | 1 + str/copy6s.c | 1 + str/copyf.c | 1 + str/copyns.c | 1 + str/count.c | 1 + str/countof.c | 1 + str/cut.c | 1 + str/diff.c | 1 + str/digits.c | 1 + str/env.h | 1 + str/env_find.c | 1 + str/env_from_array.c | 1 + str/env_from_string.c | 1 + str/env_get.c | 1 + str/env_make_array.c | 1 + str/env_put.c | 1 + str/env_set.c | 1 + str/findnext.c | 1 + str/findnextnot.c | 1 + str/findnextof.c | 1 + str/findprev.c | 1 + str/findprevnot.c | 1 + str/findprevof.c | 1 + str/free.c | 1 + str/glob.c | 1 + str/init.c | 1 + str/iter.h | 1 + str/iter_advance.c | 1 + str/iter_start.c | 1 + str/iter_valid.c | 1 + str/join.c | 1 + str/lower.c | 1 + str/lstrip.c | 1 + str/match.c | 1 + str/rstrip.c | 1 + str/sort.c | 1 + str/splice.c | 1 + str/start.c | 1 + str/str.h | 1 + str/subst.c | 1 + str/truncate.c | 1 + str/upper.c | 1 + str/xlate.c | 1 + sys/clock_gettime.c | 1 + sys/getpeereid.c | 1 + sys/iopoll.c | 1 + sys/mkfifo.c | 1 + sys/setenv.c | 1 + sys/tryclockgettime.c | 1 + sys/trydaylight.c | 1 + sys/trydeprecated.c | 1 + sys/trydirent.c | 1 + sys/tryendian.c | 1 + sys/tryflock.c | 1 + sys/trygetpeereid.c | 1 + sys/tryinline.c | 1 + sys/tryipv6.c | 1 + sys/trymkfifo.c | 1 + sys/trynamedpipebug.c | 1 + sys/trypeercred.c | 1 + sys/trypoll.c | 1 + sys/trysendfile.c | 1 + sys/trysetenv.c | 1 + sys/trysigaction.c | 1 + sys/trysigprocmask.c | 1 + sys/tryspnam.c | 1 + sys/trysysselect.c | 1 + sys/trysystime.c | 1 + sys/trytime.c | 1 + sys/trytimespec.c | 1 + sys/tryulong32.c | 1 + sys/tryulong64.c | 1 + sys/tryunaligned.c | 1 + sys/tryunsetenv.c | 1 + sys/tryuserpw.c | 1 + sys/tryvfork.c | 1 + sys/trywaitp.c | 1 + sys/tryzlib.c | 1 + sys/unsetenv.c | 1 + sysdeps-head.h | 1 + sysdeps-tail.h | 1 + uint16.h | 1 + uint16/get.c | 1 + uint16/pack.c | 1 + uint16/unpack.c | 1 + uint32.h | 1 + uint32/get_lsb.c | 1 + uint32/get_msb.c | 1 + uint32/pack_lsb.c | 1 + uint32/pack_msb.c | 1 + uint32/unpack_lsb.c | 1 + uint32/unpack_msb.c | 1 + uint64.h | 1 + uint64/get_lsb.c | 1 + uint64/get_msb.c | 1 + uint64/pack_lsb.c | 1 + uint64/pack_msb.c | 1 + uint64/unpack_lsb.c | 1 + uint64/unpack_msb.c | 1 + uintnn.h | 1 + unix/cloexec.h | 1 + unix/cloexec_off.c | 1 + unix/cloexec_on.c | 1 + unix/fcntl.c | 1 + unix/fcntl.h | 1 + unix/fcntl_fd_off.c | 1 + unix/fcntl_fd_on.c | 1 + unix/fcntl_fl_off.c | 1 + unix/fcntl_fl_on.c | 1 + unix/nonblock.h | 1 + unix/nonblock_off.c | 1 + unix/nonblock_on.c | 1 + unix/selfpipe.c | 1 + unix/selfpipe.h | 1 + unix/sig.h | 1 + unix/sig_alarm.c | 1 + unix/sig_all.c | 1 + unix/sig_block.c | 1 + unix/sig_bug.c | 1 + unix/sig_catch.c | 1 + unix/sig_child.c | 1 + unix/sig_hup.c | 1 + unix/sig_int.c | 1 + unix/sig_misc.c | 1 + unix/sig_pipe.c | 1 + unix/sig_quit.c | 1 + unix/sig_suspend.c | 1 + unix/sig_term.c | 1 + unix/trigger.h | 1 + unix/trigger_pull.c | 1 + unix/trigger_set.c | 1 + vmailmgr/client.h | 1 + vmailmgr/req_arg.c | 1 + vmailmgr/req_init.c | 1 + vmailmgr/req_write.c | 1 + vmailmgr/resp_read.c | 1 + vmailmgr/vpwentry.h | 1 + vmailmgr/vpwentry_export.c | 1 + vmailmgr/vpwentry_free.c | 1 + vmailmgr/vpwentry_import.c | 1 + 443 files changed, 443 insertions(+) commit b9d67931b3c082ee6435c521a63cd3abded507a8 Author: Bruce Guenter Date: Fri Aug 19 18:42:23 2005 +0000 Added the capability to bg-installer to optionally run commands based on the existance of the source (or another) file. NEWS | 3 +++ bg-installer.c | 22 +++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) commit 61d00f912d13545e35f47134cabe4f4289088284 Author: Bruce Guenter Date: Fri Aug 19 18:26:12 2005 +0000 Fixed bg-installer to not create directories in "dry-run" mode. NEWS | 2 ++ bg-installer.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 4f2f2bd24063448550fc25b5fc38f15dc90ed0ee Author: Bruce Guenter Date: Fri Aug 19 17:44:07 2005 +0000 Fixed negative indexing bug in ibuf_getstr_crlf. Thanks Gerrit Pape NEWS | 4 ++-- iobuf/ibuf_getstr_crlf.c | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) commit 0350f865ba86514e1d8e13d42e593104a2a30582 Author: Bruce Guenter Date: Fri Aug 19 17:38:38 2005 +0000 Fixed negative indexing bug in str_findprev* functions. Thanks Gerrit Pape NEWS | 2 ++ str/findprev.c | 15 +++++++++++---- str/findprevnot.c | 38 ++++++++++++++++++++++++++++++++------ str/findprevof.c | 18 ++++++++++++------ 4 files changed, 57 insertions(+), 16 deletions(-) commit 60dca018b89b52ce37b80f5c9c6ccebac4604c53 Author: Bruce Guenter Date: Fri Aug 19 17:34:15 2005 +0000 Bumped version to 1.026 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit b5eb65301d5c82a5bd07b4a3a2acd4e47c4cb062 Author: Bruce Guenter Date: Thu Aug 18 17:29:03 2005 +0000 Added a sysdep for clock_gettime. NEWS | 3 ++- libbg-sysdeps=l | 1 + sys/clock_gettime.c | 19 +++++++++++++++++++ sys/hasclockgettime.h1 | 10 ++++++++++ sys/hasclockgettime.h2 | 2 ++ sys/tryclockgettime.c | 7 +++++++ sysdeps.h.spac | 3 ++- 7 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 sys/clock_gettime.c create mode 100644 sys/hasclockgettime.h1 create mode 100644 sys/hasclockgettime.h2 create mode 100644 sys/tryclockgettime.c commit 576f9a3ca2430a2ecba8459d15ab36eb3f62408a Author: Bruce Guenter Date: Thu Aug 18 16:50:13 2005 +0000 Added copyright notice to bg-installer.c bg-installer.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 37d9c74db35262464b5833a0dee42f0154fb6871 Author: Bruce Guenter Date: Thu Aug 18 16:40:19 2005 +0000 Use wrap_str to protect against OOM in string routines in bg-installer. bg-installer.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 6c68963618f0502418bc62fdf6da5a9e9e43fa81 Author: Bruce Guenter Date: Thu Aug 18 16:37:57 2005 +0000 Converted the install setup to the new unified INSTHIER mechanism. BIN | 2 -- INCLUDE => INSTHIER | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++ LIB | 88 ------------------------------------------------- install.spac | 10 ++---- 4 files changed, 98 insertions(+), 97 deletions(-) delete mode 100644 BIN rename INCLUDE => INSTHIER (50%) delete mode 100644 LIB commit 712aa7e03713baaf20c4b2720b0199f6c4e38290 Author: Bruce Guenter Date: Thu Aug 18 16:33:46 2005 +0000 Two minor tweaks to path_mktemp: 1. Cache the PID to avoid one syscall if the routine is called repeatedly. 2. Format the microsecond number out to 6 digits. path/mktemp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a843bade39c9b5a1cfdb49651cd89fe16f90f531 Author: Bruce Guenter Date: Thu Aug 18 16:32:12 2005 +0000 Added the capability to bg-installer to handle multiple destinations within the same source list. NEWS | 3 +++ bg-installer.c | 60 +++++++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 48 insertions(+), 15 deletions(-) commit ebb8480c41d6d9f7599b3a0cb8d127640de8be1e Author: Bruce Guenter Date: Wed Aug 3 05:58:04 2005 +0000 Added a sysdep for struct timespec, which is defined if not present. NEWS | 2 ++ sys/hastimespec.h1 | 5 +++++ sys/hastimespec.h2 | 2 ++ sys/trytimespec.c | 3 +++ sysdeps.h.spac | 4 +++- 5 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sys/hastimespec.h1 create mode 100644 sys/hastimespec.h2 create mode 100644 sys/trytimespec.c commit a70b8e2ea84127d4f37a4b6b8dbac7a4d647bf46 Author: Bruce Guenter Date: Sat Jul 16 22:25:45 2005 +0000 Renamed the "setmode" function in bg-installer that was causing compile problems on *BSD systems. NEWS | 2 ++ bg-installer.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 354a38e5420da653eb8c87760e36ca39d99f5e97 Author: Bruce Guenter Date: Fri Jul 15 22:49:16 2005 +0000 Bumped version to 1.025 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit cfd410d68b89f21d6f2a6856e82a0ea46354505f Author: Bruce Guenter Date: Mon Jul 11 04:44:52 2005 +0000 Make the shared library a bit of a priority. TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0c918e242e21c4edd7bcf23a30cf27539540575 Author: Bruce Guenter Date: Sun Jul 10 06:15:52 2005 +0000 Fixed (again) glob patterns to allow both "!" (like modern glob) or "^" (like existing shells) for negating character sets. NEWS | 2 ++ str/case_glob.c | 34 +++++++++++++++++++++++++++++++++- str/glob.c | 34 +++++++++++++++++++++++++++++++++- 3 files changed, 68 insertions(+), 2 deletions(-) commit 946766d5e69a85a347bf9d4dff2ef6982d21fcbd Author: Bruce Guenter Date: Sun Jul 10 06:11:10 2005 +0000 Bumped version to 1.024 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit cfbfdb9a09bf1f080fb576e806a6a350bcc04129 Author: Bruce Guenter Date: Sat Jul 9 15:44:37 2005 +0000 Fixed up the note about installation. README.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c66f785f2e138f3f9d7e6557445638dea2601a11 Author: Bruce Guenter Date: Fri Jul 8 21:56:10 2005 +0000 Fixed the installer libraries to include all the necessary object files for producing the installer/instcheck/instshow programs. LIB | 6 +++--- NEWS | 3 +++ installer=l | 39 +++++++++++++++++++++++++++++++++++++++ instcheck=l | 38 ++++++++++++++++++++++++++++++++++++++ instlib/installer=l | 2 -- instlib/instcheck=l | 2 -- instlib/instshow=l | 2 -- instshow=l | 37 +++++++++++++++++++++++++++++++++++++ 8 files changed, 120 insertions(+), 9 deletions(-) create mode 100644 installer=l create mode 100644 instcheck=l delete mode 100644 instlib/installer=l delete mode 100644 instlib/instcheck=l delete mode 100644 instlib/instshow=l create mode 100644 instshow=l commit 5f4b55f8cde68963baad139a5e56c1b2b4da8168 Author: Bruce Guenter Date: Fri Jul 8 21:35:04 2005 +0000 Initial checkin of the stock configuration files. conf-bin | 3 +++ conf-cc | 3 +++ conf-include | 3 +++ conf-ld | 3 +++ conf-lib | 4 ++++ 5 files changed, 16 insertions(+) create mode 100644 conf-bin create mode 100644 conf-cc create mode 100644 conf-include create mode 100644 conf-ld create mode 100644 conf-lib commit 15b94541b4b3735b4fb7c2e20bffd420d7d8d1c2 Author: Bruce Guenter Date: Fri Jul 8 21:27:10 2005 +0000 Fixed glob pattern matches to use "!" instead of "~" for negating character sets like all other globs use. NEWS | 3 +++ path/match.c | 4 ++-- str/case_glob.c | 68 ++++++++++++++++++++++++++++----------------------------- str/glob.c | 68 ++++++++++++++++++++++++++++----------------------------- 4 files changed, 73 insertions(+), 70 deletions(-) commit 55e18f674696486c90ff456485395c362546b009 Author: Bruce Guenter Date: Thu Jun 23 04:53:23 2005 +0000 Tweaked str_alloc to use realloc when appropriate. NEWS | 1 + README.in | 6 ++---- str/alloc.c | 17 ++++++++++------- 3 files changed, 13 insertions(+), 11 deletions(-) commit e2ab47bec5ed01ccb51b2d936d0df5d30b465b42 Author: Bruce Guenter Date: Wed Jun 15 03:31:35 2005 +0000 Bumped version to 1.023 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 43ada53fee4d91083324adb0c955708837ab4807 Author: Bruce Guenter Date: Fri Jun 10 17:07:21 2005 +0000 Use lstat instead of stat to get accurate information on links. bg-installer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc632fc9f6fecceab9d66ed199d44e483f39a45e Author: Bruce Guenter Date: Fri Jun 10 17:06:06 2005 +0000 Install files into temporary files and then rename them. NEWS | 3 ++- bg-installer.c | 28 +++++++++++++++++----------- instlib/installer.c | 14 +++++++++----- 3 files changed, 28 insertions(+), 17 deletions(-) commit 33c11d10aa071691435f67fbc971804fdd21ab0f Author: Bruce Guenter Date: Fri Jun 10 16:05:42 2005 +0000 Add the install prefix when making the top directory. bg-installer.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 7760bf349976883ad25468bbcd3532a9ecc3946b Author: Bruce Guenter Date: Fri Jun 10 15:40:09 2005 +0000 Put programs into %{_bindir} spec | 2 ++ 1 file changed, 2 insertions(+) commit be42f59adbedf51e9312fbbb80d56c2287ce5417 Author: Bruce Guenter Date: Fri Jun 10 15:37:53 2005 +0000 Added missing source path/mkdirs.c path/mkdirs.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 path/mkdirs.c commit bd449c22fac0153f790281080d22b95cc57d3a10 Author: Bruce Guenter Date: Fri Jun 10 06:48:11 2005 +0000 Added documentation for path functions. config.dxy | 2 +- path/contains.c | 6 ++++++ path/fnmatch.c | 6 ++++++ path/match.c | 6 ++++++ path/merge.c | 11 +++++++++++ path/mktemp.c | 6 ++++++ path/path.h | 7 +++++++ 7 files changed, 43 insertions(+), 1 deletion(-) commit 61a38e3376158880c113cb08b6662710367cbb79 Author: Bruce Guenter Date: Fri Jun 10 06:31:02 2005 +0000 Modified the installers to create missing directories. NEWS | 2 ++ bg-installer.c | 11 ++++++++--- instlib/installer.c | 22 ++++++++++++++++------ spec | 1 - 4 files changed, 26 insertions(+), 10 deletions(-) commit 2b7bd1fe71b241cdbc0742539080993f56926699 Author: Bruce Guenter Date: Fri Jun 10 06:18:30 2005 +0000 Added path_mkdirs function. NEWS | 2 ++ path/lib=l | 1 + path/path.h | 1 + 3 files changed, 4 insertions(+) commit 310b69d2a1e5ecd62c75bd509d63eb20923508a5 Author: Bruce Guenter Date: Thu Jun 9 23:09:20 2005 +0000 Copy the docs onto the website after installation. makedist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 33ecc91f5c43e74da1ccdbe98188b55a986fbec1 Author: Bruce Guenter Date: Thu Jun 9 22:28:54 2005 +0000 Added a generic installer program, similar to the "install" program included with ezmlm. BIN | 2 + INCLUDE | 94 +++++++++++++++ LIB | 88 ++++++++++++++ NEWS | 3 + all.spac | 2 +- bg-installer.c | 334 ++++++++++++++++++++++++++++++++++++++++++++++++++++ bg-installer=x | 3 + config.dxy | 2 +- install.spac | 7 ++ installer.spac | 3 - instcheck.spac | 3 - insthier.c | 207 -------------------------------- instlib/installer.h | 2 +- instshow.spac | 3 - 14 files changed, 534 insertions(+), 219 deletions(-) create mode 100644 BIN create mode 100644 INCLUDE create mode 100644 LIB create mode 100644 bg-installer.c create mode 100644 bg-installer=x create mode 100644 install.spac delete mode 100644 installer.spac delete mode 100644 instcheck.spac delete mode 100644 insthier.c delete mode 100644 instshow.spac commit 32854e472778e431dc1342c071d8b9a7b719a5e8 Author: Bruce Guenter Date: Thu Jun 9 21:58:43 2005 +0000 Fixed typo in Doxygen grouping end tag. fmt/misc.h | 4 ++-- fmt/multi.h | 4 ++-- fmt/number.h | 10 +++++----- iobuf/common.h | 4 ++-- iobuf/ibuf.h | 2 +- iobuf/iobuf.h | 4 ++-- iobuf/obuf.h | 2 +- net/ipv4.h | 2 +- net/ipv6.h | 2 +- net/resolve.h | 2 +- net/socket.h | 8 ++++---- str/env.h | 2 +- str/iter.h | 2 +- str/str.h | 18 +++++++++--------- unix/selfpipe.h | 2 +- unix/trigger.h | 2 +- 16 files changed, 35 insertions(+), 35 deletions(-) commit 6da7d25f9ca609760405f77b595605445302c09d Author: Bruce Guenter Date: Thu Jun 9 17:44:55 2005 +0000 Moved some code into a common main function. instlib/installer.c | 14 ++------------ instlib/installer.h | 3 +++ instlib/installer=l | 1 + instlib/instcheck.c | 14 ++------------ instlib/instcheck=l | 1 + instlib/instmain.c | 22 ++++++++++++++++++++++ instlib/instshow.c | 18 ++++-------------- instlib/instshow=l | 1 + 8 files changed, 36 insertions(+), 38 deletions(-) create mode 100644 instlib/instmain.c commit 850327a2eb230d277a33b25d8e0098ef36746721 Author: Bruce Guenter Date: Thu Jun 9 17:26:50 2005 +0000 Fixed the instshow library to use and dispaly the install prefix just like the other instlib programs. NEWS | 2 ++ instlib/instshow.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit cbdaacccf298f5a345fde472dc85abe9f39c1160 Author: Bruce Guenter Date: Thu Jun 9 17:24:56 2005 +0000 Bumped version up to 1.022 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e723d36878be2bb373b7874f4fea16fc0fca2752 Author: Bruce Guenter Date: Thu Jun 9 16:41:56 2005 +0000 Added self-tests for all wrap functions. msg/wrap_chdir.c | 17 +++++++++++++++++ msg/wrap_str.c | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) commit 67685eb0427d02142a61c5118b1a0b79773aa6a8 Author: Bruce Guenter Date: Thu Jun 9 16:39:41 2005 +0000 Added a wrapper for functions that allocate memory (returning a pointer). msg/lib=l | 1 + msg/wrap.h | 1 + msg/wrap_alloc.c | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 msg/wrap_alloc.c commit e6046d4e2d8b0a54a69328f2262683025f438473 Author: Bruce Guenter Date: Wed Jun 8 16:45:21 2005 +0000 Introducing variables in the middle of a block is not yet well supported. iobuf/obuf_putf.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 202b416c714e6ce0784d5e614a2de472c299bde5 Author: Bruce Guenter Date: Wed Jun 8 16:37:34 2005 +0000 Allow the installers to use $install_prefix the same way autoconf based systems use it. NEWS | 3 ++- instlib/installer.c | 3 +++ instlib/instcheck.c | 3 +++ spec | 4 +--- 4 files changed, 9 insertions(+), 4 deletions(-) commit cd36dcbdced6bcf65064f334b6deecf0004c8e61 Author: Bruce Guenter Date: Wed Jun 8 16:22:20 2005 +0000 Doxygen needs to be told about recursing into the instlib directory. Missed this part of the previous commit. config.dxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cacf522995570b8a6a0a2d3d0ac0aa20b08cceef Author: Bruce Guenter Date: Wed Jun 8 16:21:41 2005 +0000 Added a little documentation for the installer libraries. instlib/installer.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit fc873b344bf972e4af81b5f967f1813cb4c22a22 Author: Bruce Guenter Date: Wed Jun 8 15:05:03 2005 +0000 Fixed 32-to-64 bit sign extension bug in fmt_multi on some 64-bit platforms. Thanks Gerrit Pape. NEWS | 3 +++ fmt/multi.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit af9666e291041c8612aa4d672e8af52daa2d278f Author: Bruce Guenter Date: Wed Jun 8 15:04:37 2005 +0000 Fixed the remaining typo in str_catfv. Thanks again Gerrit Pape. str/catf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1ad5cee3ad85a08e301d56ac2c26dabd1cc440f Author: Bruce Guenter Date: Wed Jun 8 06:17:22 2005 +0000 Fixed up the daylight missing header to be a macro instead of a static const, as the static will get multiply compiled into every object. NEWS | 3 +++ sys/hasdaylight.h1 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit b9b7b47e6c5643d0b355bebef7f3977971478839 Author: Bruce Guenter Date: Wed Jun 8 04:17:15 2005 +0000 Added sysdep for "extern int daylight". sys/hasdaylight.h1 | 2 ++ sys/hasdaylight.h2 | 3 +++ sys/trydaylight.c | 4 ++++ sysdeps.h.spac | 3 ++- 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 sys/hasdaylight.h1 create mode 100644 sys/hasdaylight.h2 create mode 100644 sys/trydaylight.c commit f6cfad46d872743d9cd89c94bc7be28114dbb9cb Author: Bruce Guenter Date: Mon Jun 6 18:03:03 2005 +0000 Fixed typo bug in str_catfv and str_copyfv that caused failures on (at least) PPC and S390 architectures. Thanks Gerrit Pape NEWS | 3 +++ iobuf/obuf_putf.c | 13 ++++++------- str/catf.c | 4 ++-- str/copyf.c | 6 +++--- 4 files changed, 14 insertions(+), 12 deletions(-) commit 882c86de1e75a8fa31649b81b9b5aaf26375293a Author: Bruce Guenter Date: Fri Jun 3 00:10:54 2005 +0000 Renamed the "install" directory to "instlib" to prevent conflicts with the "install" target. installer.spac | 4 ++-- instcheck.spac | 4 ++-- insthier.c | 10 +++++----- {install => instlib}/installer.c | 0 {install => instlib}/installer.h | 0 {install => instlib}/installer=l | 0 {install => instlib}/instcheck.c | 0 {install => instlib}/instcheck=l | 0 {install => instlib}/instshow.c | 0 {install => instlib}/instshow=l | 0 instshow.spac | 4 ++-- 11 files changed, 11 insertions(+), 11 deletions(-) rename {install => instlib}/installer.c (100%) rename {install => instlib}/installer.h (100%) rename {install => instlib}/installer=l (100%) rename {install => instlib}/instcheck.c (100%) rename {install => instlib}/instcheck=l (100%) rename {install => instlib}/instshow.c (100%) rename {install => instlib}/instshow=l (100%) commit 15a3eadcc5be21c994a23f15e7006c5cd72dd9e0 Author: Bruce Guenter Date: Thu Jun 2 22:38:34 2005 +0000 Added an installation note to the README. Thanks Sebastian Benoit README.in | 9 +++++++++ 1 file changed, 9 insertions(+) commit 0dbc7c9cdf76ddb467bb3374f0272fe059d962b5 Author: Bruce Guenter Date: Thu Jun 2 22:37:55 2005 +0000 Removed unused config file. conf-home | 1 - 1 file changed, 1 deletion(-) delete mode 100644 conf-home commit f9d687211d16a0d551ffa437447df5e275b3e82a Author: Bruce Guenter Date: Thu Jun 2 22:26:11 2005 +0000 Added a to do note. TODO | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b2f0a4bfcff864e60ad112408d1b5c62592a691 Author: Bruce Guenter Date: Thu Jun 2 22:10:18 2005 +0000 Installation is now done under seperate include/lib directories. NEWS | 2 ++ insthier.c | 15 ++++----------- spec | 4 +++- 3 files changed, 9 insertions(+), 12 deletions(-) commit 53d3a514c0a0388c328fee5b6836570bc3392b58 Author: Bruce Guenter Date: Thu Jun 2 22:07:49 2005 +0000 installer/instcheck program libraries now optionally install into a prefix directory specified on the command line. NEWS | 2 ++ install/installer.c | 27 ++++++++++++++++++++++----- install/instcheck.c | 30 +++++++++++++++++++++++------- spec | 10 ++++------ 4 files changed, 51 insertions(+), 18 deletions(-) commit 7bef496976fec243975c3f731b50d2957e8aea86 Author: Bruce Guenter Date: Thu Jun 2 21:17:06 2005 +0000 Bumped version to 1.021 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e029a9b1441d8adf28a7a1f50d3207c412d1c80b Author: Bruce Guenter Date: Thu Jun 2 21:16:26 2005 +0000 Switched the installer from using stdio to bglibs install/installer.c | 48 ++++++++++--------------- install/instcheck.c | 46 ++++++++---------------- install/instshow.c | 100 ++++++++++++++++++++++++++++------------------------ installer.spac | 4 +-- instcheck.spac | 4 +-- instshow.spac | 4 +-- 6 files changed, 94 insertions(+), 112 deletions(-) commit e6f5ce2e2a22ee7d6dad94aac161e6057ea2c37f Author: Bruce Guenter Date: Fri May 27 22:20:49 2005 +0000 Reverted the previous change to the variadic macros, since other C9X/C99 features are in use (variable length arrays and va_copy). NEWS | 3 +++ msg/msg.h | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) commit 376931242b3ac93263761b3cff8ee621c09e5c37 Author: Bruce Guenter Date: Fri May 27 04:32:11 2005 +0000 Switched the variadic msg macros to the old GCC format so that older systems can continue to use bglibs. We'll see if this becomes a problem in practice. If so, the only solution will be to provide two different macros, one for older GCCs that don't understand the C9X standard variadic macro format, and the other for everybody else. msg/msg.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 4f0a252b1ead09b297847653ffb62b153f218eb9 Author: Bruce Guenter Date: Fri May 27 03:49:35 2005 +0000 Fixed up the documentation so Doxygen produces fewer warnings. iobuf/ibuf.h | 1 + iobuf/ibuf_getnetstring.c | 2 +- iobuf/ibuf_openreadclose.c | 2 +- iobuf/ibuf_readall.c | 2 +- iobuf/obuf.h | 1 + iobuf/obuf_sign_pad.c | 7 +++++++ net/ipv4.h | 5 ++++- net/ipv6.h | 5 ++++- str/str.h | 4 ++++ 9 files changed, 24 insertions(+), 5 deletions(-) commit c77a641e7a85dc0f06bb2103a2a725fe87a67f7c Author: Bruce Guenter Date: Fri May 27 03:22:29 2005 +0000 Add support for long and long long data types. fmt/multi.c | 80 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 53 insertions(+), 27 deletions(-) commit bb89c9fadaae06914b9d8d3b48e79923d2f12aff Author: Bruce Guenter Date: Thu May 26 23:05:48 2005 +0000 Broke out some static functions from fmt/multi.c into their own objects. str/free.c => fmt/char.c | 38 ++++++++++++++--------------- fmt/chars.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ fmt/lib=l | 2 ++ fmt/misc.h | 27 +++++++++++++++++++++ fmt/multi.c | 34 ++------------------------ 5 files changed, 111 insertions(+), 52 deletions(-) copy str/free.c => fmt/char.c (61%) create mode 100644 fmt/chars.c create mode 100644 fmt/misc.h commit 33629a4f4370e48065fd3ea9162e538e637c4702 Author: Bruce Guenter Date: Thu May 26 22:47:15 2005 +0000 Added a set of formatted message functions. NEWS | 3 ++- msg/{common.c => commonf.c} | 35 +++++++++++++++++++++-------------- msg/debug.c | 9 --------- msg/debug_init.c | 10 ++++++++++ msg/debugf.c | 11 +++++++++++ msg/dief.c | 11 +++++++++++ msg/errorf.c | 9 +++++++++ msg/lib=l | 6 ++++++ msg/msg.h | 18 ++++++++++++++++++ msg/warn.c | 1 - msg/warnf.c | 9 +++++++++ selftests.sh | 2 +- 12 files changed, 98 insertions(+), 26 deletions(-) copy msg/{common.c => commonf.c} (62%) create mode 100644 msg/debug_init.c create mode 100644 msg/debugf.c create mode 100644 msg/dief.c create mode 100644 msg/errorf.c create mode 100644 msg/warnf.c commit a8a915354441c2c7b519e83381831bdcb6ecb682 Author: Bruce Guenter Date: Thu May 26 22:31:39 2005 +0000 Added format functions that take a va_list parameter. iobuf/obuf.h | 2 ++ iobuf/obuf_putf.c | 27 +++++++++++++++++---------- str/catf.c | 24 ++++++++++++++++-------- str/copyf.c | 24 ++++++++++++++++-------- str/str.h | 4 ++++ 5 files changed, 55 insertions(+), 26 deletions(-) commit 7c5f5145d03ed72ee013dc2771e4d7ed03f9c6e1 Author: Bruce Guenter Date: Thu May 26 21:51:15 2005 +0000 Moved the documentation around a bit and gave fmt_multi documentation. fmt/multi.c | 151 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 77 insertions(+), 74 deletions(-) commit e4236bb9b909943e748c21ed5e91332ae4aaa14c Author: Bruce Guenter Date: Thu May 26 21:36:14 2005 +0000 Added multiple-item formatting functions fmt_multi (similar to printf, but safer), fmt_multiv, obuf_putf, str_catf, and str_copyf. NEWS | 3 + fmt/lib=l | 1 + fmt/multi.c | 294 ++++++++++++++++++++++++++++++++++++++++++++++ fmt/multi.h | 21 ++++ iobuf/lib=l | 1 + iobuf/obuf.h | 1 + iobuf/obuf_putf.c | 37 ++++++ str/{copyns.c => catf.c} | 39 +++--- str/{copyns.c => copyf.c} | 38 +++--- str/lib=l | 2 + str/str.h | 2 + 11 files changed, 405 insertions(+), 34 deletions(-) create mode 100644 fmt/multi.c create mode 100644 fmt/multi.h create mode 100644 iobuf/obuf_putf.c copy str/{copyns.c => catf.c} (59%) copy str/{copyns.c => copyf.c} (61%) commit 4db5a874d8c8c67fd9af20ffd4d4d228918574eb Author: Bruce Guenter Date: Thu May 26 19:54:17 2005 +0000 Updated copyright year. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79268b8fae821fbfca6f9e25bc4bddff6b5bb16d Author: Bruce Guenter Date: Thu Nov 18 16:11:48 2004 +0000 Mark ipv4_parse as deprecated. net/ipv4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e080e7d71a64b7668dec3326d317fe859693844 Author: Bruce Guenter Date: Thu Nov 18 16:08:47 2004 +0000 Added a sysdep for GCC's __attribute__((__deprecated__)) tag. sys/hasdeprecated.h1 | 2 ++ sys/hasdeprecated.h2 | 2 ++ sys/trydeprecated.c | 1 + sysdeps.h.spac | 3 ++- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sys/hasdeprecated.h1 create mode 100644 sys/hasdeprecated.h2 create mode 100644 sys/trydeprecated.c commit fa772dda52a380c34dbf554ab3c49a1355f7ef07 Author: Bruce Guenter Date: Wed Nov 17 16:48:32 2004 +0000 Fixed a couple of length counting bugs in the fmt number code. NEWS | 2 ++ fmt/snum.c | 42 ++++++++++++++++++++++++++++++------------ fmt/unum.c | 36 +++++++++++++++++++++++++----------- 3 files changed, 57 insertions(+), 23 deletions(-) commit 90bc10ce772780e7474094240dc6ff749eedb971 Author: Bruce Guenter Date: Wed Nov 17 16:47:09 2004 +0000 Bumped version to 1.020 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c3097e8290c50f7fc67920233a4d4a7a20d68dcb Author: Bruce Guenter Date: Wed Nov 17 14:24:56 2004 +0000 Include the no-buffer length when testing this function. fmt/sign_pad.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 2d8897d7e00b1f5baa706228309e1d9dfd23dd1b Author: Bruce Guenter Date: Tue Nov 16 21:19:11 2004 +0000 Added self-tests for the fcntl wrappers. unix/fcntl.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 unix/fcntl.c commit 6a2f8ed94646e7f8d9790de50ba503404281b4c6 Author: Bruce Guenter Date: Tue Nov 16 21:04:32 2004 +0000 Fixed up the iobuf documentation to produce the full doxygen output again. iobuf/ibuf.h | 10 ++++++++-- iobuf/iobuf.h | 5 +++++ iobuf/obuf.h | 10 ++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) commit f55b65e47dc602ef2e9642d0444ff44d681bd94a Author: Bruce Guenter Date: Mon Nov 15 20:49:40 2004 +0000 "Hide" the invocation of the hundreds of ln commands to avoid production of libbg.a from obliterating earlier errors. libbg.a.spac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fd372b389bdece95fb356a64560f8b9603e6e42a Author: Bruce Guenter Date: Mon Nov 15 20:44:38 2004 +0000 Only call the fcntl SET syscall if the desired flags are different from the existing ones. unix/fcntl_fd_off.c | 4 +++- unix/fcntl_fd_on.c | 4 +++- unix/fcntl_fl_off.c | 4 +++- unix/fcntl_fl_on.c | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) commit 34d464362c298cda33227dfba5b16f2a7b691b33 Author: Bruce Guenter Date: Mon Nov 15 20:38:34 2004 +0000 Fixed a couple of typos in the fcntl_fd_* functions. unix/fcntl_fd_off.c | 2 +- unix/fcntl_fd_on.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f60d2f4ff687d96dac1f5fb4ab51e7b3b269d3c1 Author: Bruce Guenter Date: Mon Nov 15 20:27:37 2004 +0000 Added two new missing header files: unix/cloexec.h unix/fcntl.h insthier.c | 2 ++ 1 file changed, 2 insertions(+) commit ad4409a80c07cbe6d4351fdfdd3b4062b4992666 Author: Bruce Guenter Date: Thu Nov 4 18:14:53 2004 +0000 Changed the error in ibuf_getnetstring from EPROTO to EPROTOTYPE to fix compile errors on *BSD systems. Thanks Ville Walveranta. NEWS | 3 +++ iobuf/ibuf_getnetstring.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 32ee969e72aa25ccb33dc02f7527753046fe7722 Author: Bruce Guenter Date: Thu Nov 4 17:15:20 2004 +0000 Selfpipes now close-on-exec to prevent the pipe from being exported to child processes. NEWS | 3 +++ unix/selfpipe.c | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 2265b8bd6e981c5dbeb4c56a5a036d75f7310a38 Author: Bruce Guenter Date: Thu Nov 4 16:59:52 2004 +0000 Added cloexec_{off,on} functions to manipulate the close-on-exec flag. NEWS | 2 ++ unix/cloexec.h | 7 +++++++ unix/{nonblock_on.c => cloexec_off.c} | 12 ++++-------- unix/{nonblock_on.c => cloexec_on.c} | 12 ++++-------- unix/lib=l | 2 ++ 5 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 unix/cloexec.h copy unix/{nonblock_on.c => cloexec_off.c} (80%) copy unix/{nonblock_on.c => cloexec_on.c} (80%) commit 3160b5ad48711c6dc34310bb91f44a1d08aec5c9 Author: Bruce Guenter Date: Thu Nov 4 15:48:50 2004 +0000 Rewrote the nonblock functions in terms of the new fcntl wrappers. unix/nonblock_off.c | 8 +++----- unix/nonblock_on.c | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) commit 3ff002a02febc079715401255385670fda116e34 Author: Bruce Guenter Date: Thu Nov 4 15:46:12 2004 +0000 Added low-level fcntl wrapper functions. NEWS | 2 ++ unix/fcntl.h | 9 +++++++++ net/tcp4.c => unix/fcntl_fd_off.c | 23 ++++++++--------------- net/tcp4.c => unix/fcntl_fd_on.c | 23 ++++++++--------------- unix/{nonblock_on.c => fcntl_fl_off.c} | 14 +++++--------- unix/{nonblock_on.c => fcntl_fl_on.c} | 14 +++++--------- unix/lib=l | 4 ++++ 7 files changed, 41 insertions(+), 48 deletions(-) create mode 100644 unix/fcntl.h copy net/tcp4.c => unix/fcntl_fd_off.c (70%) copy net/tcp4.c => unix/fcntl_fd_on.c (70%) copy unix/{nonblock_on.c => fcntl_fl_off.c} (75%) copy unix/{nonblock_on.c => fcntl_fl_on.c} (75%) commit ca31b2eade4f4ca572bbceb9526d7c3651e67bdc Author: Bruce Guenter Date: Fri Oct 29 23:31:01 2004 +0000 Broke the iobuf includes into smaller parts. NEWS | 4 +- insthier.c | 3 + iobuf/common.h | 93 ++++++++++++++++++ iobuf/ibuf.h | 58 +++++++++++ iobuf/ibuf_copytofd.c | 2 +- iobuf/ibuf_getc.c | 2 +- iobuf/ibuf_getnetstring.c | 2 +- iobuf/ibuf_gets.c | 2 +- iobuf/ibuf_getstr.c | 2 +- iobuf/ibuf_getstr_crlf.c | 2 +- iobuf/ibuf_getu.c | 2 +- iobuf/ibuf_init.c | 2 +- iobuf/ibuf_open.c | 2 +- iobuf/ibuf_peek.c | 2 +- iobuf/ibuf_read.c | 2 +- iobuf/ibuf_refill.c | 2 +- iobuf/ibuf_seek.c | 2 +- iobuf/ibuf_status.c | 2 +- iobuf/ibuf_stdin.c | 2 +- iobuf/ibuf_tell.c | 2 +- iobuf/iobuf.h | 244 +--------------------------------------------- iobuf/{iobuf.h => obuf.h} | 153 +---------------------------- iobuf/obuf_close.c | 2 +- iobuf/obuf_copyfromfd.c | 2 +- iobuf/obuf_digits.c | 2 +- iobuf/obuf_endl.c | 2 +- iobuf/obuf_flush.c | 2 +- iobuf/obuf_init.c | 2 +- iobuf/obuf_open.c | 2 +- iobuf/obuf_pad.c | 2 +- iobuf/obuf_put2s.c | 2 +- iobuf/obuf_put3s.c | 2 +- iobuf/obuf_put4s.c | 2 +- iobuf/obuf_put5s.c | 2 +- iobuf/obuf_put6s.c | 2 +- iobuf/obuf_put7s.c | 2 +- iobuf/obuf_putc.c | 2 +- iobuf/obuf_putnetstring.c | 2 +- iobuf/obuf_putns.c | 2 +- iobuf/obuf_putsflush.c | 2 +- iobuf/obuf_putsllnumw.c | 2 +- iobuf/obuf_putsnumw.c | 2 +- iobuf/obuf_putullnumw.c | 2 +- iobuf/obuf_putunumw.c | 2 +- iobuf/obuf_seek.c | 2 +- iobuf/obuf_sign_pad.c | 2 +- iobuf/obuf_stderr.c | 2 +- iobuf/obuf_stdout.c | 2 +- iobuf/obuf_sync.c | 2 +- iobuf/obuf_write.c | 2 +- 50 files changed, 207 insertions(+), 436 deletions(-) create mode 100644 iobuf/common.h create mode 100644 iobuf/ibuf.h copy iobuf/{iobuf.h => obuf.h} (50%) commit 4a299798e7156eb0ae60d0deec7015fae920b82a Author: Bruce Guenter Date: Fri Oct 29 22:46:47 2004 +0000 Bumped version to 1.019 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 2306480a23b47ddbd49e452ab07932317c649fd8 Author: Bruce Guenter Date: Tue Oct 26 04:59:01 2004 +0000 Added missing misc/ucspi.h header file. insthier.c | 1 + 1 file changed, 1 insertion(+) commit 3b34f5c908f4e746ab2f2c6689947c3d3bbbc35d Author: Bruce Guenter Date: Mon Oct 25 23:29:03 2004 +0000 Added missing #include. unix/selfpipe.c | 1 + 1 file changed, 1 insertion(+) commit 53bab4d3015e383ba360b299e0a052f88c5cd4ab Author: Bruce Guenter Date: Fri Oct 22 17:56:23 2004 +0000 Bugfix: when iterating over empty tables, don't crash because the table pointer is NULL. adt/ghash_iter.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 78bc60c06b7611650169c1e5087769046270a8d1 Author: Bruce Guenter Date: Wed Aug 25 05:52:43 2004 +0000 Made the datacopy function optional by emulating it with a straight memcpy. adt/ghash_add.c | 13 +++++-------- adt/ghash_iter.c | 8 +------- adt/ghash_remove.c | 8 +------- 3 files changed, 7 insertions(+), 22 deletions(-) commit cba4794d0be947d38f4c2ef6de14c0584fcb4ea6 Author: Bruce Guenter Date: Mon Aug 23 21:20:23 2004 +0000 Added ghash_remove prototype and macros. adt/ghash.h | 9 +++++++++ 1 file changed, 9 insertions(+) commit fbaf51f567a68b6f5c0e6b280998b5d107b195b4 Author: Bruce Guenter Date: Mon Aug 23 21:19:59 2004 +0000 Add missing ghash_iter.o object file. adt/lib=l | 1 + 1 file changed, 1 insertion(+) commit 957f2a2e3a5bb8786c815674d10c68c4e7e9117a Author: Bruce Guenter Date: Mon Aug 23 20:16:51 2004 +0000 Added missing source from previous commit. adt/adt_sp.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 adt/adt_sp.c commit 9d4eaf51ff9444307438beee461d855102ae918a Author: Bruce Guenter Date: Mon Aug 23 18:45:22 2004 +0000 Reorganized and expanded the convenience functions for using const char* adt/common.h | 9 +++++++++ adt/ghash.h | 6 +++--- adt/ghash_add.c | 21 +++------------------ adt/ghash_hashs.c | 17 ----------------- adt/ghash_iter.c | 21 +++------------------ adt/ghash_remove.c | 21 +++------------------ adt/{ghash_hashb.c => hashb.c} | 4 ++-- adt/{ghash_hashb.c => hashs.c} | 6 +++--- adt/lib=l | 5 +++-- 9 files changed, 29 insertions(+), 81 deletions(-) delete mode 100644 adt/ghash_hashs.c copy adt/{ghash_hashb.c => hashb.c} (60%) rename adt/{ghash_hashb.c => hashs.c} (52%) commit 73974a7ca477384a7cb1f2882f509e5aff370632 Author: Bruce Guenter Date: Sun Aug 22 21:42:38 2004 +0000 Renamed the hash value type to adt_hash_t adt/common.h | 3 ++- adt/ghash.h | 14 +++++++------- adt/ghash_add.c | 9 ++------- adt/ghash_get.c | 2 +- adt/ghash_hashb.c | 4 ++-- adt/ghash_hashs.c | 6 +++--- adt/ghash_remove.c | 7 +------ 7 files changed, 18 insertions(+), 27 deletions(-) commit ee2cb3b6c52a8e1a9ee4060f2bc24dbf16818041 Author: Bruce Guenter Date: Sun Aug 22 21:30:06 2004 +0000 Added detector for the "inline" keyword. sys/hasinline.h1 | 2 ++ sys/hasinline.h2 | 2 ++ sys/tryinline.c | 2 ++ sysdeps.h.spac | 3 ++- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 sys/hasinline.h1 create mode 100644 sys/hasinline.h2 create mode 100644 sys/tryinline.c commit 4148a31e3852d0de9acb79dc193a93250520adb8 Author: Bruce Guenter Date: Sun Aug 22 21:27:04 2004 +0000 Added ghashiter functions, for iteration over ghash tables. NEWS | 2 ++ adt/ghash.h | 13 +++++++ adt/ghash_iter.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+) create mode 100644 adt/ghash_iter.c commit 38a7754c681e1d97df872f9297817d532c52541d Author: Bruce Guenter Date: Sun Aug 22 20:05:33 2004 +0000 Split up the two ghash_hash* functions, and added a ghash_hashsp function that is useful directly in hash tables that use const char* keys. adt/ghash.h | 1 + adt/{ghash_hash.c => ghash_hashb.c} | 5 ----- adt/ghash_hashs.c | 17 +++++++++++++++++ adt/lib=l | 3 ++- 4 files changed, 20 insertions(+), 6 deletions(-) rename adt/{ghash_hash.c => ghash_hashb.c} (71%) create mode 100644 adt/ghash_hashs.c commit a0529b494a7136b3a982331f733f163e5b107f69 Author: Bruce Guenter Date: Sun Aug 22 18:52:34 2004 +0000 Added ghash_remove function. NEWS | 2 + adt/ghash_remove.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++ adt/lib=l | 1 + 3 files changed, 133 insertions(+) create mode 100644 adt/ghash_remove.c commit 945299bbb61c2f6ed843d2f7c8e81ecdbf3067aa Author: Bruce Guenter Date: Sun Aug 22 18:51:12 2004 +0000 Rewrote the adt/ghash library to store the function pointers in the structure instead of requiring the pointers to be passed to every funciton. adt/ghash.h | 78 ++++++++++++++++++++++++++++++++---------------------- adt/ghash_add.c | 17 +++++------- adt/ghash_free.c | 14 +++++----- adt/ghash_get.c | 11 ++++---- adt/ghash_init.c | 20 +++++++++++++- adt/ghash_rehash.c | 4 +-- 6 files changed, 86 insertions(+), 58 deletions(-) commit 3c6344d6708816a653940b8da8e967f0c0179faa Author: Bruce Guenter Date: Fri Aug 20 18:02:29 2004 +0000 Break down the rehash process into two steps: (1) recompute the hash values (ghash_rehash) which shouldn't be needed often, if evern, and (2) rebuild the hash table (ghash_rebuild). adt/ghash.h | 7 +++++++ adt/{ghash_rehash.c => ghash_rebuild.c} | 6 ++---- adt/ghash_rehash.c | 22 +++++----------------- adt/lib=l | 1 + 4 files changed, 15 insertions(+), 21 deletions(-) copy adt/{ghash_rehash.c => ghash_rebuild.c} (75%) commit 6c6118ab2e4bbbdd0b4e96cd94ac589d4d226d1e Author: Bruce Guenter Date: Fri Aug 20 17:58:20 2004 +0000 Broke down the ghash_get primitive into two steps -- locate the entry (ghash_find), and then dereference it if it was found (ghash_get). ghash_find can be used by other functions that need to determine the slot. adt/ghash.h | 2 ++ adt/ghash_get.c | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit 1bdbe6f053ca2ff647aafb577e10440c79556ae0 Author: Bruce Guenter Date: Fri Aug 13 21:26:56 2004 +0000 Added str_getnetstring function. NEWS | 2 ++ iobuf/TODO | 1 - iobuf/ibuf_getnetstring.c | 29 +++++++++++++++++++++++++++++ iobuf/iobuf.h | 1 + iobuf/lib=l | 1 + 5 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 iobuf/ibuf_getnetstring.c commit 472617bac2bcb8e4d6988a781c4e7efa157fe698 Author: Bruce Guenter Date: Fri Aug 13 21:25:01 2004 +0000 Fix up function definitions to make them match with the prototypes, so that doxygen can match them up properly. str/env_find.c | 2 +- str/env_from_array.c | 2 +- str/env_from_string.c | 2 +- str/env_get.c | 2 +- str/env_make_array.c | 2 +- str/env_put.c | 2 +- str/env_set.c | 2 +- str/iter_start.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit d247b58f05d44a46d4b9c31bb9b32799ebc62f2b Author: Bruce Guenter Date: Fri Aug 13 18:41:35 2004 +0000 Use a forward struct str declaration to avoid recursive includes. str/iter.h | 6 +++--- str/iter_advance.c | 1 + str/iter_start.c | 1 + str/iter_valid.c | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) commit 85d984179dc8cd7b3a365229e592811ee592af3a Author: Bruce Guenter Date: Fri Aug 13 18:40:05 2004 +0000 Use a forward struct str declaration to avoid recursive includes. str/env.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 2913b821e43a20d25cdb59064851b741bc24c196 Author: Bruce Guenter Date: Fri Aug 13 18:38:55 2004 +0000 Added missing str/env.h and unix/trigger.h header files. insthier.c | 2 ++ 1 file changed, 2 insertions(+) commit f328ece6f987f121564b7615f70f289b39bc8ec2 Author: Bruce Guenter Date: Fri Aug 13 16:59:26 2004 +0000 Added named pipe trigger functions. NEWS | 2 ++ unix/lib=l | 2 ++ unix/trigger.h | 41 +++++++++++++++++++++++++++++++++++++++++ unix/trigger_pull.c | 14 ++++++++++++++ unix/trigger_set.c | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 unix/trigger.h create mode 100644 unix/trigger_pull.c create mode 100644 unix/trigger_set.c commit 9c4ba3423f80eacfab2d03c5196173cb032f5c06 Author: Bruce Guenter Date: Fri Aug 13 06:15:25 2004 +0000 Added environment string manipulation functions. NEWS | 2 ++ str/env.h | 27 +++++++++++++++++++++++++++ str/env_find.c | 32 ++++++++++++++++++++++++++++++++ str/env_from_array.c | 30 ++++++++++++++++++++++++++++++ str/env_from_string.c | 29 +++++++++++++++++++++++++++++ str/env_get.c | 27 +++++++++++++++++++++++++++ str/env_make_array.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ str/env_put.c | 38 ++++++++++++++++++++++++++++++++++++++ str/env_set.c | 34 ++++++++++++++++++++++++++++++++++ str/lib=l | 8 ++++++++ 10 files changed, 276 insertions(+) create mode 100644 str/env.h create mode 100644 str/env_find.c create mode 100644 str/env_from_array.c create mode 100644 str/env_from_string.c create mode 100644 str/env_get.c create mode 100644 str/env_make_array.c create mode 100644 str/env_put.c create mode 100644 str/env_set.c commit be007f19c734d08059de79fa2c2b417bd6809b2b Author: Bruce Guenter Date: Fri Aug 13 06:14:45 2004 +0000 Use "cat -v" to expose non-printing bytes. selftests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c938e1042d10e64ef136f6f10489369343cec54 Author: Bruce Guenter Date: Fri Aug 13 05:24:32 2004 +0000 Fixed bug in ibuf_getu: didn't subtract ASCII '0' offset from digits. NEWS | 2 ++ iobuf/ibuf_getu.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4b277b8565f64ee2acc26f5e072eeb3afb89b512 Author: Bruce Guenter Date: Fri Aug 13 05:22:53 2004 +0000 Added sysdep check for the "named pipe bug": polling a named pipe without a writer unconditionally succeeds. Source code was copied and modified from a similar check in nullmailer. NEWS | 3 +++ sys/hasnamedpipebug.h1 | 2 ++ sys/hasnamedpipebug.h2 | 2 ++ sys/trynamedpipebug.c | 22 ++++++++++++++++++++++ sysdeps.h.spac | 3 ++- 5 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 sys/hasnamedpipebug.h1 create mode 100644 sys/hasnamedpipebug.h2 create mode 100644 sys/trynamedpipebug.c commit afb187afaacd03b65c23f9312c18e5348844c477 Author: Bruce Guenter Date: Fri Aug 13 05:09:05 2004 +0000 Added sysdep and emulator function for mkfifo. NEWS | 2 ++ sys/hasmkfifo.h1 | 2 ++ sys/hasmkfifo.h2 | 2 ++ sys/mkfifo.c | 10 ++++++++++ sys/trymkfifo.c | 7 +++++++ sysdeps.h.spac | 3 ++- 6 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 sys/hasmkfifo.h1 create mode 100644 sys/hasmkfifo.h2 create mode 100644 sys/mkfifo.c create mode 100644 sys/trymkfifo.c commit b11b0122fa826df8d880af089436730797360b62 Author: Bruce Guenter Date: Tue Jul 27 16:59:48 2004 +0000 Added missing unix/selfpipe.h header to insthier. NEWS | 2 +- insthier.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit b3ee7a7580d18730ad13d988a97455c96ea73bfc Author: Bruce Guenter Date: Thu Mar 25 21:25:47 2004 +0000 Added missing crypto/surf.h header to insthier. NEWS | 1 + insthier.c | 1 + 2 files changed, 2 insertions(+) commit 764a49a6ead8b54c04e8567d8129838ba6ed690c Author: Bruce Guenter Date: Thu Mar 25 21:24:49 2004 +0000 Bumped version to 1.018 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 17bd2f64776abc0547778402ffe545c50d36e1cb Author: Bruce Guenter Date: Wed Mar 24 03:53:47 2004 +0000 Fixed some silly typos. NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 22253e938c3b66409b3e47403d3b932e7246c570 Author: Bruce Guenter Date: Wed Mar 24 03:53:09 2004 +0000 Removed the surfc function. crypto/surf.c | 6 ------ crypto/surf.h | 2 -- 2 files changed, 8 deletions(-) commit e54ed27875187889703e7ef572dd01001d884a72 Author: Bruce Guenter Date: Tue Mar 23 00:13:05 2004 +0000 Fixed utoa to write into its buffer instead of before it. NEWS | 2 ++ misc/utoa.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 71615e238569fa887c803b2ed3c5a24bcedcc3dc Author: Bruce Guenter Date: Mon Mar 22 17:29:20 2004 +0000 Added missing va_end calls. iobuf/obuf_putns.c | 1 + str/catns.c | 1 + str/copyns.c | 1 + 3 files changed, 3 insertions(+) commit f7ba1690823acca335b6b03413aaeac174cb2a0f Author: Bruce Guenter Date: Mon Mar 22 17:12:37 2004 +0000 Added str_copyns, str_catns, and obuf_putns functions. NEWS | 3 +++ iobuf/iobuf.h | 1 + iobuf/lib=l | 1 + iobuf/obuf_putns.c | 28 ++++++++++++++++++++++++++++ str/{cat2s.c => catns.c} | 30 +++++++++++++++--------------- str/{init.c => copyns.c} | 30 +++++++++++++++++------------- str/lib=l | 2 ++ str/str.h | 2 ++ 8 files changed, 69 insertions(+), 28 deletions(-) create mode 100644 iobuf/obuf_putns.c copy str/{cat2s.c => catns.c} (63%) copy str/{init.c => copyns.c} (62%) commit 637053f12c5d2de031d377d6b7872b65266b0f81 Author: Bruce Guenter Date: Sun Mar 14 06:30:55 2004 +0000 Added SURF code. NEWS | 2 ++ crypto/lib=l | 1 + crypto/surf.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/surf.h | 18 +++++++++++ 4 files changed, 121 insertions(+) create mode 100644 crypto/surf.c create mode 100644 crypto/surf.h commit 0a1d8c6c9587eaaa0c279afdb4502a7c428ffa0e Author: Bruce Guenter Date: Sun Mar 14 06:29:52 2004 +0000 Bumped version up to 1.017 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 8d08c481ebd0e616cfa2aa71d914237614bb9188 Author: Bruce Guenter Date: Fri Mar 5 18:13:18 2004 +0000 Added notes about IPv6 plans. TODO | 4 ++++ 1 file changed, 4 insertions(+) commit 8b9a2c17457cca60ec34bbb85a8d17b9fb56a595 Author: Bruce Guenter Date: Thu Mar 4 23:41:51 2004 +0000 Added functions for querying UCSPI environment variables. NEWS | 2 ++ misc/lib=l | 1 + misc/ucspi.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ misc/ucspi.h | 12 ++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 misc/ucspi.c create mode 100644 misc/ucspi.h commit 15e31732f88a64cc55f680ca4fc29f33c23d9935 Author: Bruce Guenter Date: Thu Mar 4 23:40:58 2004 +0000 Added back the definition of socket_tcp and socket_udp for compatability. NEWS | 3 +++ net/socket.h | 4 ++-- net/tcp4.c | 6 ++++++ net/udp4.c | 6 ++++++ 4 files changed, 17 insertions(+), 2 deletions(-) commit b6960c3091d4513fffdfb4f27922301f3d7cad5f Author: Bruce Guenter Date: Tue Mar 2 19:44:58 2004 +0000 Fixed socket_notcpdelay on FreeBSD 4.x (and possibly other BSDs). NEWS | 1 + net/notcpdelay.c | 4 ++++ 2 files changed, 5 insertions(+) commit 8315e3abb343f2142a589aa9d03700052b718029 Author: Bruce Guenter Date: Tue Mar 2 19:42:21 2004 +0000 Bumped version to 1.016 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit bfce95dee013017900b04b58ac715801c9b1371a Author: Bruce Guenter Date: Wed Feb 25 18:01:43 2004 +0000 Fixed mis-named gcrc.h header file, and added crc16_*.h headers. insthier.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1adbfd89339491ecebc05be766eb8749fa608c32 Author: Bruce Guenter Date: Wed Feb 25 05:09:32 2004 +0000 Modified linkage warning to add note about libbg. NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b491fb5cbe22b1b602ffe57167c1aad1001f4bd5 Author: Bruce Guenter Date: Wed Feb 25 05:01:40 2004 +0000 Added notes. TODO | 6 ++++++ 1 file changed, 6 insertions(+) commit b7931804e794ebc53efc402d159a0a458c1496ef Author: Bruce Guenter Date: Mon Feb 9 23:47:01 2004 +0000 Added a "libbg.a" build target, including all the other libraries that don't define a main routine. NEWS | 3 +++ insthier.c | 4 ++++ libbg.a.spac | 20 ++++++++++++++++++++ libraries.spac | 1 + 4 files changed, 28 insertions(+) create mode 100644 libbg.a.spac commit 1e8f37e70f7c6aacd234dd50004b4906aa99ecca Author: Bruce Guenter Date: Sat Feb 7 21:03:09 2004 +0000 Added missing control file. fmt/lib=l | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fmt/lib=l commit ec0dc81ef4beae7ce0fbe1610588936a5308b024 Author: Bruce Guenter Date: Sat Feb 7 00:38:25 2004 +0000 Added CRC32C NEWS | 2 ++ crc/crc32c.h | 14 ++++++++++++++ crc/crc32c_table.c.spac | 2 ++ crc/gcrc32rfl.c | 17 +++++++++++++++++ crc/lib=l | 1 + 5 files changed, 36 insertions(+) create mode 100644 crc/crc32c.h create mode 100644 crc/crc32c_table.c.spac commit f21000c34f35789fb8bd71d76df72117a662cd2a Author: Bruce Guenter Date: Fri Feb 6 23:55:42 2004 +0000 Rewrote the CRC routines in terms of "generic" forward and reflected functions. NEWS | 3 +++ crc/crc16_arc.h | 4 ++-- crc/crc16_ccitt.h | 4 ++-- crc/crc16_xmodem.h | 2 +- crc/crc16_xmodem_update.c | 20 -------------------- crc/crc32.h | 3 ++- crc/crc64.h | 4 ++-- crc/gcrc.h | 13 +++++++++++++ crc/{crc16_ccitt_update.c => gcrc16fwd.c} | 8 +++++--- crc/{crc16_arc_update.c => gcrc16rfl.c} | 12 +++++++++--- crc/gcrc32fwd.c | 10 ++++++++++ crc/{crc32_update.c => gcrc32rfl.c} | 8 +++++--- crc/{crc64_update.c => gcrc64fwd.c} | 8 +++++--- crc/gcrc64rfl.c | 10 ++++++++++ crc/lib=l | 11 ++++++----- 15 files changed, 75 insertions(+), 45 deletions(-) delete mode 100644 crc/crc16_xmodem_update.c create mode 100644 crc/gcrc.h rename crc/{crc16_ccitt_update.c => gcrc16fwd.c} (88%) rename crc/{crc16_arc_update.c => gcrc16rfl.c} (73%) create mode 100644 crc/gcrc32fwd.c rename crc/{crc32_update.c => gcrc32rfl.c} (93%) rename crc/{crc64_update.c => gcrc64fwd.c} (61%) create mode 100644 crc/gcrc64rfl.c commit 1e3a539f92b224e56b40519f20e06784942ec0dd Author: Bruce Guenter Date: Wed Feb 4 16:04:26 2004 +0000 Added resolve_ipv4name_n, to resolve a name to more than one IP. NEWS | 2 ++ net/resolve.h | 3 ++- net/resolve_ipv4name.c | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) commit 45a1ef4b453b8e74142e0254e9b59a24ab47dd43 Author: Bruce Guenter Date: Wed Feb 4 16:00:00 2004 +0000 Bumped copyright end year to 2004. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23b1acc06565d92692ce2e56ed7ede7b45c1e3a1 Author: Bruce Guenter Date: Tue Feb 3 21:16:58 2004 +0000 Mark the copied-in data as being present before flushing the buffer. Without this patch, no data is ever written. iobuf/obuf_copyfromfd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5b2101186897964f810950cb478cefafc2c7302a Author: Bruce Guenter Date: Mon Feb 2 22:54:30 2004 +0000 Fixed up the selftests (copy & paste error). fmt/ullnum.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit bd0236be20f5f675b8ab71a3ccc96367964f70a8 Author: Bruce Guenter Date: Fri Jan 30 20:42:54 2004 +0000 Added ibuf_copytofd and obuf_copyfromfd, modified versions of iobuf_copy. NEWS | 3 ++- iobuf/ibuf_copytofd.c | 27 +++++++++++++++++++++++++++ iobuf/iobuf.h | 4 +++- iobuf/lib=l | 2 ++ iobuf/obuf_copyfromfd.c | 22 ++++++++++++++++++++++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 iobuf/ibuf_copytofd.c create mode 100644 iobuf/obuf_copyfromfd.c commit 33d07dbb7faeb8c486f7c2a2fed9482b7c78d407 Author: Bruce Guenter Date: Fri Jan 30 20:34:08 2004 +0000 Modified iobuf_copy to use the existing buffer in the ibuf instead of a stack-allocated one. iobuf/iobuf_copy.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 17530c3d7eceb106a74066446404117158e8aa93 Author: Bruce Guenter Date: Fri Jan 30 20:32:39 2004 +0000 Make sure to do sanity checking before any of the reading. iobuf/ibuf_readall.c | 2 ++ 1 file changed, 2 insertions(+) commit 498a28c600b7c89c2701b1529215032934120f64 Author: Bruce Guenter Date: Fri Jan 30 20:25:23 2004 +0000 Added ibuf_readall and ibuf_openreadclose. NEWS | 2 ++ iobuf/ibuf_openreadclose.c | 14 ++++++++++++++ iobuf/ibuf_readall.c | 16 ++++++++++++++++ iobuf/iobuf.h | 2 ++ iobuf/lib=l | 2 ++ 5 files changed, 36 insertions(+) create mode 100644 iobuf/ibuf_openreadclose.c create mode 100644 iobuf/ibuf_readall.c commit b718e88b968039e3fbc890d42cde551b7963ff22 Author: Bruce Guenter Date: Fri Jan 30 19:14:38 2004 +0000 Bumped version up to 1.015, as there are some significant changes in this release, and made a note about the fmt changes. NEWS | 6 +++++- VERSION | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit f75a318ea4a32685a2a39be2dc9a55e849387670 Author: Bruce Guenter Date: Fri Jan 30 18:29:25 2004 +0000 Added missing prototypes. net/socket.h | 5 +++++ 1 file changed, 5 insertions(+) commit 950429721e08ed3f3d2147a920cc422f24b4c712 Author: Bruce Guenter Date: Fri Jan 30 18:28:25 2004 +0000 Corrected broken use of #include <>. net/connect4_timeout.c | 6 +++--- net/connect6_timeout.c | 6 +++--- net/connectu_timeout.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 5cc830952e610603e92812f37ab75d16808f5664 Author: Bruce Guenter Date: Fri Jan 30 18:22:15 2004 +0000 Added socket connect functions with a timeout. NEWS | 2 ++ net/connect4_timeout.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ net/connect6_timeout.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ net/connectu_timeout.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ net/lib=l | 3 +++ 5 files changed, 154 insertions(+) create mode 100644 net/connect4_timeout.c create mode 100644 net/connect6_timeout.c create mode 100644 net/connectu_timeout.c commit bfa2e37eb30ecf77720843525d9b551977ecfa03 Author: Bruce Guenter Date: Mon Jan 26 17:38:23 2004 +0000 Added str_xlate function. NEWS | 2 ++ str/lib=l | 1 + str/str.h | 1 + str/{subst.c => xlate.c} | 32 +++++++++++++++++++++++++++----- 4 files changed, 31 insertions(+), 5 deletions(-) copy str/{subst.c => xlate.c} (62%) commit 4b0da24801daec3940807a23b99f1ba4deed35f6 Author: Bruce Guenter Date: Mon Jan 26 17:13:53 2004 +0000 Modifed str_subst to return a count of substitutions. NEWS | 2 ++ str/str.h | 2 +- str/subst.c | 17 ++++++++++++----- 3 files changed, 15 insertions(+), 6 deletions(-) commit acfaaf2fa230d83ebe887e0946ab75b25e8c27d3 Author: Bruce Guenter Date: Sat Jan 24 19:28:55 2004 +0000 Renamed the IPv[46] format_r functions to match the new fmt_ library. net/ipv4.h | 2 +- net/ipv4_format.c | 4 ++-- net/ipv6.h | 2 +- net/ipv6_format.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit cbefbed6e5ad467f3635a0622b4edf277c85736b Author: Bruce Guenter Date: Fri Jan 2 19:31:32 2004 +0000 Added a library of number formatting routines. NEWS | 2 + config.dxy | 2 +- fmt/lcase.c | 4 ++ fmt/number.h | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fmt/pad.c | 10 +++++ fmt/sdec.c | 13 ++++++ fmt/sign_pad.c | 56 ++++++++++++++++++++++++++ fmt/slldec.c | 13 ++++++ fmt/sllnum.c | 96 +++++++++++++++++++++++++++++++++++++++++++++ fmt/snum.c | 95 ++++++++++++++++++++++++++++++++++++++++++++ fmt/uHex.c | 14 +++++++ fmt/ucase.c | 4 ++ fmt/udec.c | 13 ++++++ fmt/uhex.c | 14 +++++++ fmt/ullHex.c | 15 +++++++ fmt/ulldec.c | 14 +++++++ fmt/ullhex.c | 14 +++++++ fmt/ullnum.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++ fmt/unum.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++ insthier.c | 4 ++ 20 files changed, 704 insertions(+), 1 deletion(-) create mode 100644 fmt/lcase.c create mode 100644 fmt/number.h create mode 100644 fmt/pad.c create mode 100644 fmt/sdec.c create mode 100644 fmt/sign_pad.c create mode 100644 fmt/slldec.c create mode 100644 fmt/sllnum.c create mode 100644 fmt/snum.c create mode 100644 fmt/uHex.c create mode 100644 fmt/ucase.c create mode 100644 fmt/udec.c create mode 100644 fmt/uhex.c create mode 100644 fmt/ullHex.c create mode 100644 fmt/ulldec.c create mode 100644 fmt/ullhex.c create mode 100644 fmt/ullnum.c create mode 100644 fmt/unum.c commit 204258febad2526e9f55d036add539fc6ee533c9 Author: Bruce Guenter Date: Fri Jan 2 19:28:06 2004 +0000 Installer missed installing net/ipv6.h header. insthier.c | 1 + 1 file changed, 1 insertion(+) commit f5beda9c7dd31d328d89c5fc7c843e0f0512fa96 Author: Bruce Guenter Date: Fri Jan 2 18:14:45 2004 +0000 Completed IPv6 network functions. NEWS | 2 +- net/{tcp6.c => accept6.c} | 19 ++++++++++++++----- net/{udp6.c => bind6.c} | 17 +++++++++++------ net/{udp6.c => connect6.c} | 16 +++++++++++----- net/{getaddr4.c => getaddr6.c} | 24 +++++++++++++++--------- net/lib=l | 6 ++++++ net/{recv4.c => recv6.c} | 24 +++++++++++++++--------- net/{tcp6.c => send6.c} | 18 ++++++++++++------ net/socket.h | 9 +++++++++ 9 files changed, 94 insertions(+), 41 deletions(-) copy net/{tcp6.c => accept6.c} (69%) copy net/{udp6.c => bind6.c} (70%) copy net/{udp6.c => connect6.c} (70%) copy net/{getaddr4.c => getaddr6.c} (67%) copy net/{recv4.c => recv6.c} (68%) copy net/{tcp6.c => send6.c} (67%) commit d56eb5f6b4b49340cee67bb7f7c26ae4d7c4e53e Author: Bruce Guenter Date: Fri Jan 2 18:03:13 2004 +0000 Fix errno typo -- wrong error code, missing semicolon. net/tcp6.c | 2 +- net/udp6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 14c15cece00556208fb09f92d2f6157022b6ae2b Author: Bruce Guenter Date: Fri Jan 2 17:32:41 2004 +0000 Renamed socket_tcp and socket_udp to match socket_tcp6 and socket_udp6. net/lib=l | 4 ++-- net/socket.h | 6 ++++-- net/{tcp.c => tcp4.c} | 8 ++++---- net/{udp.c => udp4.c} | 8 ++++---- 4 files changed, 14 insertions(+), 12 deletions(-) rename net/{tcp.c => tcp4.c} (85%) rename net/{udp.c => udp4.c} (85%) commit 30fdb6afeba148c42355ba9bcbb3babd022f90bf Author: Bruce Guenter Date: Fri Jan 2 17:31:57 2004 +0000 Fixed some comment and function naming typos. net/tcp6.c | 4 ++-- net/udp6.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 4e7618b8fb20bb4aec0aeba8a90264c8ce2ff4e5 Author: Bruce Guenter Date: Fri Jan 2 17:26:26 2004 +0000 Added IPv6 TCP/UDP socket creation functions. net/lib=l | 2 ++ net/socket.h | 2 ++ net/{tcp.c => tcp6.c} | 16 +++++++++++----- net/{tcp.c => udp6.c} | 16 +++++++++++----- 4 files changed, 26 insertions(+), 10 deletions(-) copy net/{tcp.c => tcp6.c} (77%) copy net/{tcp.c => udp6.c} (77%) commit 84865e6fd76afc0d11bcfff30adb75291d5c0328 Author: Bruce Guenter Date: Fri Jan 2 17:17:12 2004 +0000 Simplified the choose script by one more step. choose.sh | 13 ++++++------- sysdeps.h.spac | 42 +++++++++++++++++++++--------------------- 2 files changed, 27 insertions(+), 28 deletions(-) commit 7d29310eb98848b3a71da36848ada638772c624b Author: Bruce Guenter Date: Fri Jan 2 17:11:17 2004 +0000 Added sysdep comments to header files that were missing them. sys/direntry.h1 | 2 ++ sys/direntry.h2 | 2 ++ sys/hasvfork.h1 | 1 + sys/hasvfork.h2 | 1 + sys/uint32.h1 | 1 + sys/uint32.h2 | 1 + 6 files changed, 8 insertions(+) commit 342c7a6b40919b0cc0d119917c2a99ad0b9ef2ee Author: Bruce Guenter Date: Fri Jan 2 14:55:07 2004 +0000 Renamed some sysdep files to make the naming convention more regular. sys/{setenv.h1 => hassetenv.h1} | 0 sys/{setenv.h2 => hassetenv.h2} | 0 sys/{hassgact.h1 => hassigaction.h1} | 0 sys/{hassgact.h2 => hassigaction.h2} | 0 sys/{hassgprm.h1 => hassigprocmask.h1} | 0 sys/{hassgprm.h2 => hassigprocmask.h2} | 0 sys/{select.h1 => hassysselect.h1} | 0 sys/{select.h2 => hassysselect.h2} | 0 sys/{fork.h1 => hasvfork.h1} | 0 sys/{fork.h2 => hasvfork.h2} | 0 sys/{trysgact.c => trysigaction.c} | 0 sys/{trysgprm.c => trysigprocmask.c} | 0 sys/{trysysel.c => trysysselect.c} | 0 sysdeps.h.spac | 15 ++++++--------- 14 files changed, 6 insertions(+), 9 deletions(-) rename sys/{setenv.h1 => hassetenv.h1} (100%) rename sys/{setenv.h2 => hassetenv.h2} (100%) rename sys/{hassgact.h1 => hassigaction.h1} (100%) rename sys/{hassgact.h2 => hassigaction.h2} (100%) rename sys/{hassgprm.h1 => hassigprocmask.h1} (100%) rename sys/{hassgprm.h2 => hassigprocmask.h2} (100%) rename sys/{select.h1 => hassysselect.h1} (100%) rename sys/{select.h2 => hassysselect.h2} (100%) rename sys/{fork.h1 => hasvfork.h1} (100%) rename sys/{fork.h2 => hasvfork.h2} (100%) rename sys/{trysgact.c => trysigaction.c} (100%) rename sys/{trysgprm.c => trysigprocmask.c} (100%) rename sys/{trysysel.c => trysysselect.c} (100%) commit 682efffc1177dfec4aa21ccbb37271f16ddd7c00 Author: Bruce Guenter Date: Thu Jan 1 22:07:14 2004 +0000 Fixed trivial typo: I put the ipv6 and getpeereid tests in the wrong place. sysdeps.h.spac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 8370237810b136ea399a153cd05b2605fcbe415d Author: Bruce Guenter Date: Thu Jan 1 22:04:43 2004 +0000 Simplified the sysdep production system by truncating prefixes used by the choose script. choose.sh | 14 ++++++++------ sysdeps.h.spac | 42 +++++++++++++++++++++--------------------- 2 files changed, 29 insertions(+), 27 deletions(-) commit f92c884f977b6b2c96406997eaf75dc4905b8934 Author: Bruce Guenter Date: Thu Jan 1 22:03:42 2004 +0000 Added control file necessary to generate systime.h. systime.h.spac | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 systime.h.spac commit d0cc2457467e27769134d4ac18b092d1986b9b28 Author: Bruce Guenter Date: Thu Jan 1 21:58:11 2004 +0000 Added missing config file. conf-home | 1 + 1 file changed, 1 insertion(+) create mode 100644 conf-home commit 09653bb76f5602558ee03bfe3a654b9f9e38ddba Author: Bruce Guenter Date: Thu Jan 1 21:45:57 2004 +0000 Added missing source. choose.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 choose.sh commit c7379d59a4f0d7ce2411bd0a2575583428fc7902 Author: Bruce Guenter Date: Thu Jan 1 20:55:06 2004 +0000 Add a sysdep testing for IPv6 defines and structures. sys/hasipv6.h1 | 1 + sys/hasipv6.h2 | 2 ++ sys/tryipv6.c | 9 +++++++++ sysdeps.h.spac | 2 ++ 4 files changed, 14 insertions(+) create mode 100644 sys/hasipv6.h1 create mode 100644 sys/hasipv6.h2 create mode 100644 sys/tryipv6.c commit b2ca2589253a6eb4699eea112d160d7c52b15ffe Author: Bruce Guenter Date: Tue Dec 30 19:22:51 2003 +0000 Added missing documentation for socket_notcpdelay net/notcpdelay.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ef26a65d1a29a80df32c67b82ac5336e5db79ee8 Author: Bruce Guenter Date: Tue Dec 30 19:19:00 2003 +0000 Added TCP nodelay function. net/lib=l | 1 + net/{udp.c => notcpdelay.c} | 12 +++++------- net/socket.h | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) copy net/{udp.c => notcpdelay.c} (77%) commit 87f472fbc015022d7026a2cf1dadc26c5f4e7f1e Author: Bruce Guenter Date: Tue Dec 30 18:06:39 2003 +0000 Added IPv4 loopback address constant. net/ipv4.h | 1 + net/ipv4_addr.c | 2 ++ 2 files changed, 3 insertions(+) commit 9b8e560b89c86ce71653eeedee94326194770220 Author: Bruce Guenter Date: Tue Dec 30 05:01:19 2003 +0000 Updated the Doxygen configuration for new version of doxygen. config.dxy | 485 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 321 insertions(+), 164 deletions(-) commit b86db2b5a1354488c3e64f40d7758cea884a3b45 Author: Bruce Guenter Date: Mon Dec 29 21:20:03 2003 +0000 Converted the _r formatting functions to return a count of bytes written to the formatted string instead of a pointer. net/ipv4.h | 2 +- net/ipv4_format.c | 9 +++++---- net/ipv6.h | 2 +- net/ipv6_format.c | 17 ++++++++++------- 4 files changed, 17 insertions(+), 13 deletions(-) commit 29bf8d7e60052f254ed61dbfcc00bb7097d76336 Author: Bruce Guenter Date: Mon Dec 29 20:50:18 2003 +0000 Added thread/recursion safe IP formatting routines. net/ipv4.h | 1 + net/ipv4_format.c | 20 +++++++++++++--- net/ipv6.h | 1 + net/ipv6_format.c | 72 ++++++++++++++++++++++++++++++------------------------- 4 files changed, 58 insertions(+), 36 deletions(-) commit 23cae50a100f5e5b17f3c626541abe3c0ae4ba5a Author: Bruce Guenter Date: Mon Dec 29 19:53:42 2003 +0000 Added IPv6 address parsing/formatting functions. NEWS | 2 + net/ipv6.h | 23 ++++++++ net/ipv6_addr.c | 6 ++ net/ipv6_format.c | 136 ++++++++++++++++++++++++++++++++++++++++++++ net/ipv6_scan.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ net/lib=l | 3 + 6 files changed, 336 insertions(+) create mode 100644 net/ipv6.h create mode 100644 net/ipv6_addr.c create mode 100644 net/ipv6_format.c create mode 100644 net/ipv6_scan.c commit afa0f9db086f28b00c67f5f1faff8b52a21cf96a Author: Bruce Guenter Date: Thu Dec 18 04:30:48 2003 +0000 Added str_splice functions. NEWS | 1 + str/lib=l | 1 + str/splice.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ str/str.h | 4 ++++ 4 files changed, 82 insertions(+) create mode 100644 str/splice.c commit 76babe28f8d976e82dfac7f066424a296e9fdb2c Author: Bruce Guenter Date: Thu Dec 18 04:28:21 2003 +0000 Bumped version to 1.012 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e745c8e8baf201f6dcb117229471aacf2003c159 Author: Bruce Guenter Date: Mon Dec 1 17:24:43 2003 +0000 Added note about missing include fix. NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 1996d165c86a66cc31c76a7fc624187dbdc83527 Author: Bruce Guenter Date: Mon Dec 1 16:50:46 2003 +0000 Add missing include which declares strtol and strtoull. crc-gentab.c | 1 + 1 file changed, 1 insertion(+) commit d37e6eb4434dd582f8276e3d77f889fab08736a9 Author: Bruce Guenter Date: Thu Nov 27 21:42:28 2003 +0000 Internal changes to installer scripts to make it work on systems where the root directory is non-readable. NEWS | 3 +++ install/installer.c | 24 +++++++++++------------- install/instcheck.c | 18 +++++++++--------- 3 files changed, 23 insertions(+), 22 deletions(-) commit 67d05f55509bf9bad5876e0d2dcd0a540543d199 Author: Bruce Guenter Date: Tue Nov 18 23:00:15 2003 +0000 Return the result of debugged functions, and flush stderr on exit. selftest.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit e23fe6ba5d30186da56fd77b2177fb712071e7b6 Author: Bruce Guenter Date: Tue Nov 18 22:59:18 2003 +0000 Fixed up parsing of illegal IP addresses, and added self tests. net/ipv4_scan.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) commit b33f65b9a9cb2b0108ee0f8114c25754e06217cc Author: Bruce Guenter Date: Tue Nov 18 21:03:18 2003 +0000 Fixed ipv4 address parsing number validation. NEWS | 2 ++ net/ipv4_scan.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 136185af0eece6c9b741d4a487a770da3310d0d6 Author: Bruce Guenter Date: Tue Nov 18 21:02:41 2003 +0000 Fixed up crc64 table generation on 64-bit platforms. NEWS | 2 ++ crc-gentab.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 05f2202ca33d814b90f4df7646df36635d825cfd Author: Bruce Guenter Date: Mon Nov 17 22:24:01 2003 +0000 Fixed missing "ULL" on a constant. NEWS | 2 ++ crypto/sha512.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 29eb3913617d00824e37ac3623592f1f9270d5b0 Author: Bruce Guenter Date: Mon Nov 17 22:23:17 2003 +0000 Added mailing list archive site. README.in | 2 ++ makedist.py | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 7e575f893a2ba423295a3b4437fd93ed09b219e2 Author: Bruce Guenter Date: Mon Nov 17 21:51:22 2003 +0000 Fixed up self-test on selfpipe if different fds are opened. NEWS | 2 ++ unix/selfpipe.c | 14 ++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) commit 6db051cb348bf398c70bd901c79445b49dd33eb3 Author: Bruce Guenter Date: Mon Nov 17 21:38:29 2003 +0000 Bumped version to 1.011 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e34899d3c38ffc214e49d233e4404d892d9fa948 Author: Bruce Guenter Date: Mon Nov 17 20:14:38 2003 +0000 Fixed up the mailing list subscribe address. README.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit bd66d787d2f8925db08fc957a513ee03e2f44c34 Author: Bruce Guenter Date: Mon Nov 17 19:27:39 2003 +0000 Bugfix: avoid using opendir to set up the root directory fd, as opendir does a chdir first, which is bad. install/installer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit afd62723573651416400ebb809e58da465fd37bc Author: Bruce Guenter Date: Mon Nov 17 18:22:14 2003 +0000 Force FD 0 to be the root directory when installing; fixup resulting multiple "/" prefixes in instshow. install/installer.c | 3 +++ install/instcheck.c | 3 +++ install/instshow.c | 13 ++++++++----- insthier.c | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) commit df7268d2b57fb064ef377aa1043f1bef7e76e4e0 Author: Bruce Guenter Date: Mon Nov 17 18:02:04 2003 +0000 Export the signal catch routine to allow other signals to be handled. unix/selfpipe.c | 9 +++++++-- unix/selfpipe.h | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) commit d40019001588c1ccf6676f95aba2666f48b31a26 Author: Bruce Guenter Date: Mon Nov 17 17:58:10 2003 +0000 Write the signal number to the pipe instead of arbitrary data; make the signal catching mechanism more generic. unix/selfpipe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a9076e8b8cfd3144887944de548f1da967a83e53 Author: Bruce Guenter Date: Tue Jul 22 21:43:45 2003 +0000 Fixed insthier installing "installer.o" in place of "instcheck.o" NEWS | 3 +++ insthier.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit a8e2ca9287478c947b0987b0a5056e545bb81c98 Author: Bruce Guenter Date: Wed Jun 18 16:56:43 2003 +0000 Added macros for uint*_*_native functions, to be defined as using the system's native byte order. On systems that support unalligned memory accesses, this provides for high-performance multi-byte accesses. uint16.h | 10 ++++++++++ uint32.h | 10 ++++++++++ uint64.h | 10 ++++++++++ 3 files changed, 30 insertions(+) commit d4f905e06e7e8efdc848b039fbe298e53f22e14e Author: Bruce Guenter Date: Thu Jun 12 22:25:10 2003 +0000 Added documentation for selfpipe functions, and fixed up an (highly unlikely) file descriptor leak on error. config.dxy | 2 +- unix/selfpipe.c | 24 +++++++++++++++++++++++- unix/selfpipe.h | 5 +++++ 3 files changed, 29 insertions(+), 2 deletions(-) commit b075128343af5c45eb98bbbe7fa89126e1e7c5d4 Author: Bruce Guenter Date: Wed Jun 11 22:56:32 2003 +0000 Broke the wrapper functions into their own modules, and added wrap_str. msg/lib=l | 4 +++- msg/wrap.h | 1 + msg/{wrap.c => wrap_chdir.c} | 2 -- msg/wrap_exit.c | 4 ++++ msg/wrap_str.c | 8 ++++++++ 5 files changed, 16 insertions(+), 3 deletions(-) rename msg/{wrap.c => wrap_chdir.c} (89%) create mode 100644 msg/wrap_exit.c create mode 100644 msg/wrap_str.c commit f419fc3aad6436f8da2127d920cf507c7e13cf95 Author: Bruce Guenter Date: Wed Jun 11 22:41:52 2003 +0000 Added "out of memory" standard function. msg/lib=l | 1 + msg/msg.h | 2 ++ msg/oom.c | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 msg/oom.c commit 8b778e5e47db980d0cc7868040340dfe42faedbe Author: Bruce Guenter Date: Wed Jun 11 21:20:42 2003 +0000 Removed old note about building CRC tables. TODO | 4 ---- 1 file changed, 4 deletions(-) commit 5540a5bbe6a9798b2a257aef492df3a22a6f732d Author: Bruce Guenter Date: Wed Jun 11 21:08:30 2003 +0000 Added self-pipe SIGCHLD handling functions. NEWS | 2 ++ unix/lib=l | 1 + unix/selfpipe.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ unix/selfpipe.h | 7 ++++++ 4 files changed, 84 insertions(+) create mode 100644 unix/selfpipe.c create mode 100644 unix/selfpipe.h commit 264185407d1b2d902cd410ce5256cf42c93a4865 Author: Bruce Guenter Date: Wed Jun 11 18:04:16 2003 +0000 Use a modified "compile" script to compile selftests, as some versions of gcc (and maybe other cc's) don't like multiple "-o" options. selftests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 91b4255329a4c6c2f34d3ea13b9c00fef79de21e Author: Bruce Guenter Date: Wed Jun 11 17:28:38 2003 +0000 Make sure MAP_FAILED is defined before using it. iobuf/iobuf_init.c | 4 ++++ 1 file changed, 4 insertions(+) commit f18a454fb91e72fd10f01cd98a1747664a08cc21 Author: Bruce Guenter Date: Wed Jun 11 17:16:55 2003 +0000 Added getpeereid sysdep function. NEWS | 2 ++ libbg-sysdeps=l | 1 + sys/getpeereid.c | 29 +++++++++++++++++++++++++++ sys/hasgetpeereid.h1 | 2 ++ sys/hasgetpeereid.h2 | 2 ++ sys/{trywaitp.c => trygetpeereid.c} | 4 ++-- sysdeps.h.spac | 40 +++++++++++++++++++------------------ 7 files changed, 59 insertions(+), 21 deletions(-) create mode 100644 sys/getpeereid.c create mode 100644 sys/hasgetpeereid.h1 create mode 100644 sys/hasgetpeereid.h2 copy sys/{trywaitp.c => trygetpeereid.c} (50%) commit c21f57c8115fa52ec49c89870a490b7b84267cc1 Author: Bruce Guenter Date: Wed May 28 19:53:40 2003 +0000 Fixed the 64-bit constants to use "ULL" notation. crypto/sha512.c | 80 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) commit bede20569ff6128dc4b5dbf89c50ebc25e0e6f9e Author: Bruce Guenter Date: Wed May 14 17:49:58 2003 +0000 Added str_start functions. NEWS | 2 ++ str/case_start.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ str/lib=l | 2 ++ str/{copy.c => start.c} | 57 +++++++++++++++++++++--------------- str/str.h | 8 +++++ 5 files changed, 123 insertions(+), 23 deletions(-) create mode 100644 str/case_start.c copy str/{copy.c => start.c} (50%) commit d190cba0aecf890940977e33658d3ffa15adcc46 Author: Bruce Guenter Date: Wed May 14 17:26:31 2003 +0000 wrap_* functions can now exit with a customized error code. NEWS | 2 ++ msg/wrap.c | 4 +++- msg/wrap.h | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) commit 756188f06917ddf91c66d300fa3d1e0140ea5d19 Author: Bruce Guenter Date: Wed May 14 17:21:00 2003 +0000 Use the modified str_glob API. path/fnmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c908f5c460d563f8d00a69f04a0b15490c3fa1b9 Author: Bruce Guenter Date: Wed May 14 17:20:23 2003 +0000 Split the case insensitive parts of the str_glob and str_match functions into str_case_glob and str_case_match respectively. NEWS | 3 + str/case_glob.c | 394 ++++++++++++++++++++++++++++++++++ str/{match.c => case_match.c} | 116 +++++----- str/glob.c | 476 +++++++++++++++++++----------------------- str/lib=l | 2 + str/match.c | 116 +++++----- str/str.h | 18 +- 7 files changed, 724 insertions(+), 401 deletions(-) create mode 100644 str/case_glob.c copy str/{match.c => case_match.c} (55%) commit fb12e61397a0204dfcde83a0175e0c5d23c20cdc Author: Bruce Guenter Date: Wed Apr 16 23:38:45 2003 +0000 Removed stale directory. commit 6dcd72788d2abdb97865735af7590eec12aa74e3 Author: Bruce Guenter Date: Wed Apr 16 23:34:28 2003 +0000 Make all the CRC tables generated at build-time. NEWS | 2 ++ crc/gentab.c => crc-gentab.c | 2 +- crc-gentab=x | 3 +++ crc/crc16_arc_table.c.spac | 2 ++ crc/crc16_ccitt_table.c.spac | 2 ++ crc/crc16_xmodem_table.c.spac | 2 ++ crc/crc32_table.c.spac | 2 ++ crc/crc64_table.c.spac | 2 ++ 8 files changed, 16 insertions(+), 1 deletion(-) rename crc/gentab.c => crc-gentab.c (98%) create mode 100644 crc-gentab=x create mode 100644 crc/crc16_arc_table.c.spac create mode 100644 crc/crc16_ccitt_table.c.spac create mode 100644 crc/crc16_xmodem_table.c.spac create mode 100644 crc/crc32_table.c.spac create mode 100644 crc/crc64_table.c.spac commit f46e9e38edd52b151bd688d0c91c641c90b87c18 Author: Bruce Guenter Date: Wed Apr 16 23:31:04 2003 +0000 Removed depricated file. path/all.spac | 1 - 1 file changed, 1 deletion(-) delete mode 100644 path/all.spac commit 1086cd8957c596fb8f1685766a174f35695079b1 Author: Bruce Guenter Date: Tue Apr 15 23:38:16 2003 +0000 Removed the cvm libraries (merged into the main cvm package). NEWS | 2 ++ cvm-sasl/authenticate.c | 13 ------------- cvm-sasl/cram_md5.c | 44 -------------------------------------------- cvm-sasl/cvm-sasl.h | 35 ----------------------------------- cvm-sasl/cvm-sasl.html | 40 ---------------------------------------- cvm-sasl/init.c | 48 ------------------------------------------------ cvm-sasl/internal.h | 17 ----------------- cvm-sasl/lib=l | 6 ------ cvm-sasl/login.c | 28 ---------------------------- cvm-sasl/plain.c | 26 -------------------------- cvm-sasl/start.c | 19 ------------------- insthier.c | 23 ----------------------- 12 files changed, 2 insertions(+), 299 deletions(-) delete mode 100644 cvm-sasl/authenticate.c delete mode 100644 cvm-sasl/cram_md5.c delete mode 100644 cvm-sasl/cvm-sasl.h delete mode 100644 cvm-sasl/cvm-sasl.html delete mode 100644 cvm-sasl/init.c delete mode 100644 cvm-sasl/internal.h delete mode 100644 cvm-sasl/lib=l delete mode 100644 cvm-sasl/login.c delete mode 100644 cvm-sasl/plain.c delete mode 100644 cvm-sasl/start.c commit abd86d205186c1b7c0e41f4c086283f7b5be85d0 Author: Bruce Guenter Date: Tue Apr 15 23:34:45 2003 +0000 Updated with past changes. NEWS | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 29154c93d44079cf25aa6080dad294785214d5a1 Author: Bruce Guenter Date: Tue Apr 15 23:33:26 2003 +0000 Keep track of the message length in bytes instead of bits, avoiding extra computations every time a block is processed. crypto/sha256.c | 24 ++++++++++++------------ crypto/sha256.h | 3 +-- crypto/sha384.c | 4 +--- crypto/sha512.c | 39 ++++++++++++++------------------------- crypto/sha512.h | 5 ++--- 5 files changed, 30 insertions(+), 45 deletions(-) commit 7bb558922ac83c9c20dab2f968eccfb388ad1a9d Author: Bruce Guenter Date: Wed Apr 9 21:00:33 2003 +0000 Applied some major optimizations to the main update loop and the final stage, cutting the overhead cost in half. crypto/sha1.c | 84 ++++++++++++++++++++++++----------------------------------- crypto/sha1.h | 5 ++-- 2 files changed, 36 insertions(+), 53 deletions(-) commit 810eff7e701efd042971e3ab4aaf049f5a424398 Author: Bruce Guenter Date: Wed Apr 9 20:58:40 2003 +0000 Fixed a one-off bug, noticed when comparing the new SHA code to the existing SHA-1 code. crypto/sha256.c | 2 +- crypto/sha512.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 79a51bcc7aa5f0431a584cfbcfbb1c6912191245 Author: Bruce Guenter Date: Tue Apr 8 19:56:50 2003 +0000 Added a small optimization to the SHA-256/512 code found in the MD5 implementation. NEWS | 1 + crypto/sha256.c | 4 +++- crypto/sha512.c | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) commit be5104e241f9fd3cdb70d20bc4cc4c0ab6becddb Author: Bruce Guenter Date: Tue Apr 8 16:11:25 2003 +0000 Bumped up version to 1.010 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 2a297efa60ab5bd40a46693ac0b3f1215be171d1 Author: Bruce Guenter Date: Mon Apr 7 17:42:29 2003 +0000 Turn off recv/sendfd if the appropriate defines are missing. NEWS | 2 ++ net/recvfd.c | 6 ++++++ net/sendfd.c | 6 ++++++ 3 files changed, 14 insertions(+) commit 5811940c4074d27210bc12e09f2034a0559125fc Author: Bruce Guenter Date: Mon Apr 7 17:07:12 2003 +0000 Fixed iobuf/iobuf_init.c for systems that lack anonymous mmap. NEWS | 2 ++ iobuf/iobuf_init.c | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) commit 763e4c42412d341306c1758a4c990d3fc4a4a1c7 Author: Bruce Guenter Date: Mon Apr 7 17:00:46 2003 +0000 Added note about SHA-256/384/512 changes. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit c87fe8a83fa51d12fae876e3c8331e1017a43394 Author: Bruce Guenter Date: Mon Apr 7 16:35:15 2003 +0000 Install the right SHA headers. insthier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 12ba7e0445ba73e3cee11c01caad586d9e14de84 Author: Bruce Guenter Date: Mon Apr 7 16:34:53 2003 +0000 Broke out the uint## macros into a separate header, to speed up compilations that don't require these macros. insthier.c | 1 + sysdeps-tail.h | 58 ---------------------------------------------- uint16.h | 1 + uint32.h | 1 + uint64.h | 1 + sysdeps-tail.h => uintnn.h | 3 +++ 6 files changed, 7 insertions(+), 58 deletions(-) copy sysdeps-tail.h => uintnn.h (97%) commit 7ad9b7a22c975485cbca2a1a825e7dc0bfc749ca Author: Bruce Guenter Date: Mon Apr 7 16:18:21 2003 +0000 Broke the SHA512 final transform and the copying of the digest into separate routines, so that SHA384 doesn't have to do a double copy. crypto/sha384.c | 10 +++++++--- crypto/sha512.c | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) commit ed07f469dce82524a65752104a4a03ff24803a36 Author: Bruce Guenter Date: Mon Apr 7 15:53:52 2003 +0000 Two optimizations: 1. Avoid copying input data into ctx->M when possible. 2. Use a rolling pointer to set up the initial value of W. crypto/sha256.c | 61 ++++++++++++++++++++---------------- crypto/sha384.c | 4 +-- crypto/sha512.c | 95 +++++++++++++++++++++++++++++++-------------------------- 3 files changed, 87 insertions(+), 73 deletions(-) commit 73db245a30f56eb0645165413ed5f32f0017a516 Author: Bruce Guenter Date: Mon Apr 7 15:24:05 2003 +0000 Rewrote the SHA-256 algorithm from scratch, based on the SHA-512 code. crypto/sha256.c | 396 +++++++++++++++++++++++++------------------------------- crypto/sha256.h | 19 ++- 2 files changed, 187 insertions(+), 228 deletions(-) commit e79694e601d9d78685060b6cea0c35e720dafdc7 Author: Bruce Guenter Date: Sat Apr 5 13:56:06 2003 +0000 Adds SHA384, a trivial derivation of SHA512. crypto/lib=l | 1 + crypto/sha384.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/sha384.h | 15 +++++++++ 3 files changed, 110 insertions(+) create mode 100644 crypto/sha384.c create mode 100644 crypto/sha384.h commit 3e099abe0824ea117f6599c3d786b0aead39a042 Author: Bruce Guenter Date: Sat Apr 5 13:55:04 2003 +0000 Removed the 32-bit implementation, as the native 64-bit code compiles to smaller and faster objects. crypto/sha512.c | 183 ++------------------------------------------------------ crypto/sha512.h | 4 -- 2 files changed, 5 insertions(+), 182 deletions(-) commit a299b1fb65705c50c744c945b251aa066ce4c077 Author: Bruce Guenter Date: Sat Apr 5 04:47:46 2003 +0000 Fixed a harmless warning, and added several more test vectors from http://www.aarongifford.com/computers/sha.html crypto/sha512.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 2fa8456afe52b1b41e6c5e81f195a5d21f33b783 Author: Bruce Guenter Date: Sat Apr 5 04:38:16 2003 +0000 Renamed sha512a to sha512, and merged in a 64-bit native implementation. crypto/lib=l | 2 +- crypto/{sha512a.c => sha512.c} | 321 ++++++++++++++++++++++++++++------------- crypto/sha512.h | 24 +++ crypto/sha512a.h | 20 --- 4 files changed, 243 insertions(+), 124 deletions(-) rename crypto/{sha512a.c => sha512.c} (52%) create mode 100644 crypto/sha512.h delete mode 100644 crypto/sha512a.h commit 2cb1fefe702f168d2ab514fae4f5847c4b89bd9d Author: Bruce Guenter Date: Fri Apr 4 18:25:38 2003 +0000 First round of portability fixes. crypto/sha256.c | 2 +- crypto/sha512a.c | 149 ++++++++++++++++++++++++------------------------------- crypto/sha512a.h | 16 +++--- 3 files changed, 72 insertions(+), 95 deletions(-) commit 91673333efcd6f86a47393dd4a36e07f9c1fffe2 Author: Bruce Guenter Date: Wed Apr 2 16:54:39 2003 +0000 Bumped up version to 1.009 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 5e7c963834bf7c8fe2e2c7d7e287cb20a7e4d308 Author: Bruce Guenter Date: Wed Apr 2 16:54:13 2003 +0000 More portability fixes: don't use "local", and switch to using short-circuit logic so "set -e" can be used. selftests.sh | 46 ++++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) commit 0c5d3e7051f2a83f4110d502dae9c809efeb4296 Author: Bruce Guenter Date: Wed Apr 2 15:21:59 2003 +0000 Clean up warnings about unused parameters. install/instcheck.c | 1 + install/instshow.c | 1 + 2 files changed, 2 insertions(+) commit e6ef2254bc811e942fcf863c292c0b728be78fbf Author: Bruce Guenter Date: Tue Apr 1 23:02:21 2003 +0000 Noted miscelaneous changes. NEWS | 5 +++++ 1 file changed, 5 insertions(+) commit 87f4ca133d1adf719935017c568cd3696a5d73ed Author: Bruce Guenter Date: Tue Apr 1 22:59:38 2003 +0000 Another portability fix. unix/sig_all.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit a4ca0149d1fb3fc048b3815c98e2c7921a1efe5e Author: Bruce Guenter Date: Tue Apr 1 22:55:48 2003 +0000 Annotate sources for test vectors. crc/crc16_arc_update.c | 6 ++++++ crc/crc16_ccitt_update.c | 4 ++++ 2 files changed, 10 insertions(+) commit a4761eba29007ecc16a5acae0a63342c340a8a5a Author: Bruce Guenter Date: Tue Apr 1 22:54:13 2003 +0000 Compatibility fixes for Solaris (among others). net/cmsg.h | 27 +++++++++++++++++++++++++++ net/recvfd.c | 6 +----- net/sendfd.c | 6 +----- 3 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 net/cmsg.h commit e9cbdf285e05e520c85a068faf362255e1c764d5 Author: Bruce Guenter Date: Tue Apr 1 22:42:42 2003 +0000 Note to self... TODO | 2 ++ 1 file changed, 2 insertions(+) commit 3b390ef9b978b7b3b44b355c12befe580a917e11 Author: Bruce Guenter Date: Tue Apr 1 22:42:27 2003 +0000 Switch from uint32_unpack to uint32_get (could produce better code). cdb/find.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f793d488616189905b80bd11b1bb294828d77ab9 Author: Bruce Guenter Date: Tue Apr 1 22:41:59 2003 +0000 Remember to close (and thereby flush) the output file. cdb/make.c | 1 + 1 file changed, 1 insertion(+) commit bbf56464ce32501a5d4475e28b89c02f80c9c4a8 Author: Bruce Guenter Date: Tue Apr 1 22:41:20 2003 +0000 Install all the ADT headers. insthier.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e1ca04504483d1a640c80062ff075063ec1309c8 Author: Bruce Guenter Date: Tue Apr 1 22:40:59 2003 +0000 Don't blow up when retrieving an entry from an empty table. adt/ghash_get.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 77cd79c67f7ee145ac2b8987bd05d35ec2ff8696 Author: Bruce Guenter Date: Tue Apr 1 22:40:23 2003 +0000 Add support for separators in long option listings. cli/cli.h | 1 + cli/main.c | 6 ++++++ 2 files changed, 7 insertions(+) commit 2a8e0cc4e339fd139600e10b4c4d3f2c4d27dd1a Author: Bruce Guenter Date: Tue Apr 1 13:31:37 2003 +0000 Add a new option type: CLI_FUNCTION. When options of this type are found, a function is called with the corresponding command-line argument. cli/cli.h | 3 +++ cli/main.c | 5 +++++ 2 files changed, 8 insertions(+) commit c7d79a032814798d42307df767b678db34ff0d3e Author: Bruce Guenter Date: Tue Apr 1 13:19:49 2003 +0000 Add a pointer to the option in each stringlist node, for setups where multiple options add to the same list. cli/cli.h | 15 ++++++++------- cli/main.c | 6 ++++-- 2 files changed, 12 insertions(+), 9 deletions(-) commit a5fe13d8374692a0083b2ddde234ed5377678eb6 Author: Bruce Guenter Date: Wed Mar 26 17:52:36 2003 +0000 Added note about Subversion repository. README.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 16b5f11add7fcf51a83f50bd69b4ffa5f2e6b18c Author: Bruce Guenter Date: Wed Mar 26 17:17:03 2003 +0000 Modified to allow running individual tests. selftests.sh | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) commit ed716837b68761c055037022c4ad2122c7a5a12a Author: Bruce Guenter Date: Wed Mar 26 17:16:43 2003 +0000 Reuse the str glob function, add dotfile tests. path/fnmatch.c | 236 ++++++++------------------------------------------------- 1 file changed, 30 insertions(+), 206 deletions(-) commit 3dcb73152d6220e9dbacaa90c386634516d91ff3 Author: Bruce Guenter Date: Wed Mar 26 17:08:55 2003 +0000 Added case insensitivity to str_match*. NEWS | 2 ++ str/match.c | 113 +++++++++++++++++++++++++++++++++++++++--------------------- str/str.h | 10 +++--- 3 files changed, 80 insertions(+), 45 deletions(-) commit ec66ca3808fabd809b2ec5d87f11c423030ed5d9 Author: Bruce Guenter Date: Wed Mar 26 16:44:14 2003 +0000 Added globbing function to str library. NEWS | 2 + str/glob.c | 433 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ str/lib=l | 1 + str/str.h | 5 +- 4 files changed, 440 insertions(+), 1 deletion(-) create mode 100644 str/glob.c commit 5120802c08343fd9e78b1db4b010f01099746423 Author: Bruce Guenter Date: Tue Mar 25 23:04:26 2003 +0000 Changed API for str_match function to allow for matching against binary or dynamic strings. str/match.c | 33 ++++++++++++++++++++++++--------- str/str.h | 4 +++- 2 files changed, 27 insertions(+), 10 deletions(-) commit 668ca6322b3e057b60b607228d51f29b3e6a708c Author: Bruce Guenter Date: Tue Mar 25 18:46:23 2003 +0000 Moved tests into the ghash sources so the selftests mechanism will run them. adt/ghash_add.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ adt/ghash_test.c | 53 ------------------------ 2 files changed, 122 insertions(+), 53 deletions(-) delete mode 100644 adt/ghash_test.c commit d364fbe6f3f75d6a323f53748a72857f3f5f45f1 Author: Bruce Guenter Date: Tue Mar 25 17:24:29 2003 +0000 Renamed global to avoid naming conflicts. adt/ghash_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 88536a72caa8b233564f76f2866726f0c2027a29 Author: Bruce Guenter Date: Tue Mar 25 17:24:01 2003 +0000 Added stack and queue ADTs. NEWS | 1 + TODO | 2 +- adt/gqueue.h | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ adt/gqueue_pop.c | 17 +++++++++++++++++ adt/gqueue_push.c | 19 +++++++++++++++++++ adt/gqueue_top.c | 6 ++++++ adt/gstack.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ adt/gstack_pop.c | 15 +++++++++++++++ adt/gstack_push.c | 18 ++++++++++++++++++ adt/gstack_top.c | 6 ++++++ adt/lib=l | 6 ++++++ 11 files changed, 186 insertions(+), 1 deletion(-) create mode 100644 adt/gqueue.h create mode 100644 adt/gqueue_pop.c create mode 100644 adt/gqueue_push.c create mode 100644 adt/gqueue_top.c create mode 100644 adt/gstack.h create mode 100644 adt/gstack_pop.c create mode 100644 adt/gstack_push.c create mode 100644 adt/gstack_top.c commit 2f3793931d93495fc13733e5c87eb04620dbe32b Author: Bruce Guenter Date: Tue Mar 25 17:22:44 2003 +0000 Moved the function prototypes into a common header. adt/common.h | 9 +++++++++ adt/ghash.h | 35 ++++++++++++++++------------------- adt/ghash_add.c | 6 +++--- adt/ghash_free.c | 4 ++-- adt/ghash_get.c | 2 +- adt/ghash_rehash.c | 2 +- 6 files changed, 32 insertions(+), 26 deletions(-) create mode 100644 adt/common.h commit b40ce9174623784157bc49ffc16e0ea5e658fb50 Author: Bruce Guenter Date: Fri Mar 21 22:32:22 2003 +0000 Added some more tests, and URLs to where I found the vectors. crc/crc32_update.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit ba506625808346b9b9c098c0e7db34d30c9350ba Author: Bruce Guenter Date: Fri Mar 21 20:36:03 2003 +0000 Moved (most of) the self-tests into the main source module so they will get included in the resulting tarball. crypto/md4-test.c | 43 -------------------- crypto/md4.c | 101 +++++++++++++++++------------------------------ crypto/md5-test.c | 45 --------------------- crypto/md5.c | 92 +++++++++++++++++++++---------------------- crypto/sha1.c | 72 ++++++++++++++++----------------- crypto/sha256.c | 107 +++++++++++++++++++++++++++++++++----------------- crypto/sha256.h | 15 ++++--- crypto/sha256test.c | 38 ------------------ crypto/sha512a-test.c | 38 ------------------ crypto/sha512a.c | 38 ++++++++++++++++++ 10 files changed, 235 insertions(+), 354 deletions(-) delete mode 100644 crypto/md4-test.c delete mode 100644 crypto/md5-test.c delete mode 100644 crypto/sha256test.c delete mode 100644 crypto/sha512a-test.c commit 35be84027bab228f1ccf2661b3da78459491e51f Author: Bruce Guenter Date: Fri Mar 21 20:05:00 2003 +0000 Don't try to output the entire self-test contents in the diff. selftests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 817462de86b116a072bbc0cb9b46de95f85622c9 Author: Bruce Guenter Date: Fri Mar 21 20:04:31 2003 +0000 Added self-tests. path/match.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ str/match.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) commit 94f0ba071ff79955e342c854111897c0e7d8e215 Author: Bruce Guenter Date: Fri Mar 21 20:03:54 2003 +0000 Added self-tests, which showed up several bugs. path/fnmatch.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 175 insertions(+), 4 deletions(-) commit f0d1e5c2d9fafd1f46359a2002d48a374b89a8bb Author: Bruce Guenter Date: Thu Mar 20 21:40:20 2003 +0000 Moved the iopoll, setenv, and unsetenv objects into the sys subdirectory. libbg-sysdeps=l | 6 +++--- iopoll.c => sys/iopoll.c | 0 setenv.c => sys/setenv.c | 0 unsetenv.c => sys/unsetenv.c | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename iopoll.c => sys/iopoll.c (100%) rename setenv.c => sys/setenv.c (100%) rename unsetenv.c => sys/unsetenv.c (100%) commit 451941fc65964b5fdb206ee7703f29be099d3a6b Author: Bruce Guenter Date: Thu Mar 20 21:02:04 2003 +0000 Don't strip the environment, for setups where env vars are required to compile. selftests.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b66c8459d25e555884181e4032966147d7ee2793 Author: Bruce Guenter Date: Thu Mar 20 19:25:36 2003 +0000 Broke out the #ifdef and #endif constants into the head/tail files. sysdeps-head.h | 3 +++ sysdeps-tail.h | 1 + sysdeps.h.spac | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) commit 6db54cc166297de7f7c1bc91cee43839cf0c41f6 Author: Bruce Guenter Date: Thu Mar 20 19:22:43 2003 +0000 msg_show_pid should be const. msg/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91a83c0177b7e1c9fe08fdc198a2a0f5ab2b2376 Author: Bruce Guenter Date: Thu Mar 20 19:22:22 2003 +0000 Since is already included, just use pid_t instead of int. sys/fork.h1 | 2 +- sys/fork.h2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 6f003695c2a04c21af9a6fc55baa032fbb7973d2 Author: Bruce Guenter Date: Thu Mar 20 19:22:01 2003 +0000 Merged the includes of into one place. sys/direntry.h1 | 1 - sys/direntry.h2 | 1 - sys/haspeercred.h2 | 1 - sys/iopoll.h2 | 1 - sys/select.h1 | 1 - sys/select.h2 | 1 - sysdeps-head.h | 1 + 7 files changed, 1 insertion(+), 6 deletions(-) commit b774f94be658a93d20dc26dc5f2a5dc0695cf52a Author: Bruce Guenter Date: Thu Mar 20 17:25:19 2003 +0000 Portability fixes. selftests.sh | 36 ++++++++++++++++++++++++++++++------ selftests.spac | 2 +- 2 files changed, 31 insertions(+), 7 deletions(-) commit ff68c278d7a101f5469dc6adea5ae816ede3400d Author: Bruce Guenter Date: Thu Mar 20 17:24:52 2003 +0000 Added missing define. crypto/sha512a.h | 2 ++ 1 file changed, 2 insertions(+) commit 92f1a3f6194199cca07d3f6dfb63d7a77b1c5b50 Author: Bruce Guenter Date: Thu Mar 20 17:23:12 2003 +0000 Added SHA-1 test vectors, parsed from the FIPS reference document. crypto/sha1test.c | 490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 490 insertions(+) create mode 100644 crypto/sha1test.c commit 1c0195d78e5e6a128a56b58612f2cb7142f9ac55 Author: Bruce Guenter Date: Thu Mar 20 17:22:32 2003 +0000 Added MD4 code and tests. crypto/lib=l | 1 + crypto/md4-test.c | 43 ++++++ crypto/md4.c | 366 ++++++++++++++++++++++++++++++++++++++++++++++++ crypto/{md5.h => md4.h} | 75 ++++------ 4 files changed, 436 insertions(+), 49 deletions(-) create mode 100644 crypto/md4-test.c create mode 100644 crypto/md4.c copy crypto/{md5.h => md4.h} (63%) commit 37e234b19f8d59d11e721a3d7f166c747be64098 Author: Bruce Guenter Date: Thu Mar 20 17:22:06 2003 +0000 Fixed up these tests so the selftest system would run them. crypto/md5-test.c | 13 +++++++ crypto/sha256test.c | 102 +++++++++++++------------------------------------- crypto/sha512a-test.c | 102 ++++++++++++-------------------------------------- 3 files changed, 61 insertions(+), 156 deletions(-) commit daec8389b9a32c1761ebea3e99938e763cac8bd3 Author: Bruce Guenter Date: Thu Mar 20 17:21:24 2003 +0000 Fixed typo in endian detection test. crypto/sha1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 97398ad89d6121ca00c21b94a51b66ca387d4e2a Author: Bruce Guenter Date: Thu Mar 20 17:20:46 2003 +0000 Bumped up version number. NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 92ed7e59e572f7a157eb14372232e59892cde10a Author: Bruce Guenter Date: Wed Mar 19 23:00:22 2003 +0000 Added missing (assumed) library. selftests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82f430e37534ffa2b405669198a0409b062477e0 Author: Bruce Guenter Date: Wed Mar 19 22:46:19 2003 +0000 Some portability and cleanliness fixes. selftests.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 813cc450e71c531598394dcf56ea59149a40a17e Author: Bruce Guenter Date: Wed Mar 19 22:35:38 2003 +0000 Fixed up selftests target so it gets properly included in distributed tarball. selftests.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c02fdf8ae12dfb774eb1f04f4f2cef4c3b4fba63 Author: Bruce Guenter Date: Wed Mar 19 22:27:01 2003 +0000 Rewrote the test cases to make adding more cases easier. crc/crc16_xmodem_update.c | 3 +-- crc/crc64_update.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 82f52a1bd2bee5035bf004a3352f8be88d37390a Author: Bruce Guenter Date: Wed Mar 19 22:26:43 2003 +0000 Added more test cases gleaned from the web. Still looking for more XMODEM CRC test cases. crc/crc16_arc_update.c | 9 +++++++-- crc/crc16_ccitt_update.c | 23 +++++++++++++++++++++-- crc/crc32_update.c | 31 +++++++++++++++++++++++++++++-- 3 files changed, 57 insertions(+), 6 deletions(-) commit d8744fed163743b497ae3a35662983b3fa336271 Author: Bruce Guenter Date: Wed Mar 19 22:25:43 2003 +0000 Fixed wrong polynomial value for XMODEM CRC. crc/crc16_xmodem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bceaf967da35db976e615d8fba1fa071e416078 Author: Bruce Guenter Date: Tue Mar 18 22:19:07 2003 +0000 Added tests to check the mmap bug in iobuf_init. iobuf/iobuf_init.c | 20 ++++++++++++++++++++ selftest.c | 7 +++++++ 2 files changed, 27 insertions(+) commit 35b1d57977d819451009ad6533628c6688a4acc0 Author: Bruce Guenter Date: Tue Mar 18 20:07:24 2003 +0000 Added self-tests for CRC routines. I only have confirmation on the ARC and CRC32 check codes from external sources. The other three (CCITT, XMODEM, and CRC64) may be suspect. crc/crc16_arc_update.c | 12 ++++++++++++ crc/crc16_ccitt_update.c | 12 ++++++++++++ crc/crc16_xmodem_update.c | 12 ++++++++++++ crc/crc32_update.c | 12 ++++++++++++ crc/crc64_update.c | 12 ++++++++++++ 5 files changed, 60 insertions(+) commit 1a03e24c1fc2b24620212b1fc3e36f85b64fcffd Author: Bruce Guenter Date: Tue Mar 18 17:07:32 2003 +0000 Using a while loop made $exitcode a local variable, preventing a proper error exit when one test failed. selftests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4df7a2014796645f7a6a4920a7715065fad0e873 Author: Bruce Guenter Date: Tue Mar 18 17:03:16 2003 +0000 Added prototype and lib entry for common obuf_sign_pad function. iobuf/iobuf.h | 1 + iobuf/lib=l | 1 + 2 files changed, 2 insertions(+) commit e107ecf4e0362ee4deab04c4385ab64efee4a9d1 Author: Bruce Guenter Date: Tue Mar 18 17:02:49 2003 +0000 Removed old self test files. err/test.c | 11 ----------- err/test=x | 2 -- iobuf/test.c | 27 --------------------------- iobuf/test.exp | 14 -------------- iobuf/test=x | 1 - msg/test.c | 11 ----------- msg/test=x | 2 -- path/test.c | 28 ---------------------------- path/test.exp | 8 -------- path/test=x | 4 ---- str/test.c | 32 -------------------------------- str/test.exp | 11 ----------- str/test=x | 1 - 13 files changed, 152 deletions(-) delete mode 100644 err/test.c delete mode 100644 err/test=x delete mode 100644 iobuf/test.c delete mode 100644 iobuf/test.exp delete mode 100644 iobuf/test=x delete mode 100644 msg/test.c delete mode 100644 msg/test=x delete mode 100644 path/test.c delete mode 100644 path/test.exp delete mode 100644 path/test=x delete mode 100644 str/test.c delete mode 100644 str/test.exp delete mode 100644 str/test=x commit d5e7431450e642c42619aafd15f23b2baacee2d1 Author: Bruce Guenter Date: Tue Mar 18 17:01:52 2003 +0000 Added initial tests; fixed some new bugs in iobuf/obuf_put*numw.c iobuf/obuf_put2s.c | 15 +++++++++++++++ iobuf/obuf_put3s.c | 17 +++++++++++++++++ iobuf/obuf_put4s.c | 19 +++++++++++++++++++ iobuf/obuf_put5s.c | 21 +++++++++++++++++++++ iobuf/obuf_put6s.c | 23 +++++++++++++++++++++++ iobuf/obuf_put7s.c | 25 +++++++++++++++++++++++++ iobuf/obuf_putsllnumw.c | 50 ++++++++++++++++++++++++++++++++++++------------- iobuf/obuf_putsnumw.c | 34 ++++++++++++++++++++++----------- iobuf/obuf_putullnumw.c | 45 ++++++++++++++++++++++++++++++++++++++------ iobuf/obuf_putunumw.c | 35 ++++++++++++++++++++++++++++++---- iobuf/obuf_sign_pad.c | 31 ++++++++++++++++++++++++++++++ iobuf/obuf_write.c | 21 +++++++++++++++++++++ msg/common.c | 13 +++++++++++++ path/merge.c | 31 ++++++++++++++++++++++++++++++ str/alloc.c | 24 ++++++++++++++++++++++++ str/cat2s.c | 13 +++++++++++++ str/cat3s.c | 13 +++++++++++++ str/cat4s.c | 13 +++++++++++++ str/cat5s.c | 13 +++++++++++++ str/cat6s.c | 13 +++++++++++++ str/copy.c | 16 ++++++++++++++++ str/copy2s.c | 12 ++++++++++++ str/copy3s.c | 12 ++++++++++++ str/copy4s.c | 12 ++++++++++++ str/copy5s.c | 12 ++++++++++++ str/copy6s.c | 12 ++++++++++++ str/findnext.c | 18 ++++++++++++++++++ str/findnextof.c | 18 ++++++++++++++++++ str/findprev.c | 20 ++++++++++++++++++++ str/findprevof.c | 21 +++++++++++++++++++++ str/free.c | 16 ++++++++++++++++ str/init.c | 12 ++++++++++++ 32 files changed, 616 insertions(+), 34 deletions(-) create mode 100644 iobuf/obuf_sign_pad.c commit 8f5c90d21324325a56b15283746bf4a45c8ec561 Author: Bruce Guenter Date: Tue Mar 18 16:58:21 2003 +0000 Added missing SPAC files to repository. installer.spac | 3 +++ instcheck.spac | 3 +++ instshow.spac | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 installer.spac create mode 100644 instcheck.spac create mode 100644 instshow.spac commit 97c8edd65a3e934b3b1c0f4a9ed4e90748a5decb Author: Bruce Guenter Date: Tue Mar 18 16:57:57 2003 +0000 Started building up self-test framework. all.spac | 2 +- selftest.c | 40 ++++++++++++++++++++++++++++++++++++++++ selftests.sh | 29 +++++++++++++++++++++++++++++ selftests.spac | 2 ++ 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 selftest.c create mode 100644 selftests.sh create mode 100644 selftests.spac commit 0e4de1bdff8ec75a7826e1467195b004fc7f7ed8 Author: Bruce Guenter Date: Mon Mar 17 23:56:08 2003 +0000 Added note about CRC generation. TODO | 4 ++++ 1 file changed, 4 insertions(+) commit f05eba66898947bfaf673dabb7141fc868b298cf Author: Bruce Guenter Date: Mon Mar 17 23:28:50 2003 +0000 Added generic number appending routines to str. NEWS | 3 ++- str/catiw.c | 41 +++++++++-------------------------------- str/catiwll.c | 40 +++++++++------------------------------- str/{catiwll.c => catsllnum.c} | 19 ++++++++++--------- str/{catiw.c => catsnum.c} | 18 +++++++++--------- str/{catuwll.c => catullnum.c} | 19 ++++++++++--------- str/{catuw.c => catunum.c} | 18 +++++++++--------- str/catuw.c | 28 ++++++++-------------------- str/catuwll.c | 31 ++++++++++--------------------- str/catxw.c | 30 ++++++++---------------------- str/{findnext.c => catxwll.c} | 22 ++++++++++++---------- str/digits.c | 7 +++++++ str/lib=l | 6 ++++++ str/str.h | 26 +++++++++++++++++++++----- 14 files changed, 130 insertions(+), 178 deletions(-) copy str/{catiwll.c => catsllnum.c} (74%) copy str/{catiw.c => catsnum.c} (75%) copy str/{catuwll.c => catullnum.c} (69%) copy str/{catuw.c => catunum.c} (70%) copy str/{findnext.c => catxwll.c} (59%) create mode 100644 str/digits.c commit 637185658fa0181674c56180166e87ec4ea1a72e Author: Bruce Guenter Date: Mon Mar 17 21:09:01 2003 +0000 Added some documentation notes, and merged the digit strings. iobuf/iobuf.h | 4 ++++ iobuf/lib=l | 1 + iobuf/obuf_digits.c | 5 +++++ iobuf/obuf_putsllnumw.c | 10 +++++----- iobuf/obuf_putsnumw.c | 8 ++++---- iobuf/obuf_putullnumw.c | 32 +++++++++++++++++++------------- iobuf/obuf_putunumw.c | 26 ++++++++++++++------------ 7 files changed, 52 insertions(+), 34 deletions(-) create mode 100644 iobuf/obuf_digits.c commit 5af764100d18ec6d1998cff2f8b3c54fd764b25e Author: Bruce Guenter Date: Mon Mar 17 20:31:09 2003 +0000 Added generic number output routines, replacing the existing specific ones. NEWS | 2 ++ iobuf/iobuf.h | 24 ++++++++++--- iobuf/lib=l | 9 +++-- iobuf/obuf_putiwll.c | 42 ---------------------- iobuf/obuf_putsllnumw.c | 60 +++++++++++++++++++++++++++++++ iobuf/{obuf_putiw.c => obuf_putsnumw.c} | 31 +++++++++++----- iobuf/obuf_putullnumw.c | 64 +++++++++++++++++++++++++++++++++ iobuf/obuf_putunumw.c | 62 ++++++++++++++++++++++++++++++++ iobuf/obuf_putuw.c | 24 ------------- iobuf/obuf_putuwll.c | 25 ------------- iobuf/obuf_putxw.c | 27 -------------- 11 files changed, 234 insertions(+), 136 deletions(-) delete mode 100644 iobuf/obuf_putiwll.c create mode 100644 iobuf/obuf_putsllnumw.c rename iobuf/{obuf_putiw.c => obuf_putsnumw.c} (54%) create mode 100644 iobuf/obuf_putullnumw.c create mode 100644 iobuf/obuf_putunumw.c delete mode 100644 iobuf/obuf_putuw.c delete mode 100644 iobuf/obuf_putuwll.c delete mode 100644 iobuf/obuf_putxw.c commit 25afa6edcc43e523b840b16eb7957407aa30b195 Author: Bruce Guenter Date: Fri Mar 14 20:40:28 2003 +0000 Added 3 16-bit CRC functions. NEWS | 2 ++ crc/crc16_arc.h | 14 ++++++++++++++ crc/crc16_arc_update.c | 9 +++++++++ crc/crc16_ccitt.h | 14 ++++++++++++++ crc/crc16_ccitt_update.c | 9 +++++++++ crc/crc16_xmodem.h | 14 ++++++++++++++ crc/crc16_xmodem_update.c | 9 +++++++++ crc/lib=l | 6 ++++++ 8 files changed, 77 insertions(+) create mode 100644 crc/crc16_arc.h create mode 100644 crc/crc16_arc_update.c create mode 100644 crc/crc16_ccitt.h create mode 100644 crc/crc16_ccitt_update.c create mode 100644 crc/crc16_xmodem.h create mode 100644 crc/crc16_xmodem_update.c commit 20a282648c705b6995a42ac9e420d644882ffcae Author: Bruce Guenter Date: Fri Mar 14 20:40:08 2003 +0000 Fixed some minor bugs, mostly related to 16-bit usage. crc/gentab.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 7feac98299e46b7d35518974e46a7f4338f0b444 Author: Bruce Guenter Date: Fri Mar 14 20:38:25 2003 +0000 Added missing note about 64-bit CRC changes. NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 2d2d4081dc2dacb47fbf68b278ef54be5f87027e Author: Bruce Guenter Date: Fri Mar 14 20:18:46 2003 +0000 Removed the (now) unneeded build rules. load.spac | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 load.spac commit 7a85382b76be0a827a66e031721876fa91dc645e Author: Bruce Guenter Date: Fri Mar 14 20:07:27 2003 +0000 Switched the 64-bit CRC code from a "reversed" to a "normal" algorithm. crc/crc64_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68d30a3e24d661b0da82b9c4ba2ddc81a1b9f70e Author: Bruce Guenter Date: Fri Mar 14 20:06:45 2003 +0000 Added CRC##POST and crc##_block definitions. crc/crc32.h | 3 +++ crc/crc64.h | 1 + 2 files changed, 4 insertions(+) commit ab788b0e87f22583eb8b6994c9ace69d751f989e Author: Bruce Guenter Date: Fri Mar 14 20:04:32 2003 +0000 Switched the polynomial to something more useful looking, first seen in the PostgreSQL code, taken in turn from the DLT1 spec (ECMA-182). crc/crc64.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 48014b4a7bf9c9ade7783e0814230490941821cc Author: Bruce Guenter Date: Fri Mar 14 20:00:44 2003 +0000 Expanded the code to allow for normal and reversed generators. crc/gentab.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 69 insertions(+), 21 deletions(-) commit 35cdba285220782b782dac3b4fd240fbea766ac5 Author: Bruce Guenter Date: Sun Mar 9 02:45:58 2003 +0000 Fixed bug in parameters to mmap in iobuf_init. NEWS | 2 ++ iobuf/iobuf_init.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit f5cb0ef7dd24ca8ab286ebed71d3bd6078a5f647 Author: Bruce Guenter Date: Sun Mar 9 02:44:04 2003 +0000 Bumped up version. NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e2f640c2537b4904e24c99f1de60c987733a76a4 Author: Bruce Guenter Date: Wed Mar 5 23:21:51 2003 +0000 Don't copy the documentation until SPAC makedist knows how. makedist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 915badfd3694a183bf13049c644b0987fb705615 Author: Bruce Guenter Date: Wed Mar 5 22:30:06 2003 +0000 Reorganized the installed library (again). insthier.c | 109 +++++++++++++++++----------------------- libsysdeps=l => libbg-sysdeps=l | 0 2 files changed, 46 insertions(+), 63 deletions(-) rename libsysdeps=l => libbg-sysdeps=l (100%) commit c49aa5dc8ccaf821fe6c5d43ea6026e968b175e5 Author: Bruce Guenter Date: Wed Mar 5 22:29:02 2003 +0000 Add the documentation to the web site. makedist.py | 1 + 1 file changed, 1 insertion(+) commit 668de4a5ff5b9d5fd27919107fbb76a44742715e Author: Bruce Guenter Date: Wed Mar 5 22:26:43 2003 +0000 More notes. TODO | 5 +++++ 1 file changed, 5 insertions(+) commit 8453d1aac2e372452e0f4dbc8a5030c47310ea76 Author: Bruce Guenter Date: Wed Mar 5 21:04:41 2003 +0000 Add the documentation to the resulting RPM (and comment on it). NEWS | 2 ++ spec | 1 + 2 files changed, 3 insertions(+) commit bf9fcbf6fa42d204f3f6657f493061801546dc0a Author: Bruce Guenter Date: Fri Feb 21 20:40:59 2003 +0000 Add random_trunc function, which truncates (with integer modulus) instead of scaling (with floating point divide and multiply) the base random number. misc/misc.h | 1 + 1 file changed, 1 insertion(+) commit a88f7ebf5200a7df1ac75591d94e1988d41995ee Author: Bruce Guenter Date: Fri Feb 21 20:39:48 2003 +0000 Avoid variable name conflict with "uint". vmailmgr/vpwentry_import.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f0d80da28dbc7142ca0aec096e8adc967390e4f9 Author: Bruce Guenter Date: Tue Feb 11 15:36:58 2003 +0000 Added the "Mersenne Twister" random number generator MT19937. NEWS | 3 +- misc/lib=l | 1 + misc/misc.h | 6 +++ misc/random.c | 171 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 misc/random.c commit 7af33db8b4004d484e20218ed5501036a8277fde Author: Bruce Guenter Date: Tue Feb 11 00:01:57 2003 +0000 Added note about portability fixes. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 33f09e7c1eba2c0b5f33d974eda664e8fa1fc97e Author: Bruce Guenter Date: Tue Feb 11 00:00:44 2003 +0000 Added missing cvm and pwcmp symlinks. insthier.c | 6 ++++++ 1 file changed, 6 insertions(+) commit fbf5b9c1da353780074ca0129f80dd5f6b43664e Author: Bruce Guenter Date: Mon Feb 10 23:41:31 2003 +0000 Work on systems that don't define _NSIG unix/sig_all.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d68ec2788995c9d7f4a9b78e814c5de5fa033d35 Author: Bruce Guenter Date: Tue Feb 4 00:04:30 2003 +0000 Added a standard msg_debug_init function to allow setting msg_debug_bits at runtime from $MSG_DEBUG msg/debug.c | 9 +++++++++ msg/msg.h | 1 + 2 files changed, 10 insertions(+) commit 676d09895d506b23bc37d0cc063e84e76dd42d57 Author: Bruce Guenter Date: Mon Feb 3 23:53:59 2003 +0000 Remember to actually increment the slot pointer when probing. adt/ghash_get.c | 1 + 1 file changed, 1 insertion(+) commit f61b78518a157e32eecf928e7f9cde9e9a67a3b7 Author: Bruce Guenter Date: Mon Feb 3 23:52:28 2003 +0000 Added 32 and 64 bit CRC functions. NEWS | 2 ++ crc/crc32.h | 12 +++++++++ crc/crc32_update.c | 9 +++++++ crc/crc64.h | 13 ++++++++++ crc/crc64_update.c | 9 +++++++ crc/gentab.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ crc/lib=l | 4 +++ insthier.c | 6 +++++ 8 files changed, 129 insertions(+) create mode 100644 crc/crc32.h create mode 100644 crc/crc32_update.c create mode 100644 crc/crc64.h create mode 100644 crc/crc64_update.c create mode 100644 crc/gentab.c create mode 100644 crc/lib=l commit 0cc23ead39744ee511ee11b34054aa1bdce8cab6 Author: Bruce Guenter Date: Wed Jan 22 18:07:13 2003 +0000 Fixed a typo -- need to look at in->count, not ibuf.count. Thanks to Lars Uffmann for the fix. iobuf/ibuf_getstr_crlf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58d67ff4f9d0926932b238e2b958ba8e31054347 Author: Bruce Guenter Date: Tue Jan 21 22:29:48 2003 +0000 Added new ADT (abstract data type): generic hash table. adt/ghash.h | 115 ++++++++++++++++++++++++++++++++++++++++++ dict/add.c => adt/ghash_add.c | 54 +++++++++++--------- adt/ghash_foreach.c | 10 ++++ adt/ghash_free.c | 27 ++++++++++ adt/ghash_get.c | 20 ++++++++ adt/ghash_hash.c | 17 +++++++ adt/ghash_init.c | 8 +++ adt/ghash_insert.c | 11 ++++ adt/ghash_rehash.c | 26 ++++++++++ adt/ghash_search.c | 12 +++++ adt/ghash_test.c | 53 +++++++++++++++++++ adt/lib=l | 9 ++++ insthier.c | 5 ++ 13 files changed, 343 insertions(+), 24 deletions(-) create mode 100644 adt/ghash.h copy dict/add.c => adt/ghash_add.c (66%) create mode 100644 adt/ghash_foreach.c create mode 100644 adt/ghash_free.c create mode 100644 adt/ghash_get.c create mode 100644 adt/ghash_hash.c create mode 100644 adt/ghash_init.c create mode 100644 adt/ghash_insert.c create mode 100644 adt/ghash_rehash.c create mode 100644 adt/ghash_search.c create mode 100644 adt/ghash_test.c create mode 100644 adt/lib=l commit d9014be863617765beeba0e6906547ff109d3644 Author: Bruce Guenter Date: Thu Jan 9 22:32:08 2003 +0000 Added Doxygen documentation to the iobuf library. config.dxy | 2 +- iobuf/ibuf_getc.c | 1 + iobuf/ibuf_gets.c | 1 + iobuf/ibuf_getstr.c | 3 +- iobuf/ibuf_getstr_crlf.c | 3 +- iobuf/ibuf_getu.c | 1 + iobuf/ibuf_init.c | 1 + iobuf/ibuf_open.c | 1 + iobuf/ibuf_peek.c | 2 + iobuf/ibuf_read.c | 12 ++++++ iobuf/ibuf_refill.c | 4 ++ iobuf/ibuf_seek.c | 1 + iobuf/ibuf_status.c | 1 + iobuf/ibuf_stdin.c | 1 + iobuf/ibuf_tell.c | 1 + iobuf/iobuf.h | 103 +++++++++++++++++++++++++++++++++++++++++----- iobuf/iobuf_close.c | 1 + iobuf/iobuf_copy.c | 3 ++ iobuf/iobuf_init.c | 2 + iobuf/iobuf_timeout.c | 1 + iobuf/obuf_close.c | 1 + iobuf/obuf_endl.c | 3 +- iobuf/obuf_flush.c | 1 + iobuf/obuf_init.c | 1 + iobuf/obuf_open.c | 1 + iobuf/obuf_pad.c | 1 + iobuf/obuf_put2s.c | 1 + iobuf/obuf_put3s.c | 1 + iobuf/obuf_put4s.c | 1 + iobuf/obuf_put5s.c | 1 + iobuf/obuf_put6s.c | 1 + iobuf/obuf_put7s.c | 1 + iobuf/obuf_putc.c | 1 + iobuf/obuf_putiw.c | 1 + iobuf/obuf_putiwll.c | 2 + iobuf/obuf_putnetstring.c | 1 + iobuf/obuf_putsflush.c | 1 + iobuf/obuf_putuw.c | 1 + iobuf/obuf_putuwll.c | 2 + iobuf/obuf_putxw.c | 2 + iobuf/obuf_seek.c | 1 + iobuf/obuf_stderr.c | 1 + iobuf/obuf_stdout.c | 1 + iobuf/obuf_sync.c | 1 + iobuf/obuf_write.c | 2 + 45 files changed, 161 insertions(+), 15 deletions(-) commit a493e75f9cfb9a3066ddd23f5d4e10989274dbed Author: Bruce Guenter Date: Wed Jan 8 17:13:25 2003 +0000 Added Doxygen documentation to the net library. config.dxy | 2 +- net/accept4.c | 3 ++- net/acceptu.c | 1 + net/bind4.c | 3 ++- net/bindu.c | 1 + net/broadcast.c | 1 + net/connect4.c | 3 ++- net/connected.c | 1 + net/connectu.c | 1 + net/cork.c | 11 +++++++++++ net/getaddr4.c | 3 ++- net/ipv4.h | 10 ++++++++++ net/ipv4_addr.c | 2 ++ net/ipv4_format.c | 5 +++++ net/ipv4_scan.c | 12 ++++++++++++ net/linger.c | 1 + net/listen.c | 1 + net/pairdgm.c | 1 + net/pairstr.c | 1 + net/recv4.c | 3 ++- net/recvfd.c | 1 + net/recvu.c | 1 + net/resolve.h | 10 ++++++++++ net/resolve_error.c | 1 + net/resolve_ipv4addr.c | 1 + net/resolve_ipv4name.c | 1 + net/reuse.c | 1 + net/send4.c | 3 ++- net/sendfd.c | 1 + net/sendu.c | 1 + net/shutdown.c | 1 + net/socket.h | 27 ++++++++++++++++++++++++--- net/tcp.c | 1 + net/udp.c | 1 + net/uncork.c | 1 + net/unixdgm.c | 1 + net/unixstr.c | 1 + 37 files changed, 110 insertions(+), 10 deletions(-) commit 6159ca5d688f00b31c43de9b5062b796ad900ccf Author: Bruce Guenter Date: Tue Jan 7 19:35:10 2003 +0000 Created initial Doxygen configuration. config.dxy | 921 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 921 insertions(+) create mode 100644 config.dxy commit 95d999f51066fb656e73fdeeb6ce966c5dfc654e Author: Bruce Guenter Date: Tue Jan 7 19:34:40 2003 +0000 Added some doxygen-style documentation to the str library. str/alloc.c | 10 +++++++++ str/buildmap.c | 6 +++++ str/cat.c | 4 ++++ str/cat2s.c | 1 + str/cat3s.c | 1 + str/cat4s.c | 1 + str/cat5s.c | 1 + str/cat6s.c | 1 + str/catiw.c | 2 ++ str/catiwll.c | 2 ++ str/catuw.c | 2 ++ str/catuwll.c | 2 ++ str/catxw.c | 2 ++ str/cmp.c | 9 ++++++++ str/copy.c | 3 +++ str/copy2s.c | 1 + str/copy3s.c | 1 + str/copy4s.c | 1 + str/copy5s.c | 1 + str/copy6s.c | 1 + str/count.c | 1 + str/countof.c | 1 + str/cut.c | 2 ++ str/diff.c | 10 +++++++++ str/findnext.c | 1 + str/findnextnot.c | 2 ++ str/findnextof.c | 2 ++ str/findprev.c | 1 + str/findprevnot.c | 2 ++ str/findprevof.c | 2 ++ str/free.c | 3 +++ str/init.c | 1 + str/iter.h | 23 +++++++++++++++++++ str/iter_advance.c | 1 + str/iter_start.c | 1 + str/iter_valid.c | 1 + str/join.c | 4 +++- str/lower.c | 1 + str/lstrip.c | 1 + str/match.c | 1 + str/rstrip.c | 1 + str/sort.c | 11 +++++++++ str/str.h | 66 +++++++++++++++++++++++++++++++++++++++++++++--------- str/subst.c | 1 + str/truncate.c | 7 ++++++ str/upper.c | 1 + 46 files changed, 189 insertions(+), 11 deletions(-) commit ba1f4be52cfdf6a1d99bc77f9bf4e7d26d4e8d21 Author: Bruce Guenter Date: Mon Jan 6 21:20:02 2003 +0000 Added 2003 to Copyright stamp. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a618a03c435bbafe040d758e59ae2f1405e3633 Author: Bruce Guenter Date: Fri Jan 3 19:46:29 2003 +0000 Fixed some remaining bugs in the install paths. insthier.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d3ae65d40732080cbe7b56b9a4e10407c4322c9c Author: Bruce Guenter Date: Fri Jan 3 19:46:02 2003 +0000 Reflect the new path of trypoll.c in the hard-coded path. sys/trypoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55e44ead638d0fd53ded7504d48a4c5eb10d326 Author: Bruce Guenter Date: Fri Jan 3 19:45:37 2003 +0000 Report the source filename, not the destination file name, when reporting a failure to open a file. install/installer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e3764fe327fc887f9854bbd9e3fbe0ec9b1b79a Author: Bruce Guenter Date: Fri Jan 3 18:03:07 2003 +0000 Added note about internal reorganizations. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 26596afc17d56e70c0e1242c60e28ea394920968 Author: Bruce Guenter Date: Fri Jan 3 18:02:31 2003 +0000 Moved all the uint16/32/64 source code into subdirectories. libsysdeps=l | 30 +++++++++++++++--------------- uint16_get.c => uint16/get.c | 0 uint16_pack.c => uint16/pack.c | 0 uint16_unpack.c => uint16/unpack.c | 0 uint32_get_lsb.c => uint32/get_lsb.c | 0 uint32_get_msb.c => uint32/get_msb.c | 0 uint32_pack_lsb.c => uint32/pack_lsb.c | 0 uint32_pack_msb.c => uint32/pack_msb.c | 0 uint32_unpack_lsb.c => uint32/unpack_lsb.c | 0 uint32_unpack_msb.c => uint32/unpack_msb.c | 0 uint64_get_lsb.c => uint64/get_lsb.c | 0 uint64_get_msb.c => uint64/get_msb.c | 0 uint64_pack_lsb.c => uint64/pack_lsb.c | 0 uint64_pack_msb.c => uint64/pack_msb.c | 0 uint64_unpack_lsb.c => uint64/unpack_lsb.c | 0 uint64_unpack_msb.c => uint64/unpack_msb.c | 0 16 files changed, 15 insertions(+), 15 deletions(-) rename uint16_get.c => uint16/get.c (100%) rename uint16_pack.c => uint16/pack.c (100%) rename uint16_unpack.c => uint16/unpack.c (100%) rename uint32_get_lsb.c => uint32/get_lsb.c (100%) rename uint32_get_msb.c => uint32/get_msb.c (100%) rename uint32_pack_lsb.c => uint32/pack_lsb.c (100%) rename uint32_pack_msb.c => uint32/pack_msb.c (100%) rename uint32_unpack_lsb.c => uint32/unpack_lsb.c (100%) rename uint32_unpack_msb.c => uint32/unpack_msb.c (100%) rename uint64_get_lsb.c => uint64/get_lsb.c (100%) rename uint64_get_msb.c => uint64/get_msb.c (100%) rename uint64_pack_lsb.c => uint64/pack_lsb.c (100%) rename uint64_pack_msb.c => uint64/pack_msb.c (100%) rename uint64_unpack_lsb.c => uint64/unpack_lsb.c (100%) rename uint64_unpack_msb.c => uint64/unpack_msb.c (100%) commit 7671a92e1241b8864751de5574759c84ed6a91e3 Author: Bruce Guenter Date: Fri Jan 3 17:58:53 2003 +0000 Moved system dependancy tests and headers into a "sys" subdirectory. direntry.h1 => sys/direntry.h1 | 0 direntry.h2 => sys/direntry.h2 | 0 endian.h1 => sys/endian.h1 | 0 endian.h2 => sys/endian.h2 | 0 fork.h1 => sys/fork.h1 | 0 fork.h2 => sys/fork.h2 | 0 hasflock.h1 => sys/hasflock.h1 | 0 hasflock.h2 => sys/hasflock.h2 | 0 haspeercred.h1 => sys/haspeercred.h1 | 0 haspeercred.h2 => sys/haspeercred.h2 | 0 hassendfile.h1 => sys/hassendfile.h1 | 0 hassendfile.h2 => sys/hassendfile.h2 | 0 hassgact.h1 => sys/hassgact.h1 | 0 hassgact.h2 => sys/hassgact.h2 | 0 hassgprm.h1 => sys/hassgprm.h1 | 0 hassgprm.h2 => sys/hassgprm.h2 | 0 hasspnam.h1 => sys/hasspnam.h1 | 0 hasspnam.h2 => sys/hasspnam.h2 | 0 hasuserpw.h1 => sys/hasuserpw.h1 | 0 hasuserpw.h2 => sys/hasuserpw.h2 | 0 haswaitp.h1 => sys/haswaitp.h1 | 0 haswaitp.h2 => sys/haswaitp.h2 | 0 haszlib.h1 => sys/haszlib.h1 | 0 haszlib.h2 => sys/haszlib.h2 | 0 iopoll.h1 => sys/iopoll.h1 | 0 iopoll.h2 => sys/iopoll.h2 | 0 select.h1 => sys/select.h1 | 0 select.h2 => sys/select.h2 | 0 setenv.h1 => sys/setenv.h1 | 0 setenv.h2 => sys/setenv.h2 | 0 trydirent.c => sys/trydirent.c | 0 tryendian.c => sys/tryendian.c | 0 tryflock.c => sys/tryflock.c | 0 trypeercred.c => sys/trypeercred.c | 0 trypoll.c => sys/trypoll.c | 0 trysendfile.c => sys/trysendfile.c | 0 trysetenv.c => sys/trysetenv.c | 0 trysgact.c => sys/trysgact.c | 0 trysgprm.c => sys/trysgprm.c | 0 tryspnam.c => sys/tryspnam.c | 0 trysysel.c => sys/trysysel.c | 0 trysystime.c => sys/trysystime.c | 0 trytime.c => sys/trytime.c | 0 tryulong32.c => sys/tryulong32.c | 0 tryulong64.c => sys/tryulong64.c | 0 tryunaligned.c => sys/tryunaligned.c | 0 tryunsetenv.c => sys/tryunsetenv.c | 0 tryuserpw.c => sys/tryuserpw.c | 0 tryvfork.c => sys/tryvfork.c | 0 trywaitp.c => sys/trywaitp.c | 0 tryzlib.c => sys/tryzlib.c | 0 uint32.h1 => sys/uint32.h1 | 0 uint32.h2 => sys/uint32.h2 | 0 uint64.h1 => sys/uint64.h1 | 0 uint64.h2 => sys/uint64.h2 | 0 unaligned.h1 => sys/unaligned.h1 | 0 unaligned.h2 => sys/unaligned.h2 | 0 unsetenv.h1 => sys/unsetenv.h1 | 0 unsetenv.h2 => sys/unsetenv.h2 | 0 sysdeps.h.spac | 60 ++++++++++++++++++------------------ 60 files changed, 30 insertions(+), 30 deletions(-) rename direntry.h1 => sys/direntry.h1 (100%) rename direntry.h2 => sys/direntry.h2 (100%) rename endian.h1 => sys/endian.h1 (100%) rename endian.h2 => sys/endian.h2 (100%) rename fork.h1 => sys/fork.h1 (100%) rename fork.h2 => sys/fork.h2 (100%) rename hasflock.h1 => sys/hasflock.h1 (100%) rename hasflock.h2 => sys/hasflock.h2 (100%) rename haspeercred.h1 => sys/haspeercred.h1 (100%) rename haspeercred.h2 => sys/haspeercred.h2 (100%) rename hassendfile.h1 => sys/hassendfile.h1 (100%) rename hassendfile.h2 => sys/hassendfile.h2 (100%) rename hassgact.h1 => sys/hassgact.h1 (100%) rename hassgact.h2 => sys/hassgact.h2 (100%) rename hassgprm.h1 => sys/hassgprm.h1 (100%) rename hassgprm.h2 => sys/hassgprm.h2 (100%) rename hasspnam.h1 => sys/hasspnam.h1 (100%) rename hasspnam.h2 => sys/hasspnam.h2 (100%) rename hasuserpw.h1 => sys/hasuserpw.h1 (100%) rename hasuserpw.h2 => sys/hasuserpw.h2 (100%) rename haswaitp.h1 => sys/haswaitp.h1 (100%) rename haswaitp.h2 => sys/haswaitp.h2 (100%) rename haszlib.h1 => sys/haszlib.h1 (100%) rename haszlib.h2 => sys/haszlib.h2 (100%) rename iopoll.h1 => sys/iopoll.h1 (100%) rename iopoll.h2 => sys/iopoll.h2 (100%) rename select.h1 => sys/select.h1 (100%) rename select.h2 => sys/select.h2 (100%) rename setenv.h1 => sys/setenv.h1 (100%) rename setenv.h2 => sys/setenv.h2 (100%) rename trydirent.c => sys/trydirent.c (100%) rename tryendian.c => sys/tryendian.c (100%) rename tryflock.c => sys/tryflock.c (100%) rename trypeercred.c => sys/trypeercred.c (100%) rename trypoll.c => sys/trypoll.c (100%) rename trysendfile.c => sys/trysendfile.c (100%) rename trysetenv.c => sys/trysetenv.c (100%) rename trysgact.c => sys/trysgact.c (100%) rename trysgprm.c => sys/trysgprm.c (100%) rename tryspnam.c => sys/tryspnam.c (100%) rename trysysel.c => sys/trysysel.c (100%) rename trysystime.c => sys/trysystime.c (100%) rename trytime.c => sys/trytime.c (100%) rename tryulong32.c => sys/tryulong32.c (100%) rename tryulong64.c => sys/tryulong64.c (100%) rename tryunaligned.c => sys/tryunaligned.c (100%) rename tryunsetenv.c => sys/tryunsetenv.c (100%) rename tryuserpw.c => sys/tryuserpw.c (100%) rename tryvfork.c => sys/tryvfork.c (100%) rename trywaitp.c => sys/trywaitp.c (100%) rename tryzlib.c => sys/tryzlib.c (100%) rename uint32.h1 => sys/uint32.h1 (100%) rename uint32.h2 => sys/uint32.h2 (100%) rename uint64.h1 => sys/uint64.h1 (100%) rename uint64.h2 => sys/uint64.h2 (100%) rename unaligned.h1 => sys/unaligned.h1 (100%) rename unaligned.h2 => sys/unaligned.h2 (100%) rename unsetenv.h1 => sys/unsetenv.h1 (100%) rename unsetenv.h2 => sys/unsetenv.h2 (100%) commit ce1676596d3dab020ddaa4581d1d40564d113454 Author: Bruce Guenter Date: Fri Jan 3 16:52:39 2003 +0000 Added str_catxw function. str/{catuwll.c => catxw.c} | 16 +++++++++------- str/lib=l | 1 + str/str.h | 2 ++ 3 files changed, 12 insertions(+), 7 deletions(-) copy str/{catuwll.c => catxw.c} (76%) commit 7f13ce268f1549046a433d7674d642172b3ba6f0 Author: Bruce Guenter Date: Tue Dec 31 22:51:13 2002 +0000 Moved library definition files back into their own subdirectories, to reduce clutter in the base directory. base64/lib=l | 6 +++++ cdb/lib=l | 8 +++++++ cli/lib=l | 1 + crypto/lib=l | 5 ++++ cvm-sasl/lib=l | 6 +++++ dict/lib=l | 9 ++++++++ installer.c => install/installer.c | 0 installer.h => install/installer.h | 0 libinstaller=l => install/installer=l | 0 instcheck.c => install/instcheck.c | 0 libinstcheck=l => install/instcheck=l | 0 instshow.c => install/instshow.c | 0 libinstshow=l => install/instshow=l | 0 insthier.c | 27 ++++++++++++++++------ iobuf/lib=l | 43 +++++++++++++++++++++++++++++++++++ libbase64=l | 6 ----- libcdb=l | 8 ------- libcli=l | 1 - libcrypto=l | 5 ---- libcvm-client=l | 5 ---- libcvm-command=l | 4 ---- libcvm-local=l | 5 ---- libcvm-sasl=l | 6 ----- libcvm-udp=l | 5 ---- libdict=l | 9 -------- libiobuf=l | 43 ----------------------------------- libmisc=l | 3 --- libmsg=l | 6 ----- libnet=l | 33 --------------------------- libpath=l | 5 ---- libpwcmp-module=l | 1 - libpwcmp=l | 2 -- libstr=l | 41 --------------------------------- libunix=l | 15 ------------ libvmailmgr=l | 7 ------ misc/lib=l | 3 +++ msg/lib=l | 6 +++++ net/lib=l | 33 +++++++++++++++++++++++++++ path/lib=l | 5 ++++ str/lib=l | 41 +++++++++++++++++++++++++++++++++ unix/lib=l | 15 ++++++++++++ vmailmgr/lib=l | 7 ++++++ 42 files changed, 208 insertions(+), 217 deletions(-) create mode 100644 base64/lib=l create mode 100644 cdb/lib=l create mode 100644 cli/lib=l create mode 100644 crypto/lib=l create mode 100644 cvm-sasl/lib=l create mode 100644 dict/lib=l rename installer.c => install/installer.c (100%) rename installer.h => install/installer.h (100%) rename libinstaller=l => install/installer=l (100%) rename instcheck.c => install/instcheck.c (100%) rename libinstcheck=l => install/instcheck=l (100%) rename instshow.c => install/instshow.c (100%) rename libinstshow=l => install/instshow=l (100%) create mode 100644 iobuf/lib=l delete mode 100644 libbase64=l delete mode 100644 libcdb=l delete mode 100644 libcli=l delete mode 100644 libcrypto=l delete mode 100644 libcvm-client=l delete mode 100644 libcvm-command=l delete mode 100644 libcvm-local=l delete mode 100644 libcvm-sasl=l delete mode 100644 libcvm-udp=l delete mode 100644 libdict=l delete mode 100644 libiobuf=l delete mode 100644 libmisc=l delete mode 100644 libmsg=l delete mode 100644 libnet=l delete mode 100644 libpath=l delete mode 100644 libpwcmp-module=l delete mode 100644 libpwcmp=l delete mode 100644 libstr=l delete mode 100644 libunix=l delete mode 100644 libvmailmgr=l create mode 100644 misc/lib=l create mode 100644 msg/lib=l create mode 100644 net/lib=l create mode 100644 path/lib=l create mode 100644 str/lib=l create mode 100644 unix/lib=l create mode 100644 vmailmgr/lib=l commit 1f7293bc3595c7a2f208a8f43e87a275e5f33175 Author: Bruce Guenter Date: Tue Dec 31 17:15:21 2002 +0000 Added obuf_putxw function for outputting hex numbers. iobuf/iobuf.h | 2 ++ iobuf/obuf_putxw.c | 25 +++++++++++++++++++++++++ libiobuf=l | 1 + 3 files changed, 28 insertions(+) create mode 100644 iobuf/obuf_putxw.c commit 1f90607801af1f52e7e67434ac0ed8bb857c208f Author: Bruce Guenter Date: Tue Dec 31 17:06:56 2002 +0000 Handle single-digit negative integers properly. iobuf/obuf_putiw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 41d8d9d8098f2bf249bcb6ddab6494114959f19b Author: Bruce Guenter Date: Tue Dec 31 04:56:26 2002 +0000 Replaced the str_ready and str_realloc functions with str_alloc and two #define wrappers. libstr=l | 3 +-- str/{realloc.c => alloc.c} | 23 ++++++++++++----------- str/ready.c | 37 ------------------------------------- str/str.h | 5 +++-- 4 files changed, 16 insertions(+), 52 deletions(-) rename str/{realloc.c => alloc.c} (64%) delete mode 100644 str/ready.c commit d7ca70320b028fb69cc80ea06dbf82c50db6d075 Author: Bruce Guenter Date: Tue Dec 31 04:55:36 2002 +0000 Prevent name clash with str type. net/ipv4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d2b868224ea7a402b991f2e5616b92d6b9c070c3 Author: Bruce Guenter Date: Tue Dec 31 04:49:09 2002 +0000 Protect additions against integer overflow. str/ready.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 601f13f51e5dc3a9b592e0bcd093de3d7f49a437 Author: Bruce Guenter Date: Fri Dec 27 23:49:53 2002 +0000 Created new routine ipv4_scan; redefined ipv4_parse based on ipv4_scan. libnet=l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce50b31c66e8d9f17e8400d91985e89bbdff8ab6 Author: Bruce Guenter Date: Fri Dec 27 23:49:14 2002 +0000 Created new routine ipv4_scan; redefined ipv4_parse based on ipv4_scan. net/ipv4.h | 1 + net/ipv4_parse.c | 35 ----------------------------------- net/ipv4_scan.c | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 35 deletions(-) delete mode 100644 net/ipv4_parse.c create mode 100644 net/ipv4_scan.c commit ccb422aeb8f41c312126c0327f78762e58397f25 Author: Bruce Guenter Date: Fri Dec 27 23:48:38 2002 +0000 Redefined ipv4addr and ipv4port in terms of uint8/16. net/ipv4.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 70ae6f501eb172a16383bb2803565784be163017 Author: Bruce Guenter Date: Fri Dec 27 17:01:16 2002 +0000 Added note about ipv4addr change. NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 0c525aeb0081160151c6966fd54283a9d73121c5 Author: Bruce Guenter Date: Fri Dec 27 17:00:06 2002 +0000 Converted the ipv4addr typedef from just a char array to a struct. This makes it obvious when it's being passed by reference, and when it could be modified. Unfortunately, it also breaks source code compatibility with everything that uses it, but the breakages will be obvious. net/accept4.c | 4 ++-- net/bind4.c | 4 ++-- net/connect4.c | 4 ++-- net/getaddr4.c | 4 ++-- net/ipv4.h | 10 +++++----- net/ipv4_addr.c | 4 ++-- net/ipv4_format.c | 10 +++++----- net/ipv4_parse.c | 14 +++++++------- net/recv4.c | 4 ++-- net/resolve.h | 4 ++-- net/resolve_ipv4addr.c | 4 ++-- net/resolve_ipv4name.c | 6 +++--- net/send4.c | 4 ++-- net/socket.h | 12 ++++++------ 14 files changed, 44 insertions(+), 44 deletions(-) commit b6e75458baa7e3cb6cd69109d4f6b76243bc4bcf Author: Bruce Guenter Date: Fri Dec 27 16:53:51 2002 +0000 Use the correct header files for uint32 usage. cdb/cdb.h | 2 +- cdb/find.c | 1 + cdb/make.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 8e8c55c937ab80ebb7cb23774f12a11af4b21c68 Author: Bruce Guenter Date: Fri Dec 27 16:52:35 2002 +0000 Make sure to install the uint16.h header file. insthier.c | 1 + 1 file changed, 1 insertion(+) commit d2fe5bd6cc244e6cbe2329786bae956bacd90d32 Author: Bruce Guenter Date: Fri Dec 27 16:52:08 2002 +0000 Use the sysdeps.h macros to conditionally compile only the necessary bits. uint16_get.c | 4 +++- uint16_pack.c | 4 ++++ uint16_unpack.c | 4 ++++ uint32_get_lsb.c | 2 ++ uint32_get_msb.c | 2 ++ uint32_pack_lsb.c | 2 ++ uint32_pack_msb.c | 2 ++ uint32_unpack_lsb.c | 2 ++ uint32_unpack_msb.c | 2 ++ uint64_get_lsb.c | 2 ++ uint64_get_msb.c | 4 +++- uint64_pack_lsb.c | 2 ++ uint64_pack_msb.c | 2 ++ uint64_unpack_lsb.c | 2 ++ uint64_unpack_msb.c | 4 +++- 15 files changed, 37 insertions(+), 3 deletions(-) commit 41204bb17db195b8ce72b9861249c349a233b0a1 Author: Bruce Guenter Date: Fri Dec 27 16:51:05 2002 +0000 Moved the uint32/64 function declarations into their own seperate headers. uint32.h | 10 ++++++++++ uint64.h | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 uint32.h create mode 100644 uint64.h commit a2d9fc2de86ab8ad48351059e80c4282b2ff40be Author: Bruce Guenter Date: Fri Dec 27 16:50:22 2002 +0000 Reformatted these headers for inclusion into the sysdeps.h header. uint32.h1 | 15 --------------- uint32.h2 | 15 --------------- uint64.h1 | 16 ---------------- uint64.h2 | 16 ---------------- 4 files changed, 62 deletions(-) commit 6f02a777f1b1d41a8679fa2670cc8c3ad27f2eaa Author: Bruce Guenter Date: Fri Dec 27 16:49:30 2002 +0000 Moved the uint32/64 typedefs into sysdeps.h header. uint32.h.spac | 2 -- uint64.h.spac | 3 --- 2 files changed, 5 deletions(-) delete mode 100644 uint32.h.spac delete mode 100644 uint64.h.spac commit 2bc478bbfd3f6cba64fe898e9c10ed8c90e9dd57 Author: Bruce Guenter Date: Fri Dec 27 16:48:51 2002 +0000 Switched to the standard UINTNN macros. uint16.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit 2cbf720bfbcdf177ee85aa1eea86b16fa6daee02 Author: Bruce Guenter Date: Fri Dec 27 16:47:34 2002 +0000 Added test to determine system's endian order. endian.h1 | 3 +++ endian.h2 | 3 +++ sysdeps.h.spac | 2 ++ tryendian.c | 4 ++++ 4 files changed, 12 insertions(+) create mode 100644 endian.h1 create mode 100644 endian.h2 create mode 100644 tryendian.c commit 7d7e4959e81f13ca945cdf0453e878900148c699 Author: Bruce Guenter Date: Fri Dec 27 16:46:34 2002 +0000 Moved the uint16/32/64 typedefs into the sysdeps.h header. sysdeps-head.h | 2 ++ sysdeps-tail.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sysdeps.h.spac | 14 +++++++------- 3 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 sysdeps-head.h create mode 100644 sysdeps-tail.h commit b8515afcdcab22f1d9670b4984c67281c9295b49 Author: Bruce Guenter Date: Tue Dec 24 07:34:35 2002 +0000 Added uint 16/32/64 get functions, like unpack but return the result. libsysdeps=l | 5 +++++ uint16.h | 3 +++ uint16_get.c | 14 ++++++++++++++ uint32.h1 | 3 +++ uint32.h2 | 3 +++ uint32_unpack_lsb.c => uint32_get_lsb.c | 4 ++-- uint32_unpack_msb.c => uint32_get_msb.c | 4 ++-- uint64.h1 | 3 +++ uint64.h2 | 3 +++ uint64_unpack_lsb.c => uint64_get_lsb.c | 6 +++--- uint64_unpack_msb.c => uint64_get_msb.c | 6 +++--- 11 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 uint16_get.c copy uint32_unpack_lsb.c => uint32_get_lsb.c (63%) copy uint32_unpack_msb.c => uint32_get_msb.c (63%) copy uint64_unpack_lsb.c => uint64_get_lsb.c (83%) copy uint64_unpack_msb.c => uint64_get_msb.c (83%) commit bcdbb0659a1923517a5d822afdbd49862c3c103a Author: Bruce Guenter Date: Tue Dec 24 07:29:06 2002 +0000 Move the uint## includes to the end, to allow them to take advantage of the unaligned definition; fixed typo in tryunaligned choice. sysdeps.h.spac | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 7f71b21df5e3de42ebbad98436d02ad9bcf7a8d5 Author: Bruce Guenter Date: Tue Dec 24 07:21:40 2002 +0000 Added a test for unaligned accesses, to speed up uint## get/put operations. sysdeps.h.spac | 2 ++ tryunaligned.c | 17 +++++++++++++++++ unaligned.h1 | 2 ++ unaligned.h2 | 2 ++ 4 files changed, 23 insertions(+) create mode 100644 tryunaligned.c create mode 100644 unaligned.h1 create mode 100644 unaligned.h2 commit 33640204bc6a22c90d2cdba9f08f0ecd93030afe Author: Bruce Guenter Date: Tue Dec 24 06:25:23 2002 +0000 Packed uint64 values are 8 bytes, not 4. uint64.h1 | 8 ++++---- uint64.h2 | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit ccdef007956f11f6d382764a59f448fb8eafdd33 Author: Bruce Guenter Date: Tue Dec 24 06:25:00 2002 +0000 Change prototypes to reflect that packed uint16 values are two bytes. uint16.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b6365db55422f32944ad6b9fbf755964d730ec6f Author: Bruce Guenter Date: Sat Dec 21 06:11:28 2002 +0000 Added note about pack/unpack functions. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit e842ba0adcbc374d27834971d9d4e3fb81f0b868 Author: Bruce Guenter Date: Sat Dec 21 06:11:14 2002 +0000 Bumped version to 1.006 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit fa4ccc5634413cda826329fa0df44a5b2b41b3d4 Author: Bruce Guenter Date: Sat Dec 21 06:07:24 2002 +0000 Don't both include uint32/64.h and run the same test as generates them. sysdeps.h.spac | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit a13b99b1163ca49da04af7b951bf42cec27d1379 Author: Bruce Guenter Date: Sat Dec 21 06:04:04 2002 +0000 Added uint16 prototype and pack/unpack functions. libsysdeps=l | 2 ++ uint16.h | 13 +++++++++++++ uint16_pack.c | 13 +++++++++++++ uint16_unpack.c | 11 +++++++++++ 4 files changed, 39 insertions(+) create mode 100644 uint16.h create mode 100644 uint16_pack.c create mode 100644 uint16_unpack.c commit 8dc57072a1fc82aa6845507aba191840a59e9714 Author: Bruce Guenter Date: Sat Dec 21 05:19:20 2002 +0000 Use the built-in (to libsysdeps.a) uint32 pack/unpack functions. cdb/find.c | 2 -- cdb/make.c | 14 ++++++-------- cdb/uint32_pack.c | 21 --------------------- cdb/uint32_unpack.c | 31 ------------------------------- libcdb=l | 2 -- 5 files changed, 6 insertions(+), 64 deletions(-) delete mode 100644 cdb/uint32_pack.c delete mode 100644 cdb/uint32_unpack.c commit f51c2d7a6568ebc3fc159fbeecb3f2a3fbfb51d3 Author: Bruce Guenter Date: Sat Dec 21 05:15:06 2002 +0000 Use the right operator -- && (logical and) should have been & (bitwise) uint32_pack_lsb.c | 2 +- uint32_pack_msb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 650863fdad1d677cbf04ea630cb2df23e6e945af Author: Bruce Guenter Date: Sat Dec 21 05:14:33 2002 +0000 Use the right implementation of uint64 pack/unpack this time, instead of the editor glitch. uint64_pack_lsb.c | 58 +++++++++++++++++++++++++++---------------------------- uint64_pack_msb.c | 21 ++++++++++++++++++++ 2 files changed, 50 insertions(+), 29 deletions(-) commit de68cd52f8d402985ad14df0ca8819e0cf20649d Author: Bruce Guenter Date: Sat Dec 21 05:10:22 2002 +0000 Added uin64 pack/unpack functions. libsysdeps=l | 4 ++++ uint64.h1 | 8 ++++++++ uint64.h2 | 8 ++++++++ uint64_pack_lsb.c | 41 +++++++++++++++++++++++++++++++++++++++++ uint64_pack_msb.c | 20 ++++++++++++++++++++ uint64_unpack_lsb.c | 43 +++++++++++++++++++++++++++++++++++++++++++ uint64_unpack_msb.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 167 insertions(+) create mode 100644 uint64_pack_lsb.c create mode 100644 uint64_pack_msb.c create mode 100644 uint64_unpack_lsb.c create mode 100644 uint64_unpack_msb.c commit 5ccad1177b77900dd4a6f6cdad04b0f4dd6627fc Author: Bruce Guenter Date: Fri Dec 20 23:05:54 2002 +0000 Added uint32 pack/unpack functions. libsysdeps=l | 4 ++++ uint32.h1 | 7 +++++++ uint32.h2 | 7 +++++++ uint32_pack_lsb.c | 12 ++++++++++++ uint32_pack_msb.c | 12 ++++++++++++ uint32_unpack_lsb.c | 14 ++++++++++++++ uint32_unpack_msb.c | 14 ++++++++++++++ 7 files changed, 70 insertions(+) create mode 100644 uint32_pack_lsb.c create mode 100644 uint32_pack_msb.c create mode 100644 uint32_unpack_lsb.c create mode 100644 uint32_unpack_msb.c commit 20906e151e425e2d86c8c36571579284ae2bdbe0 Author: Bruce Guenter Date: Tue Dec 17 23:25:39 2002 +0000 Don't avoid building the sysdeps.h target. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bebf4f0a344b134057d6f722a6f272f6b47be48 Author: Bruce Guenter Date: Tue Dec 17 23:23:23 2002 +0000 Added a manual sysdeps.h dependancy to make sure it gets built first. all.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6c23e861c0e872eb3d93212042d9290a6b2b27b Author: Bruce Guenter Date: Tue Dec 17 23:10:45 2002 +0000 Added ChangeLog to the list of web-installed files. makedist.py | 1 + 1 file changed, 1 insertion(+) commit beb6406eb4b2e03e34a95d0d64a659ef8f39925a Author: Bruce Guenter Date: Tue Dec 17 22:44:41 2002 +0000 Added note about new lib structure. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 624d740adfc6a17ce26827b67a33047e64100c44 Author: Bruce Guenter Date: Tue Dec 17 22:44:25 2002 +0000 Switched to a templated README. README => README.in | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) rename README => README.in (77%) commit cfb001922527daa6a6ed6af48414a700a22017fd Author: Bruce Guenter Date: Tue Dec 17 22:38:23 2002 +0000 Bumped version to 1.005, just for kicks. NEWS | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1996066bc94779009199eabc878934cf3c720077 Author: Bruce Guenter Date: Tue Dec 17 22:25:09 2002 +0000 Flattened out the lib directory structure, adding symlinks for compatibility where necessary. base64/base64=l | 6 ---- cdb/cdb=l | 5 --- cdb/make=l | 3 -- cdb/str=l | 2 -- cli/cli=l | 1 - crypto/md5=l | 2 -- crypto/sha1=l | 1 - crypto/sha256=l | 1 - crypto/sha512a=l | 1 - cvm-sasl/cvm-sasl=l | 6 ---- dict/dict=l | 7 ---- dict/load=l | 2 -- insthier.c | 92 +++++++++++++++++++++++++++++++++-------------------- iobuf/iobuf=l | 40 ----------------------- iobuf/str=l | 2 -- libbase64=l | 6 ++++ libcdb=l | 10 ++++++ libcli=l | 1 + libcrypto=l | 5 +++ libcvm-client=l | 5 +++ libcvm-command=l | 4 +++ libcvm-local=l | 5 +++ libcvm-sasl=l | 6 ++++ libcvm-udp=l | 5 +++ libdict=l | 9 ++++++ libiobuf=l | 42 ++++++++++++++++++++++++ libmisc=l | 3 ++ libmsg=l | 6 ++++ libnet=l | 33 +++++++++++++++++++ libpath=l | 5 +++ libpwcmp-module=l | 1 + libpwcmp=l | 2 ++ libstr=l | 42 ++++++++++++++++++++++++ libunix=l | 15 +++++++++ libvmailmgr=l | 7 ++++ misc/misc=l | 3 -- msg/msg=l | 5 --- msg/wrap=l | 1 - net/ipv4=l | 3 -- net/resolve=l | 3 -- net/socket=l | 27 ---------------- path/path=l | 5 --- str/iter=l | 3 -- str/str=l | 39 ----------------------- unix/nonblock=l | 2 -- unix/sig=l | 13 -------- vmailmgr/client=l | 4 --- vmailmgr/vpwentry=l | 3 -- 48 files changed, 269 insertions(+), 225 deletions(-) delete mode 100644 base64/base64=l delete mode 100644 cdb/cdb=l delete mode 100644 cdb/make=l delete mode 100644 cdb/str=l delete mode 100644 cli/cli=l delete mode 100644 crypto/md5=l delete mode 100644 crypto/sha1=l delete mode 100644 crypto/sha256=l delete mode 100644 crypto/sha512a=l delete mode 100644 cvm-sasl/cvm-sasl=l delete mode 100644 dict/dict=l delete mode 100644 dict/load=l delete mode 100644 iobuf/iobuf=l delete mode 100644 iobuf/str=l create mode 100644 libbase64=l create mode 100644 libcdb=l create mode 100644 libcli=l create mode 100644 libcrypto=l create mode 100644 libcvm-client=l create mode 100644 libcvm-command=l create mode 100644 libcvm-local=l create mode 100644 libcvm-sasl=l create mode 100644 libcvm-udp=l create mode 100644 libdict=l create mode 100644 libiobuf=l create mode 100644 libmisc=l create mode 100644 libmsg=l create mode 100644 libnet=l create mode 100644 libpath=l create mode 100644 libpwcmp-module=l create mode 100644 libpwcmp=l create mode 100644 libstr=l create mode 100644 libunix=l create mode 100644 libvmailmgr=l delete mode 100644 misc/misc=l delete mode 100644 msg/msg=l delete mode 100644 msg/wrap=l delete mode 100644 net/ipv4=l delete mode 100644 net/resolve=l delete mode 100644 net/socket=l delete mode 100644 path/path=l delete mode 100644 str/iter=l delete mode 100644 str/str=l delete mode 100644 unix/nonblock=l delete mode 100644 unix/sig=l delete mode 100644 vmailmgr/client=l delete mode 100644 vmailmgr/vpwentry=l commit 33d6da59eb8324008ee9539f533512623ea6449a Author: Bruce Guenter Date: Tue Dec 17 20:37:46 2002 +0000 Start reorganizing how libraries are installed. insthier.c | 90 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 50 insertions(+), 40 deletions(-) commit cf8623fb4c61147bedd772967ebf5bedfe481347 Author: Bruce Guenter Date: Tue Dec 17 20:36:56 2002 +0000 Make sure to add "." as a library path. load.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af436f26bd572f2c9019ac1bf1819d0301d36ff0 Author: Bruce Guenter Date: Tue Dec 17 20:15:47 2002 +0000 Eliminated another shadowed global variable. iobuf/iobuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efee6bcabcb302b4e791c8ca490330ce8234178e Author: Bruce Guenter Date: Tue Dec 17 20:11:13 2002 +0000 Removed unused directory. commit 245f1cddd101d7ad1ad50ab721a86209d4503e3f Author: Bruce Guenter Date: Tue Dec 17 16:54:41 2002 +0000 Remove symlinks before creating them so existing ones can be recreated. installer.c | 1 + 1 file changed, 1 insertion(+) commit 9303a20f97e6b5440085c4d0e30ec611e1ef496d Author: Bruce Guenter Date: Sat Dec 14 20:56:58 2002 +0000 Fixed the shadowed global variable naming conflicts. NEWS | 2 ++ net/recvfd.c | 4 ++-- path/fnmatch.c | 4 ++-- path/path.h | 2 +- str/iter.h | 2 +- str/iter_start.c | 10 +++++----- unix/sig_block.c | 12 ++++++------ 7 files changed, 19 insertions(+), 17 deletions(-) commit 61a9d8559814c531b3be3704f68c6b817f7e95ac Author: Bruce Guenter Date: Sat Dec 14 20:46:45 2002 +0000 Fixed up the filename in the header. cdb/get.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6516ed256ed52fccea2dbc276f9514db89f8017c Author: Bruce Guenter Date: Wed Nov 20 04:59:53 2002 +0000 Added more signal catchers -- all, int, and quit. unix/sig.h | 4 ++++ unix/sig=l | 3 +++ unix/sig_all.c | 47 ++++++++++++++++++++++++++++++++++++++++ unix/{sig_hup.c => sig_int.c} | 2 +- unix/{sig_alarm.c => sig_quit.c} | 2 +- 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 unix/sig_all.c copy unix/{sig_hup.c => sig_int.c} (54%) copy unix/{sig_alarm.c => sig_quit.c} (52%) commit 2e13039f4710ca355b960c8131f5ff18795346a4 Author: Bruce Guenter Date: Fri Oct 18 02:07:14 2002 +0000 Added obuf_put*ll functions. NEWS | 2 +- iobuf/iobuf.h | 4 ++++ iobuf/iobuf=l | 2 ++ iobuf/{obuf_putiw.c => obuf_putiwll.c} | 10 +++++----- iobuf/{obuf_putuw.c => obuf_putuwll.c} | 10 +++++----- 5 files changed, 17 insertions(+), 11 deletions(-) copy iobuf/{obuf_putiw.c => obuf_putiwll.c} (70%) copy iobuf/{obuf_putuw.c => obuf_putuwll.c} (50%) commit c1c277e8e010310a8e220ff3e21afe5937df8dc6 Author: Bruce Guenter Date: Fri Oct 18 02:06:40 2002 +0000 Fixed a minor bug -- don't return success on EOF. iobuf/ibuf_getstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6fff1ddbfc14339d25d6142e753ccf45cd3b690 Author: Bruce Guenter Date: Fri Oct 18 02:06:10 2002 +0000 Bumped version to 1.004 VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59fe17d5fa2003fd9a40ec4d506d8f8c13173f9d Author: Bruce Guenter Date: Fri Oct 18 02:05:56 2002 +0000 Added str_match function. NEWS | 2 ++ str/{findprevnot.c => match.c} | 27 +++++++++++++++++---------- str/str.h | 3 +++ str/str=l | 1 + 4 files changed, 23 insertions(+), 10 deletions(-) copy str/{findprevnot.c => match.c} (61%) commit 02de89dcbfc33814ae81499206b75e9401d46c33 Author: Bruce Guenter Date: Wed Oct 16 11:57:11 2002 +0000 Added long long str_cat*ll functions. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit e8664142c467b1a7a4c0decbf6f52df22e6739ea Author: Bruce Guenter Date: Wed Oct 16 11:56:21 2002 +0000 Added long long (64 bit) str_cat functions. str/{catiw.c => catiwll.c} | 8 ++++---- str/{catuw.c => catuwll.c} | 8 ++++---- str/str.h | 4 ++++ str/str=l | 2 ++ 4 files changed, 14 insertions(+), 8 deletions(-) copy str/{catiw.c => catiwll.c} (88%) copy str/{catuw.c => catuwll.c} (84%) commit 9fcdca856887476ab897de02c56bd86ea4192160 Author: Bruce Guenter Date: Wed Oct 16 11:56:00 2002 +0000 Fixed up comment header. str/catiw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a6032bcfd77a17277ea15366c069e3e502962b5 Author: Bruce Guenter Date: Wed Oct 16 11:55:29 2002 +0000 If MSG_NO_DEBUG is defined, omit all debugging messages. NEWS | 3 +++ msg/msg.h | 4 ++++ 2 files changed, 7 insertions(+) commit 31a772ddd8cecf9e9240c58f771c69614ce566b5 Author: Bruce Guenter Date: Wed Oct 16 11:54:20 2002 +0000 *** empty log message *** NEWS | 7 +++++++ 1 file changed, 7 insertions(+) commit c804b5c55d42fcdc645dd81014d6bef253bd9f39 Author: Bruce Guenter Date: Tue Oct 8 05:55:31 2002 +0000 Use MAP_ANON if MAP_ANONYMOUS is not defined. iobuf/iobuf_init.c | 5 +++++ 1 file changed, 5 insertions(+) commit d48da33692ba1d34325715e363f2455440c98bf1 Author: Bruce Guenter Date: Tue Oct 8 05:55:20 2002 +0000 Add missing include. iobuf/iobuf_close.c | 1 + 1 file changed, 1 insertion(+) commit 589938e5c073c0b69d6532e30012fe579dde6f64 Author: Bruce Guenter Date: Sat Sep 28 05:23:15 2002 +0000 Bumped version. README | 4 ++-- VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit a649104ee7348ab7fb67519f797a0352cb86d702 Author: Bruce Guenter Date: Sat Sep 28 03:15:27 2002 +0000 Clarify path changes. NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d93edf8241c64675703b79954977085187bbd4d0 Author: Bruce Guenter Date: Thu Sep 26 22:40:06 2002 +0000 Try to mmap the iobuf data buffer. NEWS | 3 +++ iobuf/iobuf.h | 2 +- iobuf/iobuf_close.c | 7 ++++++- iobuf/iobuf_init.c | 12 +++++++++--- 4 files changed, 19 insertions(+), 5 deletions(-) commit fc7fc0f05942d73e7dec2ae3779a10c1cb3c5c97 Author: Bruce Guenter Date: Thu Sep 26 22:36:36 2002 +0000 Seeks to current read/write position should not cause a lseek syscall. NEWS | 2 ++ iobuf/ibuf_seek.c | 2 +- iobuf/obuf_seek.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit f4bce6dd34a39ac77e11cddbe6a9f363f1d334bd Author: Bruce Guenter Date: Wed Sep 11 10:38:51 2002 +0000 Fixed missing +offset bug in str/cmp.c NEWS | 2 ++ str/cmp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit f937ae7f1a99305c739001c9ad2e33e974657912 Author: Bruce Guenter Date: Tue Aug 27 09:39:21 2002 +0000 Don't do directory listings on intermediary paths unless necessary. NEWS | 8 ++++++ path/match.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 75 insertions(+), 14 deletions(-) commit ad589c5fd6a69a3bd7b12d5a3c6f1af13737ee48 Author: Bruce Guenter Date: Sat Aug 17 03:05:47 2002 +0000 Bumped up date. README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 55905e9a4b78623ce8b9082e441a0da735517f42 Author: Bruce Guenter Date: Sat Aug 17 03:05:11 2002 +0000 The regsub module is depricated in newer versions of Python. python/template/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a150dd31ba54a557b6fa6dcbbe08d83284e85b1 Author: Bruce Guenter Date: Thu Aug 15 10:11:25 2002 +0000 Portability fixes for FreeBSD (and possibly others). NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 5f1f72f1bc3a738fa4f54199024339f44411d753 Author: Bruce Guenter Date: Thu Aug 15 10:09:36 2002 +0000 Portability fixes for FreeBSD (possibly others). net/recvfd.c | 4 ++++ net/resolve_ipv4addr.c | 1 + net/resolve_ipv4name.c | 1 + net/sendfd.c | 4 ++++ net/uncork.c | 1 + 5 files changed, 11 insertions(+) commit 88fc2f2f4953ab455da99119367792a30e1946c8 Author: Bruce Guenter Date: Thu Aug 15 05:36:54 2002 +0000 Make sure to increase the string length in str_cat#s NEWS | 3 +++ str/cat2s.c | 1 + str/cat3s.c | 1 + str/cat4s.c | 1 + str/cat5s.c | 1 + str/cat6s.c | 1 + 6 files changed, 8 insertions(+) commit b66c1725377ab488a7f124cd7d90be07213ed780 Author: Bruce Guenter Date: Thu Aug 15 04:36:10 2002 +0000 Added new dict_foreach routine. NEWS | 3 +++ dict/dict.h | 1 + dict/dict=l | 1 + dict/foreach.c | 13 +++++++++++++ 4 files changed, 18 insertions(+) create mode 100644 dict/foreach.c commit 4866bf03158930e283a9dfd756968bf847955f47 Author: Bruce Guenter Date: Mon Aug 5 22:34:37 2002 +0000 Bumped version. README | 4 ++-- VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 5ab7c9e2c92beea961f554bae95b9372b01bde25 Author: Bruce Guenter Date: Fri Jun 21 00:23:06 2002 +0000 Removed prototype for srandom that appears to only cause problems. cli/main.c | 4 ---- 1 file changed, 4 deletions(-) commit 84a19f34ec1af56a2a997be69c79318bfb8e1e63 Author: Bruce Guenter Date: Fri Jun 21 00:22:14 2002 +0000 Removed silly trailing "." from common message output code. NEWS | 2 ++ msg/common.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit c5b06174ed04b5e0a18b4e9ddaad5a30ae3e13b3 Author: Bruce Guenter Date: Fri Jun 21 00:20:19 2002 +0000 Added in crypto library. NEWS | 7 + crypto/md5-crypt.c | 235 ++++++++++++++++++++++++++ crypto/md5-test.c | 32 ++++ crypto/md5.c | 447 ++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/md5.h | 156 ++++++++++++++++++ crypto/md5=l | 2 + crypto/sha1.c | 212 ++++++++++++++++++++++++ crypto/sha1.h | 35 ++++ crypto/sha1=l | 1 + crypto/sha256.c | 215 ++++++++++++++++++++++++ crypto/sha256.h | 21 +++ crypto/sha256=l | 1 + crypto/sha256test.c | 90 ++++++++++ crypto/sha512a-test.c | 94 +++++++++++ crypto/sha512a.c | 276 +++++++++++++++++++++++++++++++ crypto/sha512a.h | 20 +++ crypto/sha512a=l | 1 + insthier.c | 12 ++ 18 files changed, 1857 insertions(+) create mode 100644 crypto/md5-crypt.c create mode 100644 crypto/md5-test.c create mode 100644 crypto/md5.c create mode 100644 crypto/md5.h create mode 100644 crypto/md5=l create mode 100644 crypto/sha1.c create mode 100644 crypto/sha1.h create mode 100644 crypto/sha1=l create mode 100644 crypto/sha256.c create mode 100644 crypto/sha256.h create mode 100644 crypto/sha256=l create mode 100644 crypto/sha256test.c create mode 100644 crypto/sha512a-test.c create mode 100644 crypto/sha512a.c create mode 100644 crypto/sha512a.h create mode 100644 crypto/sha512a=l commit 6cabb5ffcd56f0d4ea4252dc9e5fe4589bb96d55 Author: Bruce Guenter Date: Sat Jun 1 12:21:34 2002 +0000 *** empty log message *** NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6d9ff9a1f6677dd3e1a0877ac2025fdbc5dbb89e Author: Bruce Guenter Date: Sat Jun 1 12:21:30 2002 +0000 Bumped up date. README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d1de8e2c05c932ae352700e0a0d7eefbf484b65 Author: Bruce Guenter Date: Sat Jun 1 04:31:26 2002 +0000 Fixed a typo. unix/sig_block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 78454fa8bd4c78507d597118851a537b778bbafb Author: Bruce Guenter Date: Sat Jun 1 04:31:15 2002 +0000 *** empty log message *** NEWS | 10 ++++++++++ TODO | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit cb95a345dd1860769daee899a82fbae0b0d24e60 Author: Bruce Guenter Date: Sat Jun 1 04:31:06 2002 +0000 Copied from spac tree, without the -lsysdeps default target. load.spac | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 load.spac commit 20ae50cc170495f66efc94220cc115bf753996a0 Author: Bruce Guenter Date: Sat Jun 1 04:30:29 2002 +0000 Bumped up version. README | 4 ++-- VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2792dcf4f03dd4d74404bcb6ec35f130d5d8b21d Author: Bruce Guenter Date: Sat Jun 1 04:30:03 2002 +0000 Make sure the subshell fails if any of the commands fail. sysdeps.h.spac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4b631198a03e98d3e5dfd2f077e91853c76d24a6 Author: Bruce Guenter Date: Sat Jun 1 03:36:25 2002 +0000 Added missing uint(32|64).h targets. uint32.h.spac | 2 ++ uint64.h.spac | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 uint32.h.spac create mode 100644 uint64.h.spac commit 0608918b8d4980dac797b7309f282082300511b8 Author: Bruce Guenter Date: Sat Jun 1 03:35:45 2002 +0000 Nuked in favour of conf-home setup. conf_inc.c.spac | 5 ----- conf_lib.c.spac | 5 ----- 2 files changed, 10 deletions(-) delete mode 100644 conf_inc.c.spac delete mode 100644 conf_lib.c.spac commit e4c32bc42d0d1fb9fd8f429a92d3f7a528adccd4 Author: Bruce Guenter Date: Sat Jun 1 03:18:41 2002 +0000 Moved all installed files under /usr/local/bglibs insthier.c | 19 +++++++++++++++---- spec | 11 ++++------- 2 files changed, 19 insertions(+), 11 deletions(-) commit 3c30cf7aa67d4916969e05b382f2c97680152f87 Author: Bruce Guenter Date: Fri May 31 19:47:59 2002 +0000 Removed bogus '*.html' file list. makedist.py | 1 - 1 file changed, 1 deletion(-) commit ddffe390db5aedd8eb93ae59d15df7eee279b116 Author: Bruce Guenter Date: Fri May 31 19:27:13 2002 +0000 *** empty log message *** README | 6 +++--- TODO | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) commit 5da4106c6c0a06ac76dcecc67795567d29a10a24 Author: Bruce Guenter Date: Fri May 31 19:27:03 2002 +0000 Use #include "sysdeps.h", not iobuf/iobuf_timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d517f8fbf3d391ef666d0431789a68263756d77 Author: Bruce Guenter Date: Fri May 31 19:26:24 2002 +0000 Added missing #include "load.h" dict/load_list.c | 1 + dict/load_map.c | 1 + 2 files changed, 2 insertions(+) commit 5292b752917e9971a59f70cc8d3a6394e9d67cd9 Author: Bruce Guenter Date: Fri May 31 06:01:50 2002 +0000 First check in. NEWS | 0 README | 26 +++++++ TODO | 2 + VERSION | 1 + all.spac | 1 + conf_inc.c.spac | 5 ++ conf_lib.c.spac | 5 ++ insthier.c | 141 +++++++++++++++++++++++++++++++++++++ libinstaller=l | 1 + libinstcheck=l | 1 + libinstshow=l | 1 + libraries.spac | 1 + libsysdeps=l | 3 + makedist.py | 35 ++++++++++ spec | 43 ++++++++++++ sysdeps.h.spac | 32 +++++++++ vmailmgr/client.h | 26 +++++++ vmailmgr/client=l | 4 ++ vmailmgr/req_arg.c | 11 +++ vmailmgr/req_init.c | 10 +++ vmailmgr/req_write.c | 23 ++++++ vmailmgr/resp_read.c | 23 ++++++ vmailmgr/vpwentry.h | 31 +++++++++ vmailmgr/vpwentry=l | 3 + vmailmgr/vpwentry_export.c | 33 +++++++++ vmailmgr/vpwentry_free.c | 12 ++++ vmailmgr/vpwentry_import.c | 169 +++++++++++++++++++++++++++++++++++++++++++++ 27 files changed, 643 insertions(+) create mode 100644 NEWS create mode 100644 README create mode 100644 TODO create mode 100644 VERSION create mode 100644 all.spac create mode 100644 conf_inc.c.spac create mode 100644 conf_lib.c.spac create mode 100644 insthier.c create mode 100644 libinstaller=l create mode 100644 libinstcheck=l create mode 100644 libinstshow=l create mode 100644 libraries.spac create mode 100644 libsysdeps=l create mode 100644 makedist.py create mode 100644 spec create mode 100644 sysdeps.h.spac create mode 100644 vmailmgr/client.h create mode 100644 vmailmgr/client=l create mode 100644 vmailmgr/req_arg.c create mode 100644 vmailmgr/req_init.c create mode 100644 vmailmgr/req_write.c create mode 100644 vmailmgr/resp_read.c create mode 100644 vmailmgr/vpwentry.h create mode 100644 vmailmgr/vpwentry=l create mode 100644 vmailmgr/vpwentry_export.c create mode 100644 vmailmgr/vpwentry_free.c create mode 100644 vmailmgr/vpwentry_import.c commit 9f66821d7873db4ac3f09da11a2d99013a6c7f5c Author: Bruce Guenter Date: Fri May 31 06:01:36 2002 +0000 Copied from spac tree. direntry.h1 | 8 ++++ direntry.h2 | 8 ++++ fork.h1 | 7 ++++ fork.h2 | 7 ++++ hasflock.h1 | 2 + hasflock.h2 | 3 ++ haspeercred.h1 | 1 + haspeercred.h2 | 4 ++ hassendfile.h1 | 1 + hassendfile.h2 | 2 + hassgact.h1 | 1 + hassgact.h2 | 2 + hassgprm.h1 | 1 + hassgprm.h2 | 2 + hasspnam.h1 | 2 + hasspnam.h2 | 2 + hasuserpw.h1 | 2 + hasuserpw.h2 | 2 + haswaitp.h1 | 1 + haswaitp.h2 | 2 + haszlib.h1 | 1 + haszlib.h2 | 2 + installer.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ installer.h | 15 ++++++++ instcheck.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++ instshow.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ iopoll.c | 53 +++++++++++++++++++++++++ iopoll.h1 | 19 +++++++++ iopoll.h2 | 17 ++++++++ select.h1 | 10 +++++ select.h2 | 11 ++++++ setenv.c | 20 ++++++++++ setenv.h1 | 2 + setenv.h2 | 3 ++ trydirent.c | 8 ++++ tryflock.c | 8 ++++ trypeercred.c | 10 +++++ trypoll.c | 16 ++++++++ trysendfile.c | 9 +++++ trysetenv.c | 7 ++++ trysgact.c | 10 +++++ trysgprm.c | 10 +++++ tryspnam.c | 9 +++++ trysysel.c | 8 ++++ trysystime.c | 1 + trytime.c | 1 + tryulong32.c | 11 ++++++ tryulong64.c | 11 ++++++ tryunsetenv.c | 5 +++ tryuserpw.c | 9 +++++ tryvfork.c | 4 ++ trywaitp.c | 7 ++++ tryzlib.c | 6 +++ uint32.h1 | 6 +++ uint32.h2 | 6 +++ uint64.h1 | 8 ++++ uint64.h2 | 8 ++++ unsetenv.c | 24 ++++++++++++ unsetenv.h1 | 4 ++ unsetenv.h2 | 2 + 60 files changed, 769 insertions(+) create mode 100644 direntry.h1 create mode 100644 direntry.h2 create mode 100644 fork.h1 create mode 100644 fork.h2 create mode 100644 hasflock.h1 create mode 100644 hasflock.h2 create mode 100644 haspeercred.h1 create mode 100644 haspeercred.h2 create mode 100644 hassendfile.h1 create mode 100644 hassendfile.h2 create mode 100644 hassgact.h1 create mode 100644 hassgact.h2 create mode 100644 hassgprm.h1 create mode 100644 hassgprm.h2 create mode 100644 hasspnam.h1 create mode 100644 hasspnam.h2 create mode 100644 hasuserpw.h1 create mode 100644 hasuserpw.h2 create mode 100644 haswaitp.h1 create mode 100644 haswaitp.h2 create mode 100644 haszlib.h1 create mode 100644 haszlib.h2 create mode 100644 installer.c create mode 100644 installer.h create mode 100644 instcheck.c create mode 100644 instshow.c create mode 100644 iopoll.c create mode 100644 iopoll.h1 create mode 100644 iopoll.h2 create mode 100644 select.h1 create mode 100644 select.h2 create mode 100644 setenv.c create mode 100644 setenv.h1 create mode 100644 setenv.h2 create mode 100644 trydirent.c create mode 100644 tryflock.c create mode 100644 trypeercred.c create mode 100644 trypoll.c create mode 100644 trysendfile.c create mode 100644 trysetenv.c create mode 100644 trysgact.c create mode 100644 trysgprm.c create mode 100644 tryspnam.c create mode 100644 trysysel.c create mode 100644 trysystime.c create mode 100644 trytime.c create mode 100644 tryulong32.c create mode 100644 tryulong64.c create mode 100644 tryunsetenv.c create mode 100644 tryuserpw.c create mode 100644 tryvfork.c create mode 100644 trywaitp.c create mode 100644 tryzlib.c create mode 100644 uint32.h1 create mode 100644 uint32.h2 create mode 100644 uint64.h1 create mode 100644 uint64.h2 create mode 100644 unsetenv.c create mode 100644 unsetenv.h1 create mode 100644 unsetenv.h2 commit b5fba26aa6d953fa628930cb72501c84297776b7 Author: Bruce Guenter Date: Fri May 31 05:59:00 2002 +0000 First check-in. misc/misc.h | 8 ++++++++ misc/misc=l | 3 +++ misc/strtou.c | 11 +++++++++++ misc/utoa.c | 15 +++++++++++++++ misc/utoa2.c | 13 +++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 misc/misc.h create mode 100644 misc/misc=l create mode 100644 misc/strtou.c create mode 100644 misc/utoa.c create mode 100644 misc/utoa2.c commit 8175ce9ff0868e3c1cc6ac069ffb63b6947b4670 Author: Bruce Guenter Date: Fri May 31 05:58:42 2002 +0000 Fixed command regex's to handle multi-line cases. python/template/lex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9bd0cb6755b9401991d5e8c67c9b1bdf0a76fc0e Author: Bruce Guenter Date: Fri May 31 05:58:24 2002 +0000 Added additional time and sys modules. python/template/functions.py | 3 +++ 1 file changed, 3 insertions(+) commit e97bb9276ec41f5ca4aa2020e0f37753b4991024 Author: Bruce Guenter Date: Fri May 31 05:57:31 2002 +0000 Rewrote parts of the make library. cdb/make.c | 43 ++++++++++++++++++++++++------------------- cdb/make.h | 7 +++---- cdb/make=l | 3 +++ 3 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 cdb/make=l commit 628199cd9728e273c225d3a69865814c2a51e380 Author: Bruce Guenter Date: Fri May 31 05:57:15 2002 +0000 *** empty log message *** cdb/uint32_pack.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cdb/uint32_pack.c commit 2db550dea93d9ce3b1b115d8e04d6bb8426ff5a6 Author: Bruce Guenter Date: Fri May 31 05:56:04 2002 +0000 Split up cdb.c into multiple files. cdb/cdb=l | 2 ++ 1 file changed, 2 insertions(+) commit 2e0c69446b90bdfcf79845d72de7b7e50f1eb998 Author: Bruce Guenter Date: Fri May 31 05:55:44 2002 +0000 Added str library. str/copy.c => cdb/get.c | 27 ++++++++++----------------- str/init.c => cdb/getnext.c | 19 ++++++++++--------- cdb/str.h | 10 ++++++++++ cdb/str=l | 2 ++ 4 files changed, 32 insertions(+), 26 deletions(-) copy str/copy.c => cdb/get.c (65%) copy str/init.c => cdb/getnext.c (64%) create mode 100644 cdb/str.h create mode 100644 cdb/str=l commit a970268ce0f00d28645eb10bc6fa855212c25f9f Author: Bruce Guenter Date: Fri May 31 05:55:10 2002 +0000 Split cdb.c into multiple files. cdb/cdb.c | 96 --------------------------------------------------- cdb/cdb.h | 7 ++-- cdb/{cdb.c => find.c} | 39 +++------------------ cdb/read.c | 20 +++++++++++ 4 files changed, 30 insertions(+), 132 deletions(-) copy cdb/{cdb.c => find.c} (79%) create mode 100644 cdb/read.c commit 775543238e87a7ed0f952e4fd3c41acc8682d8b6 Author: Bruce Guenter Date: Fri May 31 05:50:48 2002 +0000 Removed the socket library. socket/accept4.c | 36 ------------------------------------ socket/acceptu.c | 33 --------------------------------- socket/bind4.c | 33 --------------------------------- socket/bindu.c | 33 --------------------------------- socket/broadcast.c | 29 ----------------------------- socket/connect4.c | 35 ----------------------------------- socket/connected.c | 35 ----------------------------------- socket/connectu.c | 32 -------------------------------- socket/cork.c | 35 ----------------------------------- socket/getaddr4.c | 36 ------------------------------------ socket/ipv4addr.c | 4 ---- socket/listen.c | 27 --------------------------- socket/recv4.c | 38 -------------------------------------- socket/recvu.c | 26 -------------------------- socket/reuse.c | 29 ----------------------------- socket/send4.c | 34 ---------------------------------- socket/sendu.c | 26 -------------------------- socket/shutdown.c | 31 ------------------------------- socket/socket.h | 38 -------------------------------------- socket/socket=l | 23 ----------------------- socket/tcp.c | 28 ---------------------------- socket/udp.c | 28 ---------------------------- socket/uncork.c | 39 --------------------------------------- socket/unixdgm.c | 28 ---------------------------- socket/unixstr.c | 28 ---------------------------- 25 files changed, 764 deletions(-) delete mode 100644 socket/accept4.c delete mode 100644 socket/acceptu.c delete mode 100644 socket/bind4.c delete mode 100644 socket/bindu.c delete mode 100644 socket/broadcast.c delete mode 100644 socket/connect4.c delete mode 100644 socket/connected.c delete mode 100644 socket/connectu.c delete mode 100644 socket/cork.c delete mode 100644 socket/getaddr4.c delete mode 100644 socket/ipv4addr.c delete mode 100644 socket/listen.c delete mode 100644 socket/recv4.c delete mode 100644 socket/recvu.c delete mode 100644 socket/reuse.c delete mode 100644 socket/send4.c delete mode 100644 socket/sendu.c delete mode 100644 socket/shutdown.c delete mode 100644 socket/socket.h delete mode 100644 socket/socket=l delete mode 100644 socket/tcp.c delete mode 100644 socket/udp.c delete mode 100644 socket/uncork.c delete mode 100644 socket/unixdgm.c delete mode 100644 socket/unixstr.c commit 3f71d79fa4d8cbe173434447225d75b87ac37bfb Author: Bruce Guenter Date: Fri May 31 05:45:53 2002 +0000 Use new sysdeps.h header. path/match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 258e0e6f3917d61d71688845ff9becf9e5a7a0a5 Author: Bruce Guenter Date: Fri May 31 05:45:17 2002 +0000 Use new iopoll_restart function. iobuf/iobuf_timeout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 92ab3bd9b47805a58e982968945c0d9e86762935 Author: Bruce Guenter Date: Fri May 31 05:44:46 2002 +0000 Remember to free the key string memory. dict/free.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit dc8d8bcd28e2f6aa565596d81eaddee3cae69a6d Author: Bruce Guenter Date: Fri May 31 05:44:00 2002 +0000 Renamed socket_pair to socket_pairstr, and added the corresponding socket_pairdgm function. net/{pair.c => pairdgm.c} | 6 +++--- net/{pair.c => pairstr.c} | 4 ++-- net/socket.h | 3 ++- net/socket=l | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) copy net/{pair.c => pairdgm.c} (86%) rename net/{pair.c => pairstr.c} (92%) commit cab5d42d2e924f948df196978774ec932e6642d9 Author: Bruce Guenter Date: Fri May 31 05:43:25 2002 +0000 Corrected typo in function name. net/sendfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 635fd7aa42fcfabaa22d54a4debf840e7b1286f8 Author: Bruce Guenter Date: Fri May 31 05:41:17 2002 +0000 Added non-sigaction/sigprocmask support. unix/sig_block.c | 10 +++++++++- unix/sig_catch.c | 5 +++++ unix/sig_suspend.c | 5 +++++ 3 files changed, 19 insertions(+), 1 deletion(-) commit 29e9f42b64cc73365e9f93bcd54f576c4d4c1438 Author: Bruce Guenter Date: Thu May 30 23:16:40 2002 +0000 Disabled this library, in favour of the generic msg library. err/err=l | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 err/err=l commit e0578710d279a5051b3f6a4f8cdbfa8bd3caa48b Author: Bruce Guenter Date: Tue May 28 20:16:35 2002 +0000 Added send/receive FD functions. net/{pair.c => recvfd.c} | 23 +++++++++++++++++------ net/{pair.c => sendfd.c} | 26 ++++++++++++++++++++------ net/socket.h | 3 +++ net/socket=l | 2 ++ 4 files changed, 42 insertions(+), 12 deletions(-) copy net/{pair.c => recvfd.c} (62%) copy net/{pair.c => sendfd.c} (56%) commit 59ab6ab605de9d525181fb71ba49bb42984e52bf Author: Bruce Guenter Date: Fri May 10 23:58:20 2002 +0000 Fixed major bug -- copy#s functions didn't set len. str/copy2s.c | 4 +++- str/copy3s.c | 4 +++- str/copy4s.c | 4 +++- str/copy5s.c | 4 +++- str/copy6s.c | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) commit 442a791ca3526aff6eb8160180f51eae93c57f2d Author: Bruce Guenter Date: Thu May 2 23:41:20 2002 +0000 Cleaned up the implementation of find{next,prev}of slightly. str/findnextof.c | 7 +++---- str/findprevof.c | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 6846ec2b5e92164b5777aef5332c9c180c00fccf Author: Bruce Guenter Date: Thu May 2 23:39:18 2002 +0000 Added str_find{first,last,next,prev}not functions. str/{findnextof.c => findnextnot.c} | 13 ++++++------- str/{findprevof.c => findprevnot.c} | 13 +++++++------ str/str.h | 4 ++++ 3 files changed, 17 insertions(+), 13 deletions(-) copy str/{findnextof.c => findnextnot.c} (77%) copy str/{findprevof.c => findprevnot.c} (74%) commit e2499a009bc0e8e47c51e2c667e7b50b9f2124d2 Author: Bruce Guenter Date: Fri Apr 26 00:15:57 2002 +0000 Fixed includes. cli/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 46b3ab28374be8ef127978d9f10a1af2e044a423 Author: Bruce Guenter Date: Fri Apr 19 01:57:29 2002 +0000 Renamed "socket/" to "net/" net/accept4.c | 2 +- net/acceptu.c | 2 +- net/bind4.c | 2 +- net/bindu.c | 2 +- net/broadcast.c | 2 +- net/connect4.c | 2 +- net/connected.c | 2 +- net/connectu.c | 2 +- net/cork.c | 2 +- net/getaddr4.c | 2 +- net/linger.c | 2 +- net/listen.c | 2 +- net/recv4.c | 2 +- net/recvu.c | 2 +- net/reuse.c | 2 +- net/send4.c | 2 +- net/sendu.c | 2 +- net/setopt.c | 2 +- net/shutdown.c | 2 +- net/tcp.c | 2 +- net/udp.c | 2 +- net/uncork.c | 2 +- net/unixdgm.c | 2 +- net/unixstr.c | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) commit a14aabb2af48662a4afcaaca4f23648f0839db9d Author: Bruce Guenter Date: Fri Apr 19 01:56:26 2002 +0000 Added new wrapper function for socketpair. net/{tcp.c => pair.c} | 8 ++++---- net/socket.h | 2 ++ net/socket=l | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) copy net/{tcp.c => pair.c} (82%) commit cb53bfda3ce54b4f1ec93c92c042f507c63de875 Author: Bruce Guenter Date: Wed Apr 17 04:55:13 2002 +0000 Added needsfree flag support. iobuf/iobuf_init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 74be743c3fd7ee3e50b39738c5bf527b1f4ef73d Author: Bruce Guenter Date: Wed Apr 17 04:55:02 2002 +0000 Fixed error handling case. iobuf/obuf_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ae995c4215cdf62d2365fa199908e4fcc92b81db Author: Bruce Guenter Date: Wed Apr 17 04:52:53 2002 +0000 Added new function, path_mktemp. path/mktemp.c | 24 ++++++++++++++++++++++++ path/path.h | 1 + path/path=l | 1 + 3 files changed, 26 insertions(+) create mode 100644 path/mktemp.c commit 732ac5611e541e70af6d00ee9c83742be48df2dc Author: Bruce Guenter Date: Wed Apr 17 04:52:38 2002 +0000 Use new form of str_sort. path/match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 254fed842baccc1a2206c7705e6c8428069e98f4 Author: Bruce Guenter Date: Wed Apr 17 04:44:33 2002 +0000 First check-in unix/nonblock.h | 7 ++++++ unix/nonblock=l | 2 ++ socket/connected.c => unix/nonblock_off.c | 25 ++++++++++----------- socket/connected.c => unix/nonblock_on.c | 25 ++++++++++----------- unix/sig.h | 36 +++++++++++++++++++++++++++++++ unix/sig=l | 10 +++++++++ unix/sig_alarm.c | 4 ++++ net/recvu.c => unix/sig_block.c | 24 +++++++++++++++------ unix/sig_bug.c | 22 +++++++++++++++++++ net/recvu.c => unix/sig_catch.c | 19 ++++++++++------ unix/sig_child.c | 4 ++++ unix/sig_hup.c | 4 ++++ unix/sig_misc.c | 19 ++++++++++++++++ unix/sig_pipe.c | 4 ++++ str/free.c => unix/sig_suspend.c | 15 ++++++------- unix/sig_term.c | 4 ++++ 16 files changed, 174 insertions(+), 50 deletions(-) create mode 100644 unix/nonblock.h create mode 100644 unix/nonblock=l copy socket/connected.c => unix/nonblock_off.c (72%) copy socket/connected.c => unix/nonblock_on.c (72%) create mode 100644 unix/sig.h create mode 100644 unix/sig=l create mode 100644 unix/sig_alarm.c copy net/recvu.c => unix/sig_block.c (68%) create mode 100644 unix/sig_bug.c copy net/recvu.c => unix/sig_catch.c (67%) create mode 100644 unix/sig_child.c create mode 100644 unix/sig_hup.c create mode 100644 unix/sig_misc.c create mode 100644 unix/sig_pipe.c copy str/free.c => unix/sig_suspend.c (81%) create mode 100644 unix/sig_term.c commit d22ddd0fd8f0ae292d324192752405c7395d32cf Author: Bruce Guenter Date: Thu Mar 7 22:56:25 2002 +0000 First check-in. err/message.c => msg/common.c | 27 +++++++++------ msg/debug.c | 9 +++++ msg/die.c | 10 ++++++ msg/error.c | 7 ++++ msg/msg.h | 78 +++++++++++++++++++++++++++++++++++++++++++ err/err=l => msg/msg=l | 3 +- {err => msg}/test.c | 2 +- {err => msg}/test=x | 0 msg/warn.c | 8 +++++ msg/wrap.c | 10 ++++++ msg/wrap.h | 6 ++++ msg/wrap=l | 1 + 12 files changed, 148 insertions(+), 13 deletions(-) copy err/message.c => msg/common.c (52%) create mode 100644 msg/debug.c create mode 100644 msg/die.c create mode 100644 msg/error.c create mode 100644 msg/msg.h copy err/err=l => msg/msg=l (55%) copy {err => msg}/test.c (90%) copy {err => msg}/test=x (100%) create mode 100644 msg/warn.c create mode 100644 msg/wrap.c create mode 100644 msg/wrap.h create mode 100644 msg/wrap=l commit a5c7c2dc02c04f7e759801191ed8cdb27eec2a59 Author: Bruce Guenter Date: Wed Mar 6 22:37:56 2002 +0000 Initial check-in. {socket => net}/accept4.c | 7 ++++--- {socket => net}/acceptu.c | 4 +--- {socket => net}/bind4.c | 2 +- {socket => net}/bindu.c | 2 +- {socket => net}/broadcast.c | 4 +--- {socket => net}/connect4.c | 2 +- {socket => net}/connected.c | 0 {socket => net}/connectu.c | 2 +- {socket => net}/cork.c | 4 ++-- {socket => net}/getaddr4.c | 0 net/ipv4.h | 12 ++++++++++++ net/ipv4=l | 3 +++ socket/ipv4addr.c => net/ipv4_addr.c | 2 +- net/ipv4_format.c | 22 ++++++++++++++++++++++ net/ipv4_parse.c | 35 +++++++++++++++++++++++++++++++++++ socket/listen.c => net/linger.c | 10 ++++++---- {socket => net}/listen.c | 2 +- {socket => net}/recv4.c | 0 {socket => net}/recvu.c | 0 net/resolve.h | 16 ++++++++++++++++ net/resolve=l | 3 +++ net/resolve_error.c | 20 ++++++++++++++++++++ net/resolve_ipv4addr.c | 11 +++++++++++ net/resolve_ipv4name.c | 15 +++++++++++++++ {socket => net}/reuse.c | 4 +--- {socket => net}/send4.c | 0 {socket => net}/sendu.c | 0 socket/unixdgm.c => net/setopt.c | 8 +++----- {socket => net}/shutdown.c | 14 +++++++++++++- {socket => net}/socket.h | 21 ++++++++++----------- {socket => net}/socket=l | 2 +- {socket => net}/tcp.c | 0 {socket => net}/udp.c | 0 {socket => net}/uncork.c | 4 ++-- {socket => net}/unixdgm.c | 0 {socket => net}/unixstr.c | 0 36 files changed, 187 insertions(+), 44 deletions(-) copy {socket => net}/accept4.c (88%) copy {socket => net}/acceptu.c (91%) copy {socket => net}/bind4.c (95%) copy {socket => net}/bindu.c (95%) copy {socket => net}/broadcast.c (90%) copy {socket => net}/connect4.c (94%) copy {socket => net}/connected.c (100%) copy {socket => net}/connectu.c (94%) copy {socket => net}/cork.c (93%) copy {socket => net}/getaddr4.c (100%) create mode 100644 net/ipv4.h create mode 100644 net/ipv4=l copy socket/ipv4addr.c => net/ipv4_addr.c (81%) create mode 100644 net/ipv4_format.c create mode 100644 net/ipv4_parse.c copy socket/listen.c => net/linger.c (78%) copy {socket => net}/listen.c (96%) copy {socket => net}/recv4.c (100%) copy {socket => net}/recvu.c (100%) create mode 100644 net/resolve.h create mode 100644 net/resolve=l create mode 100644 net/resolve_error.c create mode 100644 net/resolve_ipv4addr.c create mode 100644 net/resolve_ipv4name.c copy {socket => net}/reuse.c (90%) copy {socket => net}/send4.c (100%) copy {socket => net}/sendu.c (100%) copy socket/unixdgm.c => net/setopt.c (83%) copy {socket => net}/shutdown.c (87%) copy {socket => net}/socket.h (62%) copy {socket => net}/socket=l (94%) copy {socket => net}/tcp.c (100%) copy {socket => net}/udp.c (100%) copy {socket => net}/uncork.c (94%) copy {socket => net}/unixdgm.c (100%) copy {socket => net}/unixstr.c (100%) commit f2c012e137a86993a0881a40e00e14ace444bb08 Author: Bruce Guenter Date: Wed Feb 13 04:28:40 2002 +0000 Depricated the use of $CVM_SASL_LOGIN in favour of $CVM_SASL_PLAIN. cvm-sasl/cvm-sasl.html | 8 +++++--- cvm-sasl/init.c | 27 +++++++++++++++++++-------- 2 files changed, 24 insertions(+), 11 deletions(-) commit e0e81aea7bdc672c2c05cde5f08210f22d4f8de7 Author: Bruce Guenter Date: Fri Feb 1 23:05:27 2002 +0000 Modified str_sort to take a comparison function parameter. str/sort.c | 19 +++++++------------ str/str.h | 10 +++++++++- 2 files changed, 16 insertions(+), 13 deletions(-) commit ffc0e43ec7c94b3274738bfa6ba7a291f9a1e80a Author: Bruce Guenter Date: Sat Oct 20 01:42:07 2001 +0000 Added routines for corking/uncorking a socket. socket/{listen.c => cork.c} | 18 +++++++++++++----- socket/socket.h | 2 ++ socket/socket=l | 2 ++ socket/{getaddr4.c => uncork.c} | 29 ++++++++++++++++------------- 4 files changed, 33 insertions(+), 18 deletions(-) copy socket/{listen.c => cork.c} (70%) copy socket/{getaddr4.c => uncork.c} (60%) commit 5365900113739b3a0a19b1df61dfd89d69d297f0 Author: Bruce Guenter Date: Thu Oct 18 00:13:15 2001 +0000 Completed the alternate read/write function modification. Added a seekable flag. Merged the do_close and do_free flags into the flags field. iobuf/ibuf_init.c | 4 ++-- iobuf/ibuf_open.c | 2 +- iobuf/ibuf_refill.c | 2 +- iobuf/ibuf_stdin.c | 4 +++- iobuf/iobuf.h | 16 ++++++++++------ iobuf/iobuf_close.c | 4 ++-- iobuf/iobuf_init.c | 12 ++++++------ iobuf/obuf_flush.c | 2 +- iobuf/obuf_init.c | 4 ++-- iobuf/obuf_open.c | 6 +++--- iobuf/obuf_putc.c | 2 +- iobuf/obuf_seek.c | 2 +- iobuf/obuf_stderr.c | 4 +++- iobuf/obuf_stdout.c | 4 +++- iobuf/obuf_write.c | 2 +- iobuf/test.c | 2 +- 16 files changed, 41 insertions(+), 31 deletions(-) commit 10ed001fa92c6406e8280eaffb54362263d9a2af Author: Bruce Guenter Date: Wed Oct 17 23:41:52 2001 +0000 Added support for alternate read/write functions. iobuf/ibuf_init.c | 5 ++++- iobuf/ibuf_read.c | 2 +- iobuf/ibuf_refill.c | 2 +- iobuf/iobuf.h | 11 +++++++++-- iobuf/obuf_flush.c | 3 ++- iobuf/obuf_init.c | 5 ++++- iobuf/obuf_write.c | 2 +- 7 files changed, 22 insertions(+), 8 deletions(-) commit 5071006ccf5d449191ad1d64b8610a49e5cab4b4 Author: Bruce Guenter Date: Wed Oct 17 23:40:53 2001 +0000 Added implementation of seek. iobuf/iobuf=l | 1 + iobuf/obuf_seek.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 iobuf/obuf_seek.c commit bfb9ee9323350c024b551357304661fc0eba1507 Author: Bruce Guenter Date: Sat Oct 13 02:31:30 2001 +0000 Removed cdb_ prefix from cdb_hash.c and cdb_make.[ch] cdb/cdb=l | 2 +- cdb/{cdb_hash.c => hash.c} | 0 cdb/{cdb_make.c => make.c} | 0 cdb/{cdb_make.h => make.h} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename cdb/{cdb_hash.c => hash.c} (100%) rename cdb/{cdb_make.c => make.c} (100%) rename cdb/{cdb_make.h => make.h} (100%) commit f2411a5643a610a195b8e699c88dc953692e041e Author: Bruce Guenter Date: Sat Sep 29 03:19:40 2001 +0000 Realloc padsize+etc *more* space. str/catiw.c | 2 +- str/catuw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d0911badbebdb5a89ca726e85b23cd9050929cf3 Author: Bruce Guenter Date: Sat Sep 29 03:19:10 2001 +0000 Make sure the temporary string is freed before returning. str/sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3977866ce42db45f9e9b4dabb96e41b2ac2e1f8c Author: Bruce Guenter Date: Sat Sep 22 09:29:53 2001 +0000 Added a new function, socket_connected. socket/{reuse.c => connected.c} | 16 +++++++++++----- socket/socket.h | 1 + socket/socket=l | 1 + 3 files changed, 13 insertions(+), 5 deletions(-) copy socket/{reuse.c => connected.c} (77%) commit c7dbb499091583075d3a8da5414437b4c79e1b70 Author: Bruce Guenter Date: Sat Sep 15 04:32:11 2001 +0000 Ignore the first portion of the credential string instead of requiring it to be equal to the second portion. cvm-sasl/plain.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 95916546f231fc544cf89bddfcad99f79455ca0e Author: Bruce Guenter Date: Sat Sep 15 04:31:36 2001 +0000 Fixed up generation of the domain name in the challenge string. cvm-sasl/cram_md5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ccf56ad8e849dbee1f81468033ddd9cd49554ff Author: Bruce Guenter Date: Fri Sep 14 11:46:31 2001 +0000 Added a transform function parameter to dictionary loading functions. dict/load.h | 11 +++++++++++ dict/load_list.c | 7 +++++-- dict/load_map.c | 5 ++++- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 dict/load.h commit 6db1a369dad077e2df239c8945a19cc193cd0d1c Author: Bruce Guenter Date: Sat Sep 8 00:13:31 2001 +0000 Always set a NUL byte at len, to avoid non-NUL-terminated strings. str/truncate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit fbd42f376e24e8330283b6f4321fca9a520ffb73 Author: Bruce Guenter Date: Sat Sep 8 00:12:37 2001 +0000 Fixed operation of the PLAIN mechanism. cvm-sasl/plain.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 3a838cfab63c0f99b617fcd9a97cdbd93a9ff17a Author: Bruce Guenter Date: Sat Sep 8 00:12:24 2001 +0000 *** empty log message *** cvm-sasl/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 825b413641ad29eabef1855b7686ce9f045e0d7b Author: Bruce Guenter Date: Fri Sep 7 12:38:53 2001 +0000 Added ibuf_getstr_crlf object. iobuf/str=l | 1 + 1 file changed, 1 insertion(+) commit 400ff6b5e968186858bbf18571d4ec829ef85712 Author: Bruce Guenter Date: Fri Sep 7 12:38:40 2001 +0000 Added new function ibuf_getstr_crlf, to retrieve [CR]LF terminated strings. iobuf/ibuf_getstr_crlf.c | 15 +++++++++++++++ iobuf/iobuf.h | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 iobuf/ibuf_getstr_crlf.c commit a6e1f0a1059619f40d2157e39e58e20abadea226 Author: Bruce Guenter Date: Fri Sep 7 12:38:04 2001 +0000 Fixed missing include. iobuf/obuf_write.c | 1 + 1 file changed, 1 insertion(+) commit cf9eab3bb34f89b5441a17d4833af0d1dbaa6b07 Author: Bruce Guenter Date: Fri Sep 7 12:37:32 2001 +0000 Fixed the order of parameters to memmove. str/cut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a4ec19bdbd0e5a9f6bada9ea06727b158f8c874 Author: Bruce Guenter Date: Fri Sep 7 12:36:36 2001 +0000 Added missing objects. str/str=l | 4 ++++ 1 file changed, 4 insertions(+) commit 3ca1dd4503b0f9d18133165e69ea12f9cd802b72 Author: Bruce Guenter Date: Fri Sep 7 12:36:21 2001 +0000 Fixed typo in declaration of str_findnextof macro. str/str.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32bec39c79aa2310760592bc3baa360b4557937e Author: Bruce Guenter Date: Sat Aug 25 11:14:21 2001 +0000 Added some documentation. cvm-sasl/cvm-sasl.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cvm-sasl/cvm-sasl.html commit 36b415ccfa42ac0a64d5bfb052cf249505f45db8 Author: Bruce Guenter Date: Sat Aug 25 11:14:14 2001 +0000 Modified the list of mechanisms to be a more intelligent linked list. cvm-sasl/cvm-sasl.h | 4 +++- cvm-sasl/init.c | 31 +++++++++++++++++++++++-------- cvm-sasl/start.c | 4 ++-- 3 files changed, 28 insertions(+), 11 deletions(-) commit 6b7e12c3b8caa3e3d245aee3de47211a29878c1d Author: Bruce Guenter Date: Sat Aug 25 02:32:14 2001 +0000 Added extra "parse account" parameter to cvm_authenticate. cvm-sasl/authenticate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 516aec4ef41d452ef416e99448146e0716cf5855 Author: Bruce Guenter Date: Sat Aug 11 04:10:16 2001 +0000 First checkin. cvm-sasl/authenticate.c | 13 +++++++++++++ cvm-sasl/cram_md5.c | 43 +++++++++++++++++++++++++++++++++++++++++++ cvm-sasl/cvm-sasl.h | 33 +++++++++++++++++++++++++++++++++ cvm-sasl/cvm-sasl=l | 6 ++++++ cvm-sasl/init.c | 22 ++++++++++++++++++++++ cvm-sasl/internal.h | 17 +++++++++++++++++ cvm-sasl/login.c | 28 ++++++++++++++++++++++++++++ cvm-sasl/plain.c | 21 +++++++++++++++++++++ cvm-sasl/start.c | 19 +++++++++++++++++++ 9 files changed, 202 insertions(+) create mode 100644 cvm-sasl/authenticate.c create mode 100644 cvm-sasl/cram_md5.c create mode 100644 cvm-sasl/cvm-sasl.h create mode 100644 cvm-sasl/cvm-sasl=l create mode 100644 cvm-sasl/init.c create mode 100644 cvm-sasl/internal.h create mode 100644 cvm-sasl/login.c create mode 100644 cvm-sasl/plain.c create mode 100644 cvm-sasl/start.c commit 0be25083c229b61f60042ec53f14691fec309d1b Author: Bruce Guenter Date: Sat Aug 11 01:55:01 2001 +0000 Added standard routines for loading up dictionaries. dict/load=l | 2 ++ dict/load_list.c | 21 +++++++++++++++++++++ dict/load_map.c | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 dict/load=l create mode 100644 dict/load_list.c create mode 100644 dict/load_map.c commit 2dd993a3737c56e8719df62536f4c312e489d00d Author: Bruce Guenter Date: Sat Aug 11 01:54:41 2001 +0000 *** empty log message *** dict/dict=l | 1 + 1 file changed, 1 insertion(+) commit 51e2b3221da4cbef116844bd3dad4ccd47a6c9ac Author: Bruce Guenter Date: Sat Aug 11 01:54:31 2001 +0000 Added a convenience function for freeing dictionaries of strings. dict/dict.h | 1 + dict/str_free.c | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 dict/str_free.c commit b090cdd78553f57b8a7e0e6002b20ba2477edaa5 Author: Bruce Guenter Date: Thu Aug 9 09:21:41 2001 +0000 Turned some char* into char[] types, making them constant. cli/cli.h | 8 ++++---- cli/main.c | 10 +++------- 2 files changed, 7 insertions(+), 11 deletions(-) commit 7e17b6dce4bdcf839d660f7dadb98ad506f66841 Author: Bruce Guenter Date: Thu Aug 9 09:20:52 2001 +0000 Removed system-dependant alloca.h include. str/sort.c | 1 - 1 file changed, 1 deletion(-) commit 1fa70ad01788f3abe041472cbcd78550eba90bad Author: Bruce Guenter Date: Thu Aug 9 09:20:33 2001 +0000 Header fixups. socket/accept4.c | 1 + socket/bind4.c | 1 + socket/connect4.c | 1 + socket/getaddr4.c | 1 + socket/recv4.c | 1 + socket/send4.c | 1 + 6 files changed, 6 insertions(+) commit 302752673f5edc4218bc8ce680ea8ceab8dbabb7 Author: Bruce Guenter Date: Thu Aug 9 09:19:42 2001 +0000 First check in of dict library. dict/add.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dict/dict.h | 33 ++++++++++++++++++++++++ dict/dict=l | 5 ++++ dict/free.c | 19 ++++++++++++++ dict/get.c | 18 +++++++++++++ dict/hash.c | 10 ++++++++ dict/init.c | 8 ++++++ 7 files changed, 177 insertions(+) create mode 100644 dict/add.c create mode 100644 dict/dict.h create mode 100644 dict/dict=l create mode 100644 dict/free.c create mode 100644 dict/get.c create mode 100644 dict/hash.c create mode 100644 dict/init.c commit a565c7bc2c770ee31832041f1a26f00373fa0aa8 Author: Bruce Guenter Date: Thu Aug 9 09:18:51 2001 +0000 First import of CDB library. cdb/cdb.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++ cdb/cdb.h | 37 +++++++++++++ cdb/cdb=l | 3 ++ cdb/cdb_hash.c | 21 ++++++++ cdb/cdb_make.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++ cdb/cdb_make.h | 39 ++++++++++++++ cdb/uint32_unpack.c | 31 +++++++++++ 7 files changed, 418 insertions(+) create mode 100644 cdb/cdb.c create mode 100644 cdb/cdb.h create mode 100644 cdb/cdb=l create mode 100644 cdb/cdb_hash.c create mode 100644 cdb/cdb_make.c create mode 100644 cdb/cdb_make.h create mode 100644 cdb/uint32_unpack.c commit d5992d127c8e31b11e47a64f25c3c51819360af1 Author: Bruce Guenter Date: Thu Aug 9 09:18:10 2001 +0000 First import of base64 library. base64/asc2bin.c | 19 +++++++++++++++++++ base64/base64.h | 20 ++++++++++++++++++++ base64/base64=l | 6 ++++++ base64/bin2asc.c | 3 +++ base64/decode_line.c | 15 +++++++++++++++ base64/decode_part.c | 20 ++++++++++++++++++++ base64/encode_line.c | 18 ++++++++++++++++++ base64/encode_part.c | 26 ++++++++++++++++++++++++++ 8 files changed, 127 insertions(+) create mode 100644 base64/asc2bin.c create mode 100644 base64/base64.h create mode 100644 base64/base64=l create mode 100644 base64/bin2asc.c create mode 100644 base64/decode_line.c create mode 100644 base64/decode_part.c create mode 100644 base64/encode_line.c create mode 100644 base64/encode_part.c commit c8e499c6d45b490ceeacbedd53f7bc54c3f2729d Author: Bruce Guenter Date: Tue Jul 31 10:42:05 2001 +0000 Added options to control matching of dotfiles. path/fnmatch.c | 42 +++++++++++++++++++++++++++++------------- path/match.c | 17 ++++++++--------- path/path.h | 7 +++++-- 3 files changed, 42 insertions(+), 24 deletions(-) commit 62b445c2d8cd6cbb77474991275479f1bf7c9e3c Author: Bruce Guenter Date: Thu Jul 26 03:32:38 2001 +0000 First check-in python/template/TODO | 15 +++ python/template/__init__.py | 34 +++++ python/template/bench-parse | 9 ++ python/template/bench-preparse | 15 +++ python/template/context.py | 66 ++++++++++ python/template/functions.py | 80 ++++++++++++ python/template/lex.py | 68 ++++++++++ python/template/parser.py | 151 ++++++++++++++++++++++ python/template/showtree | 13 ++ python/template/syntax.py | 275 +++++++++++++++++++++++++++++++++++++++++ python/template/template.html | 64 ++++++++++ 11 files changed, 790 insertions(+) create mode 100644 python/template/TODO create mode 100644 python/template/__init__.py create mode 100644 python/template/bench-parse create mode 100644 python/template/bench-preparse create mode 100644 python/template/context.py create mode 100644 python/template/functions.py create mode 100644 python/template/lex.py create mode 100644 python/template/parser.py create mode 100644 python/template/showtree create mode 100644 python/template/syntax.py create mode 100644 python/template/template.html commit dbda59b71edcf26a51ffc1805078e2aa185f201b Author: Bruce Guenter Date: Fri Jul 6 00:23:10 2001 +0000 *** empty log message *** iobuf/TODO | 2 ++ path/TODO | 2 ++ 2 files changed, 4 insertions(+) commit 1fca9e1728ef889887dfdd5ebc605112951398b3 Author: Bruce Guenter Date: Fri Jul 6 00:22:42 2001 +0000 Increase the maximum number of arguments from 4 to 6, and add the PID to all messages. err/message.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 4ed74ac0f950062cd4d4d554f47997c9f58f7d66 Author: Bruce Guenter Date: Fri Jul 6 00:22:16 2001 +0000 Increase the maximum number of arguments from 4 to 6. err/die.c | 4 ++-- err/err.h | 68 ++++++++++++++++++++++++++++++++++++------------------------- err/error.c | 4 ++-- err/warn.c | 4 ++-- 4 files changed, 46 insertions(+), 34 deletions(-) commit cb03d892cccf64b647986e07d0773fe0a8d1da29 Author: Bruce Guenter Date: Fri Jul 6 00:20:27 2001 +0000 Call _exit instead of exit on assertion failure. iobuf/ibuf_refill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdb918724774a0b1e71b2de1001e74ba527276cc Author: Bruce Guenter Date: Fri Jul 6 00:20:09 2001 +0000 Added new function for reading lines into a str. iobuf/{ibuf_gets.c => ibuf_getstr.c} | 9 +++++---- iobuf/iobuf.h | 6 ++++++ iobuf/str=l | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) copy iobuf/{ibuf_gets.c => ibuf_getstr.c} (72%) create mode 100644 iobuf/str=l commit 74b989be489c419c634e6e367e27dad2af79ab4e Author: Bruce Guenter Date: Fri Jul 6 00:18:59 2001 +0000 Added new function obuf_put7s. iobuf/iobuf=l | 1 + iobuf/{obuf_put6s.c => obuf_put7s.c} | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) copy iobuf/{obuf_put6s.c => obuf_put7s.c} (64%) commit cd6f3283d433060d70876766ed7cd90bf6aef9b3 Author: Bruce Guenter Date: Fri Jul 6 00:18:35 2001 +0000 Added missing include of string.h iobuf/ibuf_read.c | 1 + iobuf/iobuf_init.c | 1 + 2 files changed, 2 insertions(+) commit 9cbbb1707f067cd7806a6a408e9e25a258649209 Author: Bruce Guenter Date: Fri Jul 6 00:17:53 2001 +0000 Use iopoll instead of poll directly. iobuf/iobuf_timeout.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aa2601d72c094436cb4cdb8dba15efe8215323db Author: Bruce Guenter Date: Sat Jun 30 03:38:05 2001 +0000 Added routines to sort a list, and to chop bytes off the front or end of a string. str/{copy.c => cut.c} | 29 ++++++++++--------- str/iter.h | 4 ++- str/sort.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ str/str.h | 3 ++ str/str=l | 2 ++ 5 files changed, 101 insertions(+), 15 deletions(-) copy str/{copy.c => cut.c} (64%) create mode 100644 str/sort.c commit 87ebcb539d28a11de974f4c5a4dfab81c867aae9 Author: Bruce Guenter Date: Sat Jun 30 03:37:21 2001 +0000 Added a routine to get the IPv4 address of a socket. socket/{accept4.c => getaddr4.c} | 18 +++++++++--------- socket/socket.h | 3 ++- socket/socket=l | 1 + 3 files changed, 12 insertions(+), 10 deletions(-) copy socket/{accept4.c => getaddr4.c} (72%) commit 6f1b9dbf08c44ac5c1a8ee7e74c329b05aefca0c Author: Bruce Guenter Date: Fri Jun 29 12:10:22 2001 +0000 Initial revision path/TODO | 6 +++ path/all.spac | 1 + str/lstrip.c => path/contains.c | 26 +++++++---- path/fnmatch.c | 72 +++++++++++++++++++++++++++++ path/match.c | 100 ++++++++++++++++++++++++++++++++++++++++ path/merge.c | 62 +++++++++++++++++++++++++ path/path.h | 12 +++++ path/path=l | 4 ++ path/test.c | 28 +++++++++++ path/test.exp | 8 ++++ path/test=x | 4 ++ 11 files changed, 314 insertions(+), 9 deletions(-) create mode 100644 path/TODO create mode 100644 path/all.spac copy str/lstrip.c => path/contains.c (62%) create mode 100644 path/fnmatch.c create mode 100644 path/match.c create mode 100644 path/merge.c create mode 100644 path/path.h create mode 100644 path/path=l create mode 100644 path/test.c create mode 100644 path/test.exp create mode 100644 path/test=x commit c4b6c8d42729e899cd63bffec7f0329214a2d5af Author: Bruce Guenter Date: Fri Jun 15 04:13:50 2001 +0000 Added missing object files. str/str=l | 2 ++ 1 file changed, 2 insertions(+) commit 7fd33ffd1e9b24a49a2afa2767acec1882fd28d7 Author: Bruce Guenter Date: Fri Jun 15 04:13:35 2001 +0000 Fixed a typo in the loop. str/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c4710ca4fa04771c6d5d9422781430fc8f0ede6 Author: Bruce Guenter Date: Fri Jun 15 04:13:20 2001 +0000 Use memmove instead of memcpy due to the fact that the strings will be overlapping. str/lstrip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8920457597f7f7930b69acad2d0da0754a7f2f68 Author: Bruce Guenter Date: Fri Jun 15 04:12:51 2001 +0000 Need to include string.h str/realloc.c | 1 + 1 file changed, 1 insertion(+) commit 1973ff1006aadb9ef802ff813a7878eca00e4be3 Author: Bruce Guenter Date: Fri Jun 15 04:12:39 2001 +0000 Fixed the ordering of the digits and properly inserted padding. str/catiw.c | 16 ++++++++-------- str/catuw.c | 14 ++++++++------ 2 files changed, 16 insertions(+), 14 deletions(-) commit 3f54f7b75b27de70bf9e7684b8da8f18529d9a9a Author: Bruce Guenter Date: Fri Mar 30 21:30:36 2001 +0000 Added striter functions to this library. str/iter.h | 22 ++++++++++++++++++++++ str/iter=l | 3 +++ str/iter_advance.c | 15 +++++++++++++++ str/iter_start.c | 12 ++++++++++++ str/iter_valid.c | 6 ++++++ 5 files changed, 58 insertions(+) create mode 100644 str/iter.h create mode 100644 str/iter=l create mode 100644 str/iter_advance.c create mode 100644 str/iter_start.c create mode 100644 str/iter_valid.c commit 3060e87a70c30dbde6b41b7edbce6f67c4cc7133 Author: Bruce Guenter Date: Thu Mar 29 03:03:05 2001 +0000 Added string comparison functions. str/{copy.c => cmp.c} | 23 ++++++++++++----------- str/{copy.c => diff.c} | 26 +++++++++++++++----------- 2 files changed, 27 insertions(+), 22 deletions(-) copy str/{copy.c => cmp.c} (61%) copy str/{copy.c => diff.c} (62%) commit cc51c9a7c63a3d6d0e9d52fc817cde2c7cfac79e Author: Bruce Guenter Date: Thu Mar 29 03:02:57 2001 +0000 *** empty log message *** str/str.h | 10 ++++++++++ str/str=l | 3 +++ 2 files changed, 13 insertions(+) commit 72615eb817b5a395da3eb5830a0498d9d6e748a4 Author: Bruce Guenter Date: Thu Mar 29 03:02:36 2001 +0000 Added a string truncation function, different than reallocation or readying. str/{free.c => truncate.c} | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) copy str/{free.c => truncate.c} (78%) commit fcc5ea622709407156735cc0a7b3ba4386e9ac9e Author: Bruce Guenter Date: Wed Mar 28 21:28:05 2001 +0000 Added new functions to handle UNIX-domain sockets. socket/{accept4.c => acceptu.c} | 10 ++++------ socket/{bind4.c => bindu.c} | 17 +++++++++-------- socket/{connect4.c => connectu.c} | 14 ++++++-------- socket/{udp.c => recvu.c} | 8 +++----- socket/{udp.c => sendu.c} | 8 +++----- socket/{udp.c => unixdgm.c} | 6 +++--- socket/{udp.c => unixstr.c} | 6 +++--- 7 files changed, 31 insertions(+), 38 deletions(-) copy socket/{accept4.c => acceptu.c} (81%) copy socket/{bind4.c => bindu.c} (76%) copy socket/{connect4.c => connectu.c} (77%) copy socket/{udp.c => recvu.c} (83%) copy socket/{udp.c => sendu.c} (83%) copy socket/{udp.c => unixdgm.c} (88%) copy socket/{udp.c => unixstr.c} (88%) commit 6e9bdb8b2ca6ff533151ac65dec654bff1914d54 Author: Bruce Guenter Date: Wed Mar 28 21:27:52 2001 +0000 Added new functions. socket/socket.h | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 5a2cd49dfef1210a66d12612f4f28d5a381fade5 Author: Bruce Guenter Date: Wed Mar 28 21:27:41 2001 +0000 Added new routine to shut down sockets. socket/{reuse.c => shutdown.c} | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) copy socket/{reuse.c => shutdown.c} (75%) commit 2ef0b30ef2c2fd087220b5f96972c7410fe95dca Author: Bruce Guenter Date: Wed Mar 28 21:27:11 2001 +0000 *** empty log message *** socket/socket=l | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 6142295d98652a24c633f4fcfa0e618e2f2217fb Author: Bruce Guenter Date: Wed Mar 28 21:26:34 2001 +0000 Don't handle interrupted connections. socket/connect4.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0ec5938062fb4370b36d5793a6da74d83eae41c5 Author: Bruce Guenter Date: Wed Mar 28 21:26:16 2001 +0000 Added source for ipv4 address constants. socket/ipv4addr.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 socket/ipv4addr.c commit 56b6f87bd799be4534665866a1ecea1dcb607cf8 Author: Bruce Guenter Date: Wed Mar 28 21:25:42 2001 +0000 Added function to set broadcast mode flag. socket/{reuse.c => broadcast.c} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) copy socket/{reuse.c => broadcast.c} (85%) commit 3dd96670ed3d7b40def8645d5d2afd9ac78fe0a7 Author: Bruce Guenter Date: Wed Mar 28 21:25:08 2001 +0000 Removed unnecessary include. socket/reuse.c | 1 - 1 file changed, 1 deletion(-) commit 786b221b28a272e48baa7aac1cb741bacfc8fa8b Author: Bruce Guenter Date: Wed Mar 28 21:24:31 2001 +0000 Don't automatically set non-blocking mode on new sockets. socket/tcp.c | 9 +-------- socket/udp.c | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) commit 9e080527efeb178c98eeae5039d1f6686e3b3f91 Author: Bruce Guenter Date: Thu Mar 8 22:24:04 2001 +0000 Removed unused argc parameter in parse_long. cli/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7ca9b7d4ee3f7c9fbd7cf0c199c211d4b2ca2b8 Author: Bruce Guenter Date: Thu Mar 8 22:22:39 2001 +0000 Added some unsigned type conversions to remove warnings. iobuf/ibuf_read.c | 3 ++- iobuf/ibuf_refill.c | 2 +- iobuf/obuf_flush.c | 2 +- iobuf/obuf_write.c | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) commit 4fd9b9f507843f0ae27d6b8349092f85bc12b754 Author: Bruce Guenter Date: Thu Mar 8 22:22:11 2001 +0000 Added missing "do_close" initializer. iobuf/ibuf_stdin.c | 2 +- iobuf/obuf_stderr.c | 2 +- iobuf/obuf_stdout.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 10fb0e1a72cabe943c0575ca205753b794c671a7 Author: Bruce Guenter Date: Thu Mar 8 21:45:06 2001 +0000 The position has to be a signed integer, not unsigned. str/count.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df2e60bbfb2f55564ad635551b6f23566f895923 Author: Bruce Guenter Date: Thu Mar 8 21:43:39 2001 +0000 Added new multi-string copy functions. str/{cat2s.c => copy2s.c} | 8 ++++---- str/{cat3s.c => copy3s.c} | 8 ++++---- str/{cat4s.c => copy4s.c} | 10 +++++----- str/{cat5s.c => copy5s.c} | 10 +++++----- str/{cat6s.c => copy6s.c} | 10 +++++----- 5 files changed, 23 insertions(+), 23 deletions(-) copy str/{cat2s.c => copy2s.c} (84%) copy str/{cat3s.c => copy3s.c} (83%) copy str/{cat4s.c => copy4s.c} (82%) copy str/{cat5s.c => copy5s.c} (82%) copy str/{cat6s.c => copy6s.c} (82%) commit f943573980293ba4e9db68cf3e3097f5f84b624e Author: Bruce Guenter Date: Thu Mar 8 21:43:26 2001 +0000 Added new multi-string catenation functions. str/{copy.c => cat2s.c} | 26 ++++++++++---------------- str/{copy.c => cat3s.c} | 28 ++++++++++++---------------- str/{copy.c => cat4s.c} | 31 +++++++++++++++---------------- str/{copy.c => cat5s.c} | 33 +++++++++++++++++---------------- str/{copy.c => cat6s.c} | 35 +++++++++++++++++++---------------- 5 files changed, 73 insertions(+), 80 deletions(-) copy str/{copy.c => cat2s.c} (70%) copy str/{copy.c => cat3s.c} (65%) copy str/{copy.c => cat4s.c} (61%) copy str/{copy.c => cat5s.c} (57%) copy str/{copy.c => cat6s.c} (54%) commit b0230e8de88e0af9e392ab86fb1fac0325bc89f6 Author: Bruce Guenter Date: Thu Mar 8 21:43:06 2001 +0000 Added new functions. str/str.h | 11 +++++++++++ str/str=l | 17 +++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) commit fcfa23f1dc7099a31c3f0479af06a1e5d0a32f1a Author: Bruce Guenter Date: Thu Mar 8 21:42:52 2001 +0000 Removed the memory copy and actually free the old memory block. str/ready.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e52405d904c7c19f91034fbb183e384769632c55 Author: Bruce Guenter Date: Thu Mar 8 21:42:22 2001 +0000 Added new "str_realloc" function that does the memory copy that "str_ready" used to do. str/cat.c | 4 ++-- str/catiw.c | 2 +- str/catuw.c | 2 +- str/join.c | 2 +- str/{ready.c => realloc.c} | 8 +++++--- 5 files changed, 10 insertions(+), 8 deletions(-) copy str/{ready.c => realloc.c} (88%) commit a8b47e78b50b34fe82e5647292234a90a17507bf Author: Bruce Guenter Date: Thu Mar 8 03:35:32 2001 +0000 Initial revision str/findnext.c => socket/accept4.c | 25 ++++++++++++++++--------- str/buildmap.c => socket/bind4.c | 22 +++++++++++++--------- str/buildmap.c => socket/connect4.c | 25 ++++++++++++++++--------- str/free.c => socket/listen.c | 16 ++++++++-------- str/lstrip.c => socket/recv4.c | 26 +++++++++++++++++--------- str/init.c => socket/reuse.c | 20 ++++++++++---------- str/buildmap.c => socket/send4.c | 23 ++++++++++++++--------- socket/socket.h | 19 +++++++++++++++++++ socket/socket=l | 9 +++++++++ str/lstrip.c => socket/tcp.c | 24 +++++++++++++++--------- str/lstrip.c => socket/udp.c | 24 +++++++++++++++--------- 11 files changed, 152 insertions(+), 81 deletions(-) copy str/findnext.c => socket/accept4.c (63%) copy str/buildmap.c => socket/bind4.c (64%) copy str/buildmap.c => socket/connect4.c (60%) copy str/free.c => socket/listen.c (76%) copy str/lstrip.c => socket/recv4.c (61%) copy str/init.c => socket/reuse.c (73%) copy str/buildmap.c => socket/send4.c (60%) create mode 100644 socket/socket.h create mode 100644 socket/socket=l copy str/lstrip.c => socket/tcp.c (68%) copy str/lstrip.c => socket/udp.c (68%) commit 0a1620e839bb98164334927511a50f72784e9476 Author: Bruce Guenter Date: Thu Mar 8 03:15:10 2001 +0000 Added SPAC library file. cli/cli=l | 1 + 1 file changed, 1 insertion(+) create mode 100644 cli/cli=l commit f6801224fee06fa9b0e33604c419db4ff0bd3b30 Author: Bruce Guenter Date: Thu Mar 8 03:14:06 2001 +0000 Converted to a C-based implementation (the C++ version is now in lib/cli++). cli/ChangeLog | 119 ------------------- cli/Makefile.am | 9 -- cli/cli.h | 45 +++----- cli/clitest.cc | 47 -------- cli/main.c | 348 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cli/main.cc | 342 ------------------------------------------------------- cli/messages.cc | 44 ------- 7 files changed, 365 insertions(+), 589 deletions(-) delete mode 100644 cli/ChangeLog delete mode 100644 cli/Makefile.am delete mode 100644 cli/clitest.cc create mode 100644 cli/main.c delete mode 100644 cli/main.cc delete mode 100644 cli/messages.cc commit 73f814a111404651633a3091a1e358839ae94ce5 Author: Bruce Guenter Date: Thu Mar 8 01:30:28 2001 +0000 Renamed lib to libcli++.a cli++/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e08db0201b6cca7d0c2c626a173c264153e0b31f Author: Bruce Guenter Date: Thu Mar 8 01:24:58 2001 +0000 Renamed cli2pod.pl to cli++topod.pl cli++/{cli2pod.pl => cli++topod.pl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cli++/{cli2pod.pl => cli++topod.pl} (100%) commit a8cdc521d0a80613b308d12484faf72a586cb4e0 Author: Bruce Guenter Date: Thu Mar 8 01:24:10 2001 +0000 Renamed cli.h to cli++.h cli++/ChangeLog | 4 ++++ cli++/Makefile.am | 2 +- cli++/clitest.cc | 2 +- cli++/main.cc | 2 +- cli++/messages.cc | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) commit c1e754b9fee20c783e0a609c77863ab5bff7007f Author: Bruce Guenter Date: Thu Mar 8 01:22:36 2001 +0000 Renamed cli to cli++ cli++/{cli.h => cli++.h} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename cli++/{cli.h => cli++.h} (92%) commit 55a9eea8c56ede0fb8d65d588b59b8fba9080fe6 Author: Bruce Guenter Date: Wed Mar 7 20:45:28 2001 +0000 Call iobuf_close even if obuf_flush fails. iobuf/obuf_close.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 05768530fcebb10e33060fadea601d76e97048a4 Author: Bruce Guenter Date: Mon Mar 5 04:25:26 2001 +0000 Fixed error checking logic. iobuf/ibuf_getc.c | 4 ++-- iobuf/ibuf_gets.c | 15 +++++++++------ iobuf/ibuf_peek.c | 4 ++-- iobuf/ibuf_read.c | 19 +++++++++---------- iobuf/ibuf_refill.c | 8 ++++++-- 5 files changed, 28 insertions(+), 22 deletions(-) commit 8dffb162e5d8a447627762fa4d48c0a4b1dd1a32 Author: Bruce Guenter Date: Sun Mar 4 11:11:34 2001 +0000 Fixed typos. iobuf/ibuf_peek.c | 2 +- iobuf/ibuf_read.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 51aa07a54138ebbfcea53e4b0cd00cfc79877e57 Author: Bruce Guenter Date: Sun Mar 4 11:10:13 2001 +0000 Take into account timeout in refill. Simplified some logic. iobuf/ibuf_gets.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b4c0882a62a1efa1cb15ea8c57af914066e29e16 Author: Bruce Guenter Date: Sun Mar 4 11:09:35 2001 +0000 Take into account error conditions and EOF. iobuf/ibuf_peek.c | 2 +- iobuf/ibuf_read.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 81ce9ca40b028fef0269470f08bf2dfe0101f4b2 Author: Bruce Guenter Date: Sun Mar 4 11:06:17 2001 +0000 Take into account timeout. iobuf/ibuf_getc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95fbd99705702a349e407e1a59c79c187e340099 Author: Bruce Guenter Date: Sun Mar 4 11:05:52 2001 +0000 Fixed the logic used so it will actually return, and simplified the loop. iobuf/iobuf_timeout.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit b62d2a8bf3f4bec68f511c9d7a6f3c0677572ccf Author: Bruce Guenter Date: Sun Mar 4 02:11:32 2001 +0000 Use new IOBUF_SET_ERROR macro. iobuf/ibuf_seek.c | 7 ++----- iobuf/obuf_sync.c | 6 +----- 2 files changed, 3 insertions(+), 10 deletions(-) commit 722759e641151222fa8fe9f7a19963f8ec7d0039 Author: Bruce Guenter Date: Sun Mar 4 02:11:22 2001 +0000 Added missing object files. iobuf/iobuf=l | 6 ++++++ 1 file changed, 6 insertions(+) commit 8c86c2b094c03fb1c33097bda1f6cc20fcafd212 Author: Bruce Guenter Date: Sun Mar 4 02:11:09 2001 +0000 Bulk-zero the iobuf structure before setting any values. iobuf/iobuf_init.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 705e6979a9a4814b10844e143274950c29823a30 Author: Bruce Guenter Date: Sun Mar 4 02:10:52 2001 +0000 Added timeout handling. iobuf/ibuf_read.c | 8 +++----- iobuf/ibuf_refill.c | 7 +++---- iobuf/iobuf.h | 15 ++++++++++++++- iobuf/iobuf_timeout.c | 24 ++++++++++++++++++++++++ iobuf/obuf_flush.c | 7 ++----- iobuf/obuf_write.c | 8 ++------ 6 files changed, 48 insertions(+), 21 deletions(-) create mode 100644 iobuf/iobuf_timeout.c commit 08b223eafc63fc350a66bbc4a2ffba75b37c821a Author: Bruce Guenter Date: Thu Mar 1 10:45:55 2001 +0000 Updated the comment. str/str.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 306d420a298bd64de9e4344002ef07754a82dff0 Author: Bruce Guenter Date: Thu Mar 1 10:43:32 2001 +0000 Renamed STR_MINSIZE and STR_ROUNDSIZE to STR_BLOCKSIZE. str/init.c | 4 ++-- str/str.h | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 2b32727bfcae1dc55de222fcad50b83d91dbd4f1 Author: Bruce Guenter Date: Thu Mar 1 10:43:13 2001 +0000 Modified the allocation policy to overallocate 1/8 of the requested size (rounded up to STR_BLOCKSIZE) in anticipation of future concatenations. str/ready.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 2e41e5b0abceb5cf8fe026e427fc56e9cb4da369 Author: Bruce Guenter Date: Thu Mar 1 09:14:41 2001 +0000 Modified these functions to conditionally output the strings if they are non-null. iobuf/obuf_put2s.c | 4 +++- iobuf/obuf_put3s.c | 7 ++++--- iobuf/obuf_put4s.c | 10 +++++----- iobuf/obuf_put5s.c | 12 ++++++------ iobuf/obuf_put6s.c | 14 +++++++------- 5 files changed, 25 insertions(+), 22 deletions(-) commit a5e3cb4c8e7c133cbe499199d8b17925414c9808 Author: Bruce Guenter Date: Thu Mar 1 09:01:31 2001 +0000 Added 2 to 6 multi-string convenience output functions. iobuf/iobuf.h | 8 ++++++++ iobuf/obuf_put2s.c | 7 +++++++ iobuf/obuf_put3s.c | 9 +++++++++ iobuf/obuf_put4s.c | 12 ++++++++++++ iobuf/obuf_put5s.c | 13 +++++++++++++ iobuf/obuf_put6s.c | 14 ++++++++++++++ 6 files changed, 63 insertions(+) create mode 100644 iobuf/obuf_put2s.c create mode 100644 iobuf/obuf_put3s.c create mode 100644 iobuf/obuf_put4s.c create mode 100644 iobuf/obuf_put5s.c create mode 100644 iobuf/obuf_put6s.c commit dc889e2234341bf39b14ebcbde4f3c26c6cab21f Author: Bruce Guenter Date: Thu Mar 1 02:04:01 2001 +0000 *** empty log message *** iobuf/TODO | 1 + 1 file changed, 1 insertion(+) commit 754741cd532923e1b6c4beee8fa62ab6a30865fb Author: Bruce Guenter Date: Thu Mar 1 02:03:57 2001 +0000 Rewrote the tests. iobuf/test.c | 28 ++++++++++++++++++++-------- iobuf/test.exp | 19 ++++++++++++++----- 2 files changed, 34 insertions(+), 13 deletions(-) commit 7e6f720939ef851f05b50c561c7700d3f92228c0 Author: Bruce Guenter Date: Thu Mar 1 01:50:33 2001 +0000 Added tests for the put[ui]w functions. iobuf/test.c | 6 +++++- iobuf/test.exp | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 iobuf/test.exp commit 840dc2cfb465aa4cfac6bb1c3c767d51d43ad3d4 Author: Bruce Guenter Date: Thu Mar 1 01:48:16 2001 +0000 Fixed padding of numbers, and added support for non-space padding. iobuf/iobuf.h | 8 ++++---- iobuf/obuf_putiw.c | 37 +++++++++++++++++++++++++++++++++---- iobuf/obuf_putuw.c | 5 ++--- 3 files changed, 39 insertions(+), 11 deletions(-) commit d66f7af117abe3e58b50993e240c092ab44dcb96 Author: Bruce Guenter Date: Thu Mar 1 01:30:11 2001 +0000 Allow for non-space padding. iobuf/obuf_putuw.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit daa39c5ca5adceca8473edd8a4ea260f60c3a65d Author: Bruce Guenter Date: Thu Mar 1 01:15:49 2001 +0000 Removed the conditional modification of the str, as it will have virtually no impact on performance. str/rstrip.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a32f501fd41fac4d977f6121fe63ea33a1355c19 Author: Bruce Guenter Date: Thu Mar 1 00:55:34 2001 +0000 Various prototype changes. str/str.h | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit 36dff908b79bf5cab24f7640e3872ae529fa1194 Author: Bruce Guenter Date: Thu Mar 1 00:55:23 2001 +0000 Added new modification functions. str/{cat.c => join.c} | 40 +++++++++++++++++++++++----------------- str/{free.c => lower.c} | 14 +++++++------- str/{free.c => lstrip.c} | 16 +++++++++------- str/{free.c => rstrip.c} | 16 +++++++++------- str/{free.c => subst.c} | 14 +++++++------- str/{free.c => upper.c} | 14 +++++++------- 6 files changed, 62 insertions(+), 52 deletions(-) copy str/{cat.c => join.c} (55%) copy str/{free.c => lower.c} (78%) copy str/{free.c => lstrip.c} (75%) copy str/{free.c => rstrip.c} (76%) copy str/{free.c => subst.c} (77%) copy str/{free.c => upper.c} (78%) commit 20cfd23f7560e7a0aeb281399b59e27a8ff4003b Author: Bruce Guenter Date: Thu Mar 1 00:55:06 2001 +0000 Made the source str targets const. str/cat.c | 2 +- str/copy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ea8a5b62a69675004320b2e36a31c83e3daf9638 Author: Bruce Guenter Date: Thu Mar 1 00:51:59 2001 +0000 Removed these extraneous functions. str/findfirst.c | 27 --------------------------- str/findfirstof.c | 30 ------------------------------ str/findlast.c | 26 -------------------------- str/findlastof.c | 28 ---------------------------- 4 files changed, 111 deletions(-) delete mode 100644 str/findfirst.c delete mode 100644 str/findfirstof.c delete mode 100644 str/findlast.c delete mode 100644 str/findlastof.c commit b17c4d448ec2f3c7bfe477367d94da376090f9df Author: Bruce Guenter Date: Thu Mar 1 00:16:30 2001 +0000 Made the string parameter constant for search functions. str/findfirst.c | 2 +- str/findfirstof.c | 2 +- str/findlast.c | 2 +- str/findlastof.c | 2 +- str/findnext.c | 2 +- str/findnextof.c | 2 +- str/findprev.c | 2 +- str/findprevof.c | 2 +- str/str.h | 18 ++++++++++-------- 9 files changed, 18 insertions(+), 16 deletions(-) commit 230b385715be58ac916fc856500a59ce36ef62be Author: Bruce Guenter Date: Thu Mar 1 00:16:11 2001 +0000 *** empty log message *** str/str=l | 6 ++++++ 1 file changed, 6 insertions(+) commit 02355232772f9d82f07b5a84b11212d1f95d8410 Author: Bruce Guenter Date: Thu Mar 1 00:15:55 2001 +0000 Added counting functions. str/{findnext.c => count.c} | 18 ++++++++++-------- str/{findfirstof.c => countof.c} | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 16 deletions(-) copy str/{findnext.c => count.c} (75%) copy str/{findfirstof.c => countof.c} (73%) commit 5347cfc2d2dba1e61a34f160624ea38ee1193fb6 Author: Bruce Guenter Date: Wed Feb 28 23:10:57 2001 +0000 Added the find{last,prev}{,of} functions. str/TODO | 2 +- str/{findfirst.c => findlast.c} | 11 +++++------ str/{findfirstof.c => findlastof.c} | 12 +++++------- str/{init.c => findprev.c} | 15 ++++++--------- str/{findfirstof.c => findprevof.c} | 13 ++++++------- str/str.h | 8 ++++---- 6 files changed, 27 insertions(+), 34 deletions(-) copy str/{findfirst.c => findlast.c} (81%) copy str/{findfirstof.c => findlastof.c} (79%) copy str/{init.c => findprev.c} (77%) copy str/{findfirstof.c => findprevof.c} (76%) commit 96fa4548b84674f9848fc1df1315e621806a10ad Author: Bruce Guenter Date: Wed Feb 28 22:58:00 2001 +0000 Made the minsize and roundsize globals into defines. str/str.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit a11ee7f2012845d02f22df56ec72c58c5efccee5 Author: Bruce Guenter Date: Wed Feb 28 22:57:38 2001 +0000 NUL-terminate the string after modifying it. str/cat.c | 2 ++ str/catiw.c | 1 + str/catuw.c | 1 + str/copy.c | 1 + str/init.c | 7 +++---- 5 files changed, 8 insertions(+), 4 deletions(-) commit acff424a88443f5c71c22893114f9aa7932cf16c Author: Bruce Guenter Date: Wed Feb 28 22:57:09 2001 +0000 Always make sure there is size+1 bytes of space available. str/ready.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 87044467fa1a9ec5602eefd760d76ca936818d7a Author: Bruce Guenter Date: Wed Feb 28 11:44:01 2001 +0000 Added routines to append signed and unsigned numbers. str/{ready.c => catiw.c} | 42 ++++++++++++++++++++++++++++-------------- str/{findfirstof.c => catuw.c} | 25 ++++++++++++++++--------- str/str.h | 4 ++++ 3 files changed, 48 insertions(+), 23 deletions(-) copy str/{ready.c => catiw.c} (51%) copy str/{findfirstof.c => catuw.c} (63%) commit d518476bc483aed438bc47c1b617e8fb48884b4c Author: Bruce Guenter Date: Wed Feb 28 05:49:50 2001 +0000 Initial revision err/die.c | 10 +++++ err/err.h | 41 +++++++++++++++++++ err/err=l | 4 ++ err/error.c | 7 ++++ err/message.c | 25 ++++++++++++ err/test.c | 11 +++++ err/test=x | 2 + err/warn.c | 7 ++++ iobuf/TODO | 7 ++++ iobuf/ibuf_getc.c | 13 ++++++ iobuf/ibuf_gets.c | 15 +++++++ iobuf/ibuf_getu.c | 16 ++++++++ iobuf/ibuf_init.c | 7 ++++ iobuf/ibuf_open.c | 13 ++++++ iobuf/ibuf_peek.c | 11 +++++ iobuf/ibuf_read.c | 63 +++++++++++++++++++++++++++++ iobuf/ibuf_refill.c | 37 +++++++++++++++++ iobuf/ibuf_seek.c | 28 +++++++++++++ iobuf/ibuf_status.c | 7 ++++ iobuf/ibuf_stdin.c | 5 +++ iobuf/ibuf_tell.c | 8 ++++ iobuf/iobuf.h | 101 ++++++++++++++++++++++++++++++++++++++++++++++ iobuf/iobuf=l | 30 ++++++++++++++ iobuf/iobuf_close.c | 17 ++++++++ iobuf/iobuf_copy.c | 19 +++++++++ iobuf/iobuf_init.c | 25 ++++++++++++ iobuf/obuf_close.c | 7 ++++ iobuf/obuf_endl.c | 6 +++ iobuf/obuf_flush.c | 26 ++++++++++++ iobuf/obuf_init.c | 8 ++++ iobuf/obuf_open.c | 9 +++++ iobuf/obuf_pad.c | 10 +++++ iobuf/obuf_putc.c | 16 ++++++++ iobuf/obuf_putiw.c | 11 +++++ iobuf/obuf_putnetstring.c | 10 +++++ iobuf/obuf_putsflush.c | 7 ++++ iobuf/obuf_putuw.c | 23 +++++++++++ iobuf/obuf_stderr.c | 5 +++ iobuf/obuf_stdout.c | 5 +++ iobuf/obuf_sync.c | 16 ++++++++ iobuf/obuf_write.c | 57 ++++++++++++++++++++++++++ iobuf/test.c | 11 +++++ iobuf/test=x | 1 + str/TODO | 1 + str/buildmap.c | 28 +++++++++++++ str/cat.c | 44 ++++++++++++++++++++ str/copy.c | 37 +++++++++++++++++ str/findfirst.c | 27 +++++++++++++ str/findfirstof.c | 30 ++++++++++++++ str/findnext.c | 28 +++++++++++++ str/findnextof.c | 31 ++++++++++++++ str/free.c | 27 +++++++++++++ str/init.c | 31 ++++++++++++++ str/ready.c | 36 +++++++++++++++++ str/str.h | 35 ++++++++++++++++ str/str=l | 10 +++++ str/test.c | 32 +++++++++++++++ str/test.exp | 11 +++++ str/test=x | 1 + 59 files changed, 1166 insertions(+) create mode 100644 err/die.c create mode 100644 err/err.h create mode 100644 err/err=l create mode 100644 err/error.c create mode 100644 err/message.c create mode 100644 err/test.c create mode 100644 err/test=x create mode 100644 err/warn.c create mode 100644 iobuf/TODO create mode 100644 iobuf/ibuf_getc.c create mode 100644 iobuf/ibuf_gets.c create mode 100644 iobuf/ibuf_getu.c create mode 100644 iobuf/ibuf_init.c create mode 100644 iobuf/ibuf_open.c create mode 100644 iobuf/ibuf_peek.c create mode 100644 iobuf/ibuf_read.c create mode 100644 iobuf/ibuf_refill.c create mode 100644 iobuf/ibuf_seek.c create mode 100644 iobuf/ibuf_status.c create mode 100644 iobuf/ibuf_stdin.c create mode 100644 iobuf/ibuf_tell.c create mode 100644 iobuf/iobuf.h create mode 100644 iobuf/iobuf=l create mode 100644 iobuf/iobuf_close.c create mode 100644 iobuf/iobuf_copy.c create mode 100644 iobuf/iobuf_init.c create mode 100644 iobuf/obuf_close.c create mode 100644 iobuf/obuf_endl.c create mode 100644 iobuf/obuf_flush.c create mode 100644 iobuf/obuf_init.c create mode 100644 iobuf/obuf_open.c create mode 100644 iobuf/obuf_pad.c create mode 100644 iobuf/obuf_putc.c create mode 100644 iobuf/obuf_putiw.c create mode 100644 iobuf/obuf_putnetstring.c create mode 100644 iobuf/obuf_putsflush.c create mode 100644 iobuf/obuf_putuw.c create mode 100644 iobuf/obuf_stderr.c create mode 100644 iobuf/obuf_stdout.c create mode 100644 iobuf/obuf_sync.c create mode 100644 iobuf/obuf_write.c create mode 100644 iobuf/test.c create mode 100644 iobuf/test=x create mode 100644 str/TODO create mode 100644 str/buildmap.c create mode 100644 str/cat.c create mode 100644 str/copy.c create mode 100644 str/findfirst.c create mode 100644 str/findfirstof.c create mode 100644 str/findnext.c create mode 100644 str/findnextof.c create mode 100644 str/free.c create mode 100644 str/init.c create mode 100644 str/ready.c create mode 100644 str/str.h create mode 100644 str/str=l create mode 100644 str/test.c create mode 100644 str/test.exp create mode 100644 str/test=x commit b61b4d8a5596038aaa33cbb8962685864bdf9c14 Author: Bruce Guenter Date: Tue Nov 21 08:52:44 2000 +0000 New mmap-based CDB implementation continues. cdb++/ChangeLog | 4 +++ cdb++/cdb++.h | 11 ++++----- cdb++/cdb_get.cc | 70 +++++++++++++++++------------------------------------ cdb++/cdb_reader.cc | 53 ++++++++++++++++++++-------------------- 4 files changed, 57 insertions(+), 81 deletions(-) commit d128b15654542c11831720699674752cbd8b604e Author: Bruce Guenter Date: Thu Oct 26 02:20:11 2000 +0000 Fixed minor bug in parsing the terminating option. cli++/ChangeLog | 4 ++++ cli++/cli2pod.pl | 1 + cli/ChangeLog | 4 ++++ cli/cli2pod.pl | 1 + 4 files changed, 10 insertions(+) commit 660a28a5a45e7650a16cc96c478af603f2aa68c7 Author: Bruce Guenter Date: Mon Oct 2 23:21:41 2000 +0000 Added some missing includes. mystring/append.cc | 1 + 1 file changed, 1 insertion(+) commit 7f9e7eb6f54801eafe57ee2bd45f7d84c4195222 Author: Bruce Guenter Date: Sun Sep 24 02:11:07 2000 +0000 Added cli2pod.pl to EXTRA_DIST. cli++/Makefile.am | 2 +- cli/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e92e935e648a43b351b53497168a1a69c7f3f158 Author: Bruce Guenter Date: Tue Aug 22 23:26:10 2000 +0000 Fixed up the error number accessor. fdbuf/ChangeLog | 4 ++-- fdbuf/fdbuf.h | 1 - fdbuf/fdibuf.h | 1 + fdbuf/fdobuf.h | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) commit e6bf1285aa25dacac5c19fd076b787bd54e4bc44 Author: Bruce Guenter Date: Tue Aug 22 23:21:56 2000 +0000 Added an error number accessor. fdbuf/ChangeLog | 5 +++++ fdbuf/fdbuf.h | 1 + 2 files changed, 6 insertions(+) commit 9252b9ee8831cd00e8f673da90cb034ceb0d20ad Author: Bruce Guenter Date: Wed Aug 16 11:28:05 2000 +0000 Reorganized the logic slightly. cli++/cli2pod.pl | 12 ++++++++---- cli/cli2pod.pl | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) commit fb0db00e6f9b4f3050ba22fad96b8e0eadc72968 Author: Bruce Guenter Date: Wed Aug 16 10:28:01 2000 +0000 *** empty log message *** cli++/cli2pod.pl | 6 +++--- cli/cli2pod.pl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 1d4ce65b9971138e8eed2fe6e986318b80c3c435 Author: Bruce Guenter Date: Wed Aug 16 07:58:02 2000 +0000 Replaced all the CLI documentation generators with cli2pod.pl cli++/ChangeLog | 15 ++++ cli++/cli2html.pl | 84 ---------------------- cli++/cli2man.pl | 73 ------------------- cli++/cli2pod.pl | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++++ cli++/cli_parse.pl | 145 ------------------------------------- cli/ChangeLog | 15 ++++ cli/cli2html.pl | 84 ---------------------- cli/cli2man.pl | 73 ------------------- cli/cli2pod.pl | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++++ cli/cli_parse.pl | 145 ------------------------------------- 10 files changed, 446 insertions(+), 604 deletions(-) delete mode 100644 cli++/cli2html.pl delete mode 100644 cli++/cli2man.pl create mode 100644 cli++/cli2pod.pl delete mode 100644 cli++/cli_parse.pl delete mode 100644 cli/cli2html.pl delete mode 100644 cli/cli2man.pl create mode 100644 cli/cli2pod.pl delete mode 100644 cli/cli_parse.pl commit 9ab606591c47aa5d277a1d76d3dfc009bfa3c861 Author: Bruce Guenter Date: Sun Aug 13 12:18:44 2000 +0000 Fixed description paragraph parsing some. cli++/ChangeLog | 4 ++++ cli++/cli_parse.pl | 16 +++++++++++----- cli/ChangeLog | 4 ++++ cli/cli_parse.pl | 16 +++++++++++----- 4 files changed, 30 insertions(+), 10 deletions(-) commit 56e2c7faa4099b95e4954aec6d43a19a1d80a34f Author: Bruce Guenter Date: Sun Aug 13 11:01:37 2000 +0000 Improved the modularity of the two programs -- moved more of the functionality into cli_parse.pl. cli++/cli2html.pl | 86 +++++++++++++++++++++++++++++------------------------- cli++/cli2man.pl | 84 +++++++++++++++++++++++++++------------------------- cli++/cli_parse.pl | 33 +++++++++++++++++++-- cli/cli2html.pl | 86 +++++++++++++++++++++++++++++------------------------- cli/cli2man.pl | 84 +++++++++++++++++++++++++++------------------------- cli/cli_parse.pl | 33 +++++++++++++++++++-- 6 files changed, 242 insertions(+), 164 deletions(-) commit 24fc2e164086032942bb01aac5a2b385d717c381 Author: Bruce Guenter Date: Sun Aug 13 00:13:50 2000 +0000 Added a simple parsing framework to turn CLI programs into either man pages or HTML documentation (that looks like a man page). cli++/cli2html.pl | 76 ++++++++++++++++++++++++++++++++++++ cli++/cli2man.pl | 69 +++++++++++++++++++++++++++++++++ cli++/cli_parse.pl | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++ cli/cli2html.pl | 76 ++++++++++++++++++++++++++++++++++++ cli/cli2man.pl | 69 +++++++++++++++++++++++++++++++++ cli/cli_parse.pl | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 514 insertions(+) create mode 100644 cli++/cli2html.pl create mode 100644 cli++/cli2man.pl create mode 100644 cli++/cli_parse.pl create mode 100644 cli/cli2html.pl create mode 100644 cli/cli2man.pl create mode 100644 cli/cli_parse.pl commit 23ff61d2cca7f85848114088e4d7de3cf11627e7 Author: Bruce Guenter Date: Fri Aug 11 04:08:35 2000 +0000 Fixed a bug in fdibuf::read_large fdbuf/ChangeLog | 7 +++++++ fdbuf/fdibuf.cc | 7 ++++++- fdbuf/fdibuf_mystring.cc | 14 ++++++++------ 3 files changed, 21 insertions(+), 7 deletions(-) commit 9d37ce4cd0a166a5be3f5f15fb23c15407aa3756 Author: Bruce Guenter Date: Wed Aug 2 04:27:09 2000 +0000 Fixed several width glitches. cli++/ChangeLog | 4 ++++ cli++/main.cc | 14 ++++++++------ cli/ChangeLog | 4 ++++ cli/main.cc | 14 ++++++++------ 4 files changed, 24 insertions(+), 12 deletions(-) commit b4a604532d2078b268df20f8a6c30e4348ee6d8f Author: Bruce Guenter Date: Wed Jul 19 01:15:36 2000 +0000 Added uinteger type, fixed last mystring remenant. cli++/ChangeLog | 6 ++++++ cli++/cli.h | 2 +- cli++/main.cc | 19 +++++++++++++++++-- cli/ChangeLog | 6 ++++++ cli/cli.h | 2 +- cli/main.cc | 19 +++++++++++++++++-- 6 files changed, 48 insertions(+), 6 deletions(-) commit e32d1249a9929d6d4f93f51b985ae43ae92ad43d Author: Bruce Guenter Date: Thu Jul 13 22:08:40 2000 +0000 Modified the makefile to allow for packages without a dependancy on mystring. fdbuf/Makefile.am | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit c373291437589c1e386907ee2f140e9ba612d72c Author: Bruce Guenter Date: Thu Jul 13 22:00:39 2000 +0000 Removed dependancy on mystring. cli++/ChangeLog | 4 ++++ cli++/main.cc | 1 - cli++/messages.cc | 1 - cli/ChangeLog | 4 ++++ cli/main.cc | 1 - cli/messages.cc | 1 - 6 files changed, 8 insertions(+), 4 deletions(-) commit b3db7e6e56df4f37f9085a17c115a4782a47ea29 Author: Bruce Guenter Date: Mon Apr 10 23:11:38 2000 +0000 Small change to order of inline definitions in header file. mystring/mystring.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b687ce0240a54f4e2274a0507a85e78c99eecb05 Author: Bruce Guenter Date: Mon Apr 10 09:19:14 2000 +0000 Added "count" method. mystring/ChangeLog | 5 +++++ mystring/Makefile.am | 1 + cdb++/cdb_getrec.cc => mystring/count.cc | 10 ++++++---- mystring/mystring.h | 2 ++ 4 files changed, 14 insertions(+), 4 deletions(-) copy cdb++/cdb_getrec.cc => mystring/count.cc (81%) commit 666b55f5e24141f5273ab64667ed99555c03bb35 Author: Bruce Guenter Date: Sun Apr 9 10:15:03 2000 +0000 Fixed a bug in read_large. fdbuf/ChangeLog | 5 +++++ fdbuf/fdibuf.cc | 1 + 2 files changed, 6 insertions(+) commit 941b9e6134401386626c159a743adb14d1a99aa0 Author: Bruce Guenter Date: Sat Apr 8 01:12:17 2000 +0000 *** empty log message *** fdbuf/fdobuf.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 4edcf3a492f82819786f4b185e5dcdfbe6dd5d20 Author: Bruce Guenter Date: Fri Apr 7 22:09:01 2000 +0000 Some file reorganization. Added more efficient large block read and write. fdbuf/ChangeLog | 21 ++++ fdbuf/Makefile.am | 6 +- fdbuf/fdibuf.cc | 33 +++++++ fdbuf/fdibuf.h | 1 + fdbuf/fdibuf_mystring.cc | 22 ----- fdbuf/{fdobuf_chownmod.cc => fdibuf_netstring.cc} | 31 +++--- fdbuf/fdobuf.cc | 112 ++++++++-------------- fdbuf/fdobuf.h | 1 + fdbuf/{fdobuf_chownmod.cc => fdobuf_seek.cc} | 36 ++++--- fdbuf/{fdobuf_chownmod.cc => fdobuf_signed.cc} | 30 +++--- fdbuf/{fdobuf_chownmod.cc => fdobuf_unsigned.cc} | 26 ++--- 11 files changed, 174 insertions(+), 145 deletions(-) copy fdbuf/{fdobuf_chownmod.cc => fdibuf_netstring.cc} (66%) copy fdbuf/{fdobuf_chownmod.cc => fdobuf_seek.cc} (63%) copy fdbuf/{fdobuf_chownmod.cc => fdobuf_signed.cc} (68%) copy fdbuf/{fdobuf_chownmod.cc => fdobuf_unsigned.cc} (71%) commit e76086eb8c7aa7d7821a8c413ce2115db2cffbb2 Author: Bruce Guenter Date: Fri Apr 7 05:13:32 2000 +0000 File reorganization. fdbuf/ChangeLog | 8 ++++ fdbuf/Makefile.am | 2 + fdbuf/fdbuf.h | 98 ++------------------------------------------- fdbuf/fdibuf.h | 48 ++++++++++++++++++++++ fdbuf/{fdbuf.h => fdobuf.h} | 94 ++----------------------------------------- 5 files changed, 64 insertions(+), 186 deletions(-) create mode 100644 fdbuf/fdibuf.h copy fdbuf/{fdbuf.h => fdobuf.h} (54%) commit 39ba8c0a564d1ea52ef3c47206f7e62d1c6e8781 Author: Bruce Guenter Date: Fri Apr 7 05:02:05 2000 +0000 Renamed find_{first,last} to find_{first,last}_of. Some file reorganization. mystring/ChangeLog | 15 +++++ mystring/Makefile.am | 6 +- mystring/fdobuf.cc | 9 +++ mystring/find_first_of.cc | 12 ++-- mystring/find_last_of.cc | 12 ++-- cdb++/datum.cc => mystring/iter.h | 30 ++++++---- mystring/join.h | 75 +++++++++++++++++++++++ mystring/mystring.h | 122 ++++---------------------------------- cdb++/datum.cc => mystring/rep.h | 34 +++++++---- 9 files changed, 167 insertions(+), 148 deletions(-) create mode 100644 mystring/fdobuf.cc copy cdb++/datum.cc => mystring/iter.h (64%) create mode 100644 mystring/join.h copy cdb++/datum.cc => mystring/rep.h (60%) commit 38d467383ca1fbc6e22f61ec63231054b11a82e2 Author: Bruce Guenter Date: Thu Apr 6 01:29:35 2000 +0000 Use new include scheme. cdb++/Makefile.am | 2 +- cdb++/cdb++.h | 6 +++--- cdb++/cdb_writer.cc | 1 - cdb++/datum.cc | 2 -- cdb++/datum.h | 4 ++-- cgi/Makefile.am | 2 +- cgi/cgi-args.cc | 3 +-- cgi/cgi-args.h | 2 +- cgi/cgi-base.cc | 3 +-- cgi/cgi-base.h | 4 ++-- cli++/Makefile.am | 2 +- cli++/clitest.cc | 2 +- cli++/main.cc | 15 +++------------ cli++/messages.cc | 4 ++-- cli/Makefile.am | 2 +- cli/clitest.cc | 2 +- cli/main.cc | 15 +++------------ cli/messages.cc | 4 ++-- 18 files changed, 26 insertions(+), 49 deletions(-) commit 7a72b0e250d1bf17e580eae1aa6de74892cdeac9 Author: Bruce Guenter Date: Thu Apr 6 01:22:43 2000 +0000 Use new include scheme. fdbuf/Makefile.am | 2 +- fdbuf/fdibuf_mystring.cc | 2 +- mystring/Makefile.am | 2 +- mystring/mystring.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 01d9fba700e6d9d5f48da4a1fd53db31fb6e1d81 Author: Bruce Guenter Date: Tue Apr 4 00:22:15 2000 +0000 Updated copyright notice in source files. cdb++/cdb++.h | 2 +- cdb++/cdb_get.cc | 2 +- cdb++/cdb_getrec.cc | 2 +- cdb++/cdb_make.cc | 2 +- cdb++/cdb_reader.cc | 2 +- cdb++/cdb_writer.cc | 2 +- cdb++/datum.cc | 2 +- cdb++/internal.h | 2 +- cgi/cgi-args.cc | 2 +- cgi/cgi-base.cc | 2 +- cli++/clitest.cc | 2 +- cli++/main.cc | 2 +- cli++/messages.cc | 2 +- cli/clitest.cc | 2 +- cli/main.cc | 2 +- cli/messages.cc | 2 +- fdbuf/fdbuf.cc | 2 +- fdbuf/fdbuf.h | 2 +- fdbuf/fdbuf_copy.cc | 2 +- fdbuf/fdibuf.cc | 2 +- fdbuf/fdibuf_mystring.cc | 2 +- fdbuf/fdobuf.cc | 2 +- fdbuf/fdobuf_chownmod.cc | 2 +- mystring/iter.cc | 2 +- mystring/mystring.h | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) commit eb52b31df18790d58c0953ec79be46c762fd8ce9 Author: Bruce Guenter Date: Mon Apr 3 21:31:36 2000 +0000 Fixed problem with INCLUDES to change away from using "-I../../include" cgi/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a19d4a82c6eafd95a5d4448c513ea8fff1ecf46b Author: Bruce Guenter Date: Tue Mar 28 11:00:59 2000 +0000 Initial revision ac/dirent.h | 17 +++++++++++++++++ ac/time.h | 10 ++++++++++ ac/wait.h | 10 ++++++++++ 3 files changed, 37 insertions(+) create mode 100644 ac/dirent.h create mode 100644 ac/time.h create mode 100644 ac/wait.h commit e845a89e93f49d2979a30250e67d1abb062c118c Author: Bruce Guenter Date: Sun Feb 13 11:20:24 2000 +0000 Initial check in. cdb++/ChangeLog | 48 +++++++ cdb++/Makefile.am | 16 +++ cdb++/cdb++.h | 114 ++++++++++++++++ cdb++/cdb_get.cc | 87 ++++++++++++ cdb++/cdb_getrec.cc | 23 ++++ cdb++/cdb_make.cc | 118 ++++++++++++++++ cdb++/cdb_reader.cc | 81 +++++++++++ cdb++/cdb_writer.cc | 93 +++++++++++++ cdb++/cdbtest.cc | 15 +++ cdb++/datum.cc | 34 +++++ cdb++/datum.h | 18 +++ cdb++/internal.h | 49 +++++++ cgi/ChangeLog | 8 ++ cgi/Makefile.am | 8 ++ cgi/cgi-args.cc | 143 ++++++++++++++++++++ cgi/cgi-args.h | 52 +++++++ cgi/cgi-base.cc | 111 +++++++++++++++ cgi/cgi-base.h | 39 ++++++ cli++/ChangeLog | 82 ++++++++++++ cli++/Makefile.am | 9 ++ cli++/cli.h | 59 ++++++++ cli++/clitest.cc | 47 +++++++ cli++/main.cc | 335 ++++++++++++++++++++++++++++++++++++++++++++++ cli++/messages.cc | 45 +++++++ cli/ChangeLog | 82 ++++++++++++ cli/Makefile.am | 9 ++ cli/cli.h | 59 ++++++++ cli/clitest.cc | 47 +++++++ cli/main.cc | 335 ++++++++++++++++++++++++++++++++++++++++++++++ cli/messages.cc | 45 +++++++ fdbuf/ChangeLog | 115 ++++++++++++++++ fdbuf/Makefile.am | 11 ++ fdbuf/fdbuf.cc | 107 +++++++++++++++ fdbuf/fdbuf.h | 174 ++++++++++++++++++++++++ fdbuf/fdbuf_copy.cc | 38 ++++++ fdbuf/fdbuf_test.cc | 16 +++ fdbuf/fdibuf.cc | 153 +++++++++++++++++++++ fdbuf/fdibuf_mystring.cc | 72 ++++++++++ fdbuf/fdobuf.cc | 243 +++++++++++++++++++++++++++++++++ fdbuf/fdobuf_chownmod.cc | 34 +++++ mystring/ChangeLog | 96 +++++++++++++ mystring/Makefile.am | 24 ++++ mystring/append.cc | 18 +++ mystring/assign.cc | 55 ++++++++ mystring/find_first_ch.cc | 11 ++ mystring/find_first_of.cc | 22 +++ mystring/find_last_ch.cc | 14 ++ mystring/find_last_of.cc | 24 ++++ mystring/iter.cc | 48 +++++++ mystring/join.cc | 61 +++++++++ mystring/lower.cc | 19 +++ mystring/lstrip.cc | 10 ++ mystring/mystring.cc | 28 ++++ mystring/mystring.h | 223 ++++++++++++++++++++++++++++++ mystring/operator_in.cc | 33 +++++ mystring/rep.cc | 157 ++++++++++++++++++++++ mystring/rstrip.cc | 10 ++ mystring/strip.cc | 13 ++ mystring/sub.cc | 37 +++++ mystring/subst.cc | 18 +++ mystring/trace.h | 10 ++ mystring/upper.cc | 21 +++ 62 files changed, 4126 insertions(+) create mode 100644 cdb++/ChangeLog create mode 100644 cdb++/Makefile.am create mode 100644 cdb++/cdb++.h create mode 100644 cdb++/cdb_get.cc create mode 100644 cdb++/cdb_getrec.cc create mode 100644 cdb++/cdb_make.cc create mode 100644 cdb++/cdb_reader.cc create mode 100644 cdb++/cdb_writer.cc create mode 100644 cdb++/cdbtest.cc create mode 100644 cdb++/datum.cc create mode 100644 cdb++/datum.h create mode 100644 cdb++/internal.h create mode 100644 cgi/ChangeLog create mode 100644 cgi/Makefile.am create mode 100644 cgi/cgi-args.cc create mode 100644 cgi/cgi-args.h create mode 100644 cgi/cgi-base.cc create mode 100644 cgi/cgi-base.h create mode 100644 cli++/ChangeLog create mode 100644 cli++/Makefile.am create mode 100644 cli++/cli.h create mode 100644 cli++/clitest.cc create mode 100644 cli++/main.cc create mode 100644 cli++/messages.cc create mode 100644 cli/ChangeLog create mode 100644 cli/Makefile.am create mode 100644 cli/cli.h create mode 100644 cli/clitest.cc create mode 100644 cli/main.cc create mode 100644 cli/messages.cc create mode 100644 fdbuf/ChangeLog create mode 100644 fdbuf/Makefile.am create mode 100644 fdbuf/fdbuf.cc create mode 100644 fdbuf/fdbuf.h create mode 100644 fdbuf/fdbuf_copy.cc create mode 100644 fdbuf/fdbuf_test.cc create mode 100644 fdbuf/fdibuf.cc create mode 100644 fdbuf/fdibuf_mystring.cc create mode 100644 fdbuf/fdobuf.cc create mode 100644 fdbuf/fdobuf_chownmod.cc create mode 100644 mystring/ChangeLog create mode 100644 mystring/Makefile.am create mode 100644 mystring/append.cc create mode 100644 mystring/assign.cc create mode 100644 mystring/find_first_ch.cc create mode 100644 mystring/find_first_of.cc create mode 100644 mystring/find_last_ch.cc create mode 100644 mystring/find_last_of.cc create mode 100644 mystring/iter.cc create mode 100644 mystring/join.cc create mode 100644 mystring/lower.cc create mode 100644 mystring/lstrip.cc create mode 100644 mystring/mystring.cc create mode 100644 mystring/mystring.h create mode 100644 mystring/operator_in.cc create mode 100644 mystring/rep.cc create mode 100644 mystring/rstrip.cc create mode 100644 mystring/strip.cc create mode 100644 mystring/sub.cc create mode 100644 mystring/subst.cc create mode 100644 mystring/trace.h create mode 100644 mystring/upper.cc