This commit was manufactured by cvs2svn to create tag
[heimdal.git] / lib / roken / ChangeLog
blob1e2ea5f93bb81286bf0b3223f015911587922a0e
1 2004-10-06  Love  <lha@stacken.kth.se>
3         * ndbm_wrap.c: 1.3: undefine open so this works on solaris with
4         large file support From netbsd's pkgsrc via Gavan Fantom
5         
6 2004-01-15  Love  <lha@stacken.kth.se>
8         * roken-common.h: 1.52: use EAI_NONAME instead of EAI_ADDRFAMILY
9           to check for if we need EAI_ macros
10         
11         * gai_strerror.c: 1.4: correct ifdef for EAI_ADDRFAMILY
12         1.3: EAI_ADDRFAMILY and EAI_NODATA is deprecated
13         
14 2003-08-29  Love  <lha@stacken.kth.se>
16         * ndbm_wrap.c: 1.1->1.2: patch for working with DB4 on
17         heimdal-discuss From: Luke Howard <lukeh@PADL.COM>
18         
19 2003-04-22  Love  <lha@stacken.kth.se>
20         
21         * resolve.c: 1.38->1.39: copy NUL too, from janj@wenf.org via
22         openbsd
24 2003-04-16  Love  <lha@stacken.kth.se>
26         * parse_units.h: remove typedef for units to avoid problems with
27         shadowing
29         * resolve.c: use strlcpy, from openbsd
30         
31         * getcap.c: use strlcpy, from openbsd
32         
33         * getarg.3: Change .Fd #include <header.h> to .In header.h
34         from Thomas Klausner <wiz@netbsd.org>
36 2003-04-15  Love  <lha@stacken.kth.se>
38         * socket.c (socket_set_tos): if setsockopt failed with EINVAL
39         failed, just ignore it, sock was probably a just a non AF_INET
40         socket
42 2003-04-14  Love  <lha@stacken.kth.se>
44         * strncasecmp.c: cast argument to toupper to unsigned char, from
45         Christian Biere <christianbiere@gmx.de> via NetBSD
46         
47         * strlwr.c: cast argument to tolower to unsigned char, from
48         Christian Biere <christianbiere@gmx.de> via NetBSD
49         
50         * strcasecmp.c: cast argument to toupper to unsigned char, from
51         Christian Biere <christianbiere@gmx.de> via NetBSD
52         
53 2003-03-19  Love  <lha@stacken.kth.se>
55         * getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
56         
57 2003-03-07  Love  <lha@stacken.kth.se>
59         * parse_bytes.c: use struct units instead of units
60         
61         * parse_time.c: use struct units instead of units
62         
63 2003-03-04  Love  <lha@stacken.kth.se>
65         * roken.awk: use full prototype for main
66         
67 2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
69         * resolve.c: check length of txt records
71 2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
73         * roken.awk: include config.h before stdio.h (breaks with
74         _FILE_OFFSET_BITS on solaris otherwise)
76 2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
78         * resolve.c: fix res_nsearch call, but don't use it for now, AIX5
79         has a broken version that trashes memory
81         * roken-common.h: fix typo in previous
83         * roken-common.h: change IRIX == 4 to IRIX4
85 2002-09-04  Assar Westerlund  <assar@kth.se>
87         * getifaddrs.c: remove some warnings from the linux-portion
89         * getnameinfo_verified.c (getnameinfo_verified): handle the case
90         of forward but no backward DNS information, and also describe the
91         desired behaviour.  from Love <lha@stacken.kth.se>
93 2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
95         * rtbl.c (rtbl_destroy): free whole table
97         * resolve.c: use res_nsearch if we have it (from Larry Greenfield)
99 2002-09-03  Assar Westerlund  <assar@kth.se>
101         * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
102         YOSHIFUJI of the Usagi project
103         
104         * parse_reply-test.c: make this build and return 77 if there is no
105         mmap
107         * Makefile.am (parse_reply-test): add
108         * parse_reply-test.c: add a test case for parse_reply reading past
109         the given buffer
110         * resolve.c (parse_reply): update the arguments to more reasonable
111         types.  allow parse_reply-test to call it
113 2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
115         * resolve.c (dns_srv_order): do alignment tricks with the random()
116         state (from NetBSD)
118 2002-08-27  Assar Westerlund  <assar@kth.se>
120         * resolve.c (parse_reply): verify the lengths (both external and
121         internal) are consistent and not too long
122         (dns_lookup_int): be conservative in the length sent in to to
123         parse_reply
125 2002-08-26  Assar Westerlund  <assar@kth.se>
127         * roken.h.in: add prototypes for str, unvis functions
128         * resolve.h: add fallback definition for T_AAAA
130 2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
132         * roken.h.in: we may need a prototype for strndup
134 2002-08-20  Johan Danielsson  <joda@pdc.kth.se>
136         * roken.h.in: typedef ssize_t here
138         * getarg.c: don't put Ns before comma
140         * resolve.c: _res might not be available
142         * localtime_r.c: include stdio.h and roken.h
144         * strftime.c: only use altzone if we have it
146         * roken-common.h: AI_NUMERICHOST needs special handling
148         * strlcat.c: add some consistency checks
150         * strlcpy.c: make the logic simpler, and handle dst_sz == 0
152 2002-08-19  Johan Danielsson  <joda@pdc.kth.se>
154         * resolve.h: prefix these functions to avoid conflicts with other
155         packages
157 2002-08-14  Johan Danielsson  <joda@pdc.kth.se>
159         * strsep_copy.c: don't write to buf if len == 0
161 2002-05-31  Assar Westerlund  <assar@pdc.kth.se>
163         * Makefile.am: *_LDADD: add LDADD, so that libroken is used
165 2002-05-17  Johan Danielsson  <joda@pdc.kth.se>
167         * xdbm.h: remove old dbm part
169 2002-04-30  Johan Danielsson  <joda@pdc.kth.se>
171         * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
173 2002-04-18  Johan Danielsson  <joda@pdc.kth.se>
175         * roken.h.in: move mini_inetd protos to after addrinfo definition
177         * snprintf.c (append_number): make rep const
179         * getarg.h: rename optind and optarg to avoid some gcc warnings
181         * getarg.c: rename optind and optarg to avoid some gcc warnings
183 2002-02-18  Johan Danielsson  <joda@pdc.kth.se>
185         * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
186         of a port number
188 2001-11-30  Assar Westerlund  <assar@sics.se>
190         * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
191         used on Solaris 8 to retrieve addresses larger than `struct
192         sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
193         modifications by me)
195 2001-10-27  Assar Westerlund  <assar@sics.se>
197         * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
199 2001-10-22  Assar Westerlund  <assar@sics.se>
201         * localtime_r.c: add
203 2001-10-02  Johan Danielsson  <joda@pdc.kth.se>
205         * resolve.c (dns_srv_order): don't try to return a value
207 2001-09-24  Johan Danielsson  <joda@pdc.kth.se>
209         * snprintf.c: va_{start,end} fixes; from Thomas Klausner
211 2001-09-20  Assar Westerlund  <assar@sics.se>
213         * resolve.c (dns_srv_order): make sure of not reading after the
214         array
216 2001-09-17  Assar Westerlund  <assar@sics.se>
218         * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
219         * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
220         avoid collision with resolv.h on aix
222 2001-09-04  Assar Westerlund  <assar@sics.se>
224         * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
225         parse_units.h: use int instead of size_t as return values to be
226         compatible with snprintf
228         * strftime.c (strftime): check for return values from snprintf() <
229         0
231 2001-09-03  Johan Danielsson  <joda@pdc.kth.se>
233         * socket.c: restrict is a keyword
235 2001-09-03  Assar Westerlund  <assar@sics.se>
237         * write_pid.c: handle atexit or on_exit
239         * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
240         solaris make
242 2001-08-30  Johan Danielsson  <joda@pdc.kth.se>
244         * Makefile.am: use LDADD directly
246 2001-08-28  Assar Westerlund  <assar@sics.se>
248         * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
250         * issuid.c (issuid): call issetugid if it exists
252 2001-08-24  Assar Westerlund  <assar@sics.se>
254         * Makefile.am: make it play better with recent automake
256 2001-08-21  Assar Westerlund  <assar@sics.se>
258         * glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
260         * roken.h.in: remove all winsock.h
261         for now, it does more harm than good under cygwin and if it should be
262         used, the correct conditional needs to be found
263         from <tol@stacken.kth.se>
265 2001-08-17  Johan Danielsson  <joda@pdc.kth.se>
267         * getaddrinfo.c: include a definition of in6addr_loopback if it
268         doesn't exist
270 2001-08-10  Assar Westerlund  <assar@sics.se>
272         * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
274 2001-08-08  Assar Westerlund  <assar@sics.se>
276         * hstrerror.c: move h_errno to its own file (h_errno.c)
278 2001-08-04  Assar Westerlund  <assar@sics.se>
280         * Makefile.am: add getarg.3
282 2001-08-01  Assar Westerlund  <assar@sics.se>
284         * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
285         resilient to bind/listen failing.
287 2001-07-31  Assar Westerlund  <assar@sics.se>
289         * getifaddrs.c (getifaddrs2): remove unused variables
291 2001-07-31  Assar Westerlund  <assar@sics.se>
293         * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
295 2001-07-23  Assar Westerlund  <assar@sics.se>
297         * getarg.c (arg_match_long): fix parsing of arg_counter optional
298         argument
300 2001-07-19  Assar Westerlund  <assar@sics.se>
302         * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
303         
304 2001-07-17  Assar Westerlund  <assar@sics.se>
306         * snprintf-test.h: add a file with renaming of the snprintf
307         functions, to be used for running the tests
309 2001-07-11  Assar Westerlund  <assar@sics.se>
311         * snprintf-test.c: add more %X tests, and long and conditional
312         long long tests
313         * snprintf.c: add support for printing long long (if available)
315 2001-07-10  Assar Westerlund  <assar@sics.se>
317         * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
318         * hostent_find_fqdn.c (hostent_find_fqdn): const-ize
320 2001-07-09  Assar Westerlund  <assar@sics.se>
322         * roken-common.h (hostent_find_fqdn): add
323         * hostent_find_fqdn.c: separate out hostent_find_fqdn
325         * warnerr.c: move out getprogname, setprogname
327 2001-07-03  Assar Westerlund  <assar@sics.se>
329         * warnerr.c (setprogname): add const cast
330         * vis.c (SVIS): add some (unsigned char) before calling isfoo*
331         * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
333         * Makefile.am: add snprintf_test
334         * snprintf.c: rewrite so that it does not stop as soon as there
335         are no more characters to print, we need to figure out how long
336         the string would have to be.  this also fixes snprintf(NULL, 0
338 2001-06-21  Assar Westerlund  <assar@sics.se>
340         * simple_exec.c (pipe_execv): remove unused variable
342 2001-06-20  Johan Danielsson  <joda@pdc.kth.se>
344         * getdtablesize.c: fix typo in obviously never used sysctl case
346         * simple_exec.c: rename check_status to wait_for_process, and
347         export it; function pipe_execv similar to popen, but with more
348         control over input and output
350         * roken-common.h: prototypes for wait_for_process and pipe_execv
352 2001-06-17  Assar Westerlund  <assar@sics.se>
354         * roken-common.h: move emalloc et al to roken.h.in
355         * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
356         * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
357         be set reliably
358         * ecalloc.c: add for symmetry
360 2001-06-09  Johan Danielsson  <joda@pdc.kth.se>
362         * resolve.c: dns_srv_order to order srv records
364 2001-06-08  Johan Danielsson  <joda@pdc.kth.se>
366         * getarg.c: Grog tries to figure out if to use mdoc.old instead of
367         mdoc by looking at some macros that were only present in the old
368         version, and by looking at the number of .Oo's present. In
369         mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
370         the number of .Oo's is bigger than the number of .Oc's, it figures
371         it must be mdoc.old. This doesn't however account for called Oc's,
372         and thus grog thinks that valid pages are mdoc.old when they
373         infact are mdoc. So let's make sure that Oc's are not called by
374         other macros.
376 2001-05-29  Assar Westerlund  <assar@sics.se>
378         * base64-test.c (main): initialize numerr
380 2001-05-28  Johan Danielsson  <joda@pdc.kth.se>
382         * base64.c: clean up the decode mess somewhat
384         * base64-test.c: base64 tests
386 2001-05-18  Johan Danielsson  <joda@pdc.kth.se>
388         * roken.h.in: just use standard C types with bswap*
390         * bswap.c: just use standard C types
392 2001-05-17  Assar Westerlund  <assar@sics.se>
394         * roken.h.in: include all the headers that AC_GROK_TYPES tries for
395         finding u_int17_t et al
397         * Makefile.am: bump version to 12:0:3
398         * roken.h.in: re-add set_progname and get_progname for backwards
399         compatability
400         * warnerr.c: re-add set_progname and get_progname for backwards
401         compatability
403 2001-05-12  Assar Westerlund  <assar@sics.se>
405         * glob.c: add limits.h, from <shadow@dementia.org>
407 2001-05-11  Johan Danielsson  <joda@pdc.kth.se>
409         * Makefile.am: bswap.c
410         
411         * bswap.c: bswap{16,32}
412         
413 2001-05-08  Assar Westerlund  <assar@sics.se>
415         * freeaddrinfo.c (freeaddrinfo): also free every `struct
416         addrinfo'.  from <tmartin@mirapoint.com>
418 2001-04-25  Assar Westerlund  <assar@sics.se>
420         * getarg.h (free_getarg_strings): add prototype
421         * getarg.c (free_getarg_strings): add function
423 2001-04-21  Johan Danielsson  <joda@pdc.kth.se>
425         * getarg.c: pack short flag options togther, to shorten the usage
426         string
428 2001-04-17  Johan Danielsson  <joda@pdc.kth.se>
430         * getifaddrs.c (getifaddrs2): close socket when done
432 2001-03-26  Johan Danielsson  <joda@pdc.kth.se>
434         * roken.awk: END has to be last with Sun's awk
436 2001-03-26  Assar Westerlund  <assar@sics.se>
438         * parse_units.c (parse_something): do not check the return value
439         from strtod, it might return != 0.0 when the string has no digits.
440         just testing if it consumed any characters is enough and more
441         resilient
442         * glob.c: add GLOB_LIMIT (from NetBSD)
444 2001-02-20  Assar Westerlund  <assar@sics.se>
446         * warnerr.c (warnerr): do not use __progname
447         * roken.h.in (setprogname, getprogname): add prototypes
448         * warnerr.c (setprogname, getprogname): rename to. change all
449         callers
450         
451 2001-02-12  Assar Westerlund  <assar@sics.se>
453         * getnameinfo_verified.c (getnameinfo_verified): do the first
454         getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
455         reports on not finding the service
456         (ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
458 2001-02-09  Assar Westerlund  <assar@sics.se>
460         * getnameinfo.c (doit): call inet_ntop with correct af, noted by
461         Ake Sandgren <ake@cs.umu.se>
463 2001-02-08  Assar Westerlund  <assar@sics.se>
465         * getnameinfo_verified.c (getnameinfo_verified): always capture
466         the service from getnameinfo so it can be sent back to getaddrinfo
467         and set socktype to avoid getaddrinfo not returning any addresses
469 2001-01-30  Assar Westerlund  <assar@sics.se>
471         * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
472         * print_version.c (print_version): add 2001
474 2001-01-29  Assar Westerlund  <assar@sics.se>
476         * getifaddrs.c (getifaddrs2): copy the entire sockaddr
478         * roken-common.h (_PATH_BSHELL): add
480 2001-01-27  Assar Westerlund  <assar@sics.se>
482         * roken.h.in: move __attribute__ to roken-common.h
484         * esetenv.c (esetenv): cast to handle a setenv that takes a `char
485         * which is the case on Unicos
487 2000-12-29  Assar Westerlund  <assar@sics.se>
489         * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
490         ifaddrs.hin
492 2000-12-25  Assar Westerlund  <assar@sics.se>
494         * getarg.c (print_arg): add a case for arg_strings
496 2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
498         * snprintf.c (append_string): handle NULL strings by printing
499         `(null)'
501 2000-12-12  Johan Danielsson  <joda@pdc.kth.se>
503         * roken-common.h: add c++ externs
505         * roken.h.in: fix last commit differently
507 2000-12-11  Assar Westerlund  <assar@sics.se>
509         * err.hin (warnerr): remove, it's not part of the err.h interface
510         * roken-common.h (warnerr): moved here from err.hin
511         * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
512         * vis.c: s/u_int32_t/unsigned/ for systems that do not define
513         u_int32_t
515 2000-12-10  Johan Danielsson  <joda@pdc.kth.se>
517         * Makefile.am: rename some headers to avoid conflict with possible
518         system headers
520 2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
522         * vis.c: make sure _DIAGASSERT is defined
524         * unvis.c: make sure _DIAGASSERT is defined
526         * Makefile.am: unvis.c, and vis.h
528         * vis.h: vis.h from NetBSD
530         * unvis.c: unvis from NetBSD
532         * roken.h.in: cleanup previous
534         * roken-common.h: make `extern "C"' into a macro, this make emacs
535         much happier
537         * vis.c: strvis implementation from NetBSD
539         * roken.h.in: add prototypes for strvis*
541 2000-12-05  Johan Danielsson  <joda@pdc.kth.se>
543         * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
544         macro
546         * getifaddrs.c: free some memory
548 2000-12-04  Johan Danielsson  <joda@pdc.kth.se>
550         * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
552         * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
554 2000-10-08  Assar Westerlund  <assar@sics.se>
556         * mini_inetd.c (mini_inetd): check that fds are not too large to
557         select on
559 2000-09-24  Assar Westerlund  <assar@sics.se>
561         *  esetenv.c: new file/function
563 2000-08-16  Assar Westerlund  <assar@sics.se>
565         * Makefile.am: bump version to 10:0:1
567 2000-08-10  Assar Westerlund  <assar@sics.se>
569         * mini_inetd.c (accept_it): type-correctness on parameters to
570         accept
572 2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
574         * roken.h.in: add proto compat for getsockname
576 2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
578         * write_pid.c: conditionalise pidfile
580         * write_pid.c: add pidfile function
582 2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
584         * Makefile.am: bump version to 9:0:0
586         * warnerr.c: add get_progname
588 2000-07-24  Assar Westerlund  <assar@sics.se>
590         * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
591         reverse resolving to see if there's a fuller name there.  don't
592         use just-freed memory
594 2000-07-22  Assar Westerlund  <assar@sics.se>
596         * xdbm.h: do not define ndbm functions in terms of dbm functions
597         if we're using db
599 2000-07-20  Assar Westerlund  <assar@sics.se>
601         * rtbl.c (rtbl_format): avoid printing an empty row at the end
603 2000-07-19  Johan Danielsson  <joda@pdc.kth.se>
605         * Makefile.am: make this compatible with `make dist'
607         * Makefile.am: revert version number for now
609 2000-07-18  Johan Danielsson  <joda@pdc.kth.se>
611         * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
613 2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
615         * Makefile.am: set ACLOCAL_AMFLAGS
617 2000-07-15  Johan Danielsson  <joda@pdc.kth.se>
619         * getaddrinfo_hostspec.c: add new function that takes socktype
620         hint as parameter
622 2000-07-09  Assar Westerlund  <assar@sics.se>
624         * rtbl.c (rtbl_add_column): initialize `col' completely
626         * configure.in: bring headers and functions more in-line with
627         what's actually being used
629 2000-07-08  Johan Danielsson  <joda@pdc.kth.se>
631         * roken.h.in: declare ether_addr and sockaddr_dl for AIX
633         * rtbl.{c,h}: simple table functions
635 2000-07-08  Assar Westerlund  <assar@sics.se>
637         * configure.in (AM_INIT_AUTOMAKE): bump version to 10
638         * configure.in (AC_BROKEN): add strsep_copy
639         * Makefile.am (ACLOCAL): fetch files from cf
641 2000-07-01  Assar Westerlund  <assar@sics.se>
643         * roken-common.h (pid_file_*): fix protos
645 2000-06-28  Assar Westerlund  <assar@sics.se>
647         * getnameinfo_verified.c (getnameinfo_verified): free memory
648         returned from getaddrinfo
650 2000-06-27  Assar Westerlund  <assar@sics.se>
652         * resolve.c: export string_to_type and type_to_string
653         * resolve.c: add key,sig,cert update test-program
654         * resolve.h: add key,sig,cert
656 2000-06-21  Assar Westerlund  <assar@sics.se>
658         * resolve.h: add T_SIG, T_KEY
659         * resolve.c: add SIG and KEY
660         * Makefile.am (libroken_la_SOURCES): add environment.c and
661         write_pid.c
663         * write_pid.c: new file for writing a pid file.
665         * environment.c: new file with functionality for reading
666         /etc/environment.  From Ake Sandgren <ake@cs.umu.se>
668 2000-06-12  Johan Danielsson  <joda@pdc.kth.se>
670         * strsep_copy.c: strsep, but with const stringp so returns string
671         in separate buffer
673 2000-05-23  Assar Westerlund  <assar@sics.se>
675         * vsyslog.c (vsyslog): calculate length of new format string
676         correctly
678 2000-05-22  Johan Danielsson  <joda@pdc.kth.se>
680         * getusershell.c: implment the AIX version use
681         /etc/security/login.cfg
683 2000-05-21  Assar Westerlund  <assar@sics.se>
685         * vsyslog.c (vsyslog): actually handle `%m'
687 2000-05-15  Assar Westerlund  <assar@sics.se>
689         * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
691         * roken-common.h: moved __attribute__ to roken.h.in
693 2000-04-14  Assar Westerlund  <assar@sics.se>
695         * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
696         correct length from `hostspec'.  based on a patch from Love
697         <lha@s3.kth.se>
699 2000-04-09  Assar Westerlund  <assar@sics.se>
701         * xdbm.h: only include one of db.h and the dbm-series
703 2000-04-05  Assar Westerlund  <assar@sics.se>
705         * resolve.c (_resolve_debug): explicitly set to zero.  this moves
706         the variable from bss to data and the dynamic linker on MacOS
707         X/Darwin seems unhappy with stuff in the bss segment.
709 2000-04-03  Assar Westerlund  <assar@sics.se>
711         * Makefile.am: set version to 8:0:3
713 2000-03-11  Assar Westerlund  <assar@sics.se>
715         * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
716         expression that also works on Crays
718 2000-03-09  Assar Westerlund  <assar@sics.se>
720         * getarg.c (arg_match_short): backup optind when there's a missing
721         argument so that the error can point at the flag and not the
722         non-existant argument
724 2000-03-03  Assar Westerlund  <assar@sics.se>
726         * Makefile.in (SOURCES): add timeval.c
727         * Makefile.am (libroken_la_SOURCES): add timeval.c
728         * timeval.c: new file
730 2000-02-19  Assar Westerlund  <assar@sics.se>
732         * Makefile.am: set version to 7:1:2
733         
734 2000-02-16  Assar Westerlund  <assar@sics.se>
736         * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
737         transmitted as ints
738         (according to the integer protomotion rules) in variable arguments
739         lists.  Therefore, we should not call va_arg with short but rather
740         with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
741         original bug report
743 2000-02-13  Assar Westerlund  <assar@sics.se>
745         * Makefile.am: bump version to 7:0:2
747         * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
748         * getarg.c (mandoc_template): better man-stuff for negative
749         options
751 2000-02-07  Assar Westerlund  <assar@sics.se>
753         * Makefile.am: set version to 6:0:1
755 2000-02-06  Assar Westerlund  <assar@sics.se>
757         * xdbm.h: hopefully catch a few more declarations by including
758         <ndbm.h> even if <db.h> was found
760 2000-01-26  Assar Westerlund  <assar@sics.se>
762         * mini_inetd.c (mini_inetd): separate number of allocated sockets
763         and number of actual ones
764         * mini_inetd.c (mini_inetd): count sockets properly.  and fail if
765         we cannot bind any
766         * mini_inetd.c (mini_inetd): make failing to create a socket
767         non-fatal
769 2000-01-09  Assar Westerlund  <assar@sics.se>
771         * Makefile.am(libroken_la_SOURCES): add strcollect.c
772         * Makefile.in: add strcollect.[co]
773         * simple_exec.c: use vstrcollect
774         * roken-common.h (_PATH_DEV): add
775         (strcollect, vstrcollect): add prototypes
776         * strcollect.c: new file.  functions for collapsing an `va_list'
777         into an `char **'
779 2000-01-06  Assar Westerlund  <assar@sics.se>
781         * Makefile.am: bump version to 5:0:0
783 1999-12-30  Assar Westerlund  <assar@sics.se>
785         * Makefile.am (strpftime_test_SOURCES): correct source file name
787         * roken.h.in (sockaddr_storage): change padding so that we have
788         one char[] of pad and then an unsigned long[] (for alignment and
789         padding).  this works much better in practice.
791 1999-12-22  Assar Westerlund  <assar@sics.se>
793         * roken.h.in (sockaddr_storage): drop leading underscore on
794         `public' fields.  this was the consensus on the ipng mailing list
796 1999-12-21  Assar Westerlund  <assar@sics.se>
798         * Makefile.am (strpftime-test): define sources to avoid having
799         '.o'
800         * Makefile.am (print_version.h): use $(EXEEXT)
801         * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
802         et al
804 1999-12-20  Assar Westerlund  <assar@sics.se>
806         * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
808         * getaddrinfo.c (get_nodes): use getipnodebyname instead of
809         gethostbyname(2)
811 1999-12-16  Assar Westerlund  <assar@sics.se>
813         * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
815         * roken.h.in (struct sockaddr_storage): redefine with the example
816         code from rfc2553
818         * getaddrinfo.c (get_null): set loopback with correct endianess
819         for v4.  dunno about v6.
821 1999-12-13  Assar Westerlund  <assar@sics.se>
823         * roken.h.in: add prototypes for str[pf]time
825         * signal.c: macosx = rhapsody ~= nextstep also can't handle
826         various definitions of the same symbol.
828 1999-12-12  Assar Westerlund  <assar@sics.se>
830         * Makefile.am: bump version to 4:1:0
832 1999-12-06  Assar Westerlund  <assar@sics.se>
834         * Makefile.am: bump version to 4:0:0
836 1999-12-05  Assar Westerlund  <assar@sics.se>
838         * Makefile.in: replace inaddr2str with getnameinfo_verified
840         * roken-common.h (INADDR_LOOPBACK): add fallback definition
842         * roken-common.h: move getnameinfo_verified to roken.h.in
843         * roken.h.in (inaddr2str): remove
844         * Makefile.am (libroken_la_SOURCES); removed inaddr2str
845         * roken-common.h (getnameinfo_verified): add prototype
846         * getnameinfo_verified.c: new file
848 1999-12-04  Assar Westerlund  <assar@sics.se>
850         * roken-common.h: add constants for getaddrinfo, getnameinfo
851         * roken.h.in (socklen_t): make independent of sockaddr_storage
852         (AI_*, NI_*, EAI_*): move to roken-common.h
854 1999-12-03  Assar Westerlund  <assar@sics.se>
856         * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
857         * getaddrinfo.c (const_v*): no sizeof(sizeof())
858         * getaddrinfo.c (add_hostent): search for the canonical name among
859         all aliases
860         (getaddrinfo): handle AI_NUMERICHOST correctly
861         * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
862         getaddrinfo, getnameinfo, gai_strerror
863         (getaddrinfo_test): add
864         * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
865         getnameinfo, gai_strerror
866         (getaddrinfo_test): add
867         * roken.h.in: arpa/inet.h: include
868         (socklen_t): add
869         (struct addrinfo): add
870         (EAI_*): add
871         (NI_*): add
872         (AI_*): add
873         (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
874         * getnameinfo.c: new file
875         * getaddrinfo-test.c: new file
876         * gai_strerror.c: new file
877         * getaddrinfo.c: new file
878         * freeaddrinfo.c: new file
880 1999-11-25  Assar Westerlund  <assar@sics.se>
882         * getopt.c (getopt): return -1 instead of EOF.  From
883         <art@stacken.kth.se>
885 1999-11-13  Assar Westerlund  <assar@sics.se>
887         * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
888         world
890         * getcap.c: make sure to use db only if we have both the library
891         and the header file
892         
893 1999-11-12  Assar Westerlund  <assar@sics.se>
895         * getarg.h: add arg_counter
896         * getarg.c: add a new type of argument: `arg_counter' re-organize
897         the code somewhat
898         
899         * Makefile.am: add strptime and strpftime-test
900         
901         * snprintf.c (xyzprintf): try to do the right thing with an % at
902         the end of the format string
903         
904         * strptime.c (strptime): implement '%U', '%V', '%W'
905         * strftime.c (strftime): implement '%U', '%V', '%W', '%z'
906         
907         * strftime.c (strftime): correct %E and %O handling.  do something
908         reasonable with "...%"
910         * strftime.c: replace the BSD implementation by one of our own
911         coding
913         * strptime.c : new file
914         * strpftime-test.c: new file
916 1999-11-07  Assar Westerlund  <assar@sics.se>
918         * parse_bytes-test.c: new file
920         * Makefile.am: add parse_bytes-test
922         * parse_units.c (parse_something): try to handle the case of no
923         value specified a little bit better
925 1999-11-04  Assar Westerlund  <assar@sics.se>
927         * Makefile.am: bump version to 3:2:0
929 1999-10-30  Assar Westerlund  <assar@sics.se>
931         * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
932         around a gcc-bug that manifests itself on Linux-PPC.  From Tom
933         Rini <trini@kernel.crashing.org>
935 1999-10-28  Assar Westerlund  <assar@sics.se>
937         * Makefile.am: bump version to 3:1:0
939         * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
940         having to have that definition.  this is the easy way out instead
941         of getting the definition here where it's needed.  flame me.
943 Fri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
945         * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
946         though it should), use getspnam().
948 1999-10-20  Assar Westerlund  <assar@sics.se>
950         * Makefile.am: set version to 3:0:0
952 1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
954         * getarg.3: document arg_collect
956         * getarg.c: change the way arg_collect works; it's still quite
957         horrible though
959         * getarg.h: change type of the collect function
961 1999-10-17  Assar Westerlund  <assar@sics.se>
963         * xdbm.h: undo last commit
965         * xdbm.h: reorder db includes
967 1999-10-10  Assar Westerlund  <assar@sics.se>
969         * socket.c: const-ize and comment
971         * net_write.c: const-ize
973         * base64.c: const-ize
975 1999-10-06  Assar Westerlund  <assar@sics.se>
977         * getarg.c (getarg): also set optind when returning error
979 1999-09-26  Assar Westerlund  <assar@sics.se>
981         * Makefile.am: add parse_bytes.[ch]
983 1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
985         * getarg.3: getarg manpage
987         * getarg.{c,h}: add a callback type to do more complicated processing
989         * getarg.{c,h}: add floating point support
991 1999-09-16  Assar Westerlund  <assar@sics.se>
993         * strlcat.c (strlcat): call strlcpy
995         * strlcpy.c: update name and prototype
997         * strlcat.c: update name and prototype
999         * roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
1001         * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
1003         * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
1005         * strcpy_truncate.c (strcpy_truncate): change return value to be
1006         the length of `src'
1008 1999-08-16  Assar Westerlund  <assar@sics.se>
1010         * getcap.c: try to make this work on systems with DB
1012 1999-08-16  Johan Danielsson  <joda@pdc.kth.se>
1014         * getcap.c: protect from db-less systems
1016 1999-08-09  Johan Danielsson  <joda@pdc.kth.se>
1018         * simple_exec.c: add simple_exec{ve,le}
1020         * getcap.c: getcap from NetBSD
1022 1999-08-06  Assar Westerlund  <assar@sics.se>
1024         * roken.h.in (sockaddr_storage): cater for those that have
1025         v6-support also
1027 1999-08-05  Assar Westerlund  <assar@sics.se>
1029         * inet_ntop.c (inet_ntop_v4): remember to call ntohl
1031 1999-08-04  Assar Westerlund  <assar@sics.se>
1033         * roken-common.h: add shutdown constants
1035         * mini_inetd.c (listen_v4, listen_v6): handle the case of the
1036         protocol not being supported
1038 1999-08-01  Assar Westerlund  <assar@sics.se>
1040         * mini_inetd.c (socket_set_reuseaddr): remove duplicate
1042 1999-07-29  Assar Westerlund  <assar@sics.se>
1044         * mini_inetd.c (mini_inetd): fix my stupid bugs
1046 1999-07-28  Assar Westerlund  <assar@sics.se>
1048         * roken-common.h: add socket* functions
1050         * Makefile.am (libroken_la_SOURCES): add socket.c
1052         * socket.c: new file, originally from appl/ftp/common
1054         * Makefile.am: set version to 2:0:2
1056         * roken.h.in (inet_pton): add prototype
1058         * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
1060         * inet_pton.c: new file
1062         * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
1063         have it
1065 1999-07-27  Assar Westerlund  <assar@sics.se>
1067         * mini_inetd.c: support IPv6
1069 1999-07-26  Assar Westerlund  <assar@sics.se>
1071         * Makefile.am: set version to 1:0:1
1073         * roken.h.in (inet_ntop): add prototype
1075         * roken-common.h: (INET{,6}_ADDRSTRLEN): add
1077         * inet_ntop.c: new file
1079         * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1081         * Makefile.am: move some files from libroken_la_SOURCES to
1082         EXTRA_libroken_la_SOURCES
1084         * snprintf.c: some signed vs unsigned casts
1085         
1086 1999-07-24  Assar Westerlund  <assar@sics.se>
1088         * roken.h.in (struct sockaddr_storage): define it needed
1090 1999-07-19  Assar Westerlund  <assar@sics.se>
1092         * Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1093         freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1094         
1095         * roken.h.in: <netdb.h>: include
1096         (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1097         prototypes
1099         * roken-common.h: new constants for getipnodeby*
1101         * Makefile.in (SOURCES): add freehostent, copyhostent,
1102         getipnodebyname, getipnodebyaddr
1104         * freehostent.c: new file
1106         * copyhostent.c: new file
1108         * getipnodebyaddr.c: new file
1110         * getipnodebyname.c: new file
1112 1999-07-13  Assar Westerlund  <assar@sics.se>
1114         * roken.h.in (k_getpwnam): update prototype
1116         * k_getpwnam.c (k_getpwnam): const-ize
1118         * get_default_username.c (get_default_username): a better way of
1119         guessing when the user has su:ed
1121 1999-07-08  Johan Danielsson  <joda@pdc.kth.se>
1123         * roken.awk: use puts, as suggested by Jeffrey Hutzelman
1124         <jhutz+@cmu.edu>
1126 1999-07-06  Assar Westerlund  <assar@sics.se>
1128         * readv.c (readv): typo
1130 1999-07-03  Assar Westerlund  <assar@sics.se>
1132         * writev.c (writev): error check malloc properly
1134         * sendmsg.c (sendmsg): error check malloc properly
1136         * resolve.c (parse_reply): error check malloc properly
1138         * recvmsg.c (recvmsg): error check malloc properly
1140         * readv.c (readv): error check malloc properly
1142 1999-06-23  Assar Westerlund  <assar@sics.se>
1144         * parse_units.c (acc_units): move the special case of 0 -> 1 to
1145         parse_something to avoid having it happen at the end of the string
1147 1999-06-15  Assar Westerlund  <assar@sics.se>
1149         * Makefile.in: add get_default_username
1151         * get_default_username.c: new file
1153         * roken.h.in (get_default_username): add prototype
1155         * Makefile.am: add get_default_username
1157 1999-05-08  Assar Westerlund  <assar@sics.se>
1159         * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1161         * strnlen.c (strnlen): update prototype
1163         * Makefile.am: strndup.c: add
1165         * Makefile.in: strndup.c: add
1167         * roken.h.in (strndup): add
1168         (strnlen): update prototype
1170         * strndup.c: new file
1172 Fri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
1174         * roken.h.in: include strsep prototype if needed
1176 Thu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1178         * Makefile.am: make make-print-version.o depend on version.h
1180 Wed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1182         * Makefile.am: make it compile w/o krb4
1184 Sat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
1186         * snprintf.c (vasnprintf): correct check if realloc returns NULL
1188 Sat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1190         * Makefile.am: link print_version with -ldes to avoid unresolved
1191         references if -lkrb is shared
1193 Sat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
1195         * roken-common.h (eread, ewrite): add
1197         * simple_exec.c: add <roken.h>
1199 Fri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
1201         * Makefile.in: add eread, ewrite
1203         * eread.c, ewrite.c: new files
1205         * Makefile.am (libroken_la_SOURCES): add eread and ewrite
1207 Fri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1209         * Makefile.am: add version-info
1211 Thu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1213         * Makefile.am: remove include_dir hack
1215         * Makefile.am: parse_units.h
1217         * Makefile.am: include Makefile.am.common
1219 Sat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
1221         * Makefile.in (SOURCES): add glob.c
1223 Thu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1225         * iruserok.c: move innetgr() to separate file
1227         * innetgr.c: move innetgr() to separate file
1229         * hstrerror.c (hstrerror): add const to return type
1231         * erealloc.c: fix types in format string
1233         * emalloc.c: fix types in format string
1235 Wed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1237         * resolve.c: ugly fix for crays
1239 Mon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1241         * roken.h.in: protos for {un,}setenv
1243 1999-02-16  Assar Westerlund  <assar@sics.se>
1245         * Makefile.in (SOURCES): add fnmatch
1247         * roken-common.h (abs): add
1249 Sat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
1251         * emalloc.c, erealloc.c, estrup.c: new files
1253         * roken.h.in (mkstemp, gethostname): also includes prototypes if
1254         they are needed.
1256 1998-12-23  Assar Westerlund  <assar@sics.se>
1258         * roken.h.in: mkstemp: add prototype
1260 1998-12-20  Assar Westerlund  <assar@sics.se>
1262         * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1264         * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
1266         * roken-common.h: __attribute__: check for autoconf'd
1267         HAVE___ATTRIBUTE__ instead of GNUC
1269 Sun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
1271         * parse_units.c (parse_something): func is called with val == 0 if
1272         no unit was given
1273         (acc_flags, acc_units): update to new standard
1275 Fri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
1277         * resolve.c (stot): constify
1278         (type_to_string): always declare
1279         (dns_lookup_int): correct debug output
1281 Thu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
1283         * resolve.c (dns_lookup_int): send rr_class to res_search
1285 Thu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
1287         * resolve.c: some cleanup
1289         * resolve.h: add T_NAPTR
1291 Sun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
1293         * Makefile.in (WFLAGS): set
1295         * k_getpwnam.c (k_getpwnam): check for `struct spwd'
1297         * k_getpwuid.c (k_getpwuid): check for `struct spwd'
1299 Tue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
1301         * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
1303 Fri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1305         * vsyslog.c: asprintf -> vasprintf
1307 Tue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
1309         * getarg.h (arg_printusage): new signature
1311         * getarg.c (arg_printusage): new parameter `progname'.  NULL means
1312         __progname.
1314 Sun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1316         * Makefile.am: net_{read,write}.c
1318 Fri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
1320         * simple_exec.c (simple_execvp): loop around waitpid when errno ==
1321         EINTR
1323 Thu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1325         * Makefile.am: net_{read,write}.c
1327 Wed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
1329         * simple_exec.c (simple_execlp): initialize `argv'
1331 Mon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
1333         * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
1334         use a copy instead
1336 Fri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
1338         * roken.h.in (net_write, net_read): add prototypes
1340         * Makefile.in: net_{read,write}.c: add
1342         * net_{read,write}.c: new files
1344 Tue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
1346         * roken.h.in (issuid): add
1348         * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
1349         fields
1351 Sun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1353         * getarg.c (mandoc_template): Put short and long options in
1354         SYNOPSIS within the same [ ] pair.
1356 Sat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1358         * getarg.c (arg_printusage): try to keep options shorter than
1359         column width
1361         * get_window_size.c (get_window_size): check COLUMNS and LINES
1363 Fri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1365         * getarg.c (mandoc_template): Put short and long options in
1366         DESCRIPTION on the same line.
1368         * getarg.c (arg_match_long): make sure you only get an exact match
1369         if the strings are the same length
1371 Thu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
1373         * roken.awk: stupid cray awk wants \#
1375 Fri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
1377         * print_version.c (print_version): according to ISO/ANSI C the
1378         elements of `arg' are not constant and therefore not settable at
1379         compile-time.  Set the at run-time instead.
1381 Sun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
1383         * roken.h.in: include paths.h
1385 Sun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
1387         * Makefile.in (SOURCES): add roken_gethostby.c to make solaris
1388         make happy
1390 Thu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1392         * simple_exec.c: Simple fork+exec system() replacement.
1394 Fri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1396         * roken_gethostby.c: Make `roken_gethostby_setup' take url-like
1397         specification instead of split up versions. Makes it easier for
1398         calling applications.
1400         * roken_gethostby.c: Another miracle of the 20th century:
1401         gethostby* over HTTP.
1403 Sat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
1405         * parse_time.c (unparse_time_approx): new function that calls
1406         `unparse_units_approx'
1408         * parse_units.c (unparse_units_approx): new function that will
1409         only print the first unit.
1411         * Makefile.in: include parse_{time,units}
1413 Thu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
1415         * parse_time.c (print_time_table): don't return a void value.
1417 Tue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1419         * getarg.c (mandoc_template): Change date format to full month
1420         name, and day of month without leading zero.
1422 Thu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1424         * getarg.c: Fix long form of negative flags.
1426 Mon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1428         * roken.h.in: Include <err.h>, to get linux __progname.
1430 Sun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
1432         * parse_time.c (print_time_table): new function
1434         * parse_units.c (print_flags_table, print_units_table): new
1435         functions.
1437 Thu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
1439         * iruserok.c: moved here.
1441         * snprintf.c (sn_append_char): don't write any terminating zero.
1442         (as_reserve): don't loop.  better heuristic for how much space to
1443         realloc.
1444         (vasnprintf): simplify initializing to one.
1446 Sun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1448         * getarg.c: Add mandoc help back-end to getarg.
1450 Wed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1452         * verr.c, verrx.c: Fix warnings by moving exit from.
1454 Tue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1456         * parse_units.c: Change the list of separating characters (between
1457         units) to comma, space, and tab, removing digits. Having digits in
1458         this list makes a flag like `T42 generate a parse error. This
1459         change makes `17m3s' an invalid time-spec (you need a space).
1461 Tue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
1463         * roken.h: add <sys/socket.h>
1465 Sun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1467         * fnmatch.c: Add fnmatch from NetBSD
1469 Sun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
1471         * parse_units.c (parse_something): ignore white-space and ','
1473 Mon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
1474         
1475         * roken.h: fclose prototype
1477         * roken.h: add prototype for vsyslog
1479         * Makefile.in: add some more source files to make soriasis make
1480         happy
1482 Sat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
1484         * roken.h: include <sys/uio.h> and <errno.h>.
1485         prototypes for readv and writev
1487         * readv.c, writev.c: new files
1489 Wed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
1491         * roken.h: Add ugly macros for openlog, gethostbyname,
1492         gethostbyaddr, and getservbyname for the benefit of Crays.  Add
1493         default definition of MAXPATHLEN