ChangeLog revision 78527
12001-05-17  Assar Westerlund  <assar@sics.se>
2
3	* Makefile.am: bump version to 12:0:3
4	* roken.h.in: re-add set_progname and get_progname for backwards
5	compatability
6	* warnerr.c: re-add set_progname and get_progname for backwards
7	compatability
8
92001-05-12  Assar Westerlund  <assar@sics.se>
10
11	* glob.c: add limits.h, from <shadow@dementia.org>
12
132001-05-11  Johan Danielsson  <joda@pdc.kth.se>
14
15	* Makefile.am: bswap.c
16	
17	* bswap.c: bswap{16,32}
18	
192001-05-08  Assar Westerlund  <assar@sics.se>
20
21	* freeaddrinfo.c (freeaddrinfo): also free every `struct
22	addrinfo'.  from <tmartin@mirapoint.com>
23
242001-04-25  Assar Westerlund  <assar@sics.se>
25
26	* getarg.h (free_getarg_strings): add prototype
27	* getarg.c (free_getarg_strings): add function
28
292001-04-21  Johan Danielsson  <joda@pdc.kth.se>
30
31	* getarg.c: pack short flag options togther, to shorten the usage
32	string
33
342001-04-17  Johan Danielsson  <joda@pdc.kth.se>
35
36	* getifaddrs.c (getifaddrs2): close socket when done
37
382001-03-26  Johan Danielsson  <joda@pdc.kth.se>
39
40	* roken.awk: END has to be last with Sun's awk
41
422001-03-26  Assar Westerlund  <assar@sics.se>
43
44	* parse_units.c (parse_something): do not check the return value
45	from strtod, it might return != 0.0 when the string has no digits.
46	just testing if it consumed any characters is enough and more
47	resilient
48	* glob.c: add GLOB_LIMIT (from NetBSD)
49
502001-02-20  Assar Westerlund  <assar@sics.se>
51
52	* warnerr.c (warnerr): do not use __progname
53	* roken.h.in (setprogname, getprogname): add prototypes
54	* warnerr.c (setprogname, getprogname): rename to. change all
55	callers
56	
572001-02-12  Assar Westerlund  <assar@sics.se>
58
59	* getnameinfo_verified.c (getnameinfo_verified): do the first
60	getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
61	reports on not finding the service
62	(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
63
642001-02-09  Assar Westerlund  <assar@sics.se>
65
66	* getnameinfo.c (doit): call inet_ntop with correct af, noted by
67	Ake Sandgren <ake@cs.umu.se>
68
692001-02-08  Assar Westerlund  <assar@sics.se>
70
71	* getnameinfo_verified.c (getnameinfo_verified): always capture
72	the service from getnameinfo so it can be sent back to getaddrinfo
73	and set socktype to avoid getaddrinfo not returning any addresses
74
752001-01-30  Assar Westerlund  <assar@sics.se>
76
77	* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
78	* print_version.c (print_version): add 2001
79
802001-01-29  Assar Westerlund  <assar@sics.se>
81
82	* getifaddrs.c (getifaddrs2): copy the entire sockaddr
83
84	* roken-common.h (_PATH_BSHELL): add
85
862001-01-27  Assar Westerlund  <assar@sics.se>
87
88	* roken.h.in: move __attribute__ to roken-common.h
89
90	* esetenv.c (esetenv): cast to handle a setenv that takes a `char
91 	* which is the case on Unicos
92
932000-12-29  Assar Westerlund  <assar@sics.se>
94
95	* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
96	ifaddrs.hin
97
982000-12-25  Assar Westerlund  <assar@sics.se>
99
100	* getarg.c (print_arg): add a case for arg_strings
101
1022000-12-15  Johan Danielsson  <joda@pdc.kth.se>
103
104	* snprintf.c (append_string): handle NULL strings by printing
105	`(null)'
106
1072000-12-12  Johan Danielsson  <joda@pdc.kth.se>
108
109	* roken-common.h: add c++ externs
110
111	* roken.h.in: fix last commit differently
112
1132000-12-11  Assar Westerlund  <assar@sics.se>
114
115	* err.hin (warnerr): remove, it's not part of the err.h interface
116	* roken-common.h (warnerr): moved here from err.hin
117	* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
118	* vis.c: s/u_int32_t/unsigned/ for systems that do not define
119	u_int32_t
120
1212000-12-10  Johan Danielsson  <joda@pdc.kth.se>
122
123	* Makefile.am: rename some headers to avoid conflict with possible
124	system headers
125
1262000-12-06  Johan Danielsson  <joda@pdc.kth.se>
127
128	* vis.c: make sure _DIAGASSERT is defined
129
130	* unvis.c: make sure _DIAGASSERT is defined
131
132	* Makefile.am: unvis.c, and vis.h
133
134	* vis.h: vis.h from NetBSD
135
136	* unvis.c: unvis from NetBSD
137
138	* roken.h.in: cleanup previous
139
140	* roken-common.h: make `extern "C"' into a macro, this make emacs
141	much happier
142
143	* vis.c: strvis implementation from NetBSD
144
145	* roken.h.in: add prototypes for strvis*
146
1472000-12-05  Johan Danielsson  <joda@pdc.kth.se>
148
149	* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
150	macro
151
152	* getifaddrs.c: free some memory
153
1542000-12-04  Johan Danielsson  <joda@pdc.kth.se>
155
156	* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
157
158	* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
159
1602000-10-08  Assar Westerlund  <assar@sics.se>
161
162	* mini_inetd.c (mini_inetd): check that fds are not too large to
163	select on
164
1652000-09-24  Assar Westerlund  <assar@sics.se>
166
167	*  esetenv.c: new file/function
168
1692000-08-16  Assar Westerlund  <assar@sics.se>
170
171	* Makefile.am: bump version to 10:0:1
172
1732000-08-10  Assar Westerlund  <assar@sics.se>
174
175	* mini_inetd.c (accept_it): type-correctness on parameters to
176	accept
177
1782000-08-07  Johan Danielsson  <joda@pdc.kth.se>
179
180	* roken.h.in: add proto compat for getsockname
181
1822000-08-04  Johan Danielsson  <joda@pdc.kth.se>
183
184	* write_pid.c: conditionalise pidfile
185
186	* write_pid.c: add pidfile function
187
1882000-07-25  Johan Danielsson  <joda@pdc.kth.se>
189
190	* Makefile.am: bump version to 9:0:0
191
192	* warnerr.c: add get_progname
193
1942000-07-24  Assar Westerlund  <assar@sics.se>
195
196	* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
197	reverse resolving to see if there's a fuller name there.  don't
198	use just-freed memory
199
2002000-07-22  Assar Westerlund  <assar@sics.se>
201
202	* xdbm.h: do not define ndbm functions in terms of dbm functions
203	if we're using db
204
2052000-07-20  Assar Westerlund  <assar@sics.se>
206
207	* rtbl.c (rtbl_format): avoid printing an empty row at the end
208
2092000-07-19  Johan Danielsson  <joda@pdc.kth.se>
210
211	* Makefile.am: make this compatible with `make dist'
212
213	* Makefile.am: revert version number for now
214
2152000-07-18  Johan Danielsson  <joda@pdc.kth.se>
216
217	* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
218
2192000-07-17  Johan Danielsson  <joda@pdc.kth.se>
220
221	* Makefile.am: set ACLOCAL_AMFLAGS
222
2232000-07-15  Johan Danielsson  <joda@pdc.kth.se>
224
225	* getaddrinfo_hostspec.c: add new function that takes socktype
226	hint as parameter
227
2282000-07-09  Assar Westerlund  <assar@sics.se>
229
230	* rtbl.c (rtbl_add_column): initialize `col' completely
231
232	* configure.in: bring headers and functions more in-line with
233	what's actually being used
234
2352000-07-08  Johan Danielsson  <joda@pdc.kth.se>
236
237	* roken.h.in: declare ether_addr and sockaddr_dl for AIX
238
239	* rtbl.{c,h}: simple table functions
240
2412000-07-08  Assar Westerlund  <assar@sics.se>
242
243	* configure.in (AM_INIT_AUTOMAKE): bump version to 10
244	* configure.in (AC_BROKEN): add strsep_copy
245	* Makefile.am (ACLOCAL): fetch files from cf
246
2472000-07-01  Assar Westerlund  <assar@sics.se>
248
249	* roken-common.h (pid_file_*): fix protos
250
2512000-06-28  Assar Westerlund  <assar@sics.se>
252
253	* getnameinfo_verified.c (getnameinfo_verified): free memory
254	returned from getaddrinfo
255
2562000-06-27  Assar Westerlund  <assar@sics.se>
257
258	* resolve.c: export string_to_type and type_to_string
259	* resolve.c: add key,sig,cert update test-program
260	* resolve.h: add key,sig,cert
261
2622000-06-21  Assar Westerlund  <assar@sics.se>
263
264	* resolve.h: add T_SIG, T_KEY
265	* resolve.c: add SIG and KEY
266	* Makefile.am (libroken_la_SOURCES): add environment.c and
267	write_pid.c
268
269	* write_pid.c: new file for writing a pid file.
270
271	* environment.c: new file with functionality for reading
272	/etc/environment.  From Ake Sandgren <ake@cs.umu.se>
273
2742000-06-12  Johan Danielsson  <joda@pdc.kth.se>
275
276	* strsep_copy.c: strsep, but with const stringp so returns string
277	in separate buffer
278
2792000-05-23  Assar Westerlund  <assar@sics.se>
280
281	* vsyslog.c (vsyslog): calculate length of new format string
282	correctly
283
2842000-05-22  Johan Danielsson  <joda@pdc.kth.se>
285
286	* getusershell.c: implment the AIX version use
287	/etc/security/login.cfg
288
2892000-05-21  Assar Westerlund  <assar@sics.se>
290
291	* vsyslog.c (vsyslog): actually handle `%m'
292
2932000-05-15  Assar Westerlund  <assar@sics.se>
294
295	* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
296
297	* roken-common.h: moved __attribute__ to roken.h.in
298
2992000-04-14  Assar Westerlund  <assar@sics.se>
300
301	* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
302	correct length from `hostspec'.  based on a patch from Love
303	<lha@s3.kth.se>
304
3052000-04-09  Assar Westerlund  <assar@sics.se>
306
307	* xdbm.h: only include one of db.h and the dbm-series
308
3092000-04-05  Assar Westerlund  <assar@sics.se>
310
311	* resolve.c (_resolve_debug): explicitly set to zero.  this moves
312	the variable from bss to data and the dynamic linker on MacOS
313	X/Darwin seems unhappy with stuff in the bss segment.
314
3152000-04-03  Assar Westerlund  <assar@sics.se>
316
317	* Makefile.am: set version to 8:0:3
318
3192000-03-11  Assar Westerlund  <assar@sics.se>
320
321	* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
322	expression that also works on Crays
323
3242000-03-09  Assar Westerlund  <assar@sics.se>
325
326	* getarg.c (arg_match_short): backup optind when there's a missing
327	argument so that the error can point at the flag and not the
328	non-existant argument
329
3302000-03-03  Assar Westerlund  <assar@sics.se>
331
332	* Makefile.in (SOURCES): add timeval.c
333	* Makefile.am (libroken_la_SOURCES): add timeval.c
334	* timeval.c: new file
335
3362000-02-19  Assar Westerlund  <assar@sics.se>
337
338	* Makefile.am: set version to 7:1:2
339	
3402000-02-16  Assar Westerlund  <assar@sics.se>
341
342	* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
343	transmitted as ints
344	(according to the integer protomotion rules) in variable arguments
345	lists.  Therefore, we should not call va_arg with short but rather
346	with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
347	original bug report
348
3492000-02-13  Assar Westerlund  <assar@sics.se>
350
351	* Makefile.am: bump version to 7:0:2
352
353	* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
354	* getarg.c (mandoc_template): better man-stuff for negative
355	options
356
3572000-02-07  Assar Westerlund  <assar@sics.se>
358
359	* Makefile.am: set version to 6:0:1
360
3612000-02-06  Assar Westerlund  <assar@sics.se>
362
363	* xdbm.h: hopefully catch a few more declarations by including
364	<ndbm.h> even if <db.h> was found
365
3662000-01-26  Assar Westerlund  <assar@sics.se>
367
368	* mini_inetd.c (mini_inetd): separate number of allocated sockets
369	and number of actual ones
370	* mini_inetd.c (mini_inetd): count sockets properly.  and fail if
371	we cannot bind any
372	* mini_inetd.c (mini_inetd): make failing to create a socket
373	non-fatal
374
3752000-01-09  Assar Westerlund  <assar@sics.se>
376
377 	* Makefile.am(libroken_la_SOURCES): add strcollect.c
378	* Makefile.in: add strcollect.[co]
379	* simple_exec.c: use vstrcollect
380	* roken-common.h (_PATH_DEV): add
381	(strcollect, vstrcollect): add prototypes
382	* strcollect.c: new file.  functions for collapsing an `va_list'
383	into an `char **'
384
3852000-01-06  Assar Westerlund  <assar@sics.se>
386
387	* Makefile.am: bump version to 5:0:0
388
3891999-12-30  Assar Westerlund  <assar@sics.se>
390
391	* Makefile.am (strpftime_test_SOURCES): correct source file name
392
393	* roken.h.in (sockaddr_storage): change padding so that we have
394 	one char[] of pad and then an unsigned long[] (for alignment and
395 	padding).  this works much better in practice.
396
3971999-12-22  Assar Westerlund  <assar@sics.se>
398
399	* roken.h.in (sockaddr_storage): drop leading underscore on
400 	`public' fields.  this was the consensus on the ipng mailing list
401
4021999-12-21  Assar Westerlund  <assar@sics.se>
403
404	* Makefile.am (strpftime-test): define sources to avoid having
405 	'.o'
406	* Makefile.am (print_version.h): use $(EXEEXT)
407	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
408 	et al
409
4101999-12-20  Assar Westerlund  <assar@sics.se>
411
412	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
413
414	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
415	gethostbyname(2)
416
4171999-12-16  Assar Westerlund  <assar@sics.se>
418
419	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
420
421	* roken.h.in (struct sockaddr_storage): redefine with the example
422 	code from rfc2553
423
424	* getaddrinfo.c (get_null): set loopback with correct endianess
425	for v4.  dunno about v6.
426
4271999-12-13  Assar Westerlund  <assar@sics.se>
428
429	* roken.h.in: add prototypes for str[pf]time
430
431	* signal.c: macosx = rhapsody ~= nextstep also can't handle
432 	various definitions of the same symbol.
433
4341999-12-12  Assar Westerlund  <assar@sics.se>
435
436	* Makefile.am: bump version to 4:1:0
437
4381999-12-06  Assar Westerlund  <assar@sics.se>
439
440	* Makefile.am: bump version to 4:0:0
441
4421999-12-05  Assar Westerlund  <assar@sics.se>
443
444	* Makefile.in: replace inaddr2str with getnameinfo_verified
445
446	* roken-common.h (INADDR_LOOPBACK): add fallback definition
447
448	* roken-common.h: move getnameinfo_verified to roken.h.in
449	* roken.h.in (inaddr2str): remove
450	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
451	* roken-common.h (getnameinfo_verified): add prototype
452	* getnameinfo_verified.c: new file
453
4541999-12-04  Assar Westerlund  <assar@sics.se>
455
456	* roken-common.h: add constants for getaddrinfo, getnameinfo
457	* roken.h.in (socklen_t): make independent of sockaddr_storage
458	(AI_*, NI_*, EAI_*): move to roken-common.h
459
4601999-12-03  Assar Westerlund  <assar@sics.se>
461
462	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
463	* getaddrinfo.c (const_v*): no sizeof(sizeof())
464	* getaddrinfo.c (add_hostent): search for the canonical name among
465	all aliases
466	(getaddrinfo): handle AI_NUMERICHOST correctly
467	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
468	getaddrinfo, getnameinfo, gai_strerror
469	(getaddrinfo_test): add
470	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
471	getnameinfo, gai_strerror
472	(getaddrinfo_test): add
473	* roken.h.in: arpa/inet.h: include
474	(socklen_t): add
475	(struct addrinfo): add
476	(EAI_*): add
477	(NI_*): add
478	(AI_*): add
479	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
480	* getnameinfo.c: new file
481	* getaddrinfo-test.c: new file
482	* gai_strerror.c: new file
483	* getaddrinfo.c: new file
484	* freeaddrinfo.c: new file
485
4861999-11-25  Assar Westerlund  <assar@sics.se>
487
488	* getopt.c (getopt): return -1 instead of EOF.  From
489	<art@stacken.kth.se>
490
4911999-11-13  Assar Westerlund  <assar@sics.se>
492
493	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
494	world
495
496	* getcap.c: make sure to use db only if we have both the library
497	and the header file
498	
4991999-11-12  Assar Westerlund  <assar@sics.se>
500
501	* getarg.h: add arg_counter
502	* getarg.c: add a new type of argument: `arg_counter' re-organize
503	the code somewhat
504	
505	* Makefile.am: add strptime and strpftime-test
506	
507	* snprintf.c (xyzprintf): try to do the right thing with an % at
508	the end of the format string
509	
510	* strptime.c (strptime): implement '%U', '%V', '%W'
511	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
512	
513	* strftime.c (strftime): correct %E and %O handling.  do something
514 	reasonable with "...%"
515
516	* strftime.c: replace the BSD implementation by one of our own
517	coding
518
519	* strptime.c : new file
520	* strpftime-test.c: new file
521
5221999-11-07  Assar Westerlund  <assar@sics.se>
523
524	* parse_bytes-test.c: new file
525
526	* Makefile.am: add parse_bytes-test
527
528	* parse_units.c (parse_something): try to handle the case of no
529 	value specified a little bit better
530
5311999-11-04  Assar Westerlund  <assar@sics.se>
532
533	* Makefile.am: bump version to 3:2:0
534
5351999-10-30  Assar Westerlund  <assar@sics.se>
536
537	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
538 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
539 	Rini <trini@kernel.crashing.org>
540
5411999-10-28  Assar Westerlund  <assar@sics.se>
542
543	* Makefile.am: bump version to 3:1:0
544
545	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
546 	having to have that definition.  this is the easy way out instead
547 	of getting the definition here where it's needed.  flame me.
548
549Fri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
550
551	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
552 	though it should), use getspnam().
553
5541999-10-20  Assar Westerlund  <assar@sics.se>
555
556	* Makefile.am: set version to 3:0:0
557
5581999-10-18  Johan Danielsson  <joda@pdc.kth.se>
559
560	* getarg.3: document arg_collect
561
562	* getarg.c: change the way arg_collect works; it's still quite
563	horrible though
564
565	* getarg.h: change type of the collect function
566
5671999-10-17  Assar Westerlund  <assar@sics.se>
568
569	* xdbm.h: undo last commit
570
571	* xdbm.h: reorder db includes
572
5731999-10-10  Assar Westerlund  <assar@sics.se>
574
575	* socket.c: const-ize and comment
576
577	* net_write.c: const-ize
578
579	* base64.c: const-ize
580
5811999-10-06  Assar Westerlund  <assar@sics.se>
582
583	* getarg.c (getarg): also set optind when returning error
584
5851999-09-26  Assar Westerlund  <assar@sics.se>
586
587	* Makefile.am: add parse_bytes.[ch]
588
5891999-09-24  Johan Danielsson  <joda@pdc.kth.se>
590
591	* getarg.3: getarg manpage
592
593	* getarg.{c,h}: add a callback type to do more complicated processing
594
595	* getarg.{c,h}: add floating point support
596
5971999-09-16  Assar Westerlund  <assar@sics.se>
598
599	* strlcat.c (strlcat): call strlcpy
600
601	* strlcpy.c: update name and prototype
602
603	* strlcat.c: update name and prototype
604
605	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
606
607	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
608
609	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
610
611 	* strcpy_truncate.c (strcpy_truncate): change return value to be
612 	the length of `src'
613
6141999-08-16  Assar Westerlund  <assar@sics.se>
615
616	* getcap.c: try to make this work on systems with DB
617
6181999-08-16  Johan Danielsson  <joda@pdc.kth.se>
619
620	* getcap.c: protect from db-less systems
621
6221999-08-09  Johan Danielsson  <joda@pdc.kth.se>
623
624	* simple_exec.c: add simple_exec{ve,le}
625
626	* getcap.c: getcap from NetBSD
627
6281999-08-06  Assar Westerlund  <assar@sics.se>
629
630	* roken.h.in (sockaddr_storage): cater for those that have
631 	v6-support also
632
6331999-08-05  Assar Westerlund  <assar@sics.se>
634
635	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
636
6371999-08-04  Assar Westerlund  <assar@sics.se>
638
639	* roken-common.h: add shutdown constants
640
641	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
642 	protocol not being supported
643
6441999-08-01  Assar Westerlund  <assar@sics.se>
645
646	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
647
6481999-07-29  Assar Westerlund  <assar@sics.se>
649
650	* mini_inetd.c (mini_inetd): fix my stupid bugs
651
6521999-07-28  Assar Westerlund  <assar@sics.se>
653
654	* roken-common.h: add socket* functions
655
656	* Makefile.am (libroken_la_SOURCES): add socket.c
657
658	* socket.c: new file, originally from appl/ftp/common
659
660	* Makefile.am: set version to 2:0:2
661
662	* roken.h.in (inet_pton): add prototype
663
664	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
665
666	* inet_pton.c: new file
667
668	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
669 	have it
670
6711999-07-27  Assar Westerlund  <assar@sics.se>
672
673	* mini_inetd.c: support IPv6
674
6751999-07-26  Assar Westerlund  <assar@sics.se>
676
677	* Makefile.am: set version to 1:0:1
678
679	* roken.h.in (inet_ntop): add prototype
680
681 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
682
683	* inet_ntop.c: new file
684
685	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
686
687	* Makefile.am: move some files from libroken_la_SOURCES to
688 	EXTRA_libroken_la_SOURCES
689
690	* snprintf.c: some signed vs unsigned casts
691	
6921999-07-24  Assar Westerlund  <assar@sics.se>
693
694	* roken.h.in (struct sockaddr_storage): define it needed
695
6961999-07-19  Assar Westerlund  <assar@sics.se>
697
698	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
699 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
700	
701	* roken.h.in: <netdb.h>: include
702	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
703	prototypes
704
705	* roken-common.h: new constants for getipnodeby*
706
707	* Makefile.in (SOURCES): add freehostent, copyhostent,
708 	getipnodebyname, getipnodebyaddr
709
710	* freehostent.c: new file
711
712	* copyhostent.c: new file
713
714	* getipnodebyaddr.c: new file
715
716	* getipnodebyname.c: new file
717
7181999-07-13  Assar Westerlund  <assar@sics.se>
719
720	* roken.h.in (k_getpwnam): update prototype
721
722	* k_getpwnam.c (k_getpwnam): const-ize
723
724	* get_default_username.c (get_default_username): a better way of
725 	guessing when the user has su:ed
726
7271999-07-08  Johan Danielsson  <joda@pdc.kth.se>
728
729	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
730	<jhutz+@cmu.edu>
731
7321999-07-06  Assar Westerlund  <assar@sics.se>
733
734	* readv.c (readv): typo
735
7361999-07-03  Assar Westerlund  <assar@sics.se>
737
738	* writev.c (writev): error check malloc properly
739
740	* sendmsg.c (sendmsg): error check malloc properly
741
742	* resolve.c (parse_reply): error check malloc properly
743
744	* recvmsg.c (recvmsg): error check malloc properly
745
746	* readv.c (readv): error check malloc properly
747
7481999-06-23  Assar Westerlund  <assar@sics.se>
749
750	* parse_units.c (acc_units): move the special case of 0 -> 1 to
751 	parse_something to avoid having it happen at the end of the string
752
7531999-06-15  Assar Westerlund  <assar@sics.se>
754
755	* Makefile.in: add get_default_username
756
757	* get_default_username.c: new file
758
759	* roken.h.in (get_default_username): add prototype
760
761	* Makefile.am: add get_default_username
762
7631999-05-08  Assar Westerlund  <assar@sics.se>
764
765	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
766
767	* strnlen.c (strnlen): update prototype
768
769	* Makefile.am: strndup.c: add
770
771	* Makefile.in: strndup.c: add
772
773	* roken.h.in (strndup): add
774	(strnlen): update prototype
775
776	* strndup.c: new file
777
778Fri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
779
780	* roken.h.in: include strsep prototype if needed
781
782Thu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
783
784	* Makefile.am: make make-print-version.o depend on version.h
785
786Wed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
787
788	* Makefile.am: make it compile w/o krb4
789
790Sat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
791
792	* snprintf.c (vasnprintf): correct check if realloc returns NULL
793
794Sat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
795
796	* Makefile.am: link print_version with -ldes to avoid unresolved
797 	references if -lkrb is shared
798
799Sat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
800
801	* roken-common.h (eread, ewrite): add
802
803	* simple_exec.c: add <roken.h>
804
805Fri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
806
807	* Makefile.in: add eread, ewrite
808
809	* eread.c, ewrite.c: new files
810
811	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
812
813Fri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
814
815	* Makefile.am: add version-info
816
817Thu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
818
819	* Makefile.am: remove include_dir hack
820
821	* Makefile.am: parse_units.h
822
823	* Makefile.am: include Makefile.am.common
824
825Sat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
826
827	* Makefile.in (SOURCES): add glob.c
828
829Thu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
830
831	* iruserok.c: move innetgr() to separate file
832
833	* innetgr.c: move innetgr() to separate file
834
835	* hstrerror.c (hstrerror): add const to return type
836
837	* erealloc.c: fix types in format string
838
839	* emalloc.c: fix types in format string
840
841Wed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
842
843	* resolve.c: ugly fix for crays
844
845Mon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
846
847	* roken.h.in: protos for {un,}setenv
848
8491999-02-16  Assar Westerlund  <assar@sics.se>
850
851	* Makefile.in (SOURCES): add fnmatch
852
853	* roken-common.h (abs): add
854
855Sat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
856
857	* emalloc.c, erealloc.c, estrup.c: new files
858
859	* roken.h.in (mkstemp, gethostname): also includes prototypes if
860 	they are needed.
861
8621998-12-23  Assar Westerlund  <assar@sics.se>
863
864	* roken.h.in: mkstemp: add prototype
865
8661998-12-20  Assar Westerlund  <assar@sics.se>
867
868	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
869
870	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
871
872	* roken-common.h: __attribute__: check for autoconf'd
873	HAVE___ATTRIBUTE__ instead of GNUC
874
875Sun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
876
877	* parse_units.c (parse_something): func is called with val == 0 if
878 	no unit was given
879	(acc_flags, acc_units): update to new standard
880
881Fri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
882
883	* resolve.c (stot): constify
884	(type_to_string): always declare
885	(dns_lookup_int): correct debug output
886
887Thu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
888
889	* resolve.c (dns_lookup_int): send rr_class to res_search
890
891Thu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
892
893	* resolve.c: some cleanup
894
895	* resolve.h: add T_NAPTR
896
897Sun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
898
899	* Makefile.in (WFLAGS): set
900
901	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
902
903	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
904
905Tue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
906
907	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
908
909Fri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
910
911	* vsyslog.c: asprintf -> vasprintf
912
913Tue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
914
915	* getarg.h (arg_printusage): new signature
916
917	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
918 	__progname.
919
920Sun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
921
922	* Makefile.am: net_{read,write}.c
923
924Fri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
925
926	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
927 	EINTR
928
929Thu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
930
931	* Makefile.am: net_{read,write}.c
932
933Wed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
934
935	* simple_exec.c (simple_execlp): initialize `argv'
936
937Mon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
938
939	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
940 	use a copy instead
941
942Fri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
943
944	* roken.h.in (net_write, net_read): add prototypes
945
946	* Makefile.in: net_{read,write}.c: add
947
948	* net_{read,write}.c: new files
949
950Tue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
951
952	* roken.h.in (issuid): add
953
954	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
955 	fields
956
957Sun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
958
959	* getarg.c (mandoc_template): Put short and long options in
960 	SYNOPSIS within the same [ ] pair.
961
962Sat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
963
964	* getarg.c (arg_printusage): try to keep options shorter than
965 	column width
966
967	* get_window_size.c (get_window_size): check COLUMNS and LINES
968
969Fri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
970
971	* getarg.c (mandoc_template): Put short and long options in
972 	DESCRIPTION on the same line.
973
974	* getarg.c (arg_match_long): make sure you only get an exact match
975 	if the strings are the same length
976
977Thu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
978
979	* roken.awk: stupid cray awk wants \#
980
981Fri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
982
983	* print_version.c (print_version): according to ISO/ANSI C the
984 	elements of `arg' are not constant and therefore not settable at
985 	compile-time.  Set the at run-time instead.
986
987Sun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
988
989	* roken.h.in: include paths.h
990
991Sun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
992
993	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
994 	make happy
995
996Thu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
997
998	* simple_exec.c: Simple fork+exec system() replacement.
999
1000Fri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1001
1002	* roken_gethostby.c: Make `roken_gethostby_setup' take url-like
1003 	specification instead of split up versions. Makes it easier for
1004 	calling applications.
1005
1006	* roken_gethostby.c: Another miracle of the 20th century:
1007 	gethostby* over HTTP.
1008
1009Sat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
1010
1011	* parse_time.c (unparse_time_approx): new function that calls
1012 	`unparse_units_approx'
1013
1014	* parse_units.c (unparse_units_approx): new function that will
1015 	only print the first unit.
1016
1017	* Makefile.in: include parse_{time,units}
1018
1019Thu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
1020
1021	* parse_time.c (print_time_table): don't return a void value.
1022
1023Tue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1024
1025	* getarg.c (mandoc_template): Change date format to full month
1026 	name, and day of month without leading zero.
1027
1028Thu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
1029
1030	* getarg.c: Fix long form of negative flags.
1031
1032Mon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1033
1034	* roken.h.in: Include <err.h>, to get linux __progname.
1035
1036Sun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
1037
1038	* parse_time.c (print_time_table): new function
1039
1040	* parse_units.c (print_flags_table, print_units_table): new
1041 	functions.
1042
1043Thu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
1044
1045	* iruserok.c: moved here.
1046
1047	* snprintf.c (sn_append_char): don't write any terminating zero.
1048	(as_reserve): don't loop.  better heuristic for how much space to
1049 	realloc.
1050	(vasnprintf): simplify initializing to one.
1051
1052Sun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1053
1054	* getarg.c: Add mandoc help back-end to getarg.
1055
1056Wed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1057
1058	* verr.c, verrx.c: Fix warnings by moving exit from.
1059
1060Tue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1061
1062	* parse_units.c: Change the list of separating characters (between
1063 	units) to comma, space, and tab, removing digits. Having digits in
1064 	this list makes a flag like `T42 generate a parse error. This
1065 	change makes `17m3s' an invalid time-spec (you need a space).
1066
1067Tue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
1068
1069	* roken.h: add <sys/socket.h>
1070
1071Sun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1072
1073	* fnmatch.c: Add fnmatch from NetBSD
1074
1075Sun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
1076
1077	* parse_units.c (parse_something): ignore white-space and ','
1078
1079Mon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
1080	
1081	* roken.h: fclose prototype
1082
1083	* roken.h: add prototype for vsyslog
1084
1085	* Makefile.in: add some more source files to make soriasis make
1086 	happy
1087
1088Sat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
1089
1090	* roken.h: include <sys/uio.h> and <errno.h>.
1091	prototypes for readv and writev
1092
1093	* readv.c, writev.c: new files
1094
1095Wed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
1096
1097	* roken.h: Add ugly macros for openlog, gethostbyname,
1098 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
1099 	default definition of MAXPATHLEN
1100