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