xref: /freebsd/crypto/heimdal/lib/roken/ChangeLog (revision 4f29da19bd44f0e99f021510460a81bf754c21d2)
12004-01-15  Love  <lha@stacken.kth.se>
2
3	* roken-common.h: 1.52: use EAI_NONAME instead of EAI_ADDRFAMILY
4	  to check for if we need EAI_ macros
5
6	* gai_strerror.c: 1.4: correct ifdef for EAI_ADDRFAMILY
7	1.3: EAI_ADDRFAMILY and EAI_NODATA is deprecated
8
92003-08-29  Love  <lha@stacken.kth.se>
10
11	* ndbm_wrap.c: 1.1->1.2: patch for working with DB4 on
12	heimdal-discuss From: Luke Howard <lukeh@PADL.COM>
13
142003-04-22  Love  <lha@stacken.kth.se>
15
16	* resolve.c: 1.38->1.39: copy NUL too, from janj@wenf.org via
17	openbsd
18
192003-04-16  Love  <lha@stacken.kth.se>
20
21	* parse_units.h: remove typedef for units to avoid problems with
22	shadowing
23
24	* resolve.c: use strlcpy, from openbsd
25
26	* getcap.c: use strlcpy, from openbsd
27
28	* getarg.3: Change .Fd #include <header.h> to .In header.h
29	from Thomas Klausner <wiz@netbsd.org>
30
312003-04-15  Love  <lha@stacken.kth.se>
32
33	* socket.c (socket_set_tos): if setsockopt failed with EINVAL
34	failed, just ignore it, sock was probably a just a non AF_INET
35	socket
36
372003-04-14  Love  <lha@stacken.kth.se>
38
39	* strncasecmp.c: cast argument to toupper to unsigned char, from
40	Christian Biere <christianbiere@gmx.de> via NetBSD
41
42	* strlwr.c: cast argument to tolower to unsigned char, from
43	Christian Biere <christianbiere@gmx.de> via NetBSD
44
45	* strcasecmp.c: cast argument to toupper to unsigned char, from
46	Christian Biere <christianbiere@gmx.de> via NetBSD
47
482003-03-19  Love  <lha@stacken.kth.se>
49
50	* getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
51
522003-03-07  Love  <lha@stacken.kth.se>
53
54	* parse_bytes.c: use struct units instead of units
55
56	* parse_time.c: use struct units instead of units
57
582003-03-04  Love  <lha@stacken.kth.se>
59
60	* roken.awk: use full prototype for main
61
622002-10-15  Johan Danielsson  <joda@pdc.kth.se>
63
64	* resolve.c: check length of txt records
65
662002-09-10  Johan Danielsson  <joda@pdc.kth.se>
67
68	* roken.awk: include config.h before stdio.h (breaks with
69	_FILE_OFFSET_BITS on solaris otherwise)
70
712002-09-09  Johan Danielsson  <joda@pdc.kth.se>
72
73	* resolve.c: fix res_nsearch call, but don't use it for now, AIX5
74	has a broken version that trashes memory
75
76	* roken-common.h: fix typo in previous
77
78	* roken-common.h: change IRIX == 4 to IRIX4
79
802002-09-04  Assar Westerlund  <assar@kth.se>
81
82	* getifaddrs.c: remove some warnings from the linux-portion
83
84	* getnameinfo_verified.c (getnameinfo_verified): handle the case
85	of forward but no backward DNS information, and also describe the
86	desired behaviour.  from Love <lha@stacken.kth.se>
87
882002-09-04  Johan Danielsson  <joda@pdc.kth.se>
89
90	* rtbl.c (rtbl_destroy): free whole table
91
92	* resolve.c: use res_nsearch if we have it (from Larry Greenfield)
93
942002-09-03  Assar Westerlund  <assar@kth.se>
95
96	* getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
97	YOSHIFUJI of the Usagi project
98
99	* parse_reply-test.c: make this build and return 77 if there is no
100	mmap
101
102	* Makefile.am (parse_reply-test): add
103	* parse_reply-test.c: add a test case for parse_reply reading past
104	the given buffer
105	* resolve.c (parse_reply): update the arguments to more reasonable
106	types.  allow parse_reply-test to call it
107
1082002-08-28  Johan Danielsson  <joda@pdc.kth.se>
109
110	* resolve.c (dns_srv_order): do alignment tricks with the random()
111	state (from NetBSD)
112
1132002-08-27  Assar Westerlund  <assar@kth.se>
114
115	* resolve.c (parse_reply): verify the lengths (both external and
116	internal) are consistent and not too long
117	(dns_lookup_int): be conservative in the length sent in to to
118	parse_reply
119
1202002-08-26  Assar Westerlund  <assar@kth.se>
121
122	* roken.h.in: add prototypes for str, unvis functions
123	* resolve.h: add fallback definition for T_AAAA
124
1252002-08-22  Johan Danielsson  <joda@pdc.kth.se>
126
127	* roken.h.in: we may need a prototype for strndup
128
1292002-08-20  Johan Danielsson  <joda@pdc.kth.se>
130
131	* roken.h.in: typedef ssize_t here
132
133	* getarg.c: don't put Ns before comma
134
135	* resolve.c: _res might not be available
136
137	* localtime_r.c: include stdio.h and roken.h
138
139	* strftime.c: only use altzone if we have it
140
141	* roken-common.h: AI_NUMERICHOST needs special handling
142
143	* strlcat.c: add some consistency checks
144
145	* strlcpy.c: make the logic simpler, and handle dst_sz == 0
146
1472002-08-19  Johan Danielsson  <joda@pdc.kth.se>
148
149	* resolve.h: prefix these functions to avoid conflicts with other
150	packages
151
1522002-08-14  Johan Danielsson  <joda@pdc.kth.se>
153
154	* strsep_copy.c: don't write to buf if len == 0
155
1562002-05-31  Assar Westerlund  <assar@pdc.kth.se>
157
158	* Makefile.am: *_LDADD: add LDADD, so that libroken is used
159
1602002-05-17  Johan Danielsson  <joda@pdc.kth.se>
161
162	* xdbm.h: remove old dbm part
163
1642002-04-30  Johan Danielsson  <joda@pdc.kth.se>
165
166	* ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
167
1682002-04-18  Johan Danielsson  <joda@pdc.kth.se>
169
170	* roken.h.in: move mini_inetd protos to after addrinfo definition
171
172	* snprintf.c (append_number): make rep const
173
174	* getarg.h: rename optind and optarg to avoid some gcc warnings
175
176	* getarg.c: rename optind and optarg to avoid some gcc warnings
177
1782002-02-18  Johan Danielsson  <joda@pdc.kth.se>
179
180	* mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
181	of a port number
182
1832001-11-30  Assar Westerlund  <assar@sics.se>
184
185	* getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
186	used on Solaris 8 to retrieve addresses larger than `struct
187	sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
188	modifications by me)
189
1902001-10-27  Assar Westerlund  <assar@sics.se>
191
192	* Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
193
1942001-10-22  Assar Westerlund  <assar@sics.se>
195
196	* localtime_r.c: add
197
1982001-10-02  Johan Danielsson  <joda@pdc.kth.se>
199
200	* resolve.c (dns_srv_order): don't try to return a value
201
2022001-09-24  Johan Danielsson  <joda@pdc.kth.se>
203
204	* snprintf.c: va_{start,end} fixes; from Thomas Klausner
205
2062001-09-20  Assar Westerlund  <assar@sics.se>
207
208	* resolve.c (dns_srv_order): make sure of not reading after the
209	array
210
2112001-09-17  Assar Westerlund  <assar@sics.se>
212
213	* Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
214	* snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
215	avoid collision with resolv.h on aix
216
2172001-09-04  Assar Westerlund  <assar@sics.se>
218
219	* parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
220	parse_units.h: use int instead of size_t as return values to be
221	compatible with snprintf
222
223	* strftime.c (strftime): check for return values from snprintf() <
224	0
225
2262001-09-03  Johan Danielsson  <joda@pdc.kth.se>
227
228	* socket.c: restrict is a keyword
229
2302001-09-03  Assar Westerlund  <assar@sics.se>
231
232	* write_pid.c: handle atexit or on_exit
233
234	* Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
235	solaris make
236
2372001-08-30  Johan Danielsson  <joda@pdc.kth.se>
238
239	* Makefile.am: use LDADD directly
240
2412001-08-28  Assar Westerlund  <assar@sics.se>
242
243	* Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
244
245	* issuid.c (issuid): call issetugid if it exists
246
2472001-08-24  Assar Westerlund  <assar@sics.se>
248
249	* Makefile.am: make it play better with recent automake
250
2512001-08-21  Assar Westerlund  <assar@sics.se>
252
253	* glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
254
255	* roken.h.in: remove all winsock.h
256	for now, it does more harm than good under cygwin and if it should be
257	used, the correct conditional needs to be found
258	from <tol@stacken.kth.se>
259
2602001-08-17  Johan Danielsson  <joda@pdc.kth.se>
261
262	* getaddrinfo.c: include a definition of in6addr_loopback if it
263	doesn't exist
264
2652001-08-10  Assar Westerlund  <assar@sics.se>
266
267	* Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
268
2692001-08-08  Assar Westerlund  <assar@sics.se>
270
271	* hstrerror.c: move h_errno to its own file (h_errno.c)
272
2732001-08-04  Assar Westerlund  <assar@sics.se>
274
275	* Makefile.am: add getarg.3
276
2772001-08-01  Assar Westerlund  <assar@sics.se>
278
279	* mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
280	resilient to bind/listen failing.
281
2822001-07-31  Assar Westerlund  <assar@sics.se>
283
284	* getifaddrs.c (getifaddrs2): remove unused variables
285
2862001-07-31  Assar Westerlund  <assar@sics.se>
287
288	* Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
289
2902001-07-23  Assar Westerlund  <assar@sics.se>
291
292	* getarg.c (arg_match_long): fix parsing of arg_counter optional
293	argument
294
2952001-07-19  Assar Westerlund  <assar@sics.se>
296
297	* Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
298
2992001-07-17  Assar Westerlund  <assar@sics.se>
300
301	* snprintf-test.h: add a file with renaming of the snprintf
302	functions, to be used for running the tests
303
3042001-07-11  Assar Westerlund  <assar@sics.se>
305
306	* snprintf-test.c: add more %X tests, and long and conditional
307	long long tests
308	* snprintf.c: add support for printing long long (if available)
309
3102001-07-10  Assar Westerlund  <assar@sics.se>
311
312	* getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
313	* hostent_find_fqdn.c (hostent_find_fqdn): const-ize
314
3152001-07-09  Assar Westerlund  <assar@sics.se>
316
317	* roken-common.h (hostent_find_fqdn): add
318	* hostent_find_fqdn.c: separate out hostent_find_fqdn
319
320	* warnerr.c: move out getprogname, setprogname
321
3222001-07-03  Assar Westerlund  <assar@sics.se>
323
324	* warnerr.c (setprogname): add const cast
325	* vis.c (SVIS): add some (unsigned char) before calling isfoo*
326	* Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
327
328	* Makefile.am: add snprintf_test
329	* snprintf.c: rewrite so that it does not stop as soon as there
330	are no more characters to print, we need to figure out how long
331	the string would have to be.  this also fixes snprintf(NULL, 0
332
3332001-06-21  Assar Westerlund  <assar@sics.se>
334
335	* simple_exec.c (pipe_execv): remove unused variable
336
3372001-06-20  Johan Danielsson  <joda@pdc.kth.se>
338
339	* getdtablesize.c: fix typo in obviously never used sysctl case
340
341	* simple_exec.c: rename check_status to wait_for_process, and
342	export it; function pipe_execv similar to popen, but with more
343	control over input and output
344
345	* roken-common.h: prototypes for wait_for_process and pipe_execv
346
3472001-06-17  Assar Westerlund  <assar@sics.se>
348
349	* roken-common.h: move emalloc et al to roken.h.in
350	* Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
351	* emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
352	be set reliably
353	* ecalloc.c: add for symmetry
354
3552001-06-09  Johan Danielsson  <joda@pdc.kth.se>
356
357	* resolve.c: dns_srv_order to order srv records
358
3592001-06-08  Johan Danielsson  <joda@pdc.kth.se>
360
361	* getarg.c: Grog tries to figure out if to use mdoc.old instead of
362	mdoc by looking at some macros that were only present in the old
363	version, and by looking at the number of .Oo's present. In
364	mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
365	the number of .Oo's is bigger than the number of .Oc's, it figures
366	it must be mdoc.old. This doesn't however account for called Oc's,
367	and thus grog thinks that valid pages are mdoc.old when they
368	infact are mdoc. So let's make sure that Oc's are not called by
369	other macros.
370
3712001-05-29  Assar Westerlund  <assar@sics.se>
372
373	* base64-test.c (main): initialize numerr
374
3752001-05-28  Johan Danielsson  <joda@pdc.kth.se>
376
377	* base64.c: clean up the decode mess somewhat
378
379	* base64-test.c: base64 tests
380
3812001-05-18  Johan Danielsson  <joda@pdc.kth.se>
382
383	* roken.h.in: just use standard C types with bswap*
384
385	* bswap.c: just use standard C types
386
3872001-05-17  Assar Westerlund  <assar@sics.se>
388
389	* roken.h.in: include all the headers that AC_GROK_TYPES tries for
390	finding u_int17_t et al
391
392	* Makefile.am: bump version to 12:0:3
393	* roken.h.in: re-add set_progname and get_progname for backwards
394	compatability
395	* warnerr.c: re-add set_progname and get_progname for backwards
396	compatability
397
3982001-05-12  Assar Westerlund  <assar@sics.se>
399
400	* glob.c: add limits.h, from <shadow@dementia.org>
401
4022001-05-11  Johan Danielsson  <joda@pdc.kth.se>
403
404	* Makefile.am: bswap.c
405
406	* bswap.c: bswap{16,32}
407
4082001-05-08  Assar Westerlund  <assar@sics.se>
409
410	* freeaddrinfo.c (freeaddrinfo): also free every `struct
411	addrinfo'.  from <tmartin@mirapoint.com>
412
4132001-04-25  Assar Westerlund  <assar@sics.se>
414
415	* getarg.h (free_getarg_strings): add prototype
416	* getarg.c (free_getarg_strings): add function
417
4182001-04-21  Johan Danielsson  <joda@pdc.kth.se>
419
420	* getarg.c: pack short flag options togther, to shorten the usage
421	string
422
4232001-04-17  Johan Danielsson  <joda@pdc.kth.se>
424
425	* getifaddrs.c (getifaddrs2): close socket when done
426
4272001-03-26  Johan Danielsson  <joda@pdc.kth.se>
428
429	* roken.awk: END has to be last with Sun's awk
430
4312001-03-26  Assar Westerlund  <assar@sics.se>
432
433	* parse_units.c (parse_something): do not check the return value
434	from strtod, it might return != 0.0 when the string has no digits.
435	just testing if it consumed any characters is enough and more
436	resilient
437	* glob.c: add GLOB_LIMIT (from NetBSD)
438
4392001-02-20  Assar Westerlund  <assar@sics.se>
440
441	* warnerr.c (warnerr): do not use __progname
442	* roken.h.in (setprogname, getprogname): add prototypes
443	* warnerr.c (setprogname, getprogname): rename to. change all
444	callers
445
4462001-02-12  Assar Westerlund  <assar@sics.se>
447
448	* getnameinfo_verified.c (getnameinfo_verified): do the first
449	getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
450	reports on not finding the service
451	(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
452
4532001-02-09  Assar Westerlund  <assar@sics.se>
454
455	* getnameinfo.c (doit): call inet_ntop with correct af, noted by
456	Ake Sandgren <ake@cs.umu.se>
457
4582001-02-08  Assar Westerlund  <assar@sics.se>
459
460	* getnameinfo_verified.c (getnameinfo_verified): always capture
461	the service from getnameinfo so it can be sent back to getaddrinfo
462	and set socktype to avoid getaddrinfo not returning any addresses
463
4642001-01-30  Assar Westerlund  <assar@sics.se>
465
466	* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
467	* print_version.c (print_version): add 2001
468
4692001-01-29  Assar Westerlund  <assar@sics.se>
470
471	* getifaddrs.c (getifaddrs2): copy the entire sockaddr
472
473	* roken-common.h (_PATH_BSHELL): add
474
4752001-01-27  Assar Westerlund  <assar@sics.se>
476
477	* roken.h.in: move __attribute__ to roken-common.h
478
479	* esetenv.c (esetenv): cast to handle a setenv that takes a `char
480 	* which is the case on Unicos
481
4822000-12-29  Assar Westerlund  <assar@sics.se>
483
484	* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
485	ifaddrs.hin
486
4872000-12-25  Assar Westerlund  <assar@sics.se>
488
489	* getarg.c (print_arg): add a case for arg_strings
490
4912000-12-15  Johan Danielsson  <joda@pdc.kth.se>
492
493	* snprintf.c (append_string): handle NULL strings by printing
494	`(null)'
495
4962000-12-12  Johan Danielsson  <joda@pdc.kth.se>
497
498	* roken-common.h: add c++ externs
499
500	* roken.h.in: fix last commit differently
501
5022000-12-11  Assar Westerlund  <assar@sics.se>
503
504	* err.hin (warnerr): remove, it's not part of the err.h interface
505	* roken-common.h (warnerr): moved here from err.hin
506	* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
507	* vis.c: s/u_int32_t/unsigned/ for systems that do not define
508	u_int32_t
509
5102000-12-10  Johan Danielsson  <joda@pdc.kth.se>
511
512	* Makefile.am: rename some headers to avoid conflict with possible
513	system headers
514
5152000-12-06  Johan Danielsson  <joda@pdc.kth.se>
516
517	* vis.c: make sure _DIAGASSERT is defined
518
519	* unvis.c: make sure _DIAGASSERT is defined
520
521	* Makefile.am: unvis.c, and vis.h
522
523	* vis.h: vis.h from NetBSD
524
525	* unvis.c: unvis from NetBSD
526
527	* roken.h.in: cleanup previous
528
529	* roken-common.h: make `extern "C"' into a macro, this make emacs
530	much happier
531
532	* vis.c: strvis implementation from NetBSD
533
534	* roken.h.in: add prototypes for strvis*
535
5362000-12-05  Johan Danielsson  <joda@pdc.kth.se>
537
538	* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
539	macro
540
541	* getifaddrs.c: free some memory
542
5432000-12-04  Johan Danielsson  <joda@pdc.kth.se>
544
545	* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
546
547	* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
548
5492000-10-08  Assar Westerlund  <assar@sics.se>
550
551	* mini_inetd.c (mini_inetd): check that fds are not too large to
552	select on
553
5542000-09-24  Assar Westerlund  <assar@sics.se>
555
556	*  esetenv.c: new file/function
557
5582000-08-16  Assar Westerlund  <assar@sics.se>
559
560	* Makefile.am: bump version to 10:0:1
561
5622000-08-10  Assar Westerlund  <assar@sics.se>
563
564	* mini_inetd.c (accept_it): type-correctness on parameters to
565	accept
566
5672000-08-07  Johan Danielsson  <joda@pdc.kth.se>
568
569	* roken.h.in: add proto compat for getsockname
570
5712000-08-04  Johan Danielsson  <joda@pdc.kth.se>
572
573	* write_pid.c: conditionalise pidfile
574
575	* write_pid.c: add pidfile function
576
5772000-07-25  Johan Danielsson  <joda@pdc.kth.se>
578
579	* Makefile.am: bump version to 9:0:0
580
581	* warnerr.c: add get_progname
582
5832000-07-24  Assar Westerlund  <assar@sics.se>
584
585	* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
586	reverse resolving to see if there's a fuller name there.  don't
587	use just-freed memory
588
5892000-07-22  Assar Westerlund  <assar@sics.se>
590
591	* xdbm.h: do not define ndbm functions in terms of dbm functions
592	if we're using db
593
5942000-07-20  Assar Westerlund  <assar@sics.se>
595
596	* rtbl.c (rtbl_format): avoid printing an empty row at the end
597
5982000-07-19  Johan Danielsson  <joda@pdc.kth.se>
599
600	* Makefile.am: make this compatible with `make dist'
601
602	* Makefile.am: revert version number for now
603
6042000-07-18  Johan Danielsson  <joda@pdc.kth.se>
605
606	* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
607
6082000-07-17  Johan Danielsson  <joda@pdc.kth.se>
609
610	* Makefile.am: set ACLOCAL_AMFLAGS
611
6122000-07-15  Johan Danielsson  <joda@pdc.kth.se>
613
614	* getaddrinfo_hostspec.c: add new function that takes socktype
615	hint as parameter
616
6172000-07-09  Assar Westerlund  <assar@sics.se>
618
619	* rtbl.c (rtbl_add_column): initialize `col' completely
620
621	* configure.in: bring headers and functions more in-line with
622	what's actually being used
623
6242000-07-08  Johan Danielsson  <joda@pdc.kth.se>
625
626	* roken.h.in: declare ether_addr and sockaddr_dl for AIX
627
628	* rtbl.{c,h}: simple table functions
629
6302000-07-08  Assar Westerlund  <assar@sics.se>
631
632	* configure.in (AM_INIT_AUTOMAKE): bump version to 10
633	* configure.in (AC_BROKEN): add strsep_copy
634	* Makefile.am (ACLOCAL): fetch files from cf
635
6362000-07-01  Assar Westerlund  <assar@sics.se>
637
638	* roken-common.h (pid_file_*): fix protos
639
6402000-06-28  Assar Westerlund  <assar@sics.se>
641
642	* getnameinfo_verified.c (getnameinfo_verified): free memory
643	returned from getaddrinfo
644
6452000-06-27  Assar Westerlund  <assar@sics.se>
646
647	* resolve.c: export string_to_type and type_to_string
648	* resolve.c: add key,sig,cert update test-program
649	* resolve.h: add key,sig,cert
650
6512000-06-21  Assar Westerlund  <assar@sics.se>
652
653	* resolve.h: add T_SIG, T_KEY
654	* resolve.c: add SIG and KEY
655	* Makefile.am (libroken_la_SOURCES): add environment.c and
656	write_pid.c
657
658	* write_pid.c: new file for writing a pid file.
659
660	* environment.c: new file with functionality for reading
661	/etc/environment.  From Ake Sandgren <ake@cs.umu.se>
662
6632000-06-12  Johan Danielsson  <joda@pdc.kth.se>
664
665	* strsep_copy.c: strsep, but with const stringp so returns string
666	in separate buffer
667
6682000-05-23  Assar Westerlund  <assar@sics.se>
669
670	* vsyslog.c (vsyslog): calculate length of new format string
671	correctly
672
6732000-05-22  Johan Danielsson  <joda@pdc.kth.se>
674
675	* getusershell.c: implment the AIX version use
676	/etc/security/login.cfg
677
6782000-05-21  Assar Westerlund  <assar@sics.se>
679
680	* vsyslog.c (vsyslog): actually handle `%m'
681
6822000-05-15  Assar Westerlund  <assar@sics.se>
683
684	* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
685
686	* roken-common.h: moved __attribute__ to roken.h.in
687
6882000-04-14  Assar Westerlund  <assar@sics.se>
689
690	* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
691	correct length from `hostspec'.  based on a patch from Love
692	<lha@s3.kth.se>
693
6942000-04-09  Assar Westerlund  <assar@sics.se>
695
696	* xdbm.h: only include one of db.h and the dbm-series
697
6982000-04-05  Assar Westerlund  <assar@sics.se>
699
700	* resolve.c (_resolve_debug): explicitly set to zero.  this moves
701	the variable from bss to data and the dynamic linker on MacOS
702	X/Darwin seems unhappy with stuff in the bss segment.
703
7042000-04-03  Assar Westerlund  <assar@sics.se>
705
706	* Makefile.am: set version to 8:0:3
707
7082000-03-11  Assar Westerlund  <assar@sics.se>
709
710	* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
711	expression that also works on Crays
712
7132000-03-09  Assar Westerlund  <assar@sics.se>
714
715	* getarg.c (arg_match_short): backup optind when there's a missing
716	argument so that the error can point at the flag and not the
717	non-existant argument
718
7192000-03-03  Assar Westerlund  <assar@sics.se>
720
721	* Makefile.in (SOURCES): add timeval.c
722	* Makefile.am (libroken_la_SOURCES): add timeval.c
723	* timeval.c: new file
724
7252000-02-19  Assar Westerlund  <assar@sics.se>
726
727	* Makefile.am: set version to 7:1:2
728
7292000-02-16  Assar Westerlund  <assar@sics.se>
730
731	* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
732	transmitted as ints
733	(according to the integer protomotion rules) in variable arguments
734	lists.  Therefore, we should not call va_arg with short but rather
735	with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
736	original bug report
737
7382000-02-13  Assar Westerlund  <assar@sics.se>
739
740	* Makefile.am: bump version to 7:0:2
741
742	* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
743	* getarg.c (mandoc_template): better man-stuff for negative
744	options
745
7462000-02-07  Assar Westerlund  <assar@sics.se>
747
748	* Makefile.am: set version to 6:0:1
749
7502000-02-06  Assar Westerlund  <assar@sics.se>
751
752	* xdbm.h: hopefully catch a few more declarations by including
753	<ndbm.h> even if <db.h> was found
754
7552000-01-26  Assar Westerlund  <assar@sics.se>
756
757	* mini_inetd.c (mini_inetd): separate number of allocated sockets
758	and number of actual ones
759	* mini_inetd.c (mini_inetd): count sockets properly.  and fail if
760	we cannot bind any
761	* mini_inetd.c (mini_inetd): make failing to create a socket
762	non-fatal
763
7642000-01-09  Assar Westerlund  <assar@sics.se>
765
766 	* Makefile.am(libroken_la_SOURCES): add strcollect.c
767	* Makefile.in: add strcollect.[co]
768	* simple_exec.c: use vstrcollect
769	* roken-common.h (_PATH_DEV): add
770	(strcollect, vstrcollect): add prototypes
771	* strcollect.c: new file.  functions for collapsing an `va_list'
772	into an `char **'
773
7742000-01-06  Assar Westerlund  <assar@sics.se>
775
776	* Makefile.am: bump version to 5:0:0
777
7781999-12-30  Assar Westerlund  <assar@sics.se>
779
780	* Makefile.am (strpftime_test_SOURCES): correct source file name
781
782	* roken.h.in (sockaddr_storage): change padding so that we have
783 	one char[] of pad and then an unsigned long[] (for alignment and
784 	padding).  this works much better in practice.
785
7861999-12-22  Assar Westerlund  <assar@sics.se>
787
788	* roken.h.in (sockaddr_storage): drop leading underscore on
789 	`public' fields.  this was the consensus on the ipng mailing list
790
7911999-12-21  Assar Westerlund  <assar@sics.se>
792
793	* Makefile.am (strpftime-test): define sources to avoid having
794 	'.o'
795	* Makefile.am (print_version.h): use $(EXEEXT)
796	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
797 	et al
798
7991999-12-20  Assar Westerlund  <assar@sics.se>
800
801	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
802
803	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
804	gethostbyname(2)
805
8061999-12-16  Assar Westerlund  <assar@sics.se>
807
808	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
809
810	* roken.h.in (struct sockaddr_storage): redefine with the example
811 	code from rfc2553
812
813	* getaddrinfo.c (get_null): set loopback with correct endianess
814	for v4.  dunno about v6.
815
8161999-12-13  Assar Westerlund  <assar@sics.se>
817
818	* roken.h.in: add prototypes for str[pf]time
819
820	* signal.c: macosx = rhapsody ~= nextstep also can't handle
821 	various definitions of the same symbol.
822
8231999-12-12  Assar Westerlund  <assar@sics.se>
824
825	* Makefile.am: bump version to 4:1:0
826
8271999-12-06  Assar Westerlund  <assar@sics.se>
828
829	* Makefile.am: bump version to 4:0:0
830
8311999-12-05  Assar Westerlund  <assar@sics.se>
832
833	* Makefile.in: replace inaddr2str with getnameinfo_verified
834
835	* roken-common.h (INADDR_LOOPBACK): add fallback definition
836
837	* roken-common.h: move getnameinfo_verified to roken.h.in
838	* roken.h.in (inaddr2str): remove
839	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
840	* roken-common.h (getnameinfo_verified): add prototype
841	* getnameinfo_verified.c: new file
842
8431999-12-04  Assar Westerlund  <assar@sics.se>
844
845	* roken-common.h: add constants for getaddrinfo, getnameinfo
846	* roken.h.in (socklen_t): make independent of sockaddr_storage
847	(AI_*, NI_*, EAI_*): move to roken-common.h
848
8491999-12-03  Assar Westerlund  <assar@sics.se>
850
851	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
852	* getaddrinfo.c (const_v*): no sizeof(sizeof())
853	* getaddrinfo.c (add_hostent): search for the canonical name among
854	all aliases
855	(getaddrinfo): handle AI_NUMERICHOST correctly
856	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
857	getaddrinfo, getnameinfo, gai_strerror
858	(getaddrinfo_test): add
859	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
860	getnameinfo, gai_strerror
861	(getaddrinfo_test): add
862	* roken.h.in: arpa/inet.h: include
863	(socklen_t): add
864	(struct addrinfo): add
865	(EAI_*): add
866	(NI_*): add
867	(AI_*): add
868	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
869	* getnameinfo.c: new file
870	* getaddrinfo-test.c: new file
871	* gai_strerror.c: new file
872	* getaddrinfo.c: new file
873	* freeaddrinfo.c: new file
874
8751999-11-25  Assar Westerlund  <assar@sics.se>
876
877	* getopt.c (getopt): return -1 instead of EOF.  From
878	<art@stacken.kth.se>
879
8801999-11-13  Assar Westerlund  <assar@sics.se>
881
882	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
883	world
884
885	* getcap.c: make sure to use db only if we have both the library
886	and the header file
887
8881999-11-12  Assar Westerlund  <assar@sics.se>
889
890	* getarg.h: add arg_counter
891	* getarg.c: add a new type of argument: `arg_counter' re-organize
892	the code somewhat
893
894	* Makefile.am: add strptime and strpftime-test
895
896	* snprintf.c (xyzprintf): try to do the right thing with an % at
897	the end of the format string
898
899	* strptime.c (strptime): implement '%U', '%V', '%W'
900	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
901
902	* strftime.c (strftime): correct %E and %O handling.  do something
903 	reasonable with "...%"
904
905	* strftime.c: replace the BSD implementation by one of our own
906	coding
907
908	* strptime.c : new file
909	* strpftime-test.c: new file
910
9111999-11-07  Assar Westerlund  <assar@sics.se>
912
913	* parse_bytes-test.c: new file
914
915	* Makefile.am: add parse_bytes-test
916
917	* parse_units.c (parse_something): try to handle the case of no
918 	value specified a little bit better
919
9201999-11-04  Assar Westerlund  <assar@sics.se>
921
922	* Makefile.am: bump version to 3:2:0
923
9241999-10-30  Assar Westerlund  <assar@sics.se>
925
926	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
927 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
928 	Rini <trini@kernel.crashing.org>
929
9301999-10-28  Assar Westerlund  <assar@sics.se>
931
932	* Makefile.am: bump version to 3:1:0
933
934	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
935 	having to have that definition.  this is the easy way out instead
936 	of getting the definition here where it's needed.  flame me.
937
938Fri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
939
940	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
941 	though it should), use getspnam().
942
9431999-10-20  Assar Westerlund  <assar@sics.se>
944
945	* Makefile.am: set version to 3:0:0
946
9471999-10-18  Johan Danielsson  <joda@pdc.kth.se>
948
949	* getarg.3: document arg_collect
950
951	* getarg.c: change the way arg_collect works; it's still quite
952	horrible though
953
954	* getarg.h: change type of the collect function
955
9561999-10-17  Assar Westerlund  <assar@sics.se>
957
958	* xdbm.h: undo last commit
959
960	* xdbm.h: reorder db includes
961
9621999-10-10  Assar Westerlund  <assar@sics.se>
963
964	* socket.c: const-ize and comment
965
966	* net_write.c: const-ize
967
968	* base64.c: const-ize
969
9701999-10-06  Assar Westerlund  <assar@sics.se>
971
972	* getarg.c (getarg): also set optind when returning error
973
9741999-09-26  Assar Westerlund  <assar@sics.se>
975
976	* Makefile.am: add parse_bytes.[ch]
977
9781999-09-24  Johan Danielsson  <joda@pdc.kth.se>
979
980	* getarg.3: getarg manpage
981
982	* getarg.{c,h}: add a callback type to do more complicated processing
983
984	* getarg.{c,h}: add floating point support
985
9861999-09-16  Assar Westerlund  <assar@sics.se>
987
988	* strlcat.c (strlcat): call strlcpy
989
990	* strlcpy.c: update name and prototype
991
992	* strlcat.c: update name and prototype
993
994	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
995
996	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
997
998	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
999
1000 	* strcpy_truncate.c (strcpy_truncate): change return value to be
1001 	the length of `src'
1002
10031999-08-16  Assar Westerlund  <assar@sics.se>
1004
1005	* getcap.c: try to make this work on systems with DB
1006
10071999-08-16  Johan Danielsson  <joda@pdc.kth.se>
1008
1009	* getcap.c: protect from db-less systems
1010
10111999-08-09  Johan Danielsson  <joda@pdc.kth.se>
1012
1013	* simple_exec.c: add simple_exec{ve,le}
1014
1015	* getcap.c: getcap from NetBSD
1016
10171999-08-06  Assar Westerlund  <assar@sics.se>
1018
1019	* roken.h.in (sockaddr_storage): cater for those that have
1020 	v6-support also
1021
10221999-08-05  Assar Westerlund  <assar@sics.se>
1023
1024	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
1025
10261999-08-04  Assar Westerlund  <assar@sics.se>
1027
1028	* roken-common.h: add shutdown constants
1029
1030	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
1031 	protocol not being supported
1032
10331999-08-01  Assar Westerlund  <assar@sics.se>
1034
1035	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
1036
10371999-07-29  Assar Westerlund  <assar@sics.se>
1038
1039	* mini_inetd.c (mini_inetd): fix my stupid bugs
1040
10411999-07-28  Assar Westerlund  <assar@sics.se>
1042
1043	* roken-common.h: add socket* functions
1044
1045	* Makefile.am (libroken_la_SOURCES): add socket.c
1046
1047	* socket.c: new file, originally from appl/ftp/common
1048
1049	* Makefile.am: set version to 2:0:2
1050
1051	* roken.h.in (inet_pton): add prototype
1052
1053	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
1054
1055	* inet_pton.c: new file
1056
1057	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
1058 	have it
1059
10601999-07-27  Assar Westerlund  <assar@sics.se>
1061
1062	* mini_inetd.c: support IPv6
1063
10641999-07-26  Assar Westerlund  <assar@sics.se>
1065
1066	* Makefile.am: set version to 1:0:1
1067
1068	* roken.h.in (inet_ntop): add prototype
1069
1070 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
1071
1072	* inet_ntop.c: new file
1073
1074	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1075
1076	* Makefile.am: move some files from libroken_la_SOURCES to
1077 	EXTRA_libroken_la_SOURCES
1078
1079	* snprintf.c: some signed vs unsigned casts
1080
10811999-07-24  Assar Westerlund  <assar@sics.se>
1082
1083	* roken.h.in (struct sockaddr_storage): define it needed
1084
10851999-07-19  Assar Westerlund  <assar@sics.se>
1086
1087	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1088 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1089
1090	* roken.h.in: <netdb.h>: include
1091	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1092	prototypes
1093
1094	* roken-common.h: new constants for getipnodeby*
1095
1096	* Makefile.in (SOURCES): add freehostent, copyhostent,
1097 	getipnodebyname, getipnodebyaddr
1098
1099	* freehostent.c: new file
1100
1101	* copyhostent.c: new file
1102
1103	* getipnodebyaddr.c: new file
1104
1105	* getipnodebyname.c: new file
1106
11071999-07-13  Assar Westerlund  <assar@sics.se>
1108
1109	* roken.h.in (k_getpwnam): update prototype
1110
1111	* k_getpwnam.c (k_getpwnam): const-ize
1112
1113	* get_default_username.c (get_default_username): a better way of
1114 	guessing when the user has su:ed
1115
11161999-07-08  Johan Danielsson  <joda@pdc.kth.se>
1117
1118	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
1119	<jhutz+@cmu.edu>
1120
11211999-07-06  Assar Westerlund  <assar@sics.se>
1122
1123	* readv.c (readv): typo
1124
11251999-07-03  Assar Westerlund  <assar@sics.se>
1126
1127	* writev.c (writev): error check malloc properly
1128
1129	* sendmsg.c (sendmsg): error check malloc properly
1130
1131	* resolve.c (parse_reply): error check malloc properly
1132
1133	* recvmsg.c (recvmsg): error check malloc properly
1134
1135	* readv.c (readv): error check malloc properly
1136
11371999-06-23  Assar Westerlund  <assar@sics.se>
1138
1139	* parse_units.c (acc_units): move the special case of 0 -> 1 to
1140 	parse_something to avoid having it happen at the end of the string
1141
11421999-06-15  Assar Westerlund  <assar@sics.se>
1143
1144	* Makefile.in: add get_default_username
1145
1146	* get_default_username.c: new file
1147
1148	* roken.h.in (get_default_username): add prototype
1149
1150	* Makefile.am: add get_default_username
1151
11521999-05-08  Assar Westerlund  <assar@sics.se>
1153
1154	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1155
1156	* strnlen.c (strnlen): update prototype
1157
1158	* Makefile.am: strndup.c: add
1159
1160	* Makefile.in: strndup.c: add
1161
1162	* roken.h.in (strndup): add
1163	(strnlen): update prototype
1164
1165	* strndup.c: new file
1166
1167Fri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
1168
1169	* roken.h.in: include strsep prototype if needed
1170
1171Thu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1172
1173	* Makefile.am: make make-print-version.o depend on version.h
1174
1175Wed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1176
1177	* Makefile.am: make it compile w/o krb4
1178
1179Sat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
1180
1181	* snprintf.c (vasnprintf): correct check if realloc returns NULL
1182
1183Sat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1184
1185	* Makefile.am: link print_version with -ldes to avoid unresolved
1186 	references if -lkrb is shared
1187
1188Sat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
1189
1190	* roken-common.h (eread, ewrite): add
1191
1192	* simple_exec.c: add <roken.h>
1193
1194Fri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
1195
1196	* Makefile.in: add eread, ewrite
1197
1198	* eread.c, ewrite.c: new files
1199
1200	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
1201
1202Fri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1203
1204	* Makefile.am: add version-info
1205
1206Thu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1207
1208	* Makefile.am: remove include_dir hack
1209
1210	* Makefile.am: parse_units.h
1211
1212	* Makefile.am: include Makefile.am.common
1213
1214Sat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
1215
1216	* Makefile.in (SOURCES): add glob.c
1217
1218Thu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1219
1220	* iruserok.c: move innetgr() to separate file
1221
1222	* innetgr.c: move innetgr() to separate file
1223
1224	* hstrerror.c (hstrerror): add const to return type
1225
1226	* erealloc.c: fix types in format string
1227
1228	* emalloc.c: fix types in format string
1229
1230Wed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1231
1232	* resolve.c: ugly fix for crays
1233
1234Mon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1235
1236	* roken.h.in: protos for {un,}setenv
1237
12381999-02-16  Assar Westerlund  <assar@sics.se>
1239
1240	* Makefile.in (SOURCES): add fnmatch
1241
1242	* roken-common.h (abs): add
1243
1244Sat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
1245
1246	* emalloc.c, erealloc.c, estrup.c: new files
1247
1248	* roken.h.in (mkstemp, gethostname): also includes prototypes if
1249 	they are needed.
1250
12511998-12-23  Assar Westerlund  <assar@sics.se>
1252
1253	* roken.h.in: mkstemp: add prototype
1254
12551998-12-20  Assar Westerlund  <assar@sics.se>
1256
1257	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1258
1259	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
1260
1261	* roken-common.h: __attribute__: check for autoconf'd
1262	HAVE___ATTRIBUTE__ instead of GNUC
1263
1264Sun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
1265
1266	* parse_units.c (parse_something): func is called with val == 0 if
1267 	no unit was given
1268	(acc_flags, acc_units): update to new standard
1269
1270Fri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
1271
1272	* resolve.c (stot): constify
1273	(type_to_string): always declare
1274	(dns_lookup_int): correct debug output
1275
1276Thu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
1277
1278	* resolve.c (dns_lookup_int): send rr_class to res_search
1279
1280Thu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
1281
1282	* resolve.c: some cleanup
1283
1284	* resolve.h: add T_NAPTR
1285
1286Sun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
1287
1288	* Makefile.in (WFLAGS): set
1289
1290	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
1291
1292	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
1293
1294Tue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
1295
1296	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
1297
1298Fri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1299
1300	* vsyslog.c: asprintf -> vasprintf
1301
1302Tue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
1303
1304	* getarg.h (arg_printusage): new signature
1305
1306	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
1307 	__progname.
1308
1309Sun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1310
1311	* Makefile.am: net_{read,write}.c
1312
1313Fri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
1314
1315	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
1316 	EINTR
1317
1318Thu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1319
1320	* Makefile.am: net_{read,write}.c
1321
1322Wed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
1323
1324	* simple_exec.c (simple_execlp): initialize `argv'
1325
1326Mon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
1327
1328	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
1329 	use a copy instead
1330
1331Fri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
1332
1333	* roken.h.in (net_write, net_read): add prototypes
1334
1335	* Makefile.in: net_{read,write}.c: add
1336
1337	* net_{read,write}.c: new files
1338
1339Tue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
1340
1341	* roken.h.in (issuid): add
1342
1343	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
1344 	fields
1345
1346Sun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1347
1348	* getarg.c (mandoc_template): Put short and long options in
1349 	SYNOPSIS within the same [ ] pair.
1350
1351Sat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1352
1353	* getarg.c (arg_printusage): try to keep options shorter than
1354 	column width
1355
1356	* get_window_size.c (get_window_size): check COLUMNS and LINES
1357
1358Fri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1359
1360	* getarg.c (mandoc_template): Put short and long options in
1361 	DESCRIPTION on the same line.
1362
1363	* getarg.c (arg_match_long): make sure you only get an exact match
1364 	if the strings are the same length
1365
1366Thu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
1367
1368	* roken.awk: stupid cray awk wants \#
1369
1370Fri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
1371
1372	* print_version.c (print_version): according to ISO/ANSI C the
1373 	elements of `arg' are not constant and therefore not settable at
1374 	compile-time.  Set the at run-time instead.
1375
1376Sun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
1377
1378	* roken.h.in: include paths.h
1379
1380Sun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
1381
1382	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
1383 	make happy
1384
1385Thu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1386
1387	* simple_exec.c: Simple fork+exec system() replacement.
1388
1389Fri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1390
1391	* roken_gethostby.c: Make `roken_gethostby_setup' take url-like
1392 	specification instead of split up versions. Makes it easier for
1393 	calling applications.
1394
1395	* roken_gethostby.c: Another miracle of the 20th century:
1396 	gethostby* over HTTP.
1397
1398Sat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
1399
1400	* parse_time.c (unparse_time_approx): new function that calls
1401 	`unparse_units_approx'
1402
1403	* parse_units.c (unparse_units_approx): new function that will
1404 	only print the first unit.
1405
1406	* Makefile.in: include parse_{time,units}
1407
1408Thu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
1409
1410	* parse_time.c (print_time_table): don't return a void value.
1411
1412Tue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1413
1414	* getarg.c (mandoc_template): Change date format to full month
1415 	name, and day of month without leading zero.
1416
1417Thu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1418
1419	* getarg.c: Fix long form of negative flags.
1420
1421Mon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1422
1423	* roken.h.in: Include <err.h>, to get linux __progname.
1424
1425Sun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
1426
1427	* parse_time.c (print_time_table): new function
1428
1429	* parse_units.c (print_flags_table, print_units_table): new
1430 	functions.
1431
1432Thu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
1433
1434	* iruserok.c: moved here.
1435
1436	* snprintf.c (sn_append_char): don't write any terminating zero.
1437	(as_reserve): don't loop.  better heuristic for how much space to
1438 	realloc.
1439	(vasnprintf): simplify initializing to one.
1440
1441Sun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1442
1443	* getarg.c: Add mandoc help back-end to getarg.
1444
1445Wed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1446
1447	* verr.c, verrx.c: Fix warnings by moving exit from.
1448
1449Tue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1450
1451	* parse_units.c: Change the list of separating characters (between
1452 	units) to comma, space, and tab, removing digits. Having digits in
1453 	this list makes a flag like `T42 generate a parse error. This
1454 	change makes `17m3s' an invalid time-spec (you need a space).
1455
1456Tue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
1457
1458	* roken.h: add <sys/socket.h>
1459
1460Sun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1461
1462	* fnmatch.c: Add fnmatch from NetBSD
1463
1464Sun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
1465
1466	* parse_units.c (parse_something): ignore white-space and ','
1467
1468Mon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
1469
1470	* roken.h: fclose prototype
1471
1472	* roken.h: add prototype for vsyslog
1473
1474	* Makefile.in: add some more source files to make soriasis make
1475 	happy
1476
1477Sat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
1478
1479	* roken.h: include <sys/uio.h> and <errno.h>.
1480	prototypes for readv and writev
1481
1482	* readv.c, writev.c: new files
1483
1484Wed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
1485
1486	* roken.h: Add ugly macros for openlog, gethostbyname,
1487 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
1488 	default definition of MAXPATHLEN
1489