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