1 2008-04-27 Love Hörnquist Åstrand <lha@it.su.se>
3 * rkpty.c: Add timeout, add password command, add diffrent
6 2008-04-26 Love Hörnquist Åstrand <lha@it.su.se>
8 * rkpty.c: pty testing application
10 2008-04-07 Love Hörnquist Åstrand <lha@it.su.se>
12 * resolve.c: Use unsigned where appropriate.
14 2008-02-23 Love Hörnquist Åstrand <lha@it.su.se>
16 * Makefile.am: make AM_CPPFLAGS +=
18 2008-02-22 Love Hörnquist Åstrand <lha@it.su.se>
20 * Makefile.am: Use AM_CPPFLAGS instead, not really right, but
21 definatly better then CPPFLAGS. Thanks to Mike Whitton for
24 2008-01-12 Love Hörnquist Åstrand <lha@it.su.se>
26 * Makefile.am: add missing files.
28 2007-08-09 Love Hörnquist Åstrand <lha@it.su.se>
30 * strftime.c: rewrite str[pf]time for testing.
32 * strptime.c: rewrite str[pf]time for testing.
34 * Makefile.am: add TEST_STRPFTIME
36 2007-07-17 Love Hörnquist Åstrand <lha@it.su.se>
38 * ndbm_wrap.c (dbm_get): set dsize to 0 on failure.
40 * Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST
42 * ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure.
44 2007-07-16 Love Hörnquist Åstrand <lha@it.su.se>
46 * socket_wrapper.c: Implement swrap_dup too.
48 * socket_wrapper.c: Add dup(dummy stub) and dup2(real).
50 * socket_wrapper.h: Add dup(dummy stub) and dup2(real).
52 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
54 * Makefile.am: New library version.
56 2007-06-19 Love Hörnquist Åstrand <lha@it.su.se>
58 * roken_gethostby.c: set proxy_port to 0 to pacify BEAM.
60 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
62 * use "roken.h" consitantly
64 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
66 * test-readenv.c: Free environment.
68 * environment.c (free_environment): free result of
71 * roken-common.h (free_environment): free result of
74 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
76 * fnmatch.c: Do recursive call to rk_fnmatch
78 2007-01-12 Love Hörnquist Åstrand <lha@it.su.se>
80 * resolve.c: Try harder to call res_ndestroy().
82 2006-12-27 Love Hörnquist Åstrand <lha@it.su.se>
84 * Makefile.am: make sure built headers are copied to the
85 ${build_topdir}/include
87 2006-12-15 Love Hörnquist Åstrand <lha@it.su.se>
89 * unvis.c: Use internal version of rk_unvis
91 * unvis.c: Always include rk_versions.
93 * vis.c: Always include rk_versions.
95 * vis.hin: Fix argument for unvis and strsvisx.
97 * unvis.c: prefix unvis functions with rk_, and prototypes.
99 2006-12-13 Love Hörnquist Åstrand <lha@it.su.se>
101 * vis.c: Provide some prototypes for the rk_vis functions.
103 2006-12-11 Love Hörnquist Åstrand <lha@it.su.se>
105 * ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol
108 * fnmatch.c: Prefix fnmatch functions with rk_ and do symbol
111 * vis.hin: Prefix strvis functions with rk_ and do symbol
114 * vis.c: prefix strvis functions with rk_
116 * Makefile.am: Install extra posix headers in <roken/...> to avoid
119 2006-11-09 Love Hörnquist Åstrand <lha@it.su.se>
121 * socket_wrapper.c (swrap_sendto): fail on to unknown si->type
123 2006-11-06 Love Hörnquist Åstrand <lha@it.su.se>
125 * socket_wrapper.c: A few fixes to have Heimdal pass the make
126 check under socket_wrapper. The first is a missing 'break' before
127 the (heimdal specific) IPv6 support. The second works around the
128 fact that sendto() *may* object to a destination being specified.
129 It appears to be that on Linux, this objects (with EISCONN) for
130 unix stream sockets, but not for TCP sockets. The alternate fix
131 would be to have the KDC use 'send()' in this case. Andrew Bartlett.
133 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
135 * Makefile.am: split dist and nondist HEADERS
137 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
139 * roken.h.in: Add timegm glue.
141 * timegm.c: add timegm()
143 * socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX
146 * socket_wrapper.c: Maybe include <sys/time.h> and/or maybe
149 2006-10-17 Love Hörnquist Åstrand <lha@it.su.se>
151 * roken.h.in: Revert prevois for now, the problem is that we have
152 to include symbols unconditionally, even for those that just needs
155 * roken.h.in: Provide symbol renaming, let see what breaks.
157 * socket_wrapper.c: Maybe include <sys/filio.h>.
159 2006-10-10 Love Hörnquist Åstrand <lha@it.su.se>
161 * socket_wrapper.c: more consitity check, remove dead code, add
162 socket length code, add missing break, make diffrent chars of type
163 type files for case-insensitiv filesystems
165 * socket_wrapper.c: try even hard to not use socket wrapper for
166 socket_wrapper itself.
168 * socket_wrapper.c: Force no socket wrapper for socket_wrapper
171 2006-10-09 Love Hörnquist Åstrand <lha@it.su.se>
173 * socket_wrapper.c: Maybe include <config.h>.
175 * socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6.
177 * socket_wrapper.c: Use a symbol for the v6 address.
179 * socket_wrapper.c: Add IPv6 suppport.
181 * socket_wrapper.[ch]: Include socket wrapper from samba4 (rev
184 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
186 * Makefile.am: Add build_HEADERZ to EXTRA_DIST
188 * Makefile.am: Add man_MANS to EXTRA_DIST
190 * Makefile.am: Add to all objects BUILD_ROKEN_LIB.
192 2006-09-16 Love Hörnquist Åstrand <lha@it.su.se>
194 * roken.h.in: Add samba socket wrapper fragment.
196 * Makefile.am: Add samba socket wrapper fragment.
198 2006-09-05 Love Hörnquist Åstrand <lha@it.su.se>
200 * snprintf.c: reapply patch that went away in last commit
202 * snprintf-test.c: unbreak from previous commit
204 * snprintf.c: Add size_t formater (z modifer).
206 * snprintf-test.c: add tests for size_t printf formater
208 2006-06-30 Love Hörnquist Åstrand <lha@it.su.se>
210 * rtbl.h: Add extern "C" for C++.
212 * rtbl.c: Add rtbl_add_column_entryv functions, printf like
214 * rtbl.h: Add rtbl_add_column_entryv functions, printf like
216 2006-06-22 Love Hörnquist Åstrand <lha@it.su.se>
218 * glob.hin: Add extern "C" for C++. From joerg at britannica dot
221 * fnmatch.hin: Add extern "C" for C++. From joerg at britannica
224 2006-04-20 Love Hörnquist Åstrand <lha@it.su.se>
226 * fnmatch.hin (fnmatch): CPP rename to rk_fnmatch
228 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
230 * resolve.c (dns_srv_order): change a if (ptr == NULL) continue
231 into a assert(ptr != NULL) since it could never happen, found by
232 the IBM code checker (beam). Thanks to Florian Krohm for
235 2006-04-02 Love Hörnquist Åstrand <lha@it.su.se>
237 * roken_gethostby.c (roken_gethostby): make addr_list one larger
238 to avoid a off-by-one error. Found by IBM checker.
240 * resolve.c: Plug memory leak found by IBM checker (and try to
243 2006-02-06 Love Hörnquist Åstrand <lha@it.su.se>
245 * resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre
247 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
249 * getcap.c: Don't use db support unless its build into libc but we
250 dont check for that now, so just disable the code. This removes
251 the dependency on libdb for roken, and that is a good thing since
252 it causes problem with nss plugins that uses DB3 that also
253 provides the same symbol, but with a diffrent ABI. so when the
254 application calls getpwnamn() and it linked to roken, it craches
255 in the nss functions.
257 2006-01-09 Love Hörnquist Åstrand <lha@it.su.se>
259 * hex.c (hex_decode): support decoding odd number of characters,
260 in the odd len case, the first character ends up in the first byte
263 * hex-test.c: Check that we can decode single character hex chars.
265 2005-12-12 Love Hörnquist Åstrand <lha@it.su.se>
267 * getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris
270 2005-09-28 Love Hörnquist Åstrand <lha@it.su.se>
272 * roken-common.h: Move rk_UNCONST to roken.h.in since it might use
273 uintptr_t depending on avaibility.
275 * roken.h.in: Include <stdint.h> if it exists. If avaiable, use
276 uintptr_t to define rk_UNCONST.
278 2005-09-22 Love Hörnquist Åstrand <lha@it.su.se>
280 * roken-common.h: Add rk_dumpdata.
282 * dumpdata.c: Add rk_dumpdata() that write a chunk of data into a
283 file for later processing by some other tool (like asn1_print).
285 2005-09-13 Love Hörnquist Åstrand <lha@it.su.se>
287 * strptime.c: cast to unsigned char to make sure its not negative
288 when passing it to is* functions
290 2005-09-01 Love Hörnquist Åstrand <lha@it.su.se>
292 * socket.c: Add socket_set_ipv6only.
294 * roken-common.h: Add socket_set_ipv6only, remove some argument
297 2005-08-25 Love Hörnquist Åstrand <lha@it.su.se>
299 * strpool.c (rk_strpoolprintf): remove debug printf, plug memory
302 2005-08-23 Love Hörnquist Åstrand <lha@it.su.se>
304 * setprogname.c (setprogname): const poision
306 * print_version.c: Removed, moved to libvers.
308 2005-08-22 Love Hörnquist Åstrand <lha@it.su.se>
310 * resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer
311 that before res_nclose
313 2005-08-12 Love Hörnquist Åstrand <lha@it.su.se>
315 * getaddrinfo-test.c: Rename optind to optidx to avoid shadowing.
317 2005-08-05 Love Hörnquist Åstrand <lha@it.su.se>
319 * gai_strerror.c: sprinkel more const
321 * gai_strerror.c, roken.h.in: Make return value of gai_strerror
322 const to match SUSv3. Prompted by Stefan Metzmacher change to
325 2005-07-19 Love Hörnquist Åstrand <lha@it.su.se>
327 * roken.h.in: Remove parameter names to avoid shadow warnings.
329 2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
331 * getifaddrs.c (nl_getlist): poll to get messages from kernel, and
332 retry if the message was lost
333 (free_nlmsglist): free all linked elements, not just the first one
335 2005-07-08 Love Hörnquist Åstrand <lha@it.su.se>
337 * snprintf-test.c: Check a very simple format string
339 2005-07-07 Love Hörnquist Åstrand <lha@it.su.se>
341 * roken.h.in: If we have <strings.h> include it, its needed for
342 strcasecmp() on those platforms that are SUS3/iso c99 strict (like
345 * roken-common.h: remove duplicate ;
347 2005-07-06 Love Hörnquist Åstrand <lha@it.su.se>
349 * roken-common.h: rk_strpoolprintf first variable identifier is 3
351 2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
353 * base64.h: remove variable names
355 2005-06-29 Love Hörnquist Åstrand <lha@it.su.se>
357 * roken-common.h: fix format attribute
359 * Makefile.am (libroken_la_SOURCES): += strpool.c
361 * roken-common.h: add strpool, a printf collector to make it
362 eaiser to collect strings into one string
364 * strpool.c: add strpool, a printf collector to make it eaiser to
365 collect strings into one string
367 2005-06-23 Love Hörnquist Åstrand <lha@it.su.se>
369 * base64.c: Add const, from Andrew Abartlet <abartlet@samba.org>
371 2005-06-21 Love Hörnquist Åstrand <lha@it.su.se>
373 * strpftime-test.c: test for "%Y%m"
377 * strptime.c: Write a new parse_number function that is possible
378 to limit that amount of numbers used, with this strptime can
379 handle strptime("200505", "%Y%m", &tm);
381 2005-06-16 Love Hörnquist Åstrand <lha@it.su.se>
383 * getaddrinfo.c: avoid shadowing sin
385 * resolve-test.c: rename optind to optidx to avoid shadowing
387 * strptime.c: UNCONST return value from strptime
389 * strftime.c: rk_UNCONST argument mktime
391 * getnameinfo.c: avoid shadowing sin
393 * socket.c: avoid shadowing sin
395 * resolve.c (parse_record): fix casting to avoid losing const
397 * roken.awk: since we got no feedback regarding people running
398 heimdal on the crays, remove the quoted # version
400 * environment.c: rename index to idx to avoid shadowing
402 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
404 * parse_reply-test.c: avoid signedness warnings
406 * test-mem.c: avoid signedness warnings
408 2005-05-27 Love Hörnquist Åstrand <lha@it.su.se>
410 * hex.c: include "roken.h" to avoid undefined size_t/ssize_t
412 2005-05-24 Dave Love <fx@gnu.org>
414 * Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h.
416 2005-05-20 Love Hörnquist Åstrand <lha@it.su.se>
418 * environment.c (rk_read_env_file): move assignment to later to
419 make pre c99 compiler happy
421 2005-05-18 Love Hörnquist Åstrand <lha@it.su.se>
423 * strptime.c: use english spelling of March
425 2005-05-17 Johan Danielsson <joda@pdc.kth.se>
427 * Makefile.am: only link with dblib if we need it
429 * Makefile.am: add test_readenv
431 * test-readenv.c: test for read_environment()
433 * environment.c: eliminate duplicates
435 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
437 * issuid.c (issuid): change the #ifdef order to avoid unreachable
440 2005-05-10 Dave Love <fx@gnu.org>
442 * roken.h.in: Get daemon declared on Solaris (it's in unistd.h but
443 masked by a feature test), just to avoid a warning, since it has
444 int args. Include err.h unconditionally, since it's always
447 2005-05-04 Dave Love <fx@gnu.org>
449 * snprintf-test.c: Include snprintf-test.h earlier.
451 2005-05-03 Dave Love <fx@gnu.org>
453 * snprintf.c: Include snprintf-test.h earlier.
455 * test-mem.c: Add member fd to map.
456 (rk_test_mem_alloc, rk_test_mem_free): Use it.
458 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
460 * getifaddrs.c: add break on default: statements, from Douglas
463 * snprintf.c (vsnprintf): don't write the NUL into the string if
466 * snprintf-test.c: add check that snprintf doesn't write the NUL
467 into the last byte when its a zero length input string
469 * parse_time-test.c: Include <err.h>.
471 2005-04-27 Love Hörnquist Åstrand <lha@it.su.se>
473 * parse_time-test.c: improve testing
475 * roken-common.h: add rk_realloc
477 * Makefile.am: add realloc
479 * realloc.c: add rk_realloc, unbroken version of realloc
481 2005-04-26 Dave Love <fx@gnu.org>
483 * getusershell.c: Include roken.h
485 2005-04-18 Love Hörnquist Åstrand <lha@it.su.se>
487 * unvis.c: cast to unsigned char to make sure its not negative
488 when passing it to is* functions
490 * strptime.c: cast to unsigned char to make sure its not negative
491 when passing it to to* functions
493 2005-04-13 Love Hörnquist Åstrand <lha@it.su.se>
495 * simple_exec.c: don't close stderr, close all fd that is num 3
498 * simple_exec.c (pipe_execv): use closefrom
502 2005-04-12 Love Hörnquist Åstrand <lha@it.su.se>
504 * add ROKEN_LIB_FUNCTION to all exported functions
506 2005-04-10 Love Hörnquist Åstrand <lha@it.su.se>
508 * resolve-test.c: print DS
510 2005-04-07 Love Hörnquist Åstrand <lha@it.su.se>
512 * parse_time-test.c: remove unused variable
514 2005-04-04 Love Hörnquist Åstrand <lha@it.su.se>
516 * strpftime-test.c: print size_t by casting to unsigned long
518 * base64-test.c: print size_t by casting to unsigned long
520 * hex-test.c: print size_t by casting to unsigned long
522 * resolve-test.c: print size_t by casting to unsigned long
524 2005-04-01 Love Hörnquist Åstrand <lha@it.su.se>
526 * snprintf-test.c (try): reset va_list argument between reuse,
527 from Peter Kruty <xkruty@fi.muni.cz>
529 2005-03-30 Love Hörnquist Åstrand <lha@it.su.se>
531 * roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid
534 * resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing
536 * parse_units.c: avoid shadowing div
538 2005-03-26 Love Hörnquist Åstrand <lha@it.su.se>
540 * snprintf.c: use defined(TEST_SNPRINTF) like on all other places
543 2005-03-21 Love Hörnquist Åstrand <lha@it.su.se>
545 * hex.c: check for overflows
547 2005-03-18 Love Hörnquist Åstrand <lha@it.su.se>
549 * vis.c: use RCSID instead of __RCSID
551 2005-03-06 Love Hörnquist Åstrand <lha@it.su.se>
553 * Makefile.am: check_PROGRAMS += hex-test
555 * hex-test.c: hex encoding/decoding test
557 * hex.c: fix decodeing, it processed to much data and thus
558 returned the wrong length
560 2005-03-04 Love Hörnquist Åstrand <lha@it.su.se>
562 * Makefile.am: add hex.[ch]
564 * hex.c: add hex encoder/decoder
566 2005-03-02 Love Hörnquist Åstrand <lha@it.su.se>
568 * daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c
569 glob.c glob.hin iruserok.c unvis.c vis.hin:
571 In 1997, the University of California, Berkeley issued a statement
572 retroactively relicensing all code held under their copyright from
573 a 4-clause 'traditional' BSD license to a new 3-clause 'revised'
574 BSD license, which removed the advertising clause.
576 From NetBSD, via Joel Baker, and Alistair G. Crooks
578 * getaddrinfo-test.c: remove stray ( in output
580 * vis.c: Update new revision from NetBSD (copyright update)
582 2005-02-24 Love Hörnquist Åstrand <lha@it.su.se>
584 * Makefile.am: bump version to 17:0:1
586 2005-01-19 Dave Love <d.love@dl.ac.uk>
588 * getusershell.c: Include ctype.h, cast argument to isspace to
591 2004-10-31 Love Hörnquist Åstrand <lha@it.su.se>
593 * parse_time.3, parse_units.c: Change the behavior of the
594 parse_unit code to return the number of bytes needed to print the
595 whole string (minus the trailing '\0'), just like snprintf. Idea
596 from bugreport from Gabriel Kihlman <gk@stacken.kth.se>.
598 * parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time
600 2004-10-16 Love Hörnquist Åstrand <lha@it.su.se>
602 * resolve.c: put dns_type_to_string and dns_string_to_type in the
605 * resolve.c: add ds_record
607 * resolve.h: add ds_record
609 2004-10-06 Love Hörnquist Åstrand <lha@it.su.se>
611 * ndbm_wrap.c: undefine open so this works on solaris with large
612 file support From netbsd's pkgsrc via Gavan Fantom
614 2004-09-13 Love Hörnquist Åstrand <lha@it.su.se>
616 * resolve-test.c: add --version/--help
618 2004-09-12 Love Hörnquist Åstrand <lha@it.su.se>
620 * Makefile.am: make resolve-test a noinst program
622 2004-09-11 Love Hörnquist Åstrand <lha@it.su.se>
624 * resolve-test.c: test program for libroken resolve from resolve.c
626 * Makefile.am: add resolve-test
628 * resolve.h: add constant for max DNS protocol packet size
630 * resolve.c (dns_lookup_int): grow the answer buffer to the size
631 the server send to us if the answer buffer was too small (limited
632 to the dns protocol max packet size)
634 2004-08-26 Johan Danielsson <joda@pdc.kth.se>
636 * err.hin: no need to declare __progname here
638 * Makefile.am: always clean generated headers
640 2004-06-26 Love Hörnquist Åstrand <lha@it.su.se>
642 * rtbl.3: use .In for header, remove trailing space
644 2004-06-23 Johan Danielsson <joda@pdc.kth.se>
646 * rtbl.h: add protos and macros
648 * rtbl.c: implement a bunch of stuff:
649 - column separator (instead of global column prefix)
651 - indexing columns by id-number instead of column header
652 - optional header supression (via settable flags)
653 - ability to end a row
654 - don't extend last column to full width
656 2004-06-20 Love Hörnquist Åstrand <lha@it.su.se>
658 * resolve.[ch]: add and use and bind9 version of rr type
659 (rk_ns_t_XXX) instead of the old bind4 version (T_XXX)
661 2004-05-25 Love Hörnquist Åstrand <lha@it.su.se>
663 * resolve.c (stot): add AAAA
665 2004-02-17 Love Hörnquist Åstrand <lha@it.su.se>
667 * getarg.c (add_string): catch error from realloc
669 2004-02-12 Love Hörnquist Åstrand <lha@it.su.se>
671 * roken-common.h: add simple_execve_timed
673 * roken-common.h: add timed simple_exec
675 * simple_exec.c: add timed simple_exec
677 2004-01-05 Love Hörnquist Åstrand <lha@it.su.se>
679 * gai_strerror.c: correct ifdef for EAI_ADDRFAMILY
681 2003-12-14 Love Hörnquist Åstrand <lha@it.su.se>
683 * resolve.c: parse dns header, add support for SSHFP
685 * resolve.h: add cpp rewrite for sshfp_record
687 * resolve.h: add SSHFP, clean up the the dns_header
689 2003-12-14 Love Hörnquist Åstrand <lha@it.su.se>
691 * resolve.h: remove HEADER (only used for crays)
693 * resolve.c: number-of fields no longer stored in network order
695 2003-12-13 Love Hörnquist Åstrand <lha@it.su.se>
697 * resolve.c: remove depency on c99 types in resolv.h
699 * resolve.h: remove depency on c99 types
701 2003-12-06 Love Hörnquist Åstrand <lha@it.su.se>
703 * resolv.h: add more T_ types and inline the dns headers, all this
706 2003-12-02 Love Hörnquist Åstrand <lha@it.su.se>
708 * gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated
710 * roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to
711 check for if we need EAI_ macros
713 2003-10-04 Love Hörnquist Åstrand <lha@it.su.se>
715 * strptime.c: let t and n match zero or more whitespaces
717 2003-08-29 Love Hörnquist Åstrand <lha@it.su.se>
719 * ndbm_wrap.c: patch for working with DB4 on heimdal-discuss
720 From: Luke Howard <lukeh@PADL.COM>
722 2003-08-27 Johan Danielsson <joda@pdc.kth.se>
724 * Makefile.am: don't include discovered files in EXTRA_SOURCES;
725 don't depend on all header files, just the built ones
727 2003-08-15 Johan Danielsson <joda@pdc.kth.se>
731 2003-07-11 Love <lha@stacken.kth.se>
733 * resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?) so
734 just don't use res_nsearch on AIX
736 2003-06-29 Johan Danielsson <joda@pdc.kth.se>
738 * snprintf.c: * don't ever print sign for unsigned conversions *
739 don't break when right justifying a number past the end of the
740 buffer * handle zero precision and the value zero more correctly
742 2003-06-14 Love <lha@stacken.kth.se>
744 * glob.hin: prefix glob symbols with rk_
746 2003-04-22 Love <lha@stacken.kth.se>
748 * resolve.c: copy NUL too, from janj@wenf.org via openbsd
750 2003-04-16 Love <lha@stacken.kth.se>
752 * parse_units.h: remove typedef for units to avoid problems with
755 * resolve.c: use strlcpy, from openbsd
757 * getcap.c: use strlcpy, from openbsd
759 * getarg.3: Change .Fd #include <header.h> to .In header.h
760 from Thomas Klausner <wiz@netbsd.org>
762 2003-04-15 Love <lha@stacken.kth.se>
764 * socket.c (socket_set_tos): if setsockopt failed with EINVAL
765 failed, just ignore it, sock was probably a just a non AF_INET
768 2003-04-14 Love <lha@stacken.kth.se>
770 * strncasecmp.c: cast argument to toupper to unsigned char, from
771 Christian Biere <christianbiere@gmx.de> via NetBSD
773 * strlwr.c: cast argument to tolower to unsigned char, from
774 Christian Biere <christianbiere@gmx.de> via NetBSD
776 * strcasecmp.c: cast argument to toupper to unsigned char, from
777 Christian Biere <christianbiere@gmx.de> via NetBSD
779 2003-03-19 Love <lha@stacken.kth.se>
781 * getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
783 2003-03-07 Love <lha@stacken.kth.se>
785 * parse_bytes.c: use struct units instead of units
787 * parse_time.c: use struct units instead of units
789 2003-03-04 Love <lha@stacken.kth.se>
791 * roken.awk: use full prototype for main
793 2002-10-15 Johan Danielsson <joda@pdc.kth.se>
795 * resolve.c: check length of txt records
797 2002-09-10 Johan Danielsson <joda@pdc.kth.se>
799 * roken.awk: include config.h before stdio.h (breaks with
800 _FILE_OFFSET_BITS on solaris otherwise)
802 2002-09-09 Johan Danielsson <joda@pdc.kth.se>
804 * resolve.c: fix res_nsearch call, but don't use it for now, AIX5
805 has a broken version that trashes memory
807 * roken-common.h: fix typo in previous
809 * roken-common.h: change IRIX == 4 to IRIX4
811 2002-09-04 Assar Westerlund <assar@kth.se>
813 * getifaddrs.c: remove some warnings from the linux-portion
815 * getnameinfo_verified.c (getnameinfo_verified): handle the case
816 of forward but no backward DNS information, and also describe the
817 desired behaviour. from Love <lha@stacken.kth.se>
819 2002-09-04 Johan Danielsson <joda@pdc.kth.se>
821 * rtbl.c (rtbl_destroy): free whole table
823 * resolve.c: use res_nsearch if we have it (from Larry Greenfield)
825 2002-09-03 Assar Westerlund <assar@kth.se>
827 * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
828 YOSHIFUJI of the Usagi project
830 * parse_reply-test.c: make this build and return 77 if there is no
833 * Makefile.am (parse_reply-test): add
834 * parse_reply-test.c: add a test case for parse_reply reading past
836 * resolve.c (parse_reply): update the arguments to more reasonable
837 types. allow parse_reply-test to call it
839 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
841 * resolve.c (dns_srv_order): do alignment tricks with the random()
844 2002-08-27 Assar Westerlund <assar@kth.se>
846 * resolve.c (parse_reply): verify the lengths (both external and
847 internal) are consistent and not too long
848 (dns_lookup_int): be conservative in the length sent in to to
851 2002-08-26 Assar Westerlund <assar@kth.se>
853 * roken.h.in: add prototypes for str, unvis functions
854 * resolve.h: add fallback definition for T_AAAA
856 2002-08-22 Johan Danielsson <joda@pdc.kth.se>
858 * roken.h.in: we may need a prototype for strndup
860 2002-08-20 Johan Danielsson <joda@pdc.kth.se>
862 * roken.h.in: typedef ssize_t here
864 * getarg.c: don't put Ns before comma
866 * resolve.c: _res might not be available
868 * localtime_r.c: include stdio.h and roken.h
870 * strftime.c: only use altzone if we have it
872 * roken-common.h: AI_NUMERICHOST needs special handling
874 * strlcat.c: add some consistency checks
876 * strlcpy.c: make the logic simpler, and handle dst_sz == 0
878 2002-08-19 Johan Danielsson <joda@pdc.kth.se>
880 * resolve.h: prefix these functions to avoid conflicts with other
883 2002-08-14 Johan Danielsson <joda@pdc.kth.se>
885 * strsep_copy.c: don't write to buf if len == 0
887 2002-05-31 Assar Westerlund <assar@pdc.kth.se>
889 * Makefile.am: *_LDADD: add LDADD, so that libroken is used
891 2002-05-17 Johan Danielsson <joda@pdc.kth.se>
893 * xdbm.h: remove old dbm part
895 2002-04-30 Johan Danielsson <joda@pdc.kth.se>
897 * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
899 2002-04-18 Johan Danielsson <joda@pdc.kth.se>
901 * roken.h.in: move mini_inetd protos to after addrinfo definition
903 * snprintf.c (append_number): make rep const
905 * getarg.h: rename optind and optarg to avoid some gcc warnings
907 * getarg.c: rename optind and optarg to avoid some gcc warnings
909 2002-02-18 Johan Danielsson <joda@pdc.kth.se>
911 * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
914 2001-11-30 Assar Westerlund <assar@sics.se>
916 * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
917 used on Solaris 8 to retrieve addresses larger than `struct
918 sockaddr'. From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
921 2001-10-27 Assar Westerlund <assar@sics.se>
923 * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
925 2001-10-22 Assar Westerlund <assar@sics.se>
929 2001-10-02 Johan Danielsson <joda@pdc.kth.se>
931 * resolve.c (dns_srv_order): don't try to return a value
933 2001-09-24 Johan Danielsson <joda@pdc.kth.se>
935 * snprintf.c: va_{start,end} fixes; from Thomas Klausner
937 2001-09-20 Assar Westerlund <assar@sics.se>
939 * resolve.c (dns_srv_order): make sure of not reading after the
942 2001-09-17 Assar Westerlund <assar@sics.se>
944 * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
945 * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
946 avoid collision with resolv.h on aix
948 2001-09-04 Assar Westerlund <assar@sics.se>
950 * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
951 parse_units.h: use int instead of size_t as return values to be
952 compatible with snprintf
954 * strftime.c (strftime): check for return values from snprintf() <
957 2001-09-03 Johan Danielsson <joda@pdc.kth.se>
959 * socket.c: restrict is a keyword
961 2001-09-03 Assar Westerlund <assar@sics.se>
963 * write_pid.c: handle atexit or on_exit
965 * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
968 2001-08-30 Johan Danielsson <joda@pdc.kth.se>
970 * Makefile.am: use LDADD directly
972 2001-08-28 Assar Westerlund <assar@sics.se>
974 * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
976 * issuid.c (issuid): call issetugid if it exists
978 2001-08-24 Assar Westerlund <assar@sics.se>
980 * Makefile.am: make it play better with recent automake
982 2001-08-21 Assar Westerlund <assar@sics.se>
984 * glob.c: provide a fallback for ARG_MAX. from <tol@stacken.kth.se>
986 * roken.h.in: remove all winsock.h
987 for now, it does more harm than good under cygwin and if it should be
988 used, the correct conditional needs to be found
989 from <tol@stacken.kth.se>
991 2001-08-17 Johan Danielsson <joda@pdc.kth.se>
993 * getaddrinfo.c: include a definition of in6addr_loopback if it
996 2001-08-10 Assar Westerlund <assar@sics.se>
998 * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
1000 2001-08-08 Assar Westerlund <assar@sics.se>
1002 * hstrerror.c: move h_errno to its own file (h_errno.c)
1004 2001-08-04 Assar Westerlund <assar@sics.se>
1006 * Makefile.am: add getarg.3
1008 2001-08-01 Assar Westerlund <assar@sics.se>
1010 * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC. be more
1011 resilient to bind/listen failing.
1013 2001-07-31 Assar Westerlund <assar@sics.se>
1015 * getifaddrs.c (getifaddrs2): remove unused variables
1017 2001-07-31 Assar Westerlund <assar@sics.se>
1019 * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
1021 2001-07-23 Assar Westerlund <assar@sics.se>
1023 * getarg.c (arg_match_long): fix parsing of arg_counter optional
1026 2001-07-19 Assar Westerlund <assar@sics.se>
1028 * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
1030 2001-07-17 Assar Westerlund <assar@sics.se>
1032 * snprintf-test.h: add a file with renaming of the snprintf
1033 functions, to be used for running the tests
1035 2001-07-11 Assar Westerlund <assar@sics.se>
1037 * snprintf-test.c: add more %X tests, and long and conditional
1039 * snprintf.c: add support for printing long long (if available)
1041 2001-07-10 Assar Westerlund <assar@sics.se>
1043 * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
1044 * hostent_find_fqdn.c (hostent_find_fqdn): const-ize
1046 2001-07-09 Assar Westerlund <assar@sics.se>
1048 * roken-common.h (hostent_find_fqdn): add
1049 * hostent_find_fqdn.c: separate out hostent_find_fqdn
1051 * warnerr.c: move out getprogname, setprogname
1053 2001-07-03 Assar Westerlund <assar@sics.se>
1055 * warnerr.c (setprogname): add const cast
1056 * vis.c (SVIS): add some (unsigned char) before calling isfoo*
1057 * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
1059 * Makefile.am: add snprintf_test
1060 * snprintf.c: rewrite so that it does not stop as soon as there
1061 are no more characters to print, we need to figure out how long
1062 the string would have to be. this also fixes snprintf(NULL, 0
1064 2001-06-21 Assar Westerlund <assar@sics.se>
1066 * simple_exec.c (pipe_execv): remove unused variable
1068 2001-06-20 Johan Danielsson <joda@pdc.kth.se>
1070 * getdtablesize.c: fix typo in obviously never used sysctl case
1072 * simple_exec.c: rename check_status to wait_for_process, and
1073 export it; function pipe_execv similar to popen, but with more
1074 control over input and output
1076 * roken-common.h: prototypes for wait_for_process and pipe_execv
1078 2001-06-17 Assar Westerlund <assar@sics.se>
1080 * roken-common.h: move emalloc et al to roken.h.in
1081 * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
1082 * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
1084 * ecalloc.c: add for symmetry
1086 2001-06-09 Johan Danielsson <joda@pdc.kth.se>
1088 * resolve.c: dns_srv_order to order srv records
1090 2001-06-08 Johan Danielsson <joda@pdc.kth.se>
1092 * getarg.c: Grog tries to figure out if to use mdoc.old instead of
1093 mdoc by looking at some macros that were only present in the old
1094 version, and by looking at the number of .Oo's present. In
1095 mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
1096 the number of .Oo's is bigger than the number of .Oc's, it figures
1097 it must be mdoc.old. This doesn't however account for called Oc's,
1098 and thus grog thinks that valid pages are mdoc.old when they
1099 infact are mdoc. So let's make sure that Oc's are not called by
1102 2001-05-29 Assar Westerlund <assar@sics.se>
1104 * base64-test.c (main): initialize numerr
1106 2001-05-28 Johan Danielsson <joda@pdc.kth.se>
1108 * base64.c: clean up the decode mess somewhat
1110 * base64-test.c: base64 tests
1112 2001-05-18 Johan Danielsson <joda@pdc.kth.se>
1114 * roken.h.in: just use standard C types with bswap*
1116 * bswap.c: just use standard C types
1118 2001-05-17 Assar Westerlund <assar@sics.se>
1120 * roken.h.in: include all the headers that AC_GROK_TYPES tries for
1121 finding u_int17_t et al
1123 * Makefile.am: bump version to 12:0:3
1124 * roken.h.in: re-add set_progname and get_progname for backwards
1126 * warnerr.c: re-add set_progname and get_progname for backwards
1129 2001-05-12 Assar Westerlund <assar@sics.se>
1131 * glob.c: add limits.h, from <shadow@dementia.org>
1133 2001-05-11 Johan Danielsson <joda@pdc.kth.se>
1135 * Makefile.am: bswap.c
1137 * bswap.c: bswap{16,32}
1139 2001-05-08 Assar Westerlund <assar@sics.se>
1141 * freeaddrinfo.c (freeaddrinfo): also free every `struct
1142 addrinfo'. from <tmartin@mirapoint.com>
1144 2001-04-25 Assar Westerlund <assar@sics.se>
1146 * getarg.h (free_getarg_strings): add prototype
1147 * getarg.c (free_getarg_strings): add function
1149 2001-04-21 Johan Danielsson <joda@pdc.kth.se>
1151 * getarg.c: pack short flag options togther, to shorten the usage
1154 2001-04-17 Johan Danielsson <joda@pdc.kth.se>
1156 * getifaddrs.c (getifaddrs2): close socket when done
1158 2001-03-26 Johan Danielsson <joda@pdc.kth.se>
1160 * roken.awk: END has to be last with Sun's awk
1162 2001-03-26 Assar Westerlund <assar@sics.se>
1164 * parse_units.c (parse_something): do not check the return value
1165 from strtod, it might return != 0.0 when the string has no digits.
1166 just testing if it consumed any characters is enough and more
1168 * glob.c: add GLOB_LIMIT (from NetBSD)
1170 2001-02-20 Assar Westerlund <assar@sics.se>
1172 * warnerr.c (warnerr): do not use __progname
1173 * roken.h.in (setprogname, getprogname): add prototypes
1174 * warnerr.c (setprogname, getprogname): rename to. change all
1177 2001-02-12 Assar Westerlund <assar@sics.se>
1179 * getnameinfo_verified.c (getnameinfo_verified): do the first
1180 getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
1181 reports on not finding the service
1182 (ENI_NOSERVNAME). reported by Ake Sandgren <ake@cs.umu.se>
1184 2001-02-09 Assar Westerlund <assar@sics.se>
1186 * getnameinfo.c (doit): call inet_ntop with correct af, noted by
1187 Ake Sandgren <ake@cs.umu.se>
1189 2001-02-08 Assar Westerlund <assar@sics.se>
1191 * getnameinfo_verified.c (getnameinfo_verified): always capture
1192 the service from getnameinfo so it can be sent back to getaddrinfo
1193 and set socktype to avoid getaddrinfo not returning any addresses
1195 2001-01-30 Assar Westerlund <assar@sics.se>
1197 * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
1198 * print_version.c (print_version): add 2001
1200 2001-01-29 Assar Westerlund <assar@sics.se>
1202 * getifaddrs.c (getifaddrs2): copy the entire sockaddr
1204 * roken-common.h (_PATH_BSHELL): add
1206 2001-01-27 Assar Westerlund <assar@sics.se>
1208 * roken.h.in: move __attribute__ to roken-common.h
1210 * esetenv.c (esetenv): cast to handle a setenv that takes a `char
1211 * which is the case on Unicos
1213 2000-12-29 Assar Westerlund <assar@sics.se>
1215 * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
1218 2000-12-25 Assar Westerlund <assar@sics.se>
1220 * getarg.c (print_arg): add a case for arg_strings
1222 2000-12-15 Johan Danielsson <joda@pdc.kth.se>
1224 * snprintf.c (append_string): handle NULL strings by printing
1227 2000-12-12 Johan Danielsson <joda@pdc.kth.se>
1229 * roken-common.h: add c++ externs
1231 * roken.h.in: fix last commit differently
1233 2000-12-11 Assar Westerlund <assar@sics.se>
1235 * err.hin (warnerr): remove, it's not part of the err.h interface
1236 * roken-common.h (warnerr): moved here from err.hin
1237 * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
1238 * vis.c: s/u_int32_t/unsigned/ for systems that do not define
1241 2000-12-10 Johan Danielsson <joda@pdc.kth.se>
1243 * Makefile.am: rename some headers to avoid conflict with possible
1246 2000-12-06 Johan Danielsson <joda@pdc.kth.se>
1248 * vis.c: make sure _DIAGASSERT is defined
1250 * unvis.c: make sure _DIAGASSERT is defined
1252 * Makefile.am: unvis.c, and vis.h
1254 * vis.h: vis.h from NetBSD
1256 * unvis.c: unvis from NetBSD
1258 * roken.h.in: cleanup previous
1260 * roken-common.h: make `extern "C"' into a macro, this make emacs
1263 * vis.c: strvis implementation from NetBSD
1265 * roken.h.in: add prototypes for strvis*
1267 2000-12-05 Johan Danielsson <joda@pdc.kth.se>
1269 * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
1272 * getifaddrs.c: free some memory
1274 2000-12-04 Johan Danielsson <joda@pdc.kth.se>
1276 * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
1278 * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
1280 2000-10-08 Assar Westerlund <assar@sics.se>
1282 * mini_inetd.c (mini_inetd): check that fds are not too large to
1285 2000-09-24 Assar Westerlund <assar@sics.se>
1287 * esetenv.c: new file/function
1289 2000-08-16 Assar Westerlund <assar@sics.se>
1291 * Makefile.am: bump version to 10:0:1
1293 2000-08-10 Assar Westerlund <assar@sics.se>
1295 * mini_inetd.c (accept_it): type-correctness on parameters to
1298 2000-08-07 Johan Danielsson <joda@pdc.kth.se>
1300 * roken.h.in: add proto compat for getsockname
1302 2000-08-04 Johan Danielsson <joda@pdc.kth.se>
1304 * write_pid.c: conditionalise pidfile
1306 * write_pid.c: add pidfile function
1308 2000-07-25 Johan Danielsson <joda@pdc.kth.se>
1310 * Makefile.am: bump version to 9:0:0
1312 * warnerr.c: add get_progname
1314 2000-07-24 Assar Westerlund <assar@sics.se>
1316 * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
1317 reverse resolving to see if there's a fuller name there. don't
1318 use just-freed memory
1320 2000-07-22 Assar Westerlund <assar@sics.se>
1322 * xdbm.h: do not define ndbm functions in terms of dbm functions
1325 2000-07-20 Assar Westerlund <assar@sics.se>
1327 * rtbl.c (rtbl_format): avoid printing an empty row at the end
1329 2000-07-19 Johan Danielsson <joda@pdc.kth.se>
1331 * Makefile.am: make this compatible with `make dist'
1333 * Makefile.am: revert version number for now
1335 2000-07-18 Johan Danielsson <joda@pdc.kth.se>
1337 * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
1339 2000-07-17 Johan Danielsson <joda@pdc.kth.se>
1341 * Makefile.am: set ACLOCAL_AMFLAGS
1343 2000-07-15 Johan Danielsson <joda@pdc.kth.se>
1345 * getaddrinfo_hostspec.c: add new function that takes socktype
1348 2000-07-09 Assar Westerlund <assar@sics.se>
1350 * rtbl.c (rtbl_add_column): initialize `col' completely
1352 * configure.in: bring headers and functions more in-line with
1353 what's actually being used
1355 2000-07-08 Johan Danielsson <joda@pdc.kth.se>
1357 * roken.h.in: declare ether_addr and sockaddr_dl for AIX
1359 * rtbl.{c,h}: simple table functions
1361 2000-07-08 Assar Westerlund <assar@sics.se>
1363 * configure.in (AM_INIT_AUTOMAKE): bump version to 10
1364 * configure.in (AC_BROKEN): add strsep_copy
1365 * Makefile.am (ACLOCAL): fetch files from cf
1367 2000-07-01 Assar Westerlund <assar@sics.se>
1369 * roken-common.h (pid_file_*): fix protos
1371 2000-06-28 Assar Westerlund <assar@sics.se>
1373 * getnameinfo_verified.c (getnameinfo_verified): free memory
1374 returned from getaddrinfo
1376 2000-06-27 Assar Westerlund <assar@sics.se>
1378 * resolve.c: export string_to_type and type_to_string
1379 * resolve.c: add key,sig,cert update test-program
1380 * resolve.h: add key,sig,cert
1382 2000-06-21 Assar Westerlund <assar@sics.se>
1384 * resolve.h: add T_SIG, T_KEY
1385 * resolve.c: add SIG and KEY
1386 * Makefile.am (libroken_la_SOURCES): add environment.c and
1389 * write_pid.c: new file for writing a pid file.
1391 * environment.c: new file with functionality for reading
1392 /etc/environment. From Ake Sandgren <ake@cs.umu.se>
1394 2000-06-12 Johan Danielsson <joda@pdc.kth.se>
1396 * strsep_copy.c: strsep, but with const stringp so returns string
1399 2000-05-23 Assar Westerlund <assar@sics.se>
1401 * vsyslog.c (vsyslog): calculate length of new format string
1404 2000-05-22 Johan Danielsson <joda@pdc.kth.se>
1406 * getusershell.c: implment the AIX version use
1407 /etc/security/login.cfg
1409 2000-05-21 Assar Westerlund <assar@sics.se>
1411 * vsyslog.c (vsyslog): actually handle `%m'
1413 2000-05-15 Assar Westerlund <assar@sics.se>
1415 * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
1417 * roken-common.h: moved __attribute__ to roken.h.in
1419 2000-04-14 Assar Westerlund <assar@sics.se>
1421 * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
1422 correct length from `hostspec'. based on a patch from Love
1425 2000-04-09 Assar Westerlund <assar@sics.se>
1427 * xdbm.h: only include one of db.h and the dbm-series
1429 2000-04-05 Assar Westerlund <assar@sics.se>
1431 * resolve.c (_resolve_debug): explicitly set to zero. this moves
1432 the variable from bss to data and the dynamic linker on MacOS
1433 X/Darwin seems unhappy with stuff in the bss segment.
1435 2000-04-03 Assar Westerlund <assar@sics.se>
1437 * Makefile.am: set version to 8:0:3
1439 2000-03-11 Assar Westerlund <assar@sics.se>
1441 * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
1442 expression that also works on Crays
1444 2000-03-09 Assar Westerlund <assar@sics.se>
1446 * getarg.c (arg_match_short): backup optind when there's a missing
1447 argument so that the error can point at the flag and not the
1448 non-existant argument
1450 2000-03-03 Assar Westerlund <assar@sics.se>
1452 * Makefile.in (SOURCES): add timeval.c
1453 * Makefile.am (libroken_la_SOURCES): add timeval.c
1454 * timeval.c: new file
1456 2000-02-19 Assar Westerlund <assar@sics.se>
1458 * Makefile.am: set version to 7:1:2
1460 2000-02-16 Assar Westerlund <assar@sics.se>
1462 * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
1464 (according to the integer protomotion rules) in variable arguments
1465 lists. Therefore, we should not call va_arg with short but rather
1466 with int. See <http://www.debian.org/Bugs/db/57/57919.html> for
1469 2000-02-13 Assar Westerlund <assar@sics.se>
1471 * Makefile.am: bump version to 7:0:2
1473 * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
1474 * getarg.c (mandoc_template): better man-stuff for negative
1477 2000-02-07 Assar Westerlund <assar@sics.se>
1479 * Makefile.am: set version to 6:0:1
1481 2000-02-06 Assar Westerlund <assar@sics.se>
1483 * xdbm.h: hopefully catch a few more declarations by including
1484 <ndbm.h> even if <db.h> was found
1486 2000-01-26 Assar Westerlund <assar@sics.se>
1488 * mini_inetd.c (mini_inetd): separate number of allocated sockets
1489 and number of actual ones
1490 * mini_inetd.c (mini_inetd): count sockets properly. and fail if
1492 * mini_inetd.c (mini_inetd): make failing to create a socket
1495 2000-01-09 Assar Westerlund <assar@sics.se>
1497 * Makefile.am(libroken_la_SOURCES): add strcollect.c
1498 * Makefile.in: add strcollect.[co]
1499 * simple_exec.c: use vstrcollect
1500 * roken-common.h (_PATH_DEV): add
1501 (strcollect, vstrcollect): add prototypes
1502 * strcollect.c: new file. functions for collapsing an `va_list'
1505 2000-01-06 Assar Westerlund <assar@sics.se>
1507 * Makefile.am: bump version to 5:0:0
1509 1999-12-30 Assar Westerlund <assar@sics.se>
1511 * Makefile.am (strpftime_test_SOURCES): correct source file name
1513 * roken.h.in (sockaddr_storage): change padding so that we have
1514 one char[] of pad and then an unsigned long[] (for alignment and
1515 padding). this works much better in practice.
1517 1999-12-22 Assar Westerlund <assar@sics.se>
1519 * roken.h.in (sockaddr_storage): drop leading underscore on
1520 `public' fields. this was the consensus on the ipng mailing list
1522 1999-12-21 Assar Westerlund <assar@sics.se>
1524 * Makefile.am (strpftime-test): define sources to avoid having
1526 * Makefile.am (print_version.h): use $(EXEEXT)
1527 * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
1530 1999-12-20 Assar Westerlund <assar@sics.se>
1532 * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
1534 * getaddrinfo.c (get_nodes): use getipnodebyname instead of
1537 1999-12-16 Assar Westerlund <assar@sics.se>
1539 * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
1541 * roken.h.in (struct sockaddr_storage): redefine with the example
1544 * getaddrinfo.c (get_null): set loopback with correct endianess
1545 for v4. dunno about v6.
1547 1999-12-13 Assar Westerlund <assar@sics.se>
1549 * roken.h.in: add prototypes for str[pf]time
1551 * signal.c: macosx = rhapsody ~= nextstep also can't handle
1552 various definitions of the same symbol.
1554 1999-12-12 Assar Westerlund <assar@sics.se>
1556 * Makefile.am: bump version to 4:1:0
1558 1999-12-06 Assar Westerlund <assar@sics.se>
1560 * Makefile.am: bump version to 4:0:0
1562 1999-12-05 Assar Westerlund <assar@sics.se>
1564 * Makefile.in: replace inaddr2str with getnameinfo_verified
1566 * roken-common.h (INADDR_LOOPBACK): add fallback definition
1568 * roken-common.h: move getnameinfo_verified to roken.h.in
1569 * roken.h.in (inaddr2str): remove
1570 * Makefile.am (libroken_la_SOURCES); removed inaddr2str
1571 * roken-common.h (getnameinfo_verified): add prototype
1572 * getnameinfo_verified.c: new file
1574 1999-12-04 Assar Westerlund <assar@sics.se>
1576 * roken-common.h: add constants for getaddrinfo, getnameinfo
1577 * roken.h.in (socklen_t): make independent of sockaddr_storage
1578 (AI_*, NI_*, EAI_*): move to roken-common.h
1580 1999-12-03 Assar Westerlund <assar@sics.se>
1582 * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
1583 * getaddrinfo.c (const_v*): no sizeof(sizeof())
1584 * getaddrinfo.c (add_hostent): search for the canonical name among
1586 (getaddrinfo): handle AI_NUMERICHOST correctly
1587 * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
1588 getaddrinfo, getnameinfo, gai_strerror
1589 (getaddrinfo_test): add
1590 * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
1591 getnameinfo, gai_strerror
1592 (getaddrinfo_test): add
1593 * roken.h.in: arpa/inet.h: include
1595 (struct addrinfo): add
1599 (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
1600 * getnameinfo.c: new file
1601 * getaddrinfo-test.c: new file
1602 * gai_strerror.c: new file
1603 * getaddrinfo.c: new file
1604 * freeaddrinfo.c: new file
1606 1999-11-25 Assar Westerlund <assar@sics.se>
1608 * getopt.c (getopt): return -1 instead of EOF. From
1609 <art@stacken.kth.se>
1611 1999-11-13 Assar Westerlund <assar@sics.se>
1613 * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
1616 * getcap.c: make sure to use db only if we have both the library
1619 1999-11-12 Assar Westerlund <assar@sics.se>
1621 * getarg.h: add arg_counter
1622 * getarg.c: add a new type of argument: `arg_counter' re-organize
1625 * Makefile.am: add strptime and strpftime-test
1627 * snprintf.c (xyzprintf): try to do the right thing with an % at
1628 the end of the format string
1630 * strptime.c (strptime): implement '%U', '%V', '%W'
1631 * strftime.c (strftime): implement '%U', '%V', '%W', '%z'
1633 * strftime.c (strftime): correct %E and %O handling. do something
1634 reasonable with "...%"
1636 * strftime.c: replace the BSD implementation by one of our own
1639 * strptime.c : new file
1640 * strpftime-test.c: new file
1642 1999-11-07 Assar Westerlund <assar@sics.se>
1644 * parse_bytes-test.c: new file
1646 * Makefile.am: add parse_bytes-test
1648 * parse_units.c (parse_something): try to handle the case of no
1649 value specified a little bit better
1651 1999-11-04 Assar Westerlund <assar@sics.se>
1653 * Makefile.am: bump version to 3:2:0
1655 1999-10-30 Assar Westerlund <assar@sics.se>
1657 * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
1658 around a gcc-bug that manifests itself on Linux-PPC. From Tom
1659 Rini <trini@kernel.crashing.org>
1661 1999-10-28 Assar Westerlund <assar@sics.se>
1663 * Makefile.am: bump version to 3:1:0
1665 * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
1666 having to have that definition. this is the easy way out instead
1667 of getting the definition here where it's needed. flame me.
1669 Fri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se>
1671 * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
1672 though it should), use getspnam().
1674 1999-10-20 Assar Westerlund <assar@sics.se>
1676 * Makefile.am: set version to 3:0:0
1678 1999-10-18 Johan Danielsson <joda@pdc.kth.se>
1680 * getarg.3: document arg_collect
1682 * getarg.c: change the way arg_collect works; it's still quite
1685 * getarg.h: change type of the collect function
1687 1999-10-17 Assar Westerlund <assar@sics.se>
1689 * xdbm.h: undo last commit
1691 * xdbm.h: reorder db includes
1693 1999-10-10 Assar Westerlund <assar@sics.se>
1695 * socket.c: const-ize and comment
1697 * net_write.c: const-ize
1699 * base64.c: const-ize
1701 1999-10-06 Assar Westerlund <assar@sics.se>
1703 * getarg.c (getarg): also set optind when returning error
1705 1999-09-26 Assar Westerlund <assar@sics.se>
1707 * Makefile.am: add parse_bytes.[ch]
1709 1999-09-24 Johan Danielsson <joda@pdc.kth.se>
1711 * getarg.3: getarg manpage
1713 * getarg.{c,h}: add a callback type to do more complicated processing
1715 * getarg.{c,h}: add floating point support
1717 1999-09-16 Assar Westerlund <assar@sics.se>
1719 * strlcat.c (strlcat): call strlcpy
1721 * strlcpy.c: update name and prototype
1723 * strlcat.c: update name and prototype
1725 * roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
1727 * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
1729 * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
1731 * strcpy_truncate.c (strcpy_truncate): change return value to be
1734 1999-08-16 Assar Westerlund <assar@sics.se>
1736 * getcap.c: try to make this work on systems with DB
1738 1999-08-16 Johan Danielsson <joda@pdc.kth.se>
1740 * getcap.c: protect from db-less systems
1742 1999-08-09 Johan Danielsson <joda@pdc.kth.se>
1744 * simple_exec.c: add simple_exec{ve,le}
1746 * getcap.c: getcap from NetBSD
1748 1999-08-06 Assar Westerlund <assar@sics.se>
1750 * roken.h.in (sockaddr_storage): cater for those that have
1753 1999-08-05 Assar Westerlund <assar@sics.se>
1755 * inet_ntop.c (inet_ntop_v4): remember to call ntohl
1757 1999-08-04 Assar Westerlund <assar@sics.se>
1759 * roken-common.h: add shutdown constants
1761 * mini_inetd.c (listen_v4, listen_v6): handle the case of the
1762 protocol not being supported
1764 1999-08-01 Assar Westerlund <assar@sics.se>
1766 * mini_inetd.c (socket_set_reuseaddr): remove duplicate
1768 1999-07-29 Assar Westerlund <assar@sics.se>
1770 * mini_inetd.c (mini_inetd): fix my stupid bugs
1772 1999-07-28 Assar Westerlund <assar@sics.se>
1774 * roken-common.h: add socket* functions
1776 * Makefile.am (libroken_la_SOURCES): add socket.c
1778 * socket.c: new file, originally from appl/ftp/common
1780 * Makefile.am: set version to 2:0:2
1782 * roken.h.in (inet_pton): add prototype
1784 * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
1786 * inet_pton.c: new file
1788 * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
1791 1999-07-27 Assar Westerlund <assar@sics.se>
1793 * mini_inetd.c: support IPv6
1795 1999-07-26 Assar Westerlund <assar@sics.se>
1797 * Makefile.am: set version to 1:0:1
1799 * roken.h.in (inet_ntop): add prototype
1801 * roken-common.h: (INET{,6}_ADDRSTRLEN): add
1803 * inet_ntop.c: new file
1805 * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1807 * Makefile.am: move some files from libroken_la_SOURCES to
1808 EXTRA_libroken_la_SOURCES
1810 * snprintf.c: some signed vs unsigned casts
1812 1999-07-24 Assar Westerlund <assar@sics.se>
1814 * roken.h.in (struct sockaddr_storage): define it needed
1816 1999-07-19 Assar Westerlund <assar@sics.se>
1818 * Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1819 freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1821 * roken.h.in: <netdb.h>: include
1822 (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1825 * roken-common.h: new constants for getipnodeby*
1827 * Makefile.in (SOURCES): add freehostent, copyhostent,
1828 getipnodebyname, getipnodebyaddr
1830 * freehostent.c: new file
1832 * copyhostent.c: new file
1834 * getipnodebyaddr.c: new file
1836 * getipnodebyname.c: new file
1838 1999-07-13 Assar Westerlund <assar@sics.se>
1840 * roken.h.in (k_getpwnam): update prototype
1842 * k_getpwnam.c (k_getpwnam): const-ize
1844 * get_default_username.c (get_default_username): a better way of
1845 guessing when the user has su:ed
1847 1999-07-08 Johan Danielsson <joda@pdc.kth.se>
1849 * roken.awk: use puts, as suggested by Jeffrey Hutzelman
1852 1999-07-06 Assar Westerlund <assar@sics.se>
1854 * readv.c (readv): typo
1856 1999-07-03 Assar Westerlund <assar@sics.se>
1858 * writev.c (writev): error check malloc properly
1860 * sendmsg.c (sendmsg): error check malloc properly
1862 * resolve.c (parse_reply): error check malloc properly
1864 * recvmsg.c (recvmsg): error check malloc properly
1866 * readv.c (readv): error check malloc properly
1868 1999-06-23 Assar Westerlund <assar@sics.se>
1870 * parse_units.c (acc_units): move the special case of 0 -> 1 to
1871 parse_something to avoid having it happen at the end of the string
1873 1999-06-15 Assar Westerlund <assar@sics.se>
1875 * Makefile.in: add get_default_username
1877 * get_default_username.c: new file
1879 * roken.h.in (get_default_username): add prototype
1881 * Makefile.am: add get_default_username
1883 1999-05-08 Assar Westerlund <assar@sics.se>
1885 * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1887 * strnlen.c (strnlen): update prototype
1889 * Makefile.am: strndup.c: add
1891 * Makefile.in: strndup.c: add
1893 * roken.h.in (strndup): add
1894 (strnlen): update prototype
1896 * strndup.c: new file
1898 Fri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se>
1900 * roken.h.in: include strsep prototype if needed
1902 Thu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1904 * Makefile.am: make make-print-version.o depend on version.h
1906 Wed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1908 * Makefile.am: make it compile w/o krb4
1910 Sat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
1912 * snprintf.c (vasnprintf): correct check if realloc returns NULL
1914 Sat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1916 * Makefile.am: link print_version with -ldes to avoid unresolved
1917 references if -lkrb is shared
1919 Sat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se>
1921 * roken-common.h (eread, ewrite): add
1923 * simple_exec.c: add <roken.h>
1925 Fri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se>
1927 * Makefile.in: add eread, ewrite
1929 * eread.c, ewrite.c: new files
1931 * Makefile.am (libroken_la_SOURCES): add eread and ewrite
1933 Fri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1935 * Makefile.am: add version-info
1937 Thu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1939 * Makefile.am: remove include_dir hack
1941 * Makefile.am: parse_units.h
1943 * Makefile.am: include Makefile.am.common
1945 Sat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se>
1947 * Makefile.in (SOURCES): add glob.c
1949 Thu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1951 * iruserok.c: move innetgr() to separate file
1953 * innetgr.c: move innetgr() to separate file
1955 * hstrerror.c (hstrerror): add const to return type
1957 * erealloc.c: fix types in format string
1959 * emalloc.c: fix types in format string
1961 Wed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1963 * resolve.c: ugly fix for crays
1965 Mon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1967 * roken.h.in: protos for {un,}setenv
1969 1999-02-16 Assar Westerlund <assar@sics.se>
1971 * Makefile.in (SOURCES): add fnmatch
1973 * roken-common.h (abs): add
1975 Sat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se>
1977 * emalloc.c, erealloc.c, estrup.c: new files
1979 * roken.h.in (mkstemp, gethostname): also includes prototypes if
1982 1998-12-23 Assar Westerlund <assar@sics.se>
1984 * roken.h.in: mkstemp: add prototype
1986 1998-12-20 Assar Westerlund <assar@sics.se>
1988 * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1990 * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
1992 * roken-common.h: __attribute__: check for autoconf'd
1993 HAVE___ATTRIBUTE__ instead of GNUC
1995 Sun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se>
1997 * parse_units.c (parse_something): func is called with val == 0 if
1999 (acc_flags, acc_units): update to new standard
2001 Fri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se>
2003 * resolve.c (stot): constify
2004 (type_to_string): always declare
2005 (dns_lookup_int): correct debug output
2007 Thu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se>
2009 * resolve.c (dns_lookup_int): send rr_class to res_search
2011 Thu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se>
2013 * resolve.c: some cleanup
2015 * resolve.h: add T_NAPTR
2017 Sun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se>
2019 * Makefile.in (WFLAGS): set
2021 * k_getpwnam.c (k_getpwnam): check for `struct spwd'
2023 * k_getpwuid.c (k_getpwuid): check for `struct spwd'
2025 Tue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se>
2027 * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
2029 Fri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2031 * vsyslog.c: asprintf -> vasprintf
2033 Tue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se>
2035 * getarg.h (arg_printusage): new signature
2037 * getarg.c (arg_printusage): new parameter `progname'. NULL means
2040 Sun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2042 * Makefile.am: net_{read,write}.c
2044 Fri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se>
2046 * simple_exec.c (simple_execvp): loop around waitpid when errno ==
2049 Thu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2051 * Makefile.am: net_{read,write}.c
2053 Wed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se>
2055 * simple_exec.c (simple_execlp): initialize `argv'
2057 Mon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se>
2059 * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
2062 Fri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se>
2064 * roken.h.in (net_write, net_read): add prototypes
2066 * Makefile.in: net_{read,write}.c: add
2068 * net_{read,write}.c: new files
2070 Tue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se>
2072 * roken.h.in (issuid): add
2074 * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
2077 Sun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2079 * getarg.c (mandoc_template): Put short and long options in
2080 SYNOPSIS within the same [ ] pair.
2082 Sat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2084 * getarg.c (arg_printusage): try to keep options shorter than
2087 * get_window_size.c (get_window_size): check COLUMNS and LINES
2089 Fri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2091 * getarg.c (mandoc_template): Put short and long options in
2092 DESCRIPTION on the same line.
2094 * getarg.c (arg_match_long): make sure you only get an exact match
2095 if the strings are the same length
2097 Thu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se>
2099 * roken.awk: stupid cray awk wants \#
2101 Fri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se>
2103 * print_version.c (print_version): according to ISO/ANSI C the
2104 elements of `arg' are not constant and therefore not settable at
2105 compile-time. Set the at run-time instead.
2107 Sun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se>
2109 * roken.h.in: include paths.h
2111 Sun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se>
2113 * Makefile.in (SOURCES): add roken_gethostby.c to make solaris
2116 Thu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2118 * simple_exec.c: Simple fork+exec system() replacement.
2120 Fri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2122 * roken_gethostby.c: Make `roken_gethostby_setup' take URL-like
2123 specification instead of split up versions. Makes it easier for
2124 calling applications.
2126 * roken_gethostby.c: Another miracle of the 20th century:
2127 gethostby* over HTTP.
2129 Sat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se>
2131 * parse_time.c (unparse_time_approx): new function that calls
2132 `unparse_units_approx'
2134 * parse_units.c (unparse_units_approx): new function that will
2135 only print the first unit.
2137 * Makefile.in: include parse_{time,units}
2139 Thu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se>
2141 * parse_time.c (print_time_table): don't return a void value.
2143 Tue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2145 * getarg.c (mandoc_template): Change date format to full month
2146 name, and day of month without leading zero.
2148 Thu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se>
2150 * getarg.c: Fix long form of negative flags.
2152 Mon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2154 * roken.h.in: Include <err.h>, to get linux __progname.
2156 Sun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se>
2158 * parse_time.c (print_time_table): new function
2160 * parse_units.c (print_flags_table, print_units_table): new
2163 Thu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se>
2165 * iruserok.c: moved here.
2167 * snprintf.c (sn_append_char): don't write any terminating zero.
2168 (as_reserve): don't loop. better heuristic for how much space to
2170 (vasnprintf): simplify initializing to one.
2172 Sun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2174 * getarg.c: Add mandoc help back-end to getarg.
2176 Wed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2178 * verr.c, verrx.c: Fix warnings by moving exit from.
2180 Tue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2182 * parse_units.c: Change the list of separating characters (between
2183 units) to comma, space, and tab, removing digits. Having digits in
2184 this list makes a flag like `T42 generate a parse error. This
2185 change makes `17m3s' an invalid time-spec (you need a space).
2187 Tue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se>
2189 * roken.h: add <sys/socket.h>
2191 Sun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2193 * fnmatch.c: Add fnmatch from NetBSD
2195 Sun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se>
2197 * parse_units.c (parse_something): ignore white-space and ','
2199 Mon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se>
2201 * roken.h: fclose prototype
2203 * roken.h: add prototype for vsyslog
2205 * Makefile.in: add some more source files to make soriasis make
2208 Sat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se>
2210 * roken.h: include <sys/uio.h> and <errno.h>.
2211 prototypes for readv and writev
2213 * readv.c, writev.c: new files
2215 Wed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se>
2217 * roken.h: Add ugly macros for openlog, gethostbyname,
2218 gethostbyaddr, and getservbyname for the benefit of Crays. Add
2219 default definition of MAXPATHLEN