ChangeLog revision 103423
12002-09-10  Johan Danielsson  <joda@pdc.kth.se>
2
3	* roken.awk: include config.h before stdio.h (breaks with
4	_FILE_OFFSET_BITS on solaris otherwise)
5
62002-09-09  Johan Danielsson  <joda@pdc.kth.se>
7
8	* resolve.c: fix res_nsearch call, but don't use it for now, AIX5
9	has a broken version that trashes memory
10
11	* roken-common.h: fix typo in previous
12
13	* roken-common.h: change IRIX == 4 to IRIX4
14
152002-09-04  Assar Westerlund  <assar@kth.se>
16
17	* getifaddrs.c: remove some warnings from the linux-portion
18
19	* getnameinfo_verified.c (getnameinfo_verified): handle the case
20	of forward but no backward DNS information, and also describe the
21	desired behaviour.  from Love <lha@stacken.kth.se>
22
232002-09-04  Johan Danielsson  <joda@pdc.kth.se>
24
25	* rtbl.c (rtbl_destroy): free whole table
26
27	* resolve.c: use res_nsearch if we have it (from Larry Greenfield)
28
292002-09-03  Assar Westerlund  <assar@kth.se>
30
31	* getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
32	YOSHIFUJI of the Usagi project
33	
34	* parse_reply-test.c: make this build and return 77 if there is no
35	mmap
36
37	* Makefile.am (parse_reply-test): add
38	* parse_reply-test.c: add a test case for parse_reply reading past
39	the given buffer
40	* resolve.c (parse_reply): update the arguments to more reasonable
41	types.  allow parse_reply-test to call it
42
432002-08-28  Johan Danielsson  <joda@pdc.kth.se>
44
45	* resolve.c (dns_srv_order): do alignment tricks with the random()
46	state (from NetBSD)
47
482002-08-27  Assar Westerlund  <assar@kth.se>
49
50	* resolve.c (parse_reply): verify the lengths (both external and
51	internal) are consistent and not too long
52	(dns_lookup_int): be conservative in the length sent in to to
53	parse_reply
54
552002-08-26  Assar Westerlund  <assar@kth.se>
56
57	* roken.h.in: add prototypes for str, unvis functions
58	* resolve.h: add fallback definition for T_AAAA
59
602002-08-22  Johan Danielsson  <joda@pdc.kth.se>
61
62	* roken.h.in: we may need a prototype for strndup
63
642002-08-20  Johan Danielsson  <joda@pdc.kth.se>
65
66	* roken.h.in: typedef ssize_t here
67
68	* getarg.c: don't put Ns before comma
69
70	* resolve.c: _res might not be available
71
72	* localtime_r.c: include stdio.h and roken.h
73
74	* strftime.c: only use altzone if we have it
75
76	* roken-common.h: AI_NUMERICHOST needs special handling
77
78	* strlcat.c: add some consistency checks
79
80	* strlcpy.c: make the logic simpler, and handle dst_sz == 0
81
822002-08-19  Johan Danielsson  <joda@pdc.kth.se>
83
84	* resolve.h: prefix these functions to avoid conflicts with other
85	packages
86
872002-08-14  Johan Danielsson  <joda@pdc.kth.se>
88
89	* strsep_copy.c: don't write to buf if len == 0
90
912002-05-31  Assar Westerlund  <assar@pdc.kth.se>
92
93	* Makefile.am: *_LDADD: add LDADD, so that libroken is used
94
952002-05-17  Johan Danielsson  <joda@pdc.kth.se>
96
97	* xdbm.h: remove old dbm part
98
992002-04-30  Johan Danielsson  <joda@pdc.kth.se>
100
101	* ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
102
1032002-04-18  Johan Danielsson  <joda@pdc.kth.se>
104
105	* roken.h.in: move mini_inetd protos to after addrinfo definition
106
107	* snprintf.c (append_number): make rep const
108
109	* getarg.h: rename optind and optarg to avoid some gcc warnings
110
111	* getarg.c: rename optind and optarg to avoid some gcc warnings
112
1132002-02-18  Johan Danielsson  <joda@pdc.kth.se>
114
115	* mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
116	of a port number
117
1182001-11-30  Assar Westerlund  <assar@sics.se>
119
120	* getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
121	used on Solaris 8 to retrieve addresses larger than `struct
122	sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
123	modifications by me)
124
1252001-10-27  Assar Westerlund  <assar@sics.se>
126
127	* Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
128
1292001-10-22  Assar Westerlund  <assar@sics.se>
130
131	* localtime_r.c: add
132
1332001-10-02  Johan Danielsson  <joda@pdc.kth.se>
134
135	* resolve.c (dns_srv_order): don't try to return a value
136
1372001-09-24  Johan Danielsson  <joda@pdc.kth.se>
138
139	* snprintf.c: va_{start,end} fixes; from Thomas Klausner
140
1412001-09-20  Assar Westerlund  <assar@sics.se>
142
143	* resolve.c (dns_srv_order): make sure of not reading after the
144	array
145
1462001-09-17  Assar Westerlund  <assar@sics.se>
147
148	* Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
149	* snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
150	avoid collision with resolv.h on aix
151
1522001-09-04  Assar Westerlund  <assar@sics.se>
153
154	* parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
155	parse_units.h: use int instead of size_t as return values to be
156	compatible with snprintf
157
158	* strftime.c (strftime): check for return values from snprintf() <
159	0
160
1612001-09-03  Johan Danielsson  <joda@pdc.kth.se>
162
163	* socket.c: restrict is a keyword
164
1652001-09-03  Assar Westerlund  <assar@sics.se>
166
167	* write_pid.c: handle atexit or on_exit
168
169	* Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
170	solaris make
171
1722001-08-30  Johan Danielsson  <joda@pdc.kth.se>
173
174	* Makefile.am: use LDADD directly
175
1762001-08-28  Assar Westerlund  <assar@sics.se>
177
178	* Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
179
180	* issuid.c (issuid): call issetugid if it exists
181
1822001-08-24  Assar Westerlund  <assar@sics.se>
183
184	* Makefile.am: make it play better with recent automake
185
1862001-08-21  Assar Westerlund  <assar@sics.se>
187
188	* glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
189
190	* roken.h.in: remove all winsock.h
191	for now, it does more harm than good under cygwin and if it should be
192	used, the correct conditional needs to be found
193	from <tol@stacken.kth.se>
194
1952001-08-17  Johan Danielsson  <joda@pdc.kth.se>
196
197	* getaddrinfo.c: include a definition of in6addr_loopback if it
198	doesn't exist
199
2002001-08-10  Assar Westerlund  <assar@sics.se>
201
202	* Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
203
2042001-08-08  Assar Westerlund  <assar@sics.se>
205
206	* hstrerror.c: move h_errno to its own file (h_errno.c)
207
2082001-08-04  Assar Westerlund  <assar@sics.se>
209
210	* Makefile.am: add getarg.3
211
2122001-08-01  Assar Westerlund  <assar@sics.se>
213
214	* mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
215	resilient to bind/listen failing.
216
2172001-07-31  Assar Westerlund  <assar@sics.se>
218
219	* getifaddrs.c (getifaddrs2): remove unused variables
220
2212001-07-31  Assar Westerlund  <assar@sics.se>
222
223	* Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
224
2252001-07-23  Assar Westerlund  <assar@sics.se>
226
227	* getarg.c (arg_match_long): fix parsing of arg_counter optional
228	argument
229
2302001-07-19  Assar Westerlund  <assar@sics.se>
231
232	* Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
233	
2342001-07-17  Assar Westerlund  <assar@sics.se>
235
236	* snprintf-test.h: add a file with renaming of the snprintf
237	functions, to be used for running the tests
238
2392001-07-11  Assar Westerlund  <assar@sics.se>
240
241	* snprintf-test.c: add more %X tests, and long and conditional
242	long long tests
243	* snprintf.c: add support for printing long long (if available)
244
2452001-07-10  Assar Westerlund  <assar@sics.se>
246
247	* getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
248	* hostent_find_fqdn.c (hostent_find_fqdn): const-ize
249
2502001-07-09  Assar Westerlund  <assar@sics.se>
251
252	* roken-common.h (hostent_find_fqdn): add
253	* hostent_find_fqdn.c: separate out hostent_find_fqdn
254
255	* warnerr.c: move out getprogname, setprogname
256
2572001-07-03  Assar Westerlund  <assar@sics.se>
258
259	* warnerr.c (setprogname): add const cast
260	* vis.c (SVIS): add some (unsigned char) before calling isfoo*
261	* Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
262
263	* Makefile.am: add snprintf_test
264	* snprintf.c: rewrite so that it does not stop as soon as there
265	are no more characters to print, we need to figure out how long
266	the string would have to be.  this also fixes snprintf(NULL, 0
267
2682001-06-21  Assar Westerlund  <assar@sics.se>
269
270	* simple_exec.c (pipe_execv): remove unused variable
271
2722001-06-20  Johan Danielsson  <joda@pdc.kth.se>
273
274	* getdtablesize.c: fix typo in obviously never used sysctl case
275
276	* simple_exec.c: rename check_status to wait_for_process, and
277	export it; function pipe_execv similar to popen, but with more
278	control over input and output
279
280	* roken-common.h: prototypes for wait_for_process and pipe_execv
281
2822001-06-17  Assar Westerlund  <assar@sics.se>
283
284	* roken-common.h: move emalloc et al to roken.h.in
285	* Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
286	* emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
287	be set reliably
288	* ecalloc.c: add for symmetry
289
2902001-06-09  Johan Danielsson  <joda@pdc.kth.se>
291
292	* resolve.c: dns_srv_order to order srv records
293
2942001-06-08  Johan Danielsson  <joda@pdc.kth.se>
295
296	* getarg.c: Grog tries to figure out if to use mdoc.old instead of
297	mdoc by looking at some macros that were only present in the old
298	version, and by looking at the number of .Oo's present. In
299	mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
300	the number of .Oo's is bigger than the number of .Oc's, it figures
301	it must be mdoc.old. This doesn't however account for called Oc's,
302	and thus grog thinks that valid pages are mdoc.old when they
303	infact are mdoc. So let's make sure that Oc's are not called by
304	other macros.
305
3062001-05-29  Assar Westerlund  <assar@sics.se>
307
308	* base64-test.c (main): initialize numerr
309
3102001-05-28  Johan Danielsson  <joda@pdc.kth.se>
311
312	* base64.c: clean up the decode mess somewhat
313
314	* base64-test.c: base64 tests
315
3162001-05-18  Johan Danielsson  <joda@pdc.kth.se>
317
318	* roken.h.in: just use standard C types with bswap*
319
320	* bswap.c: just use standard C types
321
3222001-05-17  Assar Westerlund  <assar@sics.se>
323
324	* roken.h.in: include all the headers that AC_GROK_TYPES tries for
325	finding u_int17_t et al
326
327	* Makefile.am: bump version to 12:0:3
328	* roken.h.in: re-add set_progname and get_progname for backwards
329	compatability
330	* warnerr.c: re-add set_progname and get_progname for backwards
331	compatability
332
3332001-05-12  Assar Westerlund  <assar@sics.se>
334
335	* glob.c: add limits.h, from <shadow@dementia.org>
336
3372001-05-11  Johan Danielsson  <joda@pdc.kth.se>
338
339	* Makefile.am: bswap.c
340	
341	* bswap.c: bswap{16,32}
342	
3432001-05-08  Assar Westerlund  <assar@sics.se>
344
345	* freeaddrinfo.c (freeaddrinfo): also free every `struct
346	addrinfo'.  from <tmartin@mirapoint.com>
347
3482001-04-25  Assar Westerlund  <assar@sics.se>
349
350	* getarg.h (free_getarg_strings): add prototype
351	* getarg.c (free_getarg_strings): add function
352
3532001-04-21  Johan Danielsson  <joda@pdc.kth.se>
354
355	* getarg.c: pack short flag options togther, to shorten the usage
356	string
357
3582001-04-17  Johan Danielsson  <joda@pdc.kth.se>
359
360	* getifaddrs.c (getifaddrs2): close socket when done
361
3622001-03-26  Johan Danielsson  <joda@pdc.kth.se>
363
364	* roken.awk: END has to be last with Sun's awk
365
3662001-03-26  Assar Westerlund  <assar@sics.se>
367
368	* parse_units.c (parse_something): do not check the return value
369	from strtod, it might return != 0.0 when the string has no digits.
370	just testing if it consumed any characters is enough and more
371	resilient
372	* glob.c: add GLOB_LIMIT (from NetBSD)
373
3742001-02-20  Assar Westerlund  <assar@sics.se>
375
376	* warnerr.c (warnerr): do not use __progname
377	* roken.h.in (setprogname, getprogname): add prototypes
378	* warnerr.c (setprogname, getprogname): rename to. change all
379	callers
380	
3812001-02-12  Assar Westerlund  <assar@sics.se>
382
383	* getnameinfo_verified.c (getnameinfo_verified): do the first
384	getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
385	reports on not finding the service
386	(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
387
3882001-02-09  Assar Westerlund  <assar@sics.se>
389
390	* getnameinfo.c (doit): call inet_ntop with correct af, noted by
391	Ake Sandgren <ake@cs.umu.se>
392
3932001-02-08  Assar Westerlund  <assar@sics.se>
394
395	* getnameinfo_verified.c (getnameinfo_verified): always capture
396	the service from getnameinfo so it can be sent back to getaddrinfo
397	and set socktype to avoid getaddrinfo not returning any addresses
398
3992001-01-30  Assar Westerlund  <assar@sics.se>
400
401	* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
402	* print_version.c (print_version): add 2001
403
4042001-01-29  Assar Westerlund  <assar@sics.se>
405
406	* getifaddrs.c (getifaddrs2): copy the entire sockaddr
407
408	* roken-common.h (_PATH_BSHELL): add
409
4102001-01-27  Assar Westerlund  <assar@sics.se>
411
412	* roken.h.in: move __attribute__ to roken-common.h
413
414	* esetenv.c (esetenv): cast to handle a setenv that takes a `char
415 	* which is the case on Unicos
416
4172000-12-29  Assar Westerlund  <assar@sics.se>
418
419	* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
420	ifaddrs.hin
421
4222000-12-25  Assar Westerlund  <assar@sics.se>
423
424	* getarg.c (print_arg): add a case for arg_strings
425
4262000-12-15  Johan Danielsson  <joda@pdc.kth.se>
427
428	* snprintf.c (append_string): handle NULL strings by printing
429	`(null)'
430
4312000-12-12  Johan Danielsson  <joda@pdc.kth.se>
432
433	* roken-common.h: add c++ externs
434
435	* roken.h.in: fix last commit differently
436
4372000-12-11  Assar Westerlund  <assar@sics.se>
438
439	* err.hin (warnerr): remove, it's not part of the err.h interface
440	* roken-common.h (warnerr): moved here from err.hin
441	* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
442	* vis.c: s/u_int32_t/unsigned/ for systems that do not define
443	u_int32_t
444
4452000-12-10  Johan Danielsson  <joda@pdc.kth.se>
446
447	* Makefile.am: rename some headers to avoid conflict with possible
448	system headers
449
4502000-12-06  Johan Danielsson  <joda@pdc.kth.se>
451
452	* vis.c: make sure _DIAGASSERT is defined
453
454	* unvis.c: make sure _DIAGASSERT is defined
455
456	* Makefile.am: unvis.c, and vis.h
457
458	* vis.h: vis.h from NetBSD
459
460	* unvis.c: unvis from NetBSD
461
462	* roken.h.in: cleanup previous
463
464	* roken-common.h: make `extern "C"' into a macro, this make emacs
465	much happier
466
467	* vis.c: strvis implementation from NetBSD
468
469	* roken.h.in: add prototypes for strvis*
470
4712000-12-05  Johan Danielsson  <joda@pdc.kth.se>
472
473	* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
474	macro
475
476	* getifaddrs.c: free some memory
477
4782000-12-04  Johan Danielsson  <joda@pdc.kth.se>
479
480	* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
481
482	* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
483
4842000-10-08  Assar Westerlund  <assar@sics.se>
485
486	* mini_inetd.c (mini_inetd): check that fds are not too large to
487	select on
488
4892000-09-24  Assar Westerlund  <assar@sics.se>
490
491	*  esetenv.c: new file/function
492
4932000-08-16  Assar Westerlund  <assar@sics.se>
494
495	* Makefile.am: bump version to 10:0:1
496
4972000-08-10  Assar Westerlund  <assar@sics.se>
498
499	* mini_inetd.c (accept_it): type-correctness on parameters to
500	accept
501
5022000-08-07  Johan Danielsson  <joda@pdc.kth.se>
503
504	* roken.h.in: add proto compat for getsockname
505
5062000-08-04  Johan Danielsson  <joda@pdc.kth.se>
507
508	* write_pid.c: conditionalise pidfile
509
510	* write_pid.c: add pidfile function
511
5122000-07-25  Johan Danielsson  <joda@pdc.kth.se>
513
514	* Makefile.am: bump version to 9:0:0
515
516	* warnerr.c: add get_progname
517
5182000-07-24  Assar Westerlund  <assar@sics.se>
519
520	* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
521	reverse resolving to see if there's a fuller name there.  don't
522	use just-freed memory
523
5242000-07-22  Assar Westerlund  <assar@sics.se>
525
526	* xdbm.h: do not define ndbm functions in terms of dbm functions
527	if we're using db
528
5292000-07-20  Assar Westerlund  <assar@sics.se>
530
531	* rtbl.c (rtbl_format): avoid printing an empty row at the end
532
5332000-07-19  Johan Danielsson  <joda@pdc.kth.se>
534
535	* Makefile.am: make this compatible with `make dist'
536
537	* Makefile.am: revert version number for now
538
5392000-07-18  Johan Danielsson  <joda@pdc.kth.se>
540
541	* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
542
5432000-07-17  Johan Danielsson  <joda@pdc.kth.se>
544
545	* Makefile.am: set ACLOCAL_AMFLAGS
546
5472000-07-15  Johan Danielsson  <joda@pdc.kth.se>
548
549	* getaddrinfo_hostspec.c: add new function that takes socktype
550	hint as parameter
551
5522000-07-09  Assar Westerlund  <assar@sics.se>
553
554	* rtbl.c (rtbl_add_column): initialize `col' completely
555
556	* configure.in: bring headers and functions more in-line with
557	what's actually being used
558
5592000-07-08  Johan Danielsson  <joda@pdc.kth.se>
560
561	* roken.h.in: declare ether_addr and sockaddr_dl for AIX
562
563	* rtbl.{c,h}: simple table functions
564
5652000-07-08  Assar Westerlund  <assar@sics.se>
566
567	* configure.in (AM_INIT_AUTOMAKE): bump version to 10
568	* configure.in (AC_BROKEN): add strsep_copy
569	* Makefile.am (ACLOCAL): fetch files from cf
570
5712000-07-01  Assar Westerlund  <assar@sics.se>
572
573	* roken-common.h (pid_file_*): fix protos
574
5752000-06-28  Assar Westerlund  <assar@sics.se>
576
577	* getnameinfo_verified.c (getnameinfo_verified): free memory
578	returned from getaddrinfo
579
5802000-06-27  Assar Westerlund  <assar@sics.se>
581
582	* resolve.c: export string_to_type and type_to_string
583	* resolve.c: add key,sig,cert update test-program
584	* resolve.h: add key,sig,cert
585
5862000-06-21  Assar Westerlund  <assar@sics.se>
587
588	* resolve.h: add T_SIG, T_KEY
589	* resolve.c: add SIG and KEY
590	* Makefile.am (libroken_la_SOURCES): add environment.c and
591	write_pid.c
592
593	* write_pid.c: new file for writing a pid file.
594
595	* environment.c: new file with functionality for reading
596	/etc/environment.  From Ake Sandgren <ake@cs.umu.se>
597
5982000-06-12  Johan Danielsson  <joda@pdc.kth.se>
599
600	* strsep_copy.c: strsep, but with const stringp so returns string
601	in separate buffer
602
6032000-05-23  Assar Westerlund  <assar@sics.se>
604
605	* vsyslog.c (vsyslog): calculate length of new format string
606	correctly
607
6082000-05-22  Johan Danielsson  <joda@pdc.kth.se>
609
610	* getusershell.c: implment the AIX version use
611	/etc/security/login.cfg
612
6132000-05-21  Assar Westerlund  <assar@sics.se>
614
615	* vsyslog.c (vsyslog): actually handle `%m'
616
6172000-05-15  Assar Westerlund  <assar@sics.se>
618
619	* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
620
621	* roken-common.h: moved __attribute__ to roken.h.in
622
6232000-04-14  Assar Westerlund  <assar@sics.se>
624
625	* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
626	correct length from `hostspec'.  based on a patch from Love
627	<lha@s3.kth.se>
628
6292000-04-09  Assar Westerlund  <assar@sics.se>
630
631	* xdbm.h: only include one of db.h and the dbm-series
632
6332000-04-05  Assar Westerlund  <assar@sics.se>
634
635	* resolve.c (_resolve_debug): explicitly set to zero.  this moves
636	the variable from bss to data and the dynamic linker on MacOS
637	X/Darwin seems unhappy with stuff in the bss segment.
638
6392000-04-03  Assar Westerlund  <assar@sics.se>
640
641	* Makefile.am: set version to 8:0:3
642
6432000-03-11  Assar Westerlund  <assar@sics.se>
644
645	* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
646	expression that also works on Crays
647
6482000-03-09  Assar Westerlund  <assar@sics.se>
649
650	* getarg.c (arg_match_short): backup optind when there's a missing
651	argument so that the error can point at the flag and not the
652	non-existant argument
653
6542000-03-03  Assar Westerlund  <assar@sics.se>
655
656	* Makefile.in (SOURCES): add timeval.c
657	* Makefile.am (libroken_la_SOURCES): add timeval.c
658	* timeval.c: new file
659
6602000-02-19  Assar Westerlund  <assar@sics.se>
661
662	* Makefile.am: set version to 7:1:2
663	
6642000-02-16  Assar Westerlund  <assar@sics.se>
665
666	* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
667	transmitted as ints
668	(according to the integer protomotion rules) in variable arguments
669	lists.  Therefore, we should not call va_arg with short but rather
670	with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
671	original bug report
672
6732000-02-13  Assar Westerlund  <assar@sics.se>
674
675	* Makefile.am: bump version to 7:0:2
676
677	* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
678	* getarg.c (mandoc_template): better man-stuff for negative
679	options
680
6812000-02-07  Assar Westerlund  <assar@sics.se>
682
683	* Makefile.am: set version to 6:0:1
684
6852000-02-06  Assar Westerlund  <assar@sics.se>
686
687	* xdbm.h: hopefully catch a few more declarations by including
688	<ndbm.h> even if <db.h> was found
689
6902000-01-26  Assar Westerlund  <assar@sics.se>
691
692	* mini_inetd.c (mini_inetd): separate number of allocated sockets
693	and number of actual ones
694	* mini_inetd.c (mini_inetd): count sockets properly.  and fail if
695	we cannot bind any
696	* mini_inetd.c (mini_inetd): make failing to create a socket
697	non-fatal
698
6992000-01-09  Assar Westerlund  <assar@sics.se>
700
701 	* Makefile.am(libroken_la_SOURCES): add strcollect.c
702	* Makefile.in: add strcollect.[co]
703	* simple_exec.c: use vstrcollect
704	* roken-common.h (_PATH_DEV): add
705	(strcollect, vstrcollect): add prototypes
706	* strcollect.c: new file.  functions for collapsing an `va_list'
707	into an `char **'
708
7092000-01-06  Assar Westerlund  <assar@sics.se>
710
711	* Makefile.am: bump version to 5:0:0
712
7131999-12-30  Assar Westerlund  <assar@sics.se>
714
715	* Makefile.am (strpftime_test_SOURCES): correct source file name
716
717	* roken.h.in (sockaddr_storage): change padding so that we have
718 	one char[] of pad and then an unsigned long[] (for alignment and
719 	padding).  this works much better in practice.
720
7211999-12-22  Assar Westerlund  <assar@sics.se>
722
723	* roken.h.in (sockaddr_storage): drop leading underscore on
724 	`public' fields.  this was the consensus on the ipng mailing list
725
7261999-12-21  Assar Westerlund  <assar@sics.se>
727
728	* Makefile.am (strpftime-test): define sources to avoid having
729 	'.o'
730	* Makefile.am (print_version.h): use $(EXEEXT)
731	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
732 	et al
733
7341999-12-20  Assar Westerlund  <assar@sics.se>
735
736	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
737
738	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
739	gethostbyname(2)
740
7411999-12-16  Assar Westerlund  <assar@sics.se>
742
743	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
744
745	* roken.h.in (struct sockaddr_storage): redefine with the example
746 	code from rfc2553
747
748	* getaddrinfo.c (get_null): set loopback with correct endianess
749	for v4.  dunno about v6.
750
7511999-12-13  Assar Westerlund  <assar@sics.se>
752
753	* roken.h.in: add prototypes for str[pf]time
754
755	* signal.c: macosx = rhapsody ~= nextstep also can't handle
756 	various definitions of the same symbol.
757
7581999-12-12  Assar Westerlund  <assar@sics.se>
759
760	* Makefile.am: bump version to 4:1:0
761
7621999-12-06  Assar Westerlund  <assar@sics.se>
763
764	* Makefile.am: bump version to 4:0:0
765
7661999-12-05  Assar Westerlund  <assar@sics.se>
767
768	* Makefile.in: replace inaddr2str with getnameinfo_verified
769
770	* roken-common.h (INADDR_LOOPBACK): add fallback definition
771
772	* roken-common.h: move getnameinfo_verified to roken.h.in
773	* roken.h.in (inaddr2str): remove
774	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
775	* roken-common.h (getnameinfo_verified): add prototype
776	* getnameinfo_verified.c: new file
777
7781999-12-04  Assar Westerlund  <assar@sics.se>
779
780	* roken-common.h: add constants for getaddrinfo, getnameinfo
781	* roken.h.in (socklen_t): make independent of sockaddr_storage
782	(AI_*, NI_*, EAI_*): move to roken-common.h
783
7841999-12-03  Assar Westerlund  <assar@sics.se>
785
786	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
787	* getaddrinfo.c (const_v*): no sizeof(sizeof())
788	* getaddrinfo.c (add_hostent): search for the canonical name among
789	all aliases
790	(getaddrinfo): handle AI_NUMERICHOST correctly
791	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
792	getaddrinfo, getnameinfo, gai_strerror
793	(getaddrinfo_test): add
794	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
795	getnameinfo, gai_strerror
796	(getaddrinfo_test): add
797	* roken.h.in: arpa/inet.h: include
798	(socklen_t): add
799	(struct addrinfo): add
800	(EAI_*): add
801	(NI_*): add
802	(AI_*): add
803	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
804	* getnameinfo.c: new file
805	* getaddrinfo-test.c: new file
806	* gai_strerror.c: new file
807	* getaddrinfo.c: new file
808	* freeaddrinfo.c: new file
809
8101999-11-25  Assar Westerlund  <assar@sics.se>
811
812	* getopt.c (getopt): return -1 instead of EOF.  From
813	<art@stacken.kth.se>
814
8151999-11-13  Assar Westerlund  <assar@sics.se>
816
817	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
818	world
819
820	* getcap.c: make sure to use db only if we have both the library
821	and the header file
822	
8231999-11-12  Assar Westerlund  <assar@sics.se>
824
825	* getarg.h: add arg_counter
826	* getarg.c: add a new type of argument: `arg_counter' re-organize
827	the code somewhat
828	
829	* Makefile.am: add strptime and strpftime-test
830	
831	* snprintf.c (xyzprintf): try to do the right thing with an % at
832	the end of the format string
833	
834	* strptime.c (strptime): implement '%U', '%V', '%W'
835	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
836	
837	* strftime.c (strftime): correct %E and %O handling.  do something
838 	reasonable with "...%"
839
840	* strftime.c: replace the BSD implementation by one of our own
841	coding
842
843	* strptime.c : new file
844	* strpftime-test.c: new file
845
8461999-11-07  Assar Westerlund  <assar@sics.se>
847
848	* parse_bytes-test.c: new file
849
850	* Makefile.am: add parse_bytes-test
851
852	* parse_units.c (parse_something): try to handle the case of no
853 	value specified a little bit better
854
8551999-11-04  Assar Westerlund  <assar@sics.se>
856
857	* Makefile.am: bump version to 3:2:0
858
8591999-10-30  Assar Westerlund  <assar@sics.se>
860
861	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
862 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
863 	Rini <trini@kernel.crashing.org>
864
8651999-10-28  Assar Westerlund  <assar@sics.se>
866
867	* Makefile.am: bump version to 3:1:0
868
869	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
870 	having to have that definition.  this is the easy way out instead
871 	of getting the definition here where it's needed.  flame me.
872
873Fri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
874
875	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
876 	though it should), use getspnam().
877
8781999-10-20  Assar Westerlund  <assar@sics.se>
879
880	* Makefile.am: set version to 3:0:0
881
8821999-10-18  Johan Danielsson  <joda@pdc.kth.se>
883
884	* getarg.3: document arg_collect
885
886	* getarg.c: change the way arg_collect works; it's still quite
887	horrible though
888
889	* getarg.h: change type of the collect function
890
8911999-10-17  Assar Westerlund  <assar@sics.se>
892
893	* xdbm.h: undo last commit
894
895	* xdbm.h: reorder db includes
896
8971999-10-10  Assar Westerlund  <assar@sics.se>
898
899	* socket.c: const-ize and comment
900
901	* net_write.c: const-ize
902
903	* base64.c: const-ize
904
9051999-10-06  Assar Westerlund  <assar@sics.se>
906
907	* getarg.c (getarg): also set optind when returning error
908
9091999-09-26  Assar Westerlund  <assar@sics.se>
910
911	* Makefile.am: add parse_bytes.[ch]
912
9131999-09-24  Johan Danielsson  <joda@pdc.kth.se>
914
915	* getarg.3: getarg manpage
916
917	* getarg.{c,h}: add a callback type to do more complicated processing
918
919	* getarg.{c,h}: add floating point support
920
9211999-09-16  Assar Westerlund  <assar@sics.se>
922
923	* strlcat.c (strlcat): call strlcpy
924
925	* strlcpy.c: update name and prototype
926
927	* strlcat.c: update name and prototype
928
929	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
930
931	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
932
933	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
934
935 	* strcpy_truncate.c (strcpy_truncate): change return value to be
936 	the length of `src'
937
9381999-08-16  Assar Westerlund  <assar@sics.se>
939
940	* getcap.c: try to make this work on systems with DB
941
9421999-08-16  Johan Danielsson  <joda@pdc.kth.se>
943
944	* getcap.c: protect from db-less systems
945
9461999-08-09  Johan Danielsson  <joda@pdc.kth.se>
947
948	* simple_exec.c: add simple_exec{ve,le}
949
950	* getcap.c: getcap from NetBSD
951
9521999-08-06  Assar Westerlund  <assar@sics.se>
953
954	* roken.h.in (sockaddr_storage): cater for those that have
955 	v6-support also
956
9571999-08-05  Assar Westerlund  <assar@sics.se>
958
959	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
960
9611999-08-04  Assar Westerlund  <assar@sics.se>
962
963	* roken-common.h: add shutdown constants
964
965	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
966 	protocol not being supported
967
9681999-08-01  Assar Westerlund  <assar@sics.se>
969
970	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
971
9721999-07-29  Assar Westerlund  <assar@sics.se>
973
974	* mini_inetd.c (mini_inetd): fix my stupid bugs
975
9761999-07-28  Assar Westerlund  <assar@sics.se>
977
978	* roken-common.h: add socket* functions
979
980	* Makefile.am (libroken_la_SOURCES): add socket.c
981
982	* socket.c: new file, originally from appl/ftp/common
983
984	* Makefile.am: set version to 2:0:2
985
986	* roken.h.in (inet_pton): add prototype
987
988	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
989
990	* inet_pton.c: new file
991
992	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
993 	have it
994
9951999-07-27  Assar Westerlund  <assar@sics.se>
996
997	* mini_inetd.c: support IPv6
998
9991999-07-26  Assar Westerlund  <assar@sics.se>
1000
1001	* Makefile.am: set version to 1:0:1
1002
1003	* roken.h.in (inet_ntop): add prototype
1004
1005 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
1006
1007	* inet_ntop.c: new file
1008
1009	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1010
1011	* Makefile.am: move some files from libroken_la_SOURCES to
1012 	EXTRA_libroken_la_SOURCES
1013
1014	* snprintf.c: some signed vs unsigned casts
1015	
10161999-07-24  Assar Westerlund  <assar@sics.se>
1017
1018	* roken.h.in (struct sockaddr_storage): define it needed
1019
10201999-07-19  Assar Westerlund  <assar@sics.se>
1021
1022	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1023 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1024	
1025	* roken.h.in: <netdb.h>: include
1026	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1027	prototypes
1028
1029	* roken-common.h: new constants for getipnodeby*
1030
1031	* Makefile.in (SOURCES): add freehostent, copyhostent,
1032 	getipnodebyname, getipnodebyaddr
1033
1034	* freehostent.c: new file
1035
1036	* copyhostent.c: new file
1037
1038	* getipnodebyaddr.c: new file
1039
1040	* getipnodebyname.c: new file
1041
10421999-07-13  Assar Westerlund  <assar@sics.se>
1043
1044	* roken.h.in (k_getpwnam): update prototype
1045
1046	* k_getpwnam.c (k_getpwnam): const-ize
1047
1048	* get_default_username.c (get_default_username): a better way of
1049 	guessing when the user has su:ed
1050
10511999-07-08  Johan Danielsson  <joda@pdc.kth.se>
1052
1053	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
1054	<jhutz+@cmu.edu>
1055
10561999-07-06  Assar Westerlund  <assar@sics.se>
1057
1058	* readv.c (readv): typo
1059
10601999-07-03  Assar Westerlund  <assar@sics.se>
1061
1062	* writev.c (writev): error check malloc properly
1063
1064	* sendmsg.c (sendmsg): error check malloc properly
1065
1066	* resolve.c (parse_reply): error check malloc properly
1067
1068	* recvmsg.c (recvmsg): error check malloc properly
1069
1070	* readv.c (readv): error check malloc properly
1071
10721999-06-23  Assar Westerlund  <assar@sics.se>
1073
1074	* parse_units.c (acc_units): move the special case of 0 -> 1 to
1075 	parse_something to avoid having it happen at the end of the string
1076
10771999-06-15  Assar Westerlund  <assar@sics.se>
1078
1079	* Makefile.in: add get_default_username
1080
1081	* get_default_username.c: new file
1082
1083	* roken.h.in (get_default_username): add prototype
1084
1085	* Makefile.am: add get_default_username
1086
10871999-05-08  Assar Westerlund  <assar@sics.se>
1088
1089	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1090
1091	* strnlen.c (strnlen): update prototype
1092
1093	* Makefile.am: strndup.c: add
1094
1095	* Makefile.in: strndup.c: add
1096
1097	* roken.h.in (strndup): add
1098	(strnlen): update prototype
1099
1100	* strndup.c: new file
1101
1102Fri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
1103
1104	* roken.h.in: include strsep prototype if needed
1105
1106Thu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1107
1108	* Makefile.am: make make-print-version.o depend on version.h
1109
1110Wed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1111
1112	* Makefile.am: make it compile w/o krb4
1113
1114Sat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
1115
1116	* snprintf.c (vasnprintf): correct check if realloc returns NULL
1117
1118Sat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1119
1120	* Makefile.am: link print_version with -ldes to avoid unresolved
1121 	references if -lkrb is shared
1122
1123Sat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
1124
1125	* roken-common.h (eread, ewrite): add
1126
1127	* simple_exec.c: add <roken.h>
1128
1129Fri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
1130
1131	* Makefile.in: add eread, ewrite
1132
1133	* eread.c, ewrite.c: new files
1134
1135	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
1136
1137Fri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1138
1139	* Makefile.am: add version-info
1140
1141Thu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1142
1143	* Makefile.am: remove include_dir hack
1144
1145	* Makefile.am: parse_units.h
1146
1147	* Makefile.am: include Makefile.am.common
1148
1149Sat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
1150
1151	* Makefile.in (SOURCES): add glob.c
1152
1153Thu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1154
1155	* iruserok.c: move innetgr() to separate file
1156
1157	* innetgr.c: move innetgr() to separate file
1158
1159	* hstrerror.c (hstrerror): add const to return type
1160
1161	* erealloc.c: fix types in format string
1162
1163	* emalloc.c: fix types in format string
1164
1165Wed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1166
1167	* resolve.c: ugly fix for crays
1168
1169Mon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1170
1171	* roken.h.in: protos for {un,}setenv
1172
11731999-02-16  Assar Westerlund  <assar@sics.se>
1174
1175	* Makefile.in (SOURCES): add fnmatch
1176
1177	* roken-common.h (abs): add
1178
1179Sat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
1180
1181	* emalloc.c, erealloc.c, estrup.c: new files
1182
1183	* roken.h.in (mkstemp, gethostname): also includes prototypes if
1184 	they are needed.
1185
11861998-12-23  Assar Westerlund  <assar@sics.se>
1187
1188	* roken.h.in: mkstemp: add prototype
1189
11901998-12-20  Assar Westerlund  <assar@sics.se>
1191
1192	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1193
1194	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
1195
1196	* roken-common.h: __attribute__: check for autoconf'd
1197	HAVE___ATTRIBUTE__ instead of GNUC
1198
1199Sun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
1200
1201	* parse_units.c (parse_something): func is called with val == 0 if
1202 	no unit was given
1203	(acc_flags, acc_units): update to new standard
1204
1205Fri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
1206
1207	* resolve.c (stot): constify
1208	(type_to_string): always declare
1209	(dns_lookup_int): correct debug output
1210
1211Thu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
1212
1213	* resolve.c (dns_lookup_int): send rr_class to res_search
1214
1215Thu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
1216
1217	* resolve.c: some cleanup
1218
1219	* resolve.h: add T_NAPTR
1220
1221Sun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
1222
1223	* Makefile.in (WFLAGS): set
1224
1225	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
1226
1227	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
1228
1229Tue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
1230
1231	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
1232
1233Fri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1234
1235	* vsyslog.c: asprintf -> vasprintf
1236
1237Tue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
1238
1239	* getarg.h (arg_printusage): new signature
1240
1241	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
1242 	__progname.
1243
1244Sun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1245
1246	* Makefile.am: net_{read,write}.c
1247
1248Fri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
1249
1250	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
1251 	EINTR
1252
1253Thu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1254
1255	* Makefile.am: net_{read,write}.c
1256
1257Wed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
1258
1259	* simple_exec.c (simple_execlp): initialize `argv'
1260
1261Mon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
1262
1263	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
1264 	use a copy instead
1265
1266Fri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
1267
1268	* roken.h.in (net_write, net_read): add prototypes
1269
1270	* Makefile.in: net_{read,write}.c: add
1271
1272	* net_{read,write}.c: new files
1273
1274Tue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
1275
1276	* roken.h.in (issuid): add
1277
1278	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
1279 	fields
1280
1281Sun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1282
1283	* getarg.c (mandoc_template): Put short and long options in
1284 	SYNOPSIS within the same [ ] pair.
1285
1286Sat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1287
1288	* getarg.c (arg_printusage): try to keep options shorter than
1289 	column width
1290
1291	* get_window_size.c (get_window_size): check COLUMNS and LINES
1292
1293Fri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1294
1295	* getarg.c (mandoc_template): Put short and long options in
1296 	DESCRIPTION on the same line.
1297
1298	* getarg.c (arg_match_long): make sure you only get an exact match
1299 	if the strings are the same length
1300
1301Thu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
1302
1303	* roken.awk: stupid cray awk wants \#
1304
1305Fri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
1306
1307	* print_version.c (print_version): according to ISO/ANSI C the
1308 	elements of `arg' are not constant and therefore not settable at
1309 	compile-time.  Set the at run-time instead.
1310
1311Sun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
1312
1313	* roken.h.in: include paths.h
1314
1315Sun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
1316
1317	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
1318 	make happy
1319
1320Thu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1321
1322	* simple_exec.c: Simple fork+exec system() replacement.
1323
1324Fri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1325
1326	* roken_gethostby.c: Make `roken_gethostby_setup' take url-like
1327 	specification instead of split up versions. Makes it easier for
1328 	calling applications.
1329
1330	* roken_gethostby.c: Another miracle of the 20th century:
1331 	gethostby* over HTTP.
1332
1333Sat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
1334
1335	* parse_time.c (unparse_time_approx): new function that calls
1336 	`unparse_units_approx'
1337
1338	* parse_units.c (unparse_units_approx): new function that will
1339 	only print the first unit.
1340
1341	* Makefile.in: include parse_{time,units}
1342
1343Thu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
1344
1345	* parse_time.c (print_time_table): don't return a void value.
1346
1347Tue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1348
1349	* getarg.c (mandoc_template): Change date format to full month
1350 	name, and day of month without leading zero.
1351
1352Thu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1353
1354	* getarg.c: Fix long form of negative flags.
1355
1356Mon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1357
1358	* roken.h.in: Include <err.h>, to get linux __progname.
1359
1360Sun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
1361
1362	* parse_time.c (print_time_table): new function
1363
1364	* parse_units.c (print_flags_table, print_units_table): new
1365 	functions.
1366
1367Thu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
1368
1369	* iruserok.c: moved here.
1370
1371	* snprintf.c (sn_append_char): don't write any terminating zero.
1372	(as_reserve): don't loop.  better heuristic for how much space to
1373 	realloc.
1374	(vasnprintf): simplify initializing to one.
1375
1376Sun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1377
1378	* getarg.c: Add mandoc help back-end to getarg.
1379
1380Wed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1381
1382	* verr.c, verrx.c: Fix warnings by moving exit from.
1383
1384Tue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1385
1386	* parse_units.c: Change the list of separating characters (between
1387 	units) to comma, space, and tab, removing digits. Having digits in
1388 	this list makes a flag like `T42 generate a parse error. This
1389 	change makes `17m3s' an invalid time-spec (you need a space).
1390
1391Tue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
1392
1393	* roken.h: add <sys/socket.h>
1394
1395Sun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1396
1397	* fnmatch.c: Add fnmatch from NetBSD
1398
1399Sun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
1400
1401	* parse_units.c (parse_something): ignore white-space and ','
1402
1403Mon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
1404	
1405	* roken.h: fclose prototype
1406
1407	* roken.h: add prototype for vsyslog
1408
1409	* Makefile.in: add some more source files to make soriasis make
1410 	happy
1411
1412Sat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
1413
1414	* roken.h: include <sys/uio.h> and <errno.h>.
1415	prototypes for readv and writev
1416
1417	* readv.c, writev.c: new files
1418
1419Wed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
1420
1421	* roken.h: Add ugly macros for openlog, gethostbyname,
1422 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
1423 	default definition of MAXPATHLEN
1424