1178825Sdfr2008-01-12  Love H�rnquist �strand  <lha@it.su.se>
2127808Snectar
3178825Sdfr	* Makefile.am: add missing files.
4178825Sdfr
5178825Sdfr2007-08-09  Love H�rnquist �strand  <lha@it.su.se>
6127808Snectar	
7178825Sdfr	* strftime.c: rewrite str[pf]time for testing.
8178825Sdfr
9178825Sdfr	* strptime.c: rewrite str[pf]time for testing.
10178825Sdfr
11178825Sdfr	* Makefile.am: add TEST_STRPFTIME
12127808Snectar	
13178825Sdfr2007-07-17  Love H�rnquist �strand  <lha@it.su.se>
14127808Snectar
15178825Sdfr	* ndbm_wrap.c (dbm_get): set dsize to 0 on failure.
16178825Sdfr
17178825Sdfr	* Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST
18178825Sdfr
19178825Sdfr	* ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure.
20178825Sdfr
21178825Sdfr2007-07-16  Love H�rnquist �strand  <lha@it.su.se>
22178825Sdfr
23178825Sdfr	* socket_wrapper.c: Implement swrap_dup too.
24178825Sdfr
25178825Sdfr	* socket_wrapper.c: Add dup(dummy stub) and dup2(real).
26178825Sdfr
27178825Sdfr	* socket_wrapper.h: Add dup(dummy stub) and dup2(real).
28178825Sdfr
29178825Sdfr2007-07-10  Love H�rnquist �strand  <lha@it.su.se>
30178825Sdfr
31178825Sdfr	* Makefile.am: New library version.
32178825Sdfr
33178825Sdfr2007-06-19  Love H�rnquist �strand  <lha@it.su.se>
34178825Sdfr
35178825Sdfr	* roken_gethostby.c: set proxy_port to 0 to pacify BEAM.
36178825Sdfr
37178825Sdfr2007-06-07  Love H�rnquist �strand  <lha@it.su.se>
38178825Sdfr
39178825Sdfr	* use "roken.h" consitantly
40178825Sdfr
41178825Sdfr2007-06-03  Love H�rnquist �strand  <lha@it.su.se>
42178825Sdfr
43178825Sdfr	* test-readenv.c: Free environment.
44178825Sdfr
45178825Sdfr	* environment.c (free_environment): free result of
46178825Sdfr	read_environment().
47178825Sdfr
48178825Sdfr	* roken-common.h (free_environment): free result of
49178825Sdfr	read_environment().
50127808Snectar	
51178825Sdfr2007-05-10  Love H�rnquist �strand  <lha@it.su.se>
52178825Sdfr	
53178825Sdfr	* fnmatch.c: Do recursive call to rk_fnmatch
54178825Sdfr	
55178825Sdfr2007-01-12  Love H�rnquist �strand  <lha@it.su.se>
56178825Sdfr
57178825Sdfr	* resolve.c: Try harder to call res_ndestroy().
58178825Sdfr	
59178825Sdfr2006-12-27  Love H�rnquist �strand  <lha@it.su.se>
60178825Sdfr	
61178825Sdfr	* Makefile.am: make sure built headers are copied to the
62178825Sdfr	${build_topdir}/include
63178825Sdfr	
64178825Sdfr2006-12-15  Love H�rnquist �strand  <lha@it.su.se>
65178825Sdfr
66178825Sdfr	* unvis.c: Use internal version of rk_unvis
67178825Sdfr
68178825Sdfr	* unvis.c: Always include rk_versions.
69178825Sdfr
70178825Sdfr	* vis.c: Always include rk_versions.
71178825Sdfr
72178825Sdfr	* vis.hin: Fix argument for unvis and strsvisx.
73178825Sdfr	
74178825Sdfr	* unvis.c: prefix unvis functions with rk_, and prototypes.
75178825Sdfr	
76178825Sdfr2006-12-13  Love H�rnquist �strand  <lha@it.su.se>
77178825Sdfr
78178825Sdfr	* vis.c: Provide some prototypes for the rk_vis functions.
79178825Sdfr	
80178825Sdfr2006-12-11  Love H�rnquist �strand  <lha@it.su.se>
81178825Sdfr	
82178825Sdfr	* ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol
83178825Sdfr	renaming.
84178825Sdfr
85178825Sdfr	* fnmatch.c: Prefix fnmatch functions with rk_ and do symbol
86178825Sdfr	renaming.
87178825Sdfr
88178825Sdfr	* vis.hin: Prefix strvis functions with rk_ and do symbol
89178825Sdfr	renaming.
90178825Sdfr
91178825Sdfr	* vis.c: prefix strvis functions with rk_
92178825Sdfr
93178825Sdfr	* Makefile.am: Install extra posix headers in <roken/...> to avoid
94178825Sdfr	dup headers.
95178825Sdfr	
96178825Sdfr2006-11-09  Love H�rnquist �strand  <lha@it.su.se>
97178825Sdfr
98178825Sdfr	* socket_wrapper.c (swrap_sendto): fail on to unknown si->type
99178825Sdfr	
100178825Sdfr2006-11-06  Love H�rnquist �strand  <lha@it.su.se>
101178825Sdfr	
102178825Sdfr	* socket_wrapper.c: A few fixes to have Heimdal pass the make
103178825Sdfr	check under socket_wrapper. The first is a missing 'break' before
104178825Sdfr	the (heimdal specific) IPv6 support. The second works around the
105178825Sdfr	fact that sendto() *may* object to a destination being specified.
106178825Sdfr	It appears to be that on Linux, this objects (with EISCONN) for
107178825Sdfr	unix stream sockets, but not for TCP sockets. The alternate fix
108178825Sdfr	would be to have the KDC use 'send()' in this case. Andrew Bartlett.
109178825Sdfr
110178825Sdfr2006-10-20  Love H�rnquist �strand  <lha@it.su.se>
111178825Sdfr
112178825Sdfr	* Makefile.am: split dist and nondist HEADERS
113178825Sdfr	
114178825Sdfr2006-10-19  Love H�rnquist �strand  <lha@it.su.se>
115178825Sdfr	
116178825Sdfr	* roken.h.in: Add timegm glue.
117178825Sdfr
118178825Sdfr	* timegm.c: add timegm()
119178825Sdfr	
120178825Sdfr	* socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX
121178825Sdfr	6.4.
122178825Sdfr	
123178825Sdfr	* socket_wrapper.c: Maybe include <sys/time.h> and/or maybe
124178825Sdfr	include <time.h>.
125178825Sdfr	
126178825Sdfr2006-10-17  Love H�rnquist �strand  <lha@it.su.se>
127178825Sdfr
128178825Sdfr	* roken.h.in: Revert prevois for now, the problem is that we have
129178825Sdfr	to include symbols unconditionally, even for those that just needs
130178825Sdfr	protos.
131178825Sdfr
132178825Sdfr	* roken.h.in: Provide symbol renaming, let see what breaks.
133178825Sdfr
134178825Sdfr	* socket_wrapper.c: Maybe include <sys/filio.h>.
135178825Sdfr	
136178825Sdfr2006-10-10  Love H�rnquist �strand  <lha@it.su.se>
137178825Sdfr
138178825Sdfr	* socket_wrapper.c: more consitity check, remove dead code, add
139178825Sdfr	socket length code, add missing break, make diffrent chars of type
140178825Sdfr	type files for case-insensitiv filesystems
141178825Sdfr
142178825Sdfr	* socket_wrapper.c: try even hard to not use socket wrapper for
143178825Sdfr	socket_wrapper itself.
144178825Sdfr
145178825Sdfr	* socket_wrapper.c: Force no socket wrapper for socket_wrapper
146178825Sdfr	itself.
147178825Sdfr	
148178825Sdfr2006-10-09  Love H�rnquist �strand  <lha@it.su.se>
149178825Sdfr
150178825Sdfr	* socket_wrapper.c: Maybe include <config.h>.
151178825Sdfr
152178825Sdfr	* socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6.
153178825Sdfr
154178825Sdfr	* socket_wrapper.c: Use a symbol for the v6 address.
155178825Sdfr
156178825Sdfr	* socket_wrapper.c: Add IPv6 suppport.
157178825Sdfr	
158178825Sdfr	* socket_wrapper.[ch]: Include socket wrapper from samba4 (rev
159178825Sdfr	19179).
160178825Sdfr	
161178825Sdfr2006-10-07 Love H�rnquist �strand <lha@it.su.se>
162178825Sdfr
163178825Sdfr	* Makefile.am: Add build_HEADERZ to EXTRA_DIST
164178825Sdfr
165178825Sdfr	* Makefile.am: Add man_MANS to EXTRA_DIST
166178825Sdfr
167178825Sdfr	* Makefile.am: Add to all objects BUILD_ROKEN_LIB.
168178825Sdfr	
169178825Sdfr2006-09-16  Love H�rnquist �strand  <lha@it.su.se>
170178825Sdfr
171178825Sdfr	* roken.h.in: Add samba socket wrapper fragment.
172178825Sdfr
173178825Sdfr	* Makefile.am: Add samba socket wrapper fragment.
174178825Sdfr	
175178825Sdfr2006-09-05  Love H�rnquist �strand  <lha@it.su.se>
176178825Sdfr
177178825Sdfr	* snprintf.c: reapply patch that went away in last commit
178178825Sdfr	
179178825Sdfr	* snprintf-test.c: unbreak from previous commit
180178825Sdfr
181178825Sdfr	* snprintf.c: Add size_t formater (z modifer).
182178825Sdfr
183178825Sdfr	* snprintf-test.c: add tests for size_t printf formater
184178825Sdfr	
185178825Sdfr2006-06-30  Love H�rnquist �strand  <lha@it.su.se>
186178825Sdfr
187178825Sdfr	* rtbl.h: Add extern "C" for C++.
188178825Sdfr
189178825Sdfr	* rtbl.c: Add rtbl_add_column_entryv functions, printf like
190178825Sdfr
191178825Sdfr	* rtbl.h: Add rtbl_add_column_entryv functions, printf like
192178825Sdfr	
193178825Sdfr2006-06-22  Love H�rnquist �strand  <lha@it.su.se>
194178825Sdfr	
195178825Sdfr	* glob.hin: Add extern "C" for C++. From joerg at britannica dot
196178825Sdfr	bec dot de
197178825Sdfr
198178825Sdfr	* fnmatch.hin: Add extern "C" for C++. From joerg at britannica
199178825Sdfr	dot bec dot de
200178825Sdfr	
201178825Sdfr2006-04-20  Love H�rnquist �strand  <lha@it.su.se>
202178825Sdfr	
203178825Sdfr	* fnmatch.hin (fnmatch): CPP rename to rk_fnmatch
204178825Sdfr	
205178825Sdfr2006-04-14  Love H�rnquist �strand  <lha@it.su.se>
206178825Sdfr	
207178825Sdfr	* resolve.c (dns_srv_order): change a if (ptr == NULL) continue
208178825Sdfr	into a assert(ptr != NULL) since it could never happen, found by
209178825Sdfr	the IBM code checker (beam).  Thanks to Florian Krohm for
210178825Sdfr	explaining it.
211178825Sdfr	
212178825Sdfr2006-04-02  Love H�rnquist �strand  <lha@it.su.se>
213178825Sdfr
214178825Sdfr	* roken_gethostby.c (roken_gethostby): make addr_list one larger
215178825Sdfr	to avoid a off-by-one error. Found by IBM checker.
216178825Sdfr
217178825Sdfr	* resolve.c: Plug memory leak found by IBM checker (and try to
218178825Sdfr	please it).
219178825Sdfr	
220178825Sdfr2006-02-06  Love H�rnquist �strand  <lha@it.su.se>
221178825Sdfr	
222178825Sdfr	* resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre
223178825Sdfr	
224178825Sdfr2006-01-13  Love H�rnquist �strand  <lha@it.su.se>
225178825Sdfr	
226178825Sdfr	* getcap.c: Don't use db support unless its build into libc but we
227178825Sdfr	dont check for that now, so just disable the code. This removes
228178825Sdfr	the dependency on libdb for roken, and that is a good thing since
229178825Sdfr	it causes problem with nss plugins that uses DB3 that also
230178825Sdfr	provides the same symbol, but with a diffrent ABI. so when the
231178825Sdfr	application calls getpwnamn() and it linked to roken, it craches
232178825Sdfr	in the nss functions.
233178825Sdfr	
234178825Sdfr2006-01-09  Love H�rnquist �strand  <lha@it.su.se>
235178825Sdfr
236178825Sdfr	* hex.c (hex_decode): support decoding odd number of characters,
237178825Sdfr	in the odd len case, the first character ends up in the first byte
238178825Sdfr	in the lower nibble.
239178825Sdfr
240178825Sdfr	* hex-test.c: Check that we can decode single character hex chars.
241178825Sdfr
242178825Sdfr2005-12-12  Love H�rnquist �strand <lha@it.su.se>
243178825Sdfr
244178825Sdfr	* getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris
245178825Sdfr	large SIOCGIFCONF.
246178825Sdfr	
247178825Sdfr2005-09-28  Love H�rnquist �strand  <lha@it.su.se>
248178825Sdfr
249178825Sdfr	* roken-common.h: Move rk_UNCONST to roken.h.in since it might use
250178825Sdfr	uintptr_t depending on avaibility.
251178825Sdfr
252178825Sdfr	* roken.h.in: Include <stdint.h> if it exists.  If avaiable, use
253178825Sdfr	uintptr_t to define rk_UNCONST.
254178825Sdfr	
255178825Sdfr2005-09-22  Love H�rnquist �strand  <lha@it.su.se>
256178825Sdfr
257178825Sdfr	* roken-common.h: Add rk_dumpdata.
258178825Sdfr	
259178825Sdfr	* dumpdata.c: Add rk_dumpdata() that write a chunk of data into a
260178825Sdfr	file for later processing by some other tool (like asn1_print).
261178825Sdfr	
262178825Sdfr2005-09-13  Love H�rnquist �strand  <lha@it.su.se>
263178825Sdfr
264178825Sdfr	* strptime.c: cast to unsigned char to make sure its not negative
265178825Sdfr	when passing it to is* functions
266178825Sdfr	
267178825Sdfr2005-09-01  Love H�rnquist �strand  <lha@it.su.se>
268178825Sdfr
269178825Sdfr	* socket.c: Add socket_set_ipv6only.
270178825Sdfr
271178825Sdfr	* roken-common.h: Add socket_set_ipv6only, remove some argument
272178825Sdfr	names.
273178825Sdfr	
274178825Sdfr2005-08-25  Love H�rnquist �strand  <lha@it.su.se>
275178825Sdfr
276178825Sdfr	* strpool.c (rk_strpoolprintf): remove debug printf, plug memory
277178825Sdfr	leak
278178825Sdfr	
279178825Sdfr2005-08-23  Love H�rnquist �strand  <lha@it.su.se>
280178825Sdfr
281178825Sdfr	* setprogname.c (setprogname): const poision
282178825Sdfr	
283178825Sdfr	* print_version.c: Removed, moved to libvers.
284178825Sdfr
285178825Sdfr2005-08-22  Love H�rnquist �strand  <lha@it.su.se>
286178825Sdfr
287178825Sdfr	* resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer
288178825Sdfr	that before res_nclose
289178825Sdfr
290178825Sdfr2005-08-12 Love H�rnquist �strand  <lha@it.su.se>
291178825Sdfr
292178825Sdfr	* getaddrinfo-test.c: Rename optind to optidx to avoid shadowing.
293178825Sdfr
294178825Sdfr2005-08-05  Love H�rnquist �strand  <lha@it.su.se>
295178825Sdfr
296178825Sdfr	* gai_strerror.c: sprinkel more const
297178825Sdfr	
298178825Sdfr	* gai_strerror.c, roken.h.in: Make return value of gai_strerror
299178825Sdfr	const to match SUSv3.  Prompted by Stefan Metzmacher change to
300178825Sdfr	Samba.
301178825Sdfr
302178825Sdfr2005-07-19  Love H�rnquist �strand  <lha@it.su.se>
303178825Sdfr
304178825Sdfr	* roken.h.in: Remove parameter names to avoid shadow warnings.
305178825Sdfr
306178825Sdfr2005-07-13  Love H�rnquist �strand  <lha@it.su.se>
307178825Sdfr
308178825Sdfr	* getifaddrs.c (nl_getlist): poll to get messages from kernel, and
309178825Sdfr	retry if the message was lost
310178825Sdfr	(free_nlmsglist): free all linked elements, not just the first one
311178825Sdfr
312178825Sdfr2005-07-08  Love H�rnquist �strand  <lha@it.su.se>
313178825Sdfr
314178825Sdfr	* snprintf-test.c: Check a very simple format string
315178825Sdfr	
316178825Sdfr2005-07-07  Love H�rnquist �strand  <lha@it.su.se>
317178825Sdfr
318178825Sdfr	* roken.h.in: If we have <strings.h> include it, its needed for
319178825Sdfr	strcasecmp() on those platforms that are SUS3/iso c99 strict (like
320178825Sdfr	AIX)
321178825Sdfr
322178825Sdfr	* roken-common.h: remove duplicate ;
323178825Sdfr	
324178825Sdfr2005-07-06  Love H�rnquist �strand  <lha@it.su.se>
325178825Sdfr
326178825Sdfr	* roken-common.h: rk_strpoolprintf first variable identifier is 3
327178825Sdfr
328178825Sdfr2005-06-30  Love H�rnquist �strand  <lha@it.su.se>
329178825Sdfr
330178825Sdfr	* base64.h: remove variable names
331178825Sdfr	
332178825Sdfr2005-06-29  Love H�rnquist �strand  <lha@it.su.se>
333178825Sdfr
334178825Sdfr	* roken-common.h: fix format attribute
335178825Sdfr
336178825Sdfr	* Makefile.am (libroken_la_SOURCES): += strpool.c
337178825Sdfr	
338178825Sdfr	* roken-common.h: add strpool, a printf collector to make it
339178825Sdfr	eaiser to collect strings into one string
340178825Sdfr	
341178825Sdfr	* strpool.c: add strpool, a printf collector to make it eaiser to
342178825Sdfr	collect strings into one string
343178825Sdfr
344178825Sdfr2005-06-23  Love H�rnquist �strand  <lha@it.su.se>
345178825Sdfr
346178825Sdfr	* base64.c: Add const, from Andrew Abartlet <abartlet@samba.org>
347178825Sdfr
348178825Sdfr2005-06-21  Love H�rnquist �strand  <lha@it.su.se>
349178825Sdfr
350178825Sdfr	* strpftime-test.c: test for "%Y%m"
351178825Sdfr
352178825Sdfr	* esetenv.c: unconst
353178825Sdfr
354178825Sdfr	* strptime.c: Write a new parse_number function that is possible
355178825Sdfr	to limit that amount of numbers used, with this strptime can
356178825Sdfr	handle strptime("200505", "%Y%m", &tm);
357178825Sdfr
358178825Sdfr2005-06-16  Love H�rnquist �strand  <lha@it.su.se>
359178825Sdfr
360178825Sdfr	* getaddrinfo.c: avoid shadowing sin
361178825Sdfr	
362178825Sdfr	* resolve-test.c: rename optind to optidx to avoid shadowing
363178825Sdfr	
364178825Sdfr	* strptime.c: UNCONST return value from strptime
365178825Sdfr	
366178825Sdfr	* strftime.c: rk_UNCONST argument mktime
367178825Sdfr	
368178825Sdfr	* getnameinfo.c: avoid shadowing sin
369178825Sdfr	
370178825Sdfr	* socket.c: avoid shadowing sin
371178825Sdfr
372178825Sdfr	* resolve.c (parse_record): fix casting to avoid losing const
373178825Sdfr	
374178825Sdfr	* roken.awk: since we got no feedback regarding people running
375178825Sdfr	heimdal on the crays, remove the quoted # version
376178825Sdfr	
377178825Sdfr	* environment.c: rename index to idx to avoid shadowing
378178825Sdfr
379178825Sdfr2005-05-29  Love H�rnquist �strand  <lha@it.su.se>
380178825Sdfr
381178825Sdfr	* parse_reply-test.c: avoid signedness warnings
382178825Sdfr
383178825Sdfr	* test-mem.c: avoid signedness warnings
384178825Sdfr
385178825Sdfr2005-05-27  Love H�rnquist �strand  <lha@it.su.se>
386178825Sdfr
387178825Sdfr	* hex.c: include "roken.h" to avoid undefined size_t/ssize_t
388178825Sdfr
389178825Sdfr2005-05-24  Dave Love  <fx@gnu.org>
390178825Sdfr
391178825Sdfr	* Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h.
392178825Sdfr
393178825Sdfr2005-05-20  Love H�rnquist �strand  <lha@it.su.se>
394178825Sdfr
395178825Sdfr	* environment.c (rk_read_env_file): move assignment to later to
396178825Sdfr	make pre c99 compiler happy
397178825Sdfr
398178825Sdfr2005-05-18  Love H�rnquist �strand  <lha@it.su.se>
399178825Sdfr
400178825Sdfr	* strptime.c: use english spelling of March
401178825Sdfr
402178825Sdfr2005-05-17  Johan Danielsson  <joda@pdc.kth.se>
403178825Sdfr
404178825Sdfr	* Makefile.am: only link with dblib if we need it
405178825Sdfr	
406178825Sdfr	* Makefile.am: add test_readenv
407178825Sdfr	
408178825Sdfr	* test-readenv.c: test for read_environment()
409178825Sdfr	
410178825Sdfr	* environment.c: eliminate duplicates
411178825Sdfr	
412178825Sdfr2005-05-13  Love H�rnquist �strand  <lha@it.su.se>
413178825Sdfr
414178825Sdfr	* issuid.c (issuid): change the #ifdef order to avoid unreachable
415178825Sdfr	code warning.
416178825Sdfr
417178825Sdfr2005-05-10  Dave Love  <fx@gnu.org>
418178825Sdfr
419178825Sdfr	* roken.h.in: Get daemon declared on Solaris (it's in unistd.h but
420178825Sdfr	masked by a feature test), just to avoid a warning, since it has
421178825Sdfr	int args. Include err.h unconditionally, since it's always
422178825Sdfr	supplied.
423178825Sdfr
424178825Sdfr2005-05-04  Dave Love  <fx@gnu.org>
425178825Sdfr
426178825Sdfr	* snprintf-test.c: Include snprintf-test.h earlier.
427178825Sdfr
428178825Sdfr2005-05-03  Dave Love  <fx@gnu.org>
429178825Sdfr
430178825Sdfr	* snprintf.c: Include snprintf-test.h earlier.
431178825Sdfr	
432178825Sdfr	* test-mem.c: Add member fd to map.
433178825Sdfr	(rk_test_mem_alloc, rk_test_mem_free): Use it.
434178825Sdfr
435178825Sdfr2005-04-30  Love H�rnquist �strand  <lha@it.su.se>
436178825Sdfr
437178825Sdfr	* getifaddrs.c: add break on default: statements, from Douglas
438178825Sdfr	E. Engert
439178825Sdfr
440178825Sdfr	* snprintf.c (vsnprintf): don't write the NUL into the string if
441178825Sdfr	the length was 0
442178825Sdfr
443178825Sdfr	* snprintf-test.c: add check that snprintf doesn't write the NUL
444178825Sdfr	into the last byte when its a zero length input string
445178825Sdfr
446178825Sdfr	* parse_time-test.c: Include <err.h>.
447178825Sdfr	
448178825Sdfr2005-04-27  Love H�rnquist �strand  <lha@it.su.se>
449178825Sdfr
450178825Sdfr	* parse_time-test.c: improve testing
451178825Sdfr	
452178825Sdfr	* roken-common.h: add rk_realloc
453178825Sdfr
454178825Sdfr	* Makefile.am: add realloc
455178825Sdfr
456178825Sdfr	* realloc.c: add rk_realloc, unbroken version of realloc
457178825Sdfr
458178825Sdfr2005-04-26  Dave Love  <fx@gnu.org>
459178825Sdfr
460178825Sdfr	* getusershell.c: Include roken.h
461178825Sdfr
462178825Sdfr2005-04-18  Love H�rnquist �strand  <lha@it.su.se>
463178825Sdfr
464178825Sdfr	* unvis.c: cast to unsigned char to make sure its not negative
465178825Sdfr	when passing it to is* functions
466178825Sdfr
467178825Sdfr	* strptime.c: cast to unsigned char to make sure its not negative
468178825Sdfr	when passing it to to* functions
469178825Sdfr
470178825Sdfr2005-04-13  Love H�rnquist �strand  <lha@it.su.se>
471178825Sdfr
472178825Sdfr	* simple_exec.c: don't close stderr, close all fd that is num 3
473178825Sdfr	and larger
474178825Sdfr
475178825Sdfr	* simple_exec.c (pipe_execv): use closefrom
476178825Sdfr
477178825Sdfr	* add closefrom
478178825Sdfr
479178825Sdfr2005-04-12  Love H�rnquist �strand  <lha@it.su.se>
480178825Sdfr
481178825Sdfr	* add ROKEN_LIB_FUNCTION to all exported functions
482178825Sdfr
483178825Sdfr2005-04-10  Love H�rnquist �strand  <lha@it.su.se>
484178825Sdfr
485178825Sdfr	* resolve-test.c: print DS
486178825Sdfr
487178825Sdfr2005-04-07  Love H�rnquist �strand  <lha@it.su.se>
488178825Sdfr
489178825Sdfr	* parse_time-test.c: remove unused variable
490178825Sdfr	
491178825Sdfr2005-04-04  Love H�rnquist �strand  <lha@it.su.se>
492178825Sdfr
493178825Sdfr	* strpftime-test.c: print size_t by casting to unsigned long
494178825Sdfr	
495178825Sdfr	* base64-test.c: print size_t by casting to unsigned long
496178825Sdfr	
497178825Sdfr	* hex-test.c: print size_t by casting to unsigned long
498178825Sdfr	
499178825Sdfr	* resolve-test.c: print size_t by casting to unsigned long
500178825Sdfr	
501178825Sdfr2005-04-01  Love H�rnquist �strand  <lha@it.su.se>
502178825Sdfr
503178825Sdfr	* snprintf-test.c (try): reset va_list argument between reuse,
504178825Sdfr	from Peter Kruty <xkruty@fi.muni.cz>
505178825Sdfr
506178825Sdfr2005-03-30  Love H�rnquist �strand  <lha@it.su.se>
507178825Sdfr
508178825Sdfr	* roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid
509178825Sdfr	shadowing
510178825Sdfr
511178825Sdfr	* resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing
512178825Sdfr
513178825Sdfr	* parse_units.c: avoid shadowing div
514178825Sdfr
515178825Sdfr2005-03-26  Love H�rnquist �strand  <lha@it.su.se>
516178825Sdfr
517178825Sdfr	* snprintf.c: use defined(TEST_SNPRINTF) like on all other places
518178825Sdfr	in the same file
519178825Sdfr
520178825Sdfr2005-03-21  Love H�rnquist �strand  <lha@it.su.se>
521178825Sdfr
522178825Sdfr	* hex.c: check for overflows
523178825Sdfr
524178825Sdfr2005-03-18  Love H�rnquist �strand  <lha@it.su.se>
525178825Sdfr
526178825Sdfr	* vis.c: use RCSID instead of __RCSID
527178825Sdfr
528178825Sdfr2005-03-06  Love H�rnquist �strand  <lha@it.su.se>
529178825Sdfr
530178825Sdfr	* Makefile.am: check_PROGRAMS += hex-test
531178825Sdfr	
532178825Sdfr	* hex-test.c: hex encoding/decoding test
533178825Sdfr	
534178825Sdfr	* hex.c: fix decodeing, it processed to much data and thus
535178825Sdfr	returned the wrong length
536178825Sdfr
537178825Sdfr2005-03-04  Love H�rnquist �strand  <lha@it.su.se>
538178825Sdfr
539178825Sdfr	* Makefile.am: add hex.[ch]
540178825Sdfr
541178825Sdfr	* hex.c: add hex encoder/decoder
542178825Sdfr
543178825Sdfr2005-03-02  Love H�rnquist �strand  <lha@it.su.se>
544178825Sdfr
545178825Sdfr	* daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c
546178825Sdfr	glob.c glob.hin iruserok.c unvis.c vis.hin:
547178825Sdfr	
548178825Sdfr	In 1997, the University of California, Berkeley issued a statement
549178825Sdfr	retroactively relicensing all code held under their copyright from
550178825Sdfr	a 4-clause 'traditional' BSD license to a new 3-clause 'revised'
551178825Sdfr	BSD license, which removed the advertising clause.
552178825Sdfr
553178825Sdfr	From NetBSD, via Joel Baker, and Alistair G. Crooks
554178825Sdfr	
555178825Sdfr	* getaddrinfo-test.c: remove stray ( in output
556178825Sdfr	
557178825Sdfr	* vis.c: Update new revision from NetBSD (copyright update)
558178825Sdfr
559178825Sdfr2005-02-24  Love H�rnquist �strand  <lha@it.su.se>
560178825Sdfr
561178825Sdfr	* Makefile.am: bump version to 17:0:1
562178825Sdfr
563178825Sdfr2005-01-19  Dave Love  <d.love@dl.ac.uk>
564178825Sdfr
565178825Sdfr	* getusershell.c: Include ctype.h, cast argument to isspace to
566178825Sdfr	unsigned char.
567178825Sdfr
568178825Sdfr2004-10-31  Love H�rnquist �strand  <lha@it.su.se>
569178825Sdfr
570178825Sdfr	* parse_time.3, parse_units.c: Change the behavior of the
571178825Sdfr	parse_unit code to return the number of bytes needed to print the
572178825Sdfr	whole string (minus the trailing '\0'), just like snprintf.  Idea
573178825Sdfr	from bugreport from Gabriel Kihlman <gk@stacken.kth.se>.
574178825Sdfr
575178825Sdfr	* parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time
576178825Sdfr
577178825Sdfr2004-10-16  Love H�rnquist �strand  <lha@it.su.se>
578178825Sdfr
579178825Sdfr	* resolve.c: put dns_type_to_string and dns_string_to_type in the
580178825Sdfr	abi
581178825Sdfr
582178825Sdfr	* resolve.c: add ds_record
583178825Sdfr	
584178825Sdfr	* resolve.h: add ds_record
585178825Sdfr	
586178825Sdfr2004-10-06  Love H�rnquist �strand  <lha@it.su.se>
587178825Sdfr
588178825Sdfr	* ndbm_wrap.c: undefine open so this works on solaris with large
589178825Sdfr	file support From netbsd's pkgsrc via Gavan Fantom
590178825Sdfr	
591178825Sdfr2004-09-13  Love H�rnquist �strand  <lha@it.su.se>
592178825Sdfr
593178825Sdfr	* resolve-test.c: add --version/--help
594178825Sdfr	
595178825Sdfr2004-09-12  Love H�rnquist �strand  <lha@it.su.se>
596178825Sdfr
597178825Sdfr	* Makefile.am: make resolve-test a noinst program
598178825Sdfr	
599178825Sdfr2004-09-11  Love H�rnquist �strand  <lha@it.su.se>
600178825Sdfr
601178825Sdfr	* resolve-test.c: test program for libroken resolve from resolve.c
602178825Sdfr	
603178825Sdfr	* Makefile.am: add resolve-test
604178825Sdfr	
605178825Sdfr	* resolve.h: add constant for max DNS protocol packet size
606178825Sdfr	
607178825Sdfr	* resolve.c (dns_lookup_int): grow the answer buffer to the size
608178825Sdfr	the server send to us if the answer buffer was too small (limited
609178825Sdfr	to the dns protocol max packet size)
610178825Sdfr	
611178825Sdfr2004-08-26  Johan Danielsson  <joda@pdc.kth.se>
612178825Sdfr
613178825Sdfr	* err.hin: no need to declare __progname here
614178825Sdfr
615178825Sdfr	* Makefile.am: always clean generated headers
616178825Sdfr
617178825Sdfr2004-06-26  Love H�rnquist �strand  <lha@it.su.se>
618178825Sdfr
619178825Sdfr	* rtbl.3: use .In for header, remove trailing space
620178825Sdfr	
621178825Sdfr2004-06-23  Johan Danielsson  <joda@pdc.kth.se>
622178825Sdfr
623178825Sdfr	* rtbl.h: add protos and macros
624178825Sdfr	
625178825Sdfr	* rtbl.c: implement a bunch of stuff:
626178825Sdfr	  - column separator (instead of global column prefix)
627178825Sdfr	  - per column suffix
628178825Sdfr	  - indexing columns by id-number instead of column header
629178825Sdfr	  - optional header supression (via settable flags)
630178825Sdfr	  - ability to end a row
631178825Sdfr	  - don't extend last column to full width
632178825Sdfr	
633178825Sdfr2004-06-20  Love H�rnquist �strand  <lha@it.su.se>
634178825Sdfr
635178825Sdfr	* resolve.[ch]: add and use and bind9 version of rr type
636178825Sdfr	(rk_ns_t_XXX) instead of the old bind4 version (T_XXX)
637178825Sdfr
638178825Sdfr2004-05-25  Love H�rnquist �strand  <lha@it.su.se>
639178825Sdfr
640178825Sdfr	* resolve.c (stot): add AAAA
641178825Sdfr	
642178825Sdfr2004-02-17  Love H�rnquist �strand  <lha@it.su.se>
643178825Sdfr
644178825Sdfr	* getarg.c (add_string): catch error from realloc
645178825Sdfr	
646178825Sdfr2004-02-12  Love H�rnquist �strand  <lha@it.su.se>
647178825Sdfr
648178825Sdfr	* roken-common.h: add simple_execve_timed
649178825Sdfr	
650178825Sdfr	* roken-common.h: add timed simple_exec
651178825Sdfr	
652178825Sdfr	* simple_exec.c: add timed simple_exec
653178825Sdfr	
654178825Sdfr2004-01-05  Love H�rnquist �strand  <lha@it.su.se>
655178825Sdfr
656178825Sdfr	* gai_strerror.c: correct ifdef for EAI_ADDRFAMILY
657178825Sdfr
658178825Sdfr2003-12-14  Love H�rnquist �strand  <lha@it.su.se>
659178825Sdfr
660178825Sdfr	* resolve.c: parse dns header, add support for SSHFP
661178825Sdfr	
662178825Sdfr	* resolve.h: add cpp rewrite for sshfp_record
663178825Sdfr	
664178825Sdfr	* resolve.h: add SSHFP, clean up the the dns_header
665178825Sdfr	
666178825Sdfr2003-12-14  Love H�rnquist �strand  <lha@it.su.se>
667178825Sdfr
668178825Sdfr	* resolve.h: remove HEADER (only used for crays)
669178825Sdfr	
670178825Sdfr	* resolve.c: number-of fields no longer stored in network order
671178825Sdfr	
672178825Sdfr2003-12-13  Love H�rnquist �strand  <lha@it.su.se>
673178825Sdfr
674178825Sdfr	* resolve.c: remove depency on c99 types in resolv.h
675178825Sdfr	
676178825Sdfr	* resolve.h: remove depency on c99 types
677178825Sdfr	
678178825Sdfr2003-12-06  Love H�rnquist �strand  <lha@it.su.se>
679178825Sdfr
680178825Sdfr	* resolv.h: add more T_ types and inline the dns headers, all this
681178825Sdfr	for bind9 resolvers
682178825Sdfr
683178825Sdfr2003-12-02  Love H�rnquist �strand  <lha@it.su.se>
684178825Sdfr	
685178825Sdfr	* gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated
686178825Sdfr	
687178825Sdfr	* roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to
688178825Sdfr	check for if we need EAI_ macros
689178825Sdfr
690178825Sdfr2003-10-04   Love H�rnquist �strand  <lha@it.su.se>
691178825Sdfr
692178825Sdfr	* strptime.c: let t and n match zero or more whitespaces
693178825Sdfr	
694178825Sdfr2003-08-29  Love H�rnquist �strand  <lha@it.su.se>
695178825Sdfr
696178825Sdfr	* ndbm_wrap.c: patch for working with DB4 on heimdal-discuss
697178825Sdfr	From: Luke Howard <lukeh@PADL.COM>
698178825Sdfr	
699178825Sdfr2003-08-27  Johan Danielsson  <joda@pdc.kth.se>
700178825Sdfr
701178825Sdfr	* Makefile.am: don't include discovered files in EXTRA_SOURCES;
702178825Sdfr	don't depend on all header files, just the built ones
703178825Sdfr
704178825Sdfr2003-08-15  Johan Danielsson  <joda@pdc.kth.se>
705178825Sdfr
706178825Sdfr	* emalloc.3: manpage
707178825Sdfr	
708178825Sdfr2003-07-11  Love  <lha@stacken.kth.se>
709178825Sdfr
710178825Sdfr	* resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?)  so
711178825Sdfr	just don't use res_nsearch on AIX
712178825Sdfr
713178825Sdfr2003-06-29  Johan Danielsson  <joda@pdc.kth.se>
714178825Sdfr
715178825Sdfr	* snprintf.c: * don't ever print sign for unsigned conversions *
716178825Sdfr	don't break when right justifying a number past the end of the
717178825Sdfr	buffer * handle zero precision and the value zero more correctly
718178825Sdfr
719178825Sdfr2003-06-14  Love  <lha@stacken.kth.se>
720178825Sdfr
721178825Sdfr	* glob.hin: prefix glob symbols with rk_
722178825Sdfr	
723120945Snectar2003-04-22  Love  <lha@stacken.kth.se>
724178825Sdfr
725178825Sdfr	* resolve.c: copy NUL too, from janj@wenf.org via openbsd
726127808Snectar	
727120945Snectar2003-04-16  Love  <lha@stacken.kth.se>
728120945Snectar
729120945Snectar	* parse_units.h: remove typedef for units to avoid problems with
730120945Snectar	shadowing
731120945Snectar
732120945Snectar	* resolve.c: use strlcpy, from openbsd
733120945Snectar	
734120945Snectar	* getcap.c: use strlcpy, from openbsd
735120945Snectar	
736120945Snectar	* getarg.3: Change .Fd #include <header.h> to .In header.h
737120945Snectar	from Thomas Klausner <wiz@netbsd.org>
738120945Snectar
739120945Snectar2003-04-15  Love  <lha@stacken.kth.se>
740120945Snectar
741120945Snectar	* socket.c (socket_set_tos): if setsockopt failed with EINVAL
742120945Snectar	failed, just ignore it, sock was probably a just a non AF_INET
743120945Snectar	socket
744120945Snectar
745120945Snectar2003-04-14  Love  <lha@stacken.kth.se>
746120945Snectar
747120945Snectar	* strncasecmp.c: cast argument to toupper to unsigned char, from
748120945Snectar	Christian Biere <christianbiere@gmx.de> via NetBSD
749120945Snectar	
750120945Snectar	* strlwr.c: cast argument to tolower to unsigned char, from
751120945Snectar	Christian Biere <christianbiere@gmx.de> via NetBSD
752120945Snectar	
753120945Snectar	* strcasecmp.c: cast argument to toupper to unsigned char, from
754120945Snectar	Christian Biere <christianbiere@gmx.de> via NetBSD
755120945Snectar	
756120945Snectar2003-03-19  Love  <lha@stacken.kth.se>
757120945Snectar
758120945Snectar	* getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
759120945Snectar	
760120945Snectar2003-03-07  Love  <lha@stacken.kth.se>
761120945Snectar
762120945Snectar	* parse_bytes.c: use struct units instead of units
763120945Snectar	
764120945Snectar	* parse_time.c: use struct units instead of units
765120945Snectar	
766120945Snectar2003-03-04  Love  <lha@stacken.kth.se>
767120945Snectar
768120945Snectar	* roken.awk: use full prototype for main
769120945Snectar	
770120945Snectar2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
771120945Snectar
772120945Snectar	* resolve.c: check length of txt records
773120945Snectar
774103423Snectar2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
775103423Snectar
776103423Snectar	* roken.awk: include config.h before stdio.h (breaks with
777103423Snectar	_FILE_OFFSET_BITS on solaris otherwise)
778103423Snectar
779103423Snectar2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
780103423Snectar
781103423Snectar	* resolve.c: fix res_nsearch call, but don't use it for now, AIX5
782103423Snectar	has a broken version that trashes memory
783103423Snectar
784103423Snectar	* roken-common.h: fix typo in previous
785103423Snectar
786103423Snectar	* roken-common.h: change IRIX == 4 to IRIX4
787103423Snectar
788103423Snectar2002-09-04  Assar Westerlund  <assar@kth.se>
789103423Snectar
790103423Snectar	* getifaddrs.c: remove some warnings from the linux-portion
791103423Snectar
792103423Snectar	* getnameinfo_verified.c (getnameinfo_verified): handle the case
793103423Snectar	of forward but no backward DNS information, and also describe the
794103423Snectar	desired behaviour.  from Love <lha@stacken.kth.se>
795103423Snectar
796103423Snectar2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
797103423Snectar
798103423Snectar	* rtbl.c (rtbl_destroy): free whole table
799103423Snectar
800103423Snectar	* resolve.c: use res_nsearch if we have it (from Larry Greenfield)
801103423Snectar
802103423Snectar2002-09-03  Assar Westerlund  <assar@kth.se>
803103423Snectar
804103423Snectar	* getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
805103423Snectar	YOSHIFUJI of the Usagi project
806103423Snectar	
807103423Snectar	* parse_reply-test.c: make this build and return 77 if there is no
808103423Snectar	mmap
809103423Snectar
810103423Snectar	* Makefile.am (parse_reply-test): add
811103423Snectar	* parse_reply-test.c: add a test case for parse_reply reading past
812103423Snectar	the given buffer
813103423Snectar	* resolve.c (parse_reply): update the arguments to more reasonable
814103423Snectar	types.  allow parse_reply-test to call it
815103423Snectar
816102644Snectar2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
817102644Snectar
818102644Snectar	* resolve.c (dns_srv_order): do alignment tricks with the random()
819102644Snectar	state (from NetBSD)
820102644Snectar
821102644Snectar2002-08-27  Assar Westerlund  <assar@kth.se>
822102644Snectar
823102644Snectar	* resolve.c (parse_reply): verify the lengths (both external and
824102644Snectar	internal) are consistent and not too long
825102644Snectar	(dns_lookup_int): be conservative in the length sent in to to
826102644Snectar	parse_reply
827102644Snectar
828102644Snectar2002-08-26  Assar Westerlund  <assar@kth.se>
829102644Snectar
830102644Snectar	* roken.h.in: add prototypes for str, unvis functions
831102644Snectar	* resolve.h: add fallback definition for T_AAAA
832102644Snectar
833102644Snectar2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
834102644Snectar
835102644Snectar	* roken.h.in: we may need a prototype for strndup
836102644Snectar
837102644Snectar2002-08-20  Johan Danielsson  <joda@pdc.kth.se>
838102644Snectar
839102644Snectar	* roken.h.in: typedef ssize_t here
840102644Snectar
841102644Snectar	* getarg.c: don't put Ns before comma
842102644Snectar
843102644Snectar	* resolve.c: _res might not be available
844102644Snectar
845102644Snectar	* localtime_r.c: include stdio.h and roken.h
846102644Snectar
847102644Snectar	* strftime.c: only use altzone if we have it
848102644Snectar
849102644Snectar	* roken-common.h: AI_NUMERICHOST needs special handling
850102644Snectar
851102644Snectar	* strlcat.c: add some consistency checks
852102644Snectar
853102644Snectar	* strlcpy.c: make the logic simpler, and handle dst_sz == 0
854102644Snectar
855102644Snectar2002-08-19  Johan Danielsson  <joda@pdc.kth.se>
856102644Snectar
857102644Snectar	* resolve.h: prefix these functions to avoid conflicts with other
858102644Snectar	packages
859102644Snectar
860102644Snectar2002-08-14  Johan Danielsson  <joda@pdc.kth.se>
861102644Snectar
862102644Snectar	* strsep_copy.c: don't write to buf if len == 0
863102644Snectar
864102644Snectar2002-05-31  Assar Westerlund  <assar@pdc.kth.se>
865102644Snectar
866102644Snectar	* Makefile.am: *_LDADD: add LDADD, so that libroken is used
867102644Snectar
868102644Snectar2002-05-17  Johan Danielsson  <joda@pdc.kth.se>
869102644Snectar
870102644Snectar	* xdbm.h: remove old dbm part
871102644Snectar
872102644Snectar2002-04-30  Johan Danielsson  <joda@pdc.kth.se>
873102644Snectar
874102644Snectar	* ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
875102644Snectar
876102644Snectar2002-04-18  Johan Danielsson  <joda@pdc.kth.se>
877102644Snectar
878102644Snectar	* roken.h.in: move mini_inetd protos to after addrinfo definition
879102644Snectar
880102644Snectar	* snprintf.c (append_number): make rep const
881102644Snectar
882102644Snectar	* getarg.h: rename optind and optarg to avoid some gcc warnings
883102644Snectar
884102644Snectar	* getarg.c: rename optind and optarg to avoid some gcc warnings
885102644Snectar
886102644Snectar2002-02-18  Johan Danielsson  <joda@pdc.kth.se>
887102644Snectar
888102644Snectar	* mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
889102644Snectar	of a port number
890102644Snectar
89190926Snectar2001-11-30  Assar Westerlund  <assar@sics.se>
89290926Snectar
89390926Snectar	* getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
89490926Snectar	used on Solaris 8 to retrieve addresses larger than `struct
89590926Snectar	sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
89690926Snectar	modifications by me)
89790926Snectar
89890926Snectar2001-10-27  Assar Westerlund  <assar@sics.se>
89990926Snectar
90090926Snectar	* Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
90190926Snectar
90290926Snectar2001-10-22  Assar Westerlund  <assar@sics.se>
90390926Snectar
90490926Snectar	* localtime_r.c: add
90590926Snectar
90690926Snectar2001-10-02  Johan Danielsson  <joda@pdc.kth.se>
90790926Snectar
90890926Snectar	* resolve.c (dns_srv_order): don't try to return a value
90990926Snectar
91090926Snectar2001-09-24  Johan Danielsson  <joda@pdc.kth.se>
91190926Snectar
91290926Snectar	* snprintf.c: va_{start,end} fixes; from Thomas Klausner
91390926Snectar
91490926Snectar2001-09-20  Assar Westerlund  <assar@sics.se>
91590926Snectar
91690926Snectar	* resolve.c (dns_srv_order): make sure of not reading after the
91790926Snectar	array
91890926Snectar
91990926Snectar2001-09-17  Assar Westerlund  <assar@sics.se>
92090926Snectar
92190926Snectar	* Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
92290926Snectar	* snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
92390926Snectar	avoid collision with resolv.h on aix
92490926Snectar
92590926Snectar2001-09-04  Assar Westerlund  <assar@sics.se>
92690926Snectar
92790926Snectar	* parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
92890926Snectar	parse_units.h: use int instead of size_t as return values to be
92990926Snectar	compatible with snprintf
93090926Snectar
93190926Snectar	* strftime.c (strftime): check for return values from snprintf() <
93290926Snectar	0
93390926Snectar
93490926Snectar2001-09-03  Johan Danielsson  <joda@pdc.kth.se>
93590926Snectar
93690926Snectar	* socket.c: restrict is a keyword
93790926Snectar
93890926Snectar2001-09-03  Assar Westerlund  <assar@sics.se>
93990926Snectar
94090926Snectar	* write_pid.c: handle atexit or on_exit
94190926Snectar
94290926Snectar	* Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
94390926Snectar	solaris make
94490926Snectar
94590926Snectar2001-08-30  Johan Danielsson  <joda@pdc.kth.se>
94690926Snectar
94790926Snectar	* Makefile.am: use LDADD directly
94890926Snectar
94990926Snectar2001-08-28  Assar Westerlund  <assar@sics.se>
95090926Snectar
95190926Snectar	* Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
95290926Snectar
95390926Snectar	* issuid.c (issuid): call issetugid if it exists
95490926Snectar
95590926Snectar2001-08-24  Assar Westerlund  <assar@sics.se>
95690926Snectar
95790926Snectar	* Makefile.am: make it play better with recent automake
95890926Snectar
95990926Snectar2001-08-21  Assar Westerlund  <assar@sics.se>
96090926Snectar
96190926Snectar	* glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
96290926Snectar
96390926Snectar	* roken.h.in: remove all winsock.h
96490926Snectar	for now, it does more harm than good under cygwin and if it should be
96590926Snectar	used, the correct conditional needs to be found
96690926Snectar	from <tol@stacken.kth.se>
96790926Snectar
96890926Snectar2001-08-17  Johan Danielsson  <joda@pdc.kth.se>
96990926Snectar
97090926Snectar	* getaddrinfo.c: include a definition of in6addr_loopback if it
97190926Snectar	doesn't exist
97290926Snectar
97390926Snectar2001-08-10  Assar Westerlund  <assar@sics.se>
97490926Snectar
97590926Snectar	* Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
97690926Snectar
97790926Snectar2001-08-08  Assar Westerlund  <assar@sics.se>
97890926Snectar
97990926Snectar	* hstrerror.c: move h_errno to its own file (h_errno.c)
98090926Snectar
98190926Snectar2001-08-04  Assar Westerlund  <assar@sics.se>
98290926Snectar
98390926Snectar	* Makefile.am: add getarg.3
98490926Snectar
98590926Snectar2001-08-01  Assar Westerlund  <assar@sics.se>
98690926Snectar
98790926Snectar	* mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
98890926Snectar	resilient to bind/listen failing.
98990926Snectar
99090926Snectar2001-07-31  Assar Westerlund  <assar@sics.se>
99190926Snectar
99290926Snectar	* getifaddrs.c (getifaddrs2): remove unused variables
99390926Snectar
99490926Snectar2001-07-31  Assar Westerlund  <assar@sics.se>
99590926Snectar
99690926Snectar	* Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
99790926Snectar
99890926Snectar2001-07-23  Assar Westerlund  <assar@sics.se>
99990926Snectar
100090926Snectar	* getarg.c (arg_match_long): fix parsing of arg_counter optional
100190926Snectar	argument
100290926Snectar
100390926Snectar2001-07-19  Assar Westerlund  <assar@sics.se>
100490926Snectar
100590926Snectar	* Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
100690926Snectar	
100790926Snectar2001-07-17  Assar Westerlund  <assar@sics.se>
100890926Snectar
100990926Snectar	* snprintf-test.h: add a file with renaming of the snprintf
101090926Snectar	functions, to be used for running the tests
101190926Snectar
101290926Snectar2001-07-11  Assar Westerlund  <assar@sics.se>
101390926Snectar
101490926Snectar	* snprintf-test.c: add more %X tests, and long and conditional
101590926Snectar	long long tests
101690926Snectar	* snprintf.c: add support for printing long long (if available)
101790926Snectar
101890926Snectar2001-07-10  Assar Westerlund  <assar@sics.se>
101990926Snectar
102090926Snectar	* getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
102190926Snectar	* hostent_find_fqdn.c (hostent_find_fqdn): const-ize
102290926Snectar
102390926Snectar2001-07-09  Assar Westerlund  <assar@sics.se>
102490926Snectar
102590926Snectar	* roken-common.h (hostent_find_fqdn): add
102690926Snectar	* hostent_find_fqdn.c: separate out hostent_find_fqdn
102790926Snectar
102890926Snectar	* warnerr.c: move out getprogname, setprogname
102990926Snectar
103090926Snectar2001-07-03  Assar Westerlund  <assar@sics.se>
103190926Snectar
103290926Snectar	* warnerr.c (setprogname): add const cast
103390926Snectar	* vis.c (SVIS): add some (unsigned char) before calling isfoo*
103490926Snectar	* Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
103590926Snectar
103690926Snectar	* Makefile.am: add snprintf_test
103790926Snectar	* snprintf.c: rewrite so that it does not stop as soon as there
103890926Snectar	are no more characters to print, we need to figure out how long
103990926Snectar	the string would have to be.  this also fixes snprintf(NULL, 0
104090926Snectar
104190926Snectar2001-06-21  Assar Westerlund  <assar@sics.se>
104290926Snectar
104390926Snectar	* simple_exec.c (pipe_execv): remove unused variable
104490926Snectar
104590926Snectar2001-06-20  Johan Danielsson  <joda@pdc.kth.se>
104690926Snectar
104790926Snectar	* getdtablesize.c: fix typo in obviously never used sysctl case
104890926Snectar
104990926Snectar	* simple_exec.c: rename check_status to wait_for_process, and
105090926Snectar	export it; function pipe_execv similar to popen, but with more
105190926Snectar	control over input and output
105290926Snectar
105390926Snectar	* roken-common.h: prototypes for wait_for_process and pipe_execv
105490926Snectar
105590926Snectar2001-06-17  Assar Westerlund  <assar@sics.se>
105690926Snectar
105790926Snectar	* roken-common.h: move emalloc et al to roken.h.in
105890926Snectar	* Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
105990926Snectar	* emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
106090926Snectar	be set reliably
106190926Snectar	* ecalloc.c: add for symmetry
106290926Snectar
106390926Snectar2001-06-09  Johan Danielsson  <joda@pdc.kth.se>
106490926Snectar
106590926Snectar	* resolve.c: dns_srv_order to order srv records
106690926Snectar
106790926Snectar2001-06-08  Johan Danielsson  <joda@pdc.kth.se>
106890926Snectar
106990926Snectar	* getarg.c: Grog tries to figure out if to use mdoc.old instead of
107090926Snectar	mdoc by looking at some macros that were only present in the old
107190926Snectar	version, and by looking at the number of .Oo's present. In
107290926Snectar	mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
107390926Snectar	the number of .Oo's is bigger than the number of .Oc's, it figures
107490926Snectar	it must be mdoc.old. This doesn't however account for called Oc's,
107590926Snectar	and thus grog thinks that valid pages are mdoc.old when they
107690926Snectar	infact are mdoc. So let's make sure that Oc's are not called by
107790926Snectar	other macros.
107890926Snectar
107990926Snectar2001-05-29  Assar Westerlund  <assar@sics.se>
108090926Snectar
108190926Snectar	* base64-test.c (main): initialize numerr
108290926Snectar
108390926Snectar2001-05-28  Johan Danielsson  <joda@pdc.kth.se>
108490926Snectar
108590926Snectar	* base64.c: clean up the decode mess somewhat
108690926Snectar
108790926Snectar	* base64-test.c: base64 tests
108890926Snectar
108990926Snectar2001-05-18  Johan Danielsson  <joda@pdc.kth.se>
109090926Snectar
109190926Snectar	* roken.h.in: just use standard C types with bswap*
109290926Snectar
109390926Snectar	* bswap.c: just use standard C types
109490926Snectar
109578527Sassar2001-05-17  Assar Westerlund  <assar@sics.se>
109678527Sassar
109790926Snectar	* roken.h.in: include all the headers that AC_GROK_TYPES tries for
109890926Snectar	finding u_int17_t et al
109990926Snectar
110078527Sassar	* Makefile.am: bump version to 12:0:3
110178527Sassar	* roken.h.in: re-add set_progname and get_progname for backwards
110278527Sassar	compatability
110378527Sassar	* warnerr.c: re-add set_progname and get_progname for backwards
110478527Sassar	compatability
110578527Sassar
110678527Sassar2001-05-12  Assar Westerlund  <assar@sics.se>
110778527Sassar
110878527Sassar	* glob.c: add limits.h, from <shadow@dementia.org>
110978527Sassar
111078527Sassar2001-05-11  Johan Danielsson  <joda@pdc.kth.se>
111178527Sassar
111278527Sassar	* Makefile.am: bswap.c
111378527Sassar	
111478527Sassar	* bswap.c: bswap{16,32}
111578527Sassar	
111678527Sassar2001-05-08  Assar Westerlund  <assar@sics.se>
111778527Sassar
111878527Sassar	* freeaddrinfo.c (freeaddrinfo): also free every `struct
111978527Sassar	addrinfo'.  from <tmartin@mirapoint.com>
112078527Sassar
112178527Sassar2001-04-25  Assar Westerlund  <assar@sics.se>
112278527Sassar
112378527Sassar	* getarg.h (free_getarg_strings): add prototype
112478527Sassar	* getarg.c (free_getarg_strings): add function
112578527Sassar
112678527Sassar2001-04-21  Johan Danielsson  <joda@pdc.kth.se>
112778527Sassar
112878527Sassar	* getarg.c: pack short flag options togther, to shorten the usage
112978527Sassar	string
113078527Sassar
113178527Sassar2001-04-17  Johan Danielsson  <joda@pdc.kth.se>
113278527Sassar
113378527Sassar	* getifaddrs.c (getifaddrs2): close socket when done
113478527Sassar
113578527Sassar2001-03-26  Johan Danielsson  <joda@pdc.kth.se>
113678527Sassar
113778527Sassar	* roken.awk: END has to be last with Sun's awk
113878527Sassar
113978527Sassar2001-03-26  Assar Westerlund  <assar@sics.se>
114078527Sassar
114178527Sassar	* parse_units.c (parse_something): do not check the return value
114278527Sassar	from strtod, it might return != 0.0 when the string has no digits.
114378527Sassar	just testing if it consumed any characters is enough and more
114478527Sassar	resilient
114578527Sassar	* glob.c: add GLOB_LIMIT (from NetBSD)
114678527Sassar
114778527Sassar2001-02-20  Assar Westerlund  <assar@sics.se>
114878527Sassar
114978527Sassar	* warnerr.c (warnerr): do not use __progname
115078527Sassar	* roken.h.in (setprogname, getprogname): add prototypes
115178527Sassar	* warnerr.c (setprogname, getprogname): rename to. change all
115278527Sassar	callers
115378527Sassar	
115478527Sassar2001-02-12  Assar Westerlund  <assar@sics.se>
115578527Sassar
115678527Sassar	* getnameinfo_verified.c (getnameinfo_verified): do the first
115778527Sassar	getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
115878527Sassar	reports on not finding the service
115978527Sassar	(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
116078527Sassar
116178527Sassar2001-02-09  Assar Westerlund  <assar@sics.se>
116278527Sassar
116378527Sassar	* getnameinfo.c (doit): call inet_ntop with correct af, noted by
116478527Sassar	Ake Sandgren <ake@cs.umu.se>
116578527Sassar
116678527Sassar2001-02-08  Assar Westerlund  <assar@sics.se>
116778527Sassar
116878527Sassar	* getnameinfo_verified.c (getnameinfo_verified): always capture
116978527Sassar	the service from getnameinfo so it can be sent back to getaddrinfo
117078527Sassar	and set socktype to avoid getaddrinfo not returning any addresses
117178527Sassar
117272445Sassar2001-01-30  Assar Westerlund  <assar@sics.se>
117372445Sassar
117472445Sassar	* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
117572445Sassar	* print_version.c (print_version): add 2001
117672445Sassar
117772445Sassar2001-01-29  Assar Westerlund  <assar@sics.se>
117872445Sassar
117972445Sassar	* getifaddrs.c (getifaddrs2): copy the entire sockaddr
118072445Sassar
118172445Sassar	* roken-common.h (_PATH_BSHELL): add
118272445Sassar
118372445Sassar2001-01-27  Assar Westerlund  <assar@sics.se>
118472445Sassar
118572445Sassar	* roken.h.in: move __attribute__ to roken-common.h
118672445Sassar
118772445Sassar	* esetenv.c (esetenv): cast to handle a setenv that takes a `char
118872445Sassar 	* which is the case on Unicos
118972445Sassar
119072445Sassar2000-12-29  Assar Westerlund  <assar@sics.se>
119172445Sassar
119272445Sassar	* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
119372445Sassar	ifaddrs.hin
119472445Sassar
119572445Sassar2000-12-25  Assar Westerlund  <assar@sics.se>
119672445Sassar
119772445Sassar	* getarg.c (print_arg): add a case for arg_strings
119872445Sassar
119972445Sassar2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
120072445Sassar
120172445Sassar	* snprintf.c (append_string): handle NULL strings by printing
120272445Sassar	`(null)'
120372445Sassar
120472445Sassar2000-12-12  Johan Danielsson  <joda@pdc.kth.se>
120572445Sassar
120672445Sassar	* roken-common.h: add c++ externs
120772445Sassar
120872445Sassar	* roken.h.in: fix last commit differently
120972445Sassar
121072445Sassar2000-12-11  Assar Westerlund  <assar@sics.se>
121172445Sassar
121272445Sassar	* err.hin (warnerr): remove, it's not part of the err.h interface
121372445Sassar	* roken-common.h (warnerr): moved here from err.hin
121472445Sassar	* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
121572445Sassar	* vis.c: s/u_int32_t/unsigned/ for systems that do not define
121672445Sassar	u_int32_t
121772445Sassar
121872445Sassar2000-12-10  Johan Danielsson  <joda@pdc.kth.se>
121972445Sassar
122072445Sassar	* Makefile.am: rename some headers to avoid conflict with possible
122172445Sassar	system headers
122272445Sassar
122372445Sassar2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
122472445Sassar
122572445Sassar	* vis.c: make sure _DIAGASSERT is defined
122672445Sassar
122772445Sassar	* unvis.c: make sure _DIAGASSERT is defined
122872445Sassar
122972445Sassar	* Makefile.am: unvis.c, and vis.h
123072445Sassar
123172445Sassar	* vis.h: vis.h from NetBSD
123272445Sassar
123372445Sassar	* unvis.c: unvis from NetBSD
123472445Sassar
123572445Sassar	* roken.h.in: cleanup previous
123672445Sassar
123772445Sassar	* roken-common.h: make `extern "C"' into a macro, this make emacs
123872445Sassar	much happier
123972445Sassar
124072445Sassar	* vis.c: strvis implementation from NetBSD
124172445Sassar
124272445Sassar	* roken.h.in: add prototypes for strvis*
124372445Sassar
124472445Sassar2000-12-05  Johan Danielsson  <joda@pdc.kth.se>
124572445Sassar
124672445Sassar	* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
124772445Sassar	macro
124872445Sassar
124972445Sassar	* getifaddrs.c: free some memory
125072445Sassar
125172445Sassar2000-12-04  Johan Danielsson  <joda@pdc.kth.se>
125272445Sassar
125372445Sassar	* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
125472445Sassar
125572445Sassar	* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
125672445Sassar
125772445Sassar2000-10-08  Assar Westerlund  <assar@sics.se>
125872445Sassar
125972445Sassar	* mini_inetd.c (mini_inetd): check that fds are not too large to
126072445Sassar	select on
126172445Sassar
126272445Sassar2000-09-24  Assar Westerlund  <assar@sics.se>
126372445Sassar
126472445Sassar	*  esetenv.c: new file/function
126572445Sassar
126672445Sassar2000-08-16  Assar Westerlund  <assar@sics.se>
126772445Sassar
126872445Sassar	* Makefile.am: bump version to 10:0:1
126972445Sassar
127072445Sassar2000-08-10  Assar Westerlund  <assar@sics.se>
127172445Sassar
127272445Sassar	* mini_inetd.c (accept_it): type-correctness on parameters to
127372445Sassar	accept
127472445Sassar
127572445Sassar2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
127672445Sassar
127772445Sassar	* roken.h.in: add proto compat for getsockname
127872445Sassar
127972445Sassar2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
128072445Sassar
128172445Sassar	* write_pid.c: conditionalise pidfile
128272445Sassar
128372445Sassar	* write_pid.c: add pidfile function
128472445Sassar
128572445Sassar2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
128672445Sassar
128772445Sassar	* Makefile.am: bump version to 9:0:0
128872445Sassar
128972445Sassar	* warnerr.c: add get_progname
129072445Sassar
129172445Sassar2000-07-24  Assar Westerlund  <assar@sics.se>
129272445Sassar
129372445Sassar	* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
129472445Sassar	reverse resolving to see if there's a fuller name there.  don't
129572445Sassar	use just-freed memory
129672445Sassar
129772445Sassar2000-07-22  Assar Westerlund  <assar@sics.se>
129872445Sassar
129972445Sassar	* xdbm.h: do not define ndbm functions in terms of dbm functions
130072445Sassar	if we're using db
130172445Sassar
130272445Sassar2000-07-20  Assar Westerlund  <assar@sics.se>
130372445Sassar
130472445Sassar	* rtbl.c (rtbl_format): avoid printing an empty row at the end
130572445Sassar
130672445Sassar2000-07-19  Johan Danielsson  <joda@pdc.kth.se>
130772445Sassar
130872445Sassar	* Makefile.am: make this compatible with `make dist'
130972445Sassar
131072445Sassar	* Makefile.am: revert version number for now
131172445Sassar
131272445Sassar2000-07-18  Johan Danielsson  <joda@pdc.kth.se>
131372445Sassar
131472445Sassar	* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
131572445Sassar
131672445Sassar2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
131772445Sassar
131872445Sassar	* Makefile.am: set ACLOCAL_AMFLAGS
131972445Sassar
132072445Sassar2000-07-15  Johan Danielsson  <joda@pdc.kth.se>
132172445Sassar
132272445Sassar	* getaddrinfo_hostspec.c: add new function that takes socktype
132372445Sassar	hint as parameter
132472445Sassar
132572445Sassar2000-07-09  Assar Westerlund  <assar@sics.se>
132672445Sassar
132772445Sassar	* rtbl.c (rtbl_add_column): initialize `col' completely
132872445Sassar
132972445Sassar	* configure.in: bring headers and functions more in-line with
133072445Sassar	what's actually being used
133172445Sassar
133272445Sassar2000-07-08  Johan Danielsson  <joda@pdc.kth.se>
133372445Sassar
133472445Sassar	* roken.h.in: declare ether_addr and sockaddr_dl for AIX
133572445Sassar
133672445Sassar	* rtbl.{c,h}: simple table functions
133772445Sassar
133872445Sassar2000-07-08  Assar Westerlund  <assar@sics.se>
133972445Sassar
134072445Sassar	* configure.in (AM_INIT_AUTOMAKE): bump version to 10
134172445Sassar	* configure.in (AC_BROKEN): add strsep_copy
134272445Sassar	* Makefile.am (ACLOCAL): fetch files from cf
134372445Sassar
134472445Sassar2000-07-01  Assar Westerlund  <assar@sics.se>
134572445Sassar
134672445Sassar	* roken-common.h (pid_file_*): fix protos
134772445Sassar
134872445Sassar2000-06-28  Assar Westerlund  <assar@sics.se>
134972445Sassar
135072445Sassar	* getnameinfo_verified.c (getnameinfo_verified): free memory
135172445Sassar	returned from getaddrinfo
135272445Sassar
135372445Sassar2000-06-27  Assar Westerlund  <assar@sics.se>
135472445Sassar
135572445Sassar	* resolve.c: export string_to_type and type_to_string
135672445Sassar	* resolve.c: add key,sig,cert update test-program
135772445Sassar	* resolve.h: add key,sig,cert
135872445Sassar
135972445Sassar2000-06-21  Assar Westerlund  <assar@sics.se>
136072445Sassar
136172445Sassar	* resolve.h: add T_SIG, T_KEY
136272445Sassar	* resolve.c: add SIG and KEY
136372445Sassar	* Makefile.am (libroken_la_SOURCES): add environment.c and
136472445Sassar	write_pid.c
136572445Sassar
136672445Sassar	* write_pid.c: new file for writing a pid file.
136772445Sassar
136872445Sassar	* environment.c: new file with functionality for reading
136972445Sassar	/etc/environment.  From Ake Sandgren <ake@cs.umu.se>
137072445Sassar
137172445Sassar2000-06-12  Johan Danielsson  <joda@pdc.kth.se>
137272445Sassar
137372445Sassar	* strsep_copy.c: strsep, but with const stringp so returns string
137472445Sassar	in separate buffer
137572445Sassar
137672445Sassar2000-05-23  Assar Westerlund  <assar@sics.se>
137772445Sassar
137872445Sassar	* vsyslog.c (vsyslog): calculate length of new format string
137972445Sassar	correctly
138072445Sassar
138172445Sassar2000-05-22  Johan Danielsson  <joda@pdc.kth.se>
138272445Sassar
138372445Sassar	* getusershell.c: implment the AIX version use
138472445Sassar	/etc/security/login.cfg
138572445Sassar
138672445Sassar2000-05-21  Assar Westerlund  <assar@sics.se>
138772445Sassar
138872445Sassar	* vsyslog.c (vsyslog): actually handle `%m'
138972445Sassar
139072445Sassar2000-05-15  Assar Westerlund  <assar@sics.se>
139172445Sassar
139272445Sassar	* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
139372445Sassar
139472445Sassar	* roken-common.h: moved __attribute__ to roken.h.in
139572445Sassar
139672445Sassar2000-04-14  Assar Westerlund  <assar@sics.se>
139772445Sassar
139872445Sassar	* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
139972445Sassar	correct length from `hostspec'.  based on a patch from Love
140072445Sassar	<lha@s3.kth.se>
140172445Sassar
140272445Sassar2000-04-09  Assar Westerlund  <assar@sics.se>
140372445Sassar
140472445Sassar	* xdbm.h: only include one of db.h and the dbm-series
140572445Sassar
140672445Sassar2000-04-05  Assar Westerlund  <assar@sics.se>
140772445Sassar
140872445Sassar	* resolve.c (_resolve_debug): explicitly set to zero.  this moves
140972445Sassar	the variable from bss to data and the dynamic linker on MacOS
141072445Sassar	X/Darwin seems unhappy with stuff in the bss segment.
141172445Sassar
141272445Sassar2000-04-03  Assar Westerlund  <assar@sics.se>
141372445Sassar
141472445Sassar	* Makefile.am: set version to 8:0:3
141572445Sassar
141672445Sassar2000-03-11  Assar Westerlund  <assar@sics.se>
141772445Sassar
141872445Sassar	* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
141972445Sassar	expression that also works on Crays
142072445Sassar
142172445Sassar2000-03-09  Assar Westerlund  <assar@sics.se>
142272445Sassar
142372445Sassar	* getarg.c (arg_match_short): backup optind when there's a missing
142472445Sassar	argument so that the error can point at the flag and not the
142572445Sassar	non-existant argument
142672445Sassar
142772445Sassar2000-03-03  Assar Westerlund  <assar@sics.se>
142872445Sassar
142972445Sassar	* Makefile.in (SOURCES): add timeval.c
143072445Sassar	* Makefile.am (libroken_la_SOURCES): add timeval.c
143172445Sassar	* timeval.c: new file
143272445Sassar
143357422Smarkm2000-02-19  Assar Westerlund  <assar@sics.se>
143457422Smarkm
143557422Smarkm	* Makefile.am: set version to 7:1:2
143657422Smarkm	
143757422Smarkm2000-02-16  Assar Westerlund  <assar@sics.se>
143857422Smarkm
143957422Smarkm	* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
144057422Smarkm	transmitted as ints
144157422Smarkm	(according to the integer protomotion rules) in variable arguments
144257422Smarkm	lists.  Therefore, we should not call va_arg with short but rather
144357422Smarkm	with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
144457422Smarkm	original bug report
144557422Smarkm
144657419Smarkm2000-02-13  Assar Westerlund  <assar@sics.se>
144757419Smarkm
144857419Smarkm	* Makefile.am: bump version to 7:0:2
144957419Smarkm
145057419Smarkm	* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
145157419Smarkm	* getarg.c (mandoc_template): better man-stuff for negative
145257419Smarkm	options
145357419Smarkm
145457416Smarkm2000-02-07  Assar Westerlund  <assar@sics.se>
145557416Smarkm
145657416Smarkm	* Makefile.am: set version to 6:0:1
145757416Smarkm
145857416Smarkm2000-02-06  Assar Westerlund  <assar@sics.se>
145957416Smarkm
146057416Smarkm	* xdbm.h: hopefully catch a few more declarations by including
146157416Smarkm	<ndbm.h> even if <db.h> was found
146257416Smarkm
146357416Smarkm2000-01-26  Assar Westerlund  <assar@sics.se>
146457416Smarkm
146557416Smarkm	* mini_inetd.c (mini_inetd): separate number of allocated sockets
146657416Smarkm	and number of actual ones
146757416Smarkm	* mini_inetd.c (mini_inetd): count sockets properly.  and fail if
146857416Smarkm	we cannot bind any
146957416Smarkm	* mini_inetd.c (mini_inetd): make failing to create a socket
147057416Smarkm	non-fatal
147157416Smarkm
147257416Smarkm2000-01-09  Assar Westerlund  <assar@sics.se>
147357416Smarkm
147457416Smarkm 	* Makefile.am(libroken_la_SOURCES): add strcollect.c
147557416Smarkm	* Makefile.in: add strcollect.[co]
147657416Smarkm	* simple_exec.c: use vstrcollect
147757416Smarkm	* roken-common.h (_PATH_DEV): add
147857416Smarkm	(strcollect, vstrcollect): add prototypes
147957416Smarkm	* strcollect.c: new file.  functions for collapsing an `va_list'
148057416Smarkm	into an `char **'
148157416Smarkm
148255682Smarkm2000-01-06  Assar Westerlund  <assar@sics.se>
148355682Smarkm
148455682Smarkm	* Makefile.am: bump version to 5:0:0
148555682Smarkm
148655682Smarkm1999-12-30  Assar Westerlund  <assar@sics.se>
148755682Smarkm
148855682Smarkm	* Makefile.am (strpftime_test_SOURCES): correct source file name
148955682Smarkm
149055682Smarkm	* roken.h.in (sockaddr_storage): change padding so that we have
149155682Smarkm 	one char[] of pad and then an unsigned long[] (for alignment and
149255682Smarkm 	padding).  this works much better in practice.
149355682Smarkm
149455682Smarkm1999-12-22  Assar Westerlund  <assar@sics.se>
149555682Smarkm
149655682Smarkm	* roken.h.in (sockaddr_storage): drop leading underscore on
149755682Smarkm 	`public' fields.  this was the consensus on the ipng mailing list
149855682Smarkm
149955682Smarkm1999-12-21  Assar Westerlund  <assar@sics.se>
150055682Smarkm
150155682Smarkm	* Makefile.am (strpftime-test): define sources to avoid having
150255682Smarkm 	'.o'
150355682Smarkm	* Makefile.am (print_version.h): use $(EXEEXT)
150455682Smarkm	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
150555682Smarkm 	et al
150655682Smarkm
150755682Smarkm1999-12-20  Assar Westerlund  <assar@sics.se>
150855682Smarkm
150955682Smarkm	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
151055682Smarkm
151155682Smarkm	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
151255682Smarkm	gethostbyname(2)
151355682Smarkm
151455682Smarkm1999-12-16  Assar Westerlund  <assar@sics.se>
151555682Smarkm
151655682Smarkm	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
151755682Smarkm
151855682Smarkm	* roken.h.in (struct sockaddr_storage): redefine with the example
151955682Smarkm 	code from rfc2553
152055682Smarkm
152155682Smarkm	* getaddrinfo.c (get_null): set loopback with correct endianess
152255682Smarkm	for v4.  dunno about v6.
152355682Smarkm
152455682Smarkm1999-12-13  Assar Westerlund  <assar@sics.se>
152555682Smarkm
152655682Smarkm	* roken.h.in: add prototypes for str[pf]time
152755682Smarkm
152855682Smarkm	* signal.c: macosx = rhapsody ~= nextstep also can't handle
152955682Smarkm 	various definitions of the same symbol.
153055682Smarkm
153155682Smarkm1999-12-12  Assar Westerlund  <assar@sics.se>
153255682Smarkm
153355682Smarkm	* Makefile.am: bump version to 4:1:0
153455682Smarkm
153555682Smarkm1999-12-06  Assar Westerlund  <assar@sics.se>
153655682Smarkm
153755682Smarkm	* Makefile.am: bump version to 4:0:0
153855682Smarkm
153955682Smarkm1999-12-05  Assar Westerlund  <assar@sics.se>
154055682Smarkm
154155682Smarkm	* Makefile.in: replace inaddr2str with getnameinfo_verified
154255682Smarkm
154355682Smarkm	* roken-common.h (INADDR_LOOPBACK): add fallback definition
154455682Smarkm
154555682Smarkm	* roken-common.h: move getnameinfo_verified to roken.h.in
154655682Smarkm	* roken.h.in (inaddr2str): remove
154755682Smarkm	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
154855682Smarkm	* roken-common.h (getnameinfo_verified): add prototype
154955682Smarkm	* getnameinfo_verified.c: new file
155055682Smarkm
155155682Smarkm1999-12-04  Assar Westerlund  <assar@sics.se>
155255682Smarkm
155355682Smarkm	* roken-common.h: add constants for getaddrinfo, getnameinfo
155455682Smarkm	* roken.h.in (socklen_t): make independent of sockaddr_storage
155555682Smarkm	(AI_*, NI_*, EAI_*): move to roken-common.h
155655682Smarkm
155755682Smarkm1999-12-03  Assar Westerlund  <assar@sics.se>
155855682Smarkm
155955682Smarkm	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
156055682Smarkm	* getaddrinfo.c (const_v*): no sizeof(sizeof())
156155682Smarkm	* getaddrinfo.c (add_hostent): search for the canonical name among
156255682Smarkm	all aliases
156355682Smarkm	(getaddrinfo): handle AI_NUMERICHOST correctly
156455682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
156555682Smarkm	getaddrinfo, getnameinfo, gai_strerror
156655682Smarkm	(getaddrinfo_test): add
156755682Smarkm	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
156855682Smarkm	getnameinfo, gai_strerror
156955682Smarkm	(getaddrinfo_test): add
157055682Smarkm	* roken.h.in: arpa/inet.h: include
157155682Smarkm	(socklen_t): add
157255682Smarkm	(struct addrinfo): add
157355682Smarkm	(EAI_*): add
157455682Smarkm	(NI_*): add
157555682Smarkm	(AI_*): add
157655682Smarkm	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
157755682Smarkm	* getnameinfo.c: new file
157855682Smarkm	* getaddrinfo-test.c: new file
157955682Smarkm	* gai_strerror.c: new file
158055682Smarkm	* getaddrinfo.c: new file
158155682Smarkm	* freeaddrinfo.c: new file
158255682Smarkm
158355682Smarkm1999-11-25  Assar Westerlund  <assar@sics.se>
158455682Smarkm
158555682Smarkm	* getopt.c (getopt): return -1 instead of EOF.  From
158655682Smarkm	<art@stacken.kth.se>
158755682Smarkm
158855682Smarkm1999-11-13  Assar Westerlund  <assar@sics.se>
158955682Smarkm
159055682Smarkm	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
159155682Smarkm	world
159255682Smarkm
159355682Smarkm	* getcap.c: make sure to use db only if we have both the library
159455682Smarkm	and the header file
159555682Smarkm	
159655682Smarkm1999-11-12  Assar Westerlund  <assar@sics.se>
159755682Smarkm
159855682Smarkm	* getarg.h: add arg_counter
159955682Smarkm	* getarg.c: add a new type of argument: `arg_counter' re-organize
160055682Smarkm	the code somewhat
160155682Smarkm	
160255682Smarkm	* Makefile.am: add strptime and strpftime-test
160355682Smarkm	
160455682Smarkm	* snprintf.c (xyzprintf): try to do the right thing with an % at
160555682Smarkm	the end of the format string
160655682Smarkm	
160755682Smarkm	* strptime.c (strptime): implement '%U', '%V', '%W'
160855682Smarkm	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
160955682Smarkm	
161055682Smarkm	* strftime.c (strftime): correct %E and %O handling.  do something
161155682Smarkm 	reasonable with "...%"
161255682Smarkm
161355682Smarkm	* strftime.c: replace the BSD implementation by one of our own
161455682Smarkm	coding
161555682Smarkm
161655682Smarkm	* strptime.c : new file
161755682Smarkm	* strpftime-test.c: new file
161855682Smarkm
161955682Smarkm1999-11-07  Assar Westerlund  <assar@sics.se>
162055682Smarkm
162155682Smarkm	* parse_bytes-test.c: new file
162255682Smarkm
162355682Smarkm	* Makefile.am: add parse_bytes-test
162455682Smarkm
162555682Smarkm	* parse_units.c (parse_something): try to handle the case of no
162655682Smarkm 	value specified a little bit better
162755682Smarkm
162855682Smarkm1999-11-04  Assar Westerlund  <assar@sics.se>
162955682Smarkm
163055682Smarkm	* Makefile.am: bump version to 3:2:0
163155682Smarkm
163255682Smarkm1999-10-30  Assar Westerlund  <assar@sics.se>
163355682Smarkm
163455682Smarkm	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
163555682Smarkm 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
163655682Smarkm 	Rini <trini@kernel.crashing.org>
163755682Smarkm
163855682Smarkm1999-10-28  Assar Westerlund  <assar@sics.se>
163955682Smarkm
164055682Smarkm	* Makefile.am: bump version to 3:1:0
164155682Smarkm
164255682Smarkm	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
164355682Smarkm 	having to have that definition.  this is the easy way out instead
164455682Smarkm 	of getting the definition here where it's needed.  flame me.
164555682Smarkm
164655682SmarkmFri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
164755682Smarkm
164855682Smarkm	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
164955682Smarkm 	though it should), use getspnam().
165055682Smarkm
165155682Smarkm1999-10-20  Assar Westerlund  <assar@sics.se>
165255682Smarkm
165355682Smarkm	* Makefile.am: set version to 3:0:0
165455682Smarkm
165555682Smarkm1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
165655682Smarkm
165755682Smarkm	* getarg.3: document arg_collect
165855682Smarkm
165955682Smarkm	* getarg.c: change the way arg_collect works; it's still quite
166055682Smarkm	horrible though
166155682Smarkm
166255682Smarkm	* getarg.h: change type of the collect function
166355682Smarkm
166455682Smarkm1999-10-17  Assar Westerlund  <assar@sics.se>
166555682Smarkm
166655682Smarkm	* xdbm.h: undo last commit
166755682Smarkm
166855682Smarkm	* xdbm.h: reorder db includes
166955682Smarkm
167055682Smarkm1999-10-10  Assar Westerlund  <assar@sics.se>
167155682Smarkm
167255682Smarkm	* socket.c: const-ize and comment
167355682Smarkm
167455682Smarkm	* net_write.c: const-ize
167555682Smarkm
167655682Smarkm	* base64.c: const-ize
167755682Smarkm
167855682Smarkm1999-10-06  Assar Westerlund  <assar@sics.se>
167955682Smarkm
168055682Smarkm	* getarg.c (getarg): also set optind when returning error
168155682Smarkm
168255682Smarkm1999-09-26  Assar Westerlund  <assar@sics.se>
168355682Smarkm
168455682Smarkm	* Makefile.am: add parse_bytes.[ch]
168555682Smarkm
168655682Smarkm1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
168755682Smarkm
168855682Smarkm	* getarg.3: getarg manpage
168955682Smarkm
169055682Smarkm	* getarg.{c,h}: add a callback type to do more complicated processing
169155682Smarkm
169255682Smarkm	* getarg.{c,h}: add floating point support
169355682Smarkm
169455682Smarkm1999-09-16  Assar Westerlund  <assar@sics.se>
169555682Smarkm
169655682Smarkm	* strlcat.c (strlcat): call strlcpy
169755682Smarkm
169855682Smarkm	* strlcpy.c: update name and prototype
169955682Smarkm
170055682Smarkm	* strlcat.c: update name and prototype
170155682Smarkm
170255682Smarkm	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
170355682Smarkm
170455682Smarkm	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
170555682Smarkm
170655682Smarkm	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
170755682Smarkm
170855682Smarkm 	* strcpy_truncate.c (strcpy_truncate): change return value to be
170955682Smarkm 	the length of `src'
171055682Smarkm
171155682Smarkm1999-08-16  Assar Westerlund  <assar@sics.se>
171255682Smarkm
171355682Smarkm	* getcap.c: try to make this work on systems with DB
171455682Smarkm
171555682Smarkm1999-08-16  Johan Danielsson  <joda@pdc.kth.se>
171655682Smarkm
171755682Smarkm	* getcap.c: protect from db-less systems
171855682Smarkm
171955682Smarkm1999-08-09  Johan Danielsson  <joda@pdc.kth.se>
172055682Smarkm
172155682Smarkm	* simple_exec.c: add simple_exec{ve,le}
172255682Smarkm
172355682Smarkm	* getcap.c: getcap from NetBSD
172455682Smarkm
172555682Smarkm1999-08-06  Assar Westerlund  <assar@sics.se>
172655682Smarkm
172755682Smarkm	* roken.h.in (sockaddr_storage): cater for those that have
172855682Smarkm 	v6-support also
172955682Smarkm
173055682Smarkm1999-08-05  Assar Westerlund  <assar@sics.se>
173155682Smarkm
173255682Smarkm	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
173355682Smarkm
173455682Smarkm1999-08-04  Assar Westerlund  <assar@sics.se>
173555682Smarkm
173655682Smarkm	* roken-common.h: add shutdown constants
173755682Smarkm
173855682Smarkm	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
173955682Smarkm 	protocol not being supported
174055682Smarkm
174155682Smarkm1999-08-01  Assar Westerlund  <assar@sics.se>
174255682Smarkm
174355682Smarkm	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
174455682Smarkm
174555682Smarkm1999-07-29  Assar Westerlund  <assar@sics.se>
174655682Smarkm
174755682Smarkm	* mini_inetd.c (mini_inetd): fix my stupid bugs
174855682Smarkm
174955682Smarkm1999-07-28  Assar Westerlund  <assar@sics.se>
175055682Smarkm
175155682Smarkm	* roken-common.h: add socket* functions
175255682Smarkm
175355682Smarkm	* Makefile.am (libroken_la_SOURCES): add socket.c
175455682Smarkm
175555682Smarkm	* socket.c: new file, originally from appl/ftp/common
175655682Smarkm
175755682Smarkm	* Makefile.am: set version to 2:0:2
175855682Smarkm
175955682Smarkm	* roken.h.in (inet_pton): add prototype
176055682Smarkm
176155682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
176255682Smarkm
176355682Smarkm	* inet_pton.c: new file
176455682Smarkm
176555682Smarkm	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
176655682Smarkm 	have it
176755682Smarkm
176855682Smarkm1999-07-27  Assar Westerlund  <assar@sics.se>
176955682Smarkm
177055682Smarkm	* mini_inetd.c: support IPv6
177155682Smarkm
177255682Smarkm1999-07-26  Assar Westerlund  <assar@sics.se>
177355682Smarkm
177455682Smarkm	* Makefile.am: set version to 1:0:1
177555682Smarkm
177655682Smarkm	* roken.h.in (inet_ntop): add prototype
177755682Smarkm
177855682Smarkm 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
177955682Smarkm
178055682Smarkm	* inet_ntop.c: new file
178155682Smarkm
178255682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
178355682Smarkm
178455682Smarkm	* Makefile.am: move some files from libroken_la_SOURCES to
178555682Smarkm 	EXTRA_libroken_la_SOURCES
178655682Smarkm
178755682Smarkm	* snprintf.c: some signed vs unsigned casts
178855682Smarkm	
178955682Smarkm1999-07-24  Assar Westerlund  <assar@sics.se>
179055682Smarkm
179155682Smarkm	* roken.h.in (struct sockaddr_storage): define it needed
179255682Smarkm
179355682Smarkm1999-07-19  Assar Westerlund  <assar@sics.se>
179455682Smarkm
179555682Smarkm	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
179655682Smarkm 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
179755682Smarkm	
179855682Smarkm	* roken.h.in: <netdb.h>: include
179955682Smarkm	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
180055682Smarkm	prototypes
180155682Smarkm
180255682Smarkm	* roken-common.h: new constants for getipnodeby*
180355682Smarkm
180455682Smarkm	* Makefile.in (SOURCES): add freehostent, copyhostent,
180555682Smarkm 	getipnodebyname, getipnodebyaddr
180655682Smarkm
180755682Smarkm	* freehostent.c: new file
180855682Smarkm
180955682Smarkm	* copyhostent.c: new file
181055682Smarkm
181155682Smarkm	* getipnodebyaddr.c: new file
181255682Smarkm
181355682Smarkm	* getipnodebyname.c: new file
181455682Smarkm
181555682Smarkm1999-07-13  Assar Westerlund  <assar@sics.se>
181655682Smarkm
181755682Smarkm	* roken.h.in (k_getpwnam): update prototype
181855682Smarkm
181955682Smarkm	* k_getpwnam.c (k_getpwnam): const-ize
182055682Smarkm
182155682Smarkm	* get_default_username.c (get_default_username): a better way of
182255682Smarkm 	guessing when the user has su:ed
182355682Smarkm
182455682Smarkm1999-07-08  Johan Danielsson  <joda@pdc.kth.se>
182555682Smarkm
182655682Smarkm	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
182755682Smarkm	<jhutz+@cmu.edu>
182855682Smarkm
182955682Smarkm1999-07-06  Assar Westerlund  <assar@sics.se>
183055682Smarkm
183155682Smarkm	* readv.c (readv): typo
183255682Smarkm
183355682Smarkm1999-07-03  Assar Westerlund  <assar@sics.se>
183455682Smarkm
183555682Smarkm	* writev.c (writev): error check malloc properly
183655682Smarkm
183755682Smarkm	* sendmsg.c (sendmsg): error check malloc properly
183855682Smarkm
183955682Smarkm	* resolve.c (parse_reply): error check malloc properly
184055682Smarkm
184155682Smarkm	* recvmsg.c (recvmsg): error check malloc properly
184255682Smarkm
184355682Smarkm	* readv.c (readv): error check malloc properly
184455682Smarkm
184555682Smarkm1999-06-23  Assar Westerlund  <assar@sics.se>
184655682Smarkm
184755682Smarkm	* parse_units.c (acc_units): move the special case of 0 -> 1 to
184855682Smarkm 	parse_something to avoid having it happen at the end of the string
184955682Smarkm
185055682Smarkm1999-06-15  Assar Westerlund  <assar@sics.se>
185155682Smarkm
185255682Smarkm	* Makefile.in: add get_default_username
185355682Smarkm
185455682Smarkm	* get_default_username.c: new file
185555682Smarkm
185655682Smarkm	* roken.h.in (get_default_username): add prototype
185755682Smarkm
185855682Smarkm	* Makefile.am: add get_default_username
185955682Smarkm
186055682Smarkm1999-05-08  Assar Westerlund  <assar@sics.se>
186155682Smarkm
186255682Smarkm	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
186355682Smarkm
186455682Smarkm	* strnlen.c (strnlen): update prototype
186555682Smarkm
186655682Smarkm	* Makefile.am: strndup.c: add
186755682Smarkm
186855682Smarkm	* Makefile.in: strndup.c: add
186955682Smarkm
187055682Smarkm	* roken.h.in (strndup): add
187155682Smarkm	(strnlen): update prototype
187255682Smarkm
187355682Smarkm	* strndup.c: new file
187455682Smarkm
187555682SmarkmFri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
187655682Smarkm
187755682Smarkm	* roken.h.in: include strsep prototype if needed
187855682Smarkm
187955682SmarkmThu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
188055682Smarkm
188155682Smarkm	* Makefile.am: make make-print-version.o depend on version.h
188255682Smarkm
188355682SmarkmWed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
188455682Smarkm
188555682Smarkm	* Makefile.am: make it compile w/o krb4
188655682Smarkm
188755682SmarkmSat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
188855682Smarkm
188955682Smarkm	* snprintf.c (vasnprintf): correct check if realloc returns NULL
189055682Smarkm
189155682SmarkmSat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
189255682Smarkm
189355682Smarkm	* Makefile.am: link print_version with -ldes to avoid unresolved
189455682Smarkm 	references if -lkrb is shared
189555682Smarkm
189655682SmarkmSat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
189755682Smarkm
189855682Smarkm	* roken-common.h (eread, ewrite): add
189955682Smarkm
190055682Smarkm	* simple_exec.c: add <roken.h>
190155682Smarkm
190255682SmarkmFri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
190355682Smarkm
190455682Smarkm	* Makefile.in: add eread, ewrite
190555682Smarkm
190655682Smarkm	* eread.c, ewrite.c: new files
190755682Smarkm
190855682Smarkm	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
190955682Smarkm
191055682SmarkmFri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
191155682Smarkm
191255682Smarkm	* Makefile.am: add version-info
191355682Smarkm
191455682SmarkmThu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
191555682Smarkm
191655682Smarkm	* Makefile.am: remove include_dir hack
191755682Smarkm
191855682Smarkm	* Makefile.am: parse_units.h
191955682Smarkm
192055682Smarkm	* Makefile.am: include Makefile.am.common
192155682Smarkm
192255682SmarkmSat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
192355682Smarkm
192455682Smarkm	* Makefile.in (SOURCES): add glob.c
192555682Smarkm
192655682SmarkmThu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
192755682Smarkm
192855682Smarkm	* iruserok.c: move innetgr() to separate file
192955682Smarkm
193055682Smarkm	* innetgr.c: move innetgr() to separate file
193155682Smarkm
193255682Smarkm	* hstrerror.c (hstrerror): add const to return type
193355682Smarkm
193455682Smarkm	* erealloc.c: fix types in format string
193555682Smarkm
193655682Smarkm	* emalloc.c: fix types in format string
193755682Smarkm
193855682SmarkmWed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
193955682Smarkm
194055682Smarkm	* resolve.c: ugly fix for crays
194155682Smarkm
194255682SmarkmMon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
194355682Smarkm
194455682Smarkm	* roken.h.in: protos for {un,}setenv
194555682Smarkm
194655682Smarkm1999-02-16  Assar Westerlund  <assar@sics.se>
194755682Smarkm
194855682Smarkm	* Makefile.in (SOURCES): add fnmatch
194955682Smarkm
195055682Smarkm	* roken-common.h (abs): add
195155682Smarkm
195255682SmarkmSat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
195355682Smarkm
195455682Smarkm	* emalloc.c, erealloc.c, estrup.c: new files
195555682Smarkm
195655682Smarkm	* roken.h.in (mkstemp, gethostname): also includes prototypes if
195755682Smarkm 	they are needed.
195855682Smarkm
195955682Smarkm1998-12-23  Assar Westerlund  <assar@sics.se>
196055682Smarkm
196155682Smarkm	* roken.h.in: mkstemp: add prototype
196255682Smarkm
196355682Smarkm1998-12-20  Assar Westerlund  <assar@sics.se>
196455682Smarkm
196555682Smarkm	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
196655682Smarkm
196755682Smarkm	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
196855682Smarkm
196955682Smarkm	* roken-common.h: __attribute__: check for autoconf'd
197055682Smarkm	HAVE___ATTRIBUTE__ instead of GNUC
197155682Smarkm
197255682SmarkmSun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
197355682Smarkm
197455682Smarkm	* parse_units.c (parse_something): func is called with val == 0 if
197555682Smarkm 	no unit was given
197655682Smarkm	(acc_flags, acc_units): update to new standard
197755682Smarkm
197855682SmarkmFri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
197955682Smarkm
198055682Smarkm	* resolve.c (stot): constify
198155682Smarkm	(type_to_string): always declare
198255682Smarkm	(dns_lookup_int): correct debug output
198355682Smarkm
198455682SmarkmThu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
198555682Smarkm
198655682Smarkm	* resolve.c (dns_lookup_int): send rr_class to res_search
198755682Smarkm
198855682SmarkmThu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
198955682Smarkm
199055682Smarkm	* resolve.c: some cleanup
199155682Smarkm
199255682Smarkm	* resolve.h: add T_NAPTR
199355682Smarkm
199455682SmarkmSun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
199555682Smarkm
199655682Smarkm	* Makefile.in (WFLAGS): set
199755682Smarkm
199855682Smarkm	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
199955682Smarkm
200055682Smarkm	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
200155682Smarkm
200255682SmarkmTue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
200355682Smarkm
200455682Smarkm	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
200555682Smarkm
200655682SmarkmFri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
200755682Smarkm
200855682Smarkm	* vsyslog.c: asprintf -> vasprintf
200955682Smarkm
201055682SmarkmTue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
201155682Smarkm
201255682Smarkm	* getarg.h (arg_printusage): new signature
201355682Smarkm
201455682Smarkm	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
201555682Smarkm 	__progname.
201655682Smarkm
201755682SmarkmSun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
201855682Smarkm
201955682Smarkm	* Makefile.am: net_{read,write}.c
202055682Smarkm
202155682SmarkmFri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
202255682Smarkm
202355682Smarkm	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
202455682Smarkm 	EINTR
202555682Smarkm
202655682SmarkmThu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
202755682Smarkm
202855682Smarkm	* Makefile.am: net_{read,write}.c
202955682Smarkm
203055682SmarkmWed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
203155682Smarkm
203255682Smarkm	* simple_exec.c (simple_execlp): initialize `argv'
203355682Smarkm
203455682SmarkmMon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
203555682Smarkm
203655682Smarkm	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
203755682Smarkm 	use a copy instead
203855682Smarkm
203955682SmarkmFri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
204055682Smarkm
204155682Smarkm	* roken.h.in (net_write, net_read): add prototypes
204255682Smarkm
204355682Smarkm	* Makefile.in: net_{read,write}.c: add
204455682Smarkm
204555682Smarkm	* net_{read,write}.c: new files
204655682Smarkm
204755682SmarkmTue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
204855682Smarkm
204955682Smarkm	* roken.h.in (issuid): add
205055682Smarkm
205155682Smarkm	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
205255682Smarkm 	fields
205355682Smarkm
205455682SmarkmSun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
205555682Smarkm
205655682Smarkm	* getarg.c (mandoc_template): Put short and long options in
205755682Smarkm 	SYNOPSIS within the same [ ] pair.
205855682Smarkm
205955682SmarkmSat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
206055682Smarkm
206155682Smarkm	* getarg.c (arg_printusage): try to keep options shorter than
206255682Smarkm 	column width
206355682Smarkm
206455682Smarkm	* get_window_size.c (get_window_size): check COLUMNS and LINES
206555682Smarkm
206655682SmarkmFri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
206755682Smarkm
206855682Smarkm	* getarg.c (mandoc_template): Put short and long options in
206955682Smarkm 	DESCRIPTION on the same line.
207055682Smarkm
207155682Smarkm	* getarg.c (arg_match_long): make sure you only get an exact match
207255682Smarkm 	if the strings are the same length
207355682Smarkm
207455682SmarkmThu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
207555682Smarkm
207655682Smarkm	* roken.awk: stupid cray awk wants \#
207755682Smarkm
207855682SmarkmFri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
207955682Smarkm
208055682Smarkm	* print_version.c (print_version): according to ISO/ANSI C the
208155682Smarkm 	elements of `arg' are not constant and therefore not settable at
208255682Smarkm 	compile-time.  Set the at run-time instead.
208355682Smarkm
208455682SmarkmSun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
208555682Smarkm
208655682Smarkm	* roken.h.in: include paths.h
208755682Smarkm
208855682SmarkmSun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
208955682Smarkm
209055682Smarkm	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
209155682Smarkm 	make happy
209255682Smarkm
209355682SmarkmThu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
209455682Smarkm
209555682Smarkm	* simple_exec.c: Simple fork+exec system() replacement.
209655682Smarkm
209755682SmarkmFri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
209855682Smarkm
2099178825Sdfr	* roken_gethostby.c: Make `roken_gethostby_setup' take URL-like
210055682Smarkm 	specification instead of split up versions. Makes it easier for
210155682Smarkm 	calling applications.
210255682Smarkm
210355682Smarkm	* roken_gethostby.c: Another miracle of the 20th century:
210455682Smarkm 	gethostby* over HTTP.
210555682Smarkm
210655682SmarkmSat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
210755682Smarkm
210855682Smarkm	* parse_time.c (unparse_time_approx): new function that calls
210955682Smarkm 	`unparse_units_approx'
211055682Smarkm
211155682Smarkm	* parse_units.c (unparse_units_approx): new function that will
211255682Smarkm 	only print the first unit.
211355682Smarkm
211455682Smarkm	* Makefile.in: include parse_{time,units}
211555682Smarkm
211655682SmarkmThu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
211755682Smarkm
211855682Smarkm	* parse_time.c (print_time_table): don't return a void value.
211955682Smarkm
212055682SmarkmTue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
212155682Smarkm
212255682Smarkm	* getarg.c (mandoc_template): Change date format to full month
212355682Smarkm 	name, and day of month without leading zero.
212455682Smarkm
212555682SmarkmThu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
212655682Smarkm
212755682Smarkm	* getarg.c: Fix long form of negative flags.
212855682Smarkm
212955682SmarkmMon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
213055682Smarkm
213155682Smarkm	* roken.h.in: Include <err.h>, to get linux __progname.
213255682Smarkm
213355682SmarkmSun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
213455682Smarkm
213555682Smarkm	* parse_time.c (print_time_table): new function
213655682Smarkm
213755682Smarkm	* parse_units.c (print_flags_table, print_units_table): new
213855682Smarkm 	functions.
213955682Smarkm
214055682SmarkmThu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
214155682Smarkm
214255682Smarkm	* iruserok.c: moved here.
214355682Smarkm
214455682Smarkm	* snprintf.c (sn_append_char): don't write any terminating zero.
214555682Smarkm	(as_reserve): don't loop.  better heuristic for how much space to
214655682Smarkm 	realloc.
214755682Smarkm	(vasnprintf): simplify initializing to one.
214855682Smarkm
214955682SmarkmSun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
215055682Smarkm
215155682Smarkm	* getarg.c: Add mandoc help back-end to getarg.
215255682Smarkm
215355682SmarkmWed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
215455682Smarkm
215555682Smarkm	* verr.c, verrx.c: Fix warnings by moving exit from.
215655682Smarkm
215755682SmarkmTue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
215855682Smarkm
215955682Smarkm	* parse_units.c: Change the list of separating characters (between
216055682Smarkm 	units) to comma, space, and tab, removing digits. Having digits in
216155682Smarkm 	this list makes a flag like `T42 generate a parse error. This
216255682Smarkm 	change makes `17m3s' an invalid time-spec (you need a space).
216355682Smarkm
216455682SmarkmTue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
216555682Smarkm
216655682Smarkm	* roken.h: add <sys/socket.h>
216755682Smarkm
216855682SmarkmSun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
216955682Smarkm
217055682Smarkm	* fnmatch.c: Add fnmatch from NetBSD
217155682Smarkm
217255682SmarkmSun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
217355682Smarkm
217455682Smarkm	* parse_units.c (parse_something): ignore white-space and ','
217555682Smarkm
217655682SmarkmMon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
217755682Smarkm	
217855682Smarkm	* roken.h: fclose prototype
217955682Smarkm
218055682Smarkm	* roken.h: add prototype for vsyslog
218155682Smarkm
218255682Smarkm	* Makefile.in: add some more source files to make soriasis make
218355682Smarkm 	happy
218455682Smarkm
218555682SmarkmSat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
218655682Smarkm
218755682Smarkm	* roken.h: include <sys/uio.h> and <errno.h>.
218855682Smarkm	prototypes for readv and writev
218955682Smarkm
219055682Smarkm	* readv.c, writev.c: new files
219155682Smarkm
219255682SmarkmWed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
219355682Smarkm
219455682Smarkm	* roken.h: Add ugly macros for openlog, gethostbyname,
219555682Smarkm 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
219655682Smarkm 	default definition of MAXPATHLEN
2197