xref: /freebsd/crypto/heimdal/lib/roken/ChangeLog (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
1*ae771770SStanislav Sedov2008-07-12  Love Hörnquist Åstrand  <lha@kth.se>
2*ae771770SStanislav Sedov
3*ae771770SStanislav Sedov	* rkpty.c: Always print output for status.
4*ae771770SStanislav Sedov
5*ae771770SStanislav Sedov2008-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
6*ae771770SStanislav Sedov
7*ae771770SStanislav Sedov	* getaddrinfo-test.c: drop )
8*ae771770SStanislav Sedov
9*ae771770SStanislav Sedov	* Makefile.am: Add rkpty.
10*ae771770SStanislav Sedov
11*ae771770SStanislav Sedov	* rkpty.c: More includes.
12*ae771770SStanislav Sedov
13*ae771770SStanislav Sedov	* rkpty.c: Add timeout, add password command, add diffrent
14*ae771770SStanislav Sedov	verbosity levels.
15*ae771770SStanislav Sedov
16*ae771770SStanislav Sedov2008-04-26  Love Hörnquist Åstrand  <lha@it.su.se>
17*ae771770SStanislav Sedov
18*ae771770SStanislav Sedov	* rkpty.c: pty testing application
19*ae771770SStanislav Sedov
20*ae771770SStanislav Sedov2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
21*ae771770SStanislav Sedov
22*ae771770SStanislav Sedov	* resolve.c: Use unsigned where appropriate.
23*ae771770SStanislav Sedov
24*ae771770SStanislav Sedov2008-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
25*ae771770SStanislav Sedov
26*ae771770SStanislav Sedov	* Makefile.am: make AM_CPPFLAGS +=
27*ae771770SStanislav Sedov
28*ae771770SStanislav Sedov2008-02-22  Love Hörnquist Åstrand  <lha@it.su.se>
29*ae771770SStanislav Sedov
30*ae771770SStanislav Sedov	* Makefile.am: Use AM_CPPFLAGS instead, not really right, but
31*ae771770SStanislav Sedov	definatly better then CPPFLAGS. Thanks to Mike Whitton for
32*ae771770SStanislav Sedov	pointing this out.
33*ae771770SStanislav Sedov
34*ae771770SStanislav Sedov2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
351c43270aSJacques Vidrine
36c19800e8SDoug Rabson	* Makefile.am: add missing files.
371c43270aSJacques Vidrine
38*ae771770SStanislav Sedov2007-08-09  Love Hörnquist Åstrand  <lha@it.su.se>
391c43270aSJacques Vidrine
40c19800e8SDoug Rabson	* strftime.c: rewrite str[pf]time for testing.
411c43270aSJacques Vidrine
42c19800e8SDoug Rabson	* strptime.c: rewrite str[pf]time for testing.
43c19800e8SDoug Rabson
44c19800e8SDoug Rabson	* Makefile.am: add TEST_STRPFTIME
45c19800e8SDoug Rabson
46*ae771770SStanislav Sedov2007-07-17  Love Hörnquist Åstrand  <lha@it.su.se>
47c19800e8SDoug Rabson
48c19800e8SDoug Rabson	* ndbm_wrap.c (dbm_get): set dsize to 0 on failure.
49c19800e8SDoug Rabson
50c19800e8SDoug Rabson	* Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST
51c19800e8SDoug Rabson
52c19800e8SDoug Rabson	* ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure.
53c19800e8SDoug Rabson
54*ae771770SStanislav Sedov2007-07-16  Love Hörnquist Åstrand  <lha@it.su.se>
55c19800e8SDoug Rabson
56c19800e8SDoug Rabson	* socket_wrapper.c: Implement swrap_dup too.
57c19800e8SDoug Rabson
58c19800e8SDoug Rabson	* socket_wrapper.c: Add dup(dummy stub) and dup2(real).
59c19800e8SDoug Rabson
60c19800e8SDoug Rabson	* socket_wrapper.h: Add dup(dummy stub) and dup2(real).
61c19800e8SDoug Rabson
62*ae771770SStanislav Sedov2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
63c19800e8SDoug Rabson
64c19800e8SDoug Rabson	* Makefile.am: New library version.
65c19800e8SDoug Rabson
66*ae771770SStanislav Sedov2007-06-19  Love Hörnquist Åstrand  <lha@it.su.se>
67c19800e8SDoug Rabson
68c19800e8SDoug Rabson	* roken_gethostby.c: set proxy_port to 0 to pacify BEAM.
69c19800e8SDoug Rabson
70*ae771770SStanislav Sedov2007-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
71c19800e8SDoug Rabson
72c19800e8SDoug Rabson	* use "roken.h" consitantly
73c19800e8SDoug Rabson
74*ae771770SStanislav Sedov2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>
75c19800e8SDoug Rabson
76c19800e8SDoug Rabson	* test-readenv.c: Free environment.
77c19800e8SDoug Rabson
78c19800e8SDoug Rabson	* environment.c (free_environment): free result of
79c19800e8SDoug Rabson	read_environment().
80c19800e8SDoug Rabson
81c19800e8SDoug Rabson	* roken-common.h (free_environment): free result of
82c19800e8SDoug Rabson	read_environment().
83c19800e8SDoug Rabson
84*ae771770SStanislav Sedov2007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
85c19800e8SDoug Rabson
86c19800e8SDoug Rabson	* fnmatch.c: Do recursive call to rk_fnmatch
87c19800e8SDoug Rabson
88*ae771770SStanislav Sedov2007-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
89c19800e8SDoug Rabson
90c19800e8SDoug Rabson	* resolve.c: Try harder to call res_ndestroy().
91c19800e8SDoug Rabson
92*ae771770SStanislav Sedov2006-12-27  Love Hörnquist Åstrand  <lha@it.su.se>
93c19800e8SDoug Rabson
94c19800e8SDoug Rabson	* Makefile.am: make sure built headers are copied to the
95c19800e8SDoug Rabson	${build_topdir}/include
96c19800e8SDoug Rabson
97*ae771770SStanislav Sedov2006-12-15  Love Hörnquist Åstrand  <lha@it.su.se>
98c19800e8SDoug Rabson
99c19800e8SDoug Rabson	* unvis.c: Use internal version of rk_unvis
100c19800e8SDoug Rabson
101c19800e8SDoug Rabson	* unvis.c: Always include rk_versions.
102c19800e8SDoug Rabson
103c19800e8SDoug Rabson	* vis.c: Always include rk_versions.
104c19800e8SDoug Rabson
105c19800e8SDoug Rabson	* vis.hin: Fix argument for unvis and strsvisx.
106c19800e8SDoug Rabson
107c19800e8SDoug Rabson	* unvis.c: prefix unvis functions with rk_, and prototypes.
108c19800e8SDoug Rabson
109*ae771770SStanislav Sedov2006-12-13  Love Hörnquist Åstrand  <lha@it.su.se>
110c19800e8SDoug Rabson
111c19800e8SDoug Rabson	* vis.c: Provide some prototypes for the rk_vis functions.
112c19800e8SDoug Rabson
113*ae771770SStanislav Sedov2006-12-11  Love Hörnquist Åstrand  <lha@it.su.se>
114c19800e8SDoug Rabson
115c19800e8SDoug Rabson	* ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol
116c19800e8SDoug Rabson	renaming.
117c19800e8SDoug Rabson
118c19800e8SDoug Rabson	* fnmatch.c: Prefix fnmatch functions with rk_ and do symbol
119c19800e8SDoug Rabson	renaming.
120c19800e8SDoug Rabson
121c19800e8SDoug Rabson	* vis.hin: Prefix strvis functions with rk_ and do symbol
122c19800e8SDoug Rabson	renaming.
123c19800e8SDoug Rabson
124c19800e8SDoug Rabson	* vis.c: prefix strvis functions with rk_
125c19800e8SDoug Rabson
126c19800e8SDoug Rabson	* Makefile.am: Install extra posix headers in <roken/...> to avoid
127c19800e8SDoug Rabson	dup headers.
128c19800e8SDoug Rabson
129*ae771770SStanislav Sedov2006-11-09  Love Hörnquist Åstrand  <lha@it.su.se>
130c19800e8SDoug Rabson
131c19800e8SDoug Rabson	* socket_wrapper.c (swrap_sendto): fail on to unknown si->type
132c19800e8SDoug Rabson
133*ae771770SStanislav Sedov2006-11-06  Love Hörnquist Åstrand  <lha@it.su.se>
134c19800e8SDoug Rabson
135c19800e8SDoug Rabson	* socket_wrapper.c: A few fixes to have Heimdal pass the make
136c19800e8SDoug Rabson	check under socket_wrapper. The first is a missing 'break' before
137c19800e8SDoug Rabson	the (heimdal specific) IPv6 support. The second works around the
138c19800e8SDoug Rabson	fact that sendto() *may* object to a destination being specified.
139c19800e8SDoug Rabson	It appears to be that on Linux, this objects (with EISCONN) for
140c19800e8SDoug Rabson	unix stream sockets, but not for TCP sockets. The alternate fix
141c19800e8SDoug Rabson	would be to have the KDC use 'send()' in this case. Andrew Bartlett.
142c19800e8SDoug Rabson
143*ae771770SStanislav Sedov2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
144c19800e8SDoug Rabson
145c19800e8SDoug Rabson	* Makefile.am: split dist and nondist HEADERS
146c19800e8SDoug Rabson
147*ae771770SStanislav Sedov2006-10-19  Love Hörnquist Åstrand  <lha@it.su.se>
148c19800e8SDoug Rabson
149c19800e8SDoug Rabson	* roken.h.in: Add timegm glue.
150c19800e8SDoug Rabson
151c19800e8SDoug Rabson	* timegm.c: add timegm()
152c19800e8SDoug Rabson
153c19800e8SDoug Rabson	* socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX
154c19800e8SDoug Rabson	6.4.
155c19800e8SDoug Rabson
156c19800e8SDoug Rabson	* socket_wrapper.c: Maybe include <sys/time.h> and/or maybe
157c19800e8SDoug Rabson	include <time.h>.
158c19800e8SDoug Rabson
159*ae771770SStanislav Sedov2006-10-17  Love Hörnquist Åstrand  <lha@it.su.se>
160c19800e8SDoug Rabson
161c19800e8SDoug Rabson	* roken.h.in: Revert prevois for now, the problem is that we have
162c19800e8SDoug Rabson	to include symbols unconditionally, even for those that just needs
163c19800e8SDoug Rabson	protos.
164c19800e8SDoug Rabson
165c19800e8SDoug Rabson	* roken.h.in: Provide symbol renaming, let see what breaks.
166c19800e8SDoug Rabson
167c19800e8SDoug Rabson	* socket_wrapper.c: Maybe include <sys/filio.h>.
168c19800e8SDoug Rabson
169*ae771770SStanislav Sedov2006-10-10  Love Hörnquist Åstrand  <lha@it.su.se>
170c19800e8SDoug Rabson
171c19800e8SDoug Rabson	* socket_wrapper.c: more consitity check, remove dead code, add
172c19800e8SDoug Rabson	socket length code, add missing break, make diffrent chars of type
173c19800e8SDoug Rabson	type files for case-insensitiv filesystems
174c19800e8SDoug Rabson
175c19800e8SDoug Rabson	* socket_wrapper.c: try even hard to not use socket wrapper for
176c19800e8SDoug Rabson	socket_wrapper itself.
177c19800e8SDoug Rabson
178c19800e8SDoug Rabson	* socket_wrapper.c: Force no socket wrapper for socket_wrapper
179c19800e8SDoug Rabson	itself.
180c19800e8SDoug Rabson
181*ae771770SStanislav Sedov2006-10-09  Love Hörnquist Åstrand  <lha@it.su.se>
182c19800e8SDoug Rabson
183c19800e8SDoug Rabson	* socket_wrapper.c: Maybe include <config.h>.
184c19800e8SDoug Rabson
185c19800e8SDoug Rabson	* socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6.
186c19800e8SDoug Rabson
187c19800e8SDoug Rabson	* socket_wrapper.c: Use a symbol for the v6 address.
188c19800e8SDoug Rabson
189c19800e8SDoug Rabson	* socket_wrapper.c: Add IPv6 suppport.
190c19800e8SDoug Rabson
191c19800e8SDoug Rabson	* socket_wrapper.[ch]: Include socket wrapper from samba4 (rev
192c19800e8SDoug Rabson	19179).
193c19800e8SDoug Rabson
194*ae771770SStanislav Sedov2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
195c19800e8SDoug Rabson
196c19800e8SDoug Rabson	* Makefile.am: Add build_HEADERZ to EXTRA_DIST
197c19800e8SDoug Rabson
198c19800e8SDoug Rabson	* Makefile.am: Add man_MANS to EXTRA_DIST
199c19800e8SDoug Rabson
200c19800e8SDoug Rabson	* Makefile.am: Add to all objects BUILD_ROKEN_LIB.
201c19800e8SDoug Rabson
202*ae771770SStanislav Sedov2006-09-16  Love Hörnquist Åstrand  <lha@it.su.se>
203c19800e8SDoug Rabson
204c19800e8SDoug Rabson	* roken.h.in: Add samba socket wrapper fragment.
205c19800e8SDoug Rabson
206c19800e8SDoug Rabson	* Makefile.am: Add samba socket wrapper fragment.
207c19800e8SDoug Rabson
208*ae771770SStanislav Sedov2006-09-05  Love Hörnquist Åstrand  <lha@it.su.se>
209c19800e8SDoug Rabson
210c19800e8SDoug Rabson	* snprintf.c: reapply patch that went away in last commit
211c19800e8SDoug Rabson
212c19800e8SDoug Rabson	* snprintf-test.c: unbreak from previous commit
213c19800e8SDoug Rabson
214c19800e8SDoug Rabson	* snprintf.c: Add size_t formater (z modifer).
215c19800e8SDoug Rabson
216c19800e8SDoug Rabson	* snprintf-test.c: add tests for size_t printf formater
217c19800e8SDoug Rabson
218*ae771770SStanislav Sedov2006-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
219c19800e8SDoug Rabson
220c19800e8SDoug Rabson	* rtbl.h: Add extern "C" for C++.
221c19800e8SDoug Rabson
222c19800e8SDoug Rabson	* rtbl.c: Add rtbl_add_column_entryv functions, printf like
223c19800e8SDoug Rabson
224c19800e8SDoug Rabson	* rtbl.h: Add rtbl_add_column_entryv functions, printf like
225c19800e8SDoug Rabson
226*ae771770SStanislav Sedov2006-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
227c19800e8SDoug Rabson
228c19800e8SDoug Rabson	* glob.hin: Add extern "C" for C++. From joerg at britannica dot
229c19800e8SDoug Rabson	bec dot de
230c19800e8SDoug Rabson
231c19800e8SDoug Rabson	* fnmatch.hin: Add extern "C" for C++. From joerg at britannica
232c19800e8SDoug Rabson	dot bec dot de
233c19800e8SDoug Rabson
234*ae771770SStanislav Sedov2006-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
235c19800e8SDoug Rabson
236c19800e8SDoug Rabson	* fnmatch.hin (fnmatch): CPP rename to rk_fnmatch
237c19800e8SDoug Rabson
238*ae771770SStanislav Sedov2006-04-14  Love Hörnquist Åstrand  <lha@it.su.se>
239c19800e8SDoug Rabson
240c19800e8SDoug Rabson	* resolve.c (dns_srv_order): change a if (ptr == NULL) continue
241c19800e8SDoug Rabson	into a assert(ptr != NULL) since it could never happen, found by
242c19800e8SDoug Rabson	the IBM code checker (beam).  Thanks to Florian Krohm for
243c19800e8SDoug Rabson	explaining it.
244c19800e8SDoug Rabson
245*ae771770SStanislav Sedov2006-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
246c19800e8SDoug Rabson
247c19800e8SDoug Rabson	* roken_gethostby.c (roken_gethostby): make addr_list one larger
248c19800e8SDoug Rabson	to avoid a off-by-one error. Found by IBM checker.
249c19800e8SDoug Rabson
250c19800e8SDoug Rabson	* resolve.c: Plug memory leak found by IBM checker (and try to
251c19800e8SDoug Rabson	please it).
252c19800e8SDoug Rabson
253*ae771770SStanislav Sedov2006-02-06  Love Hörnquist Åstrand  <lha@it.su.se>
254c19800e8SDoug Rabson
255c19800e8SDoug Rabson	* resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre
256c19800e8SDoug Rabson
257*ae771770SStanislav Sedov2006-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
258c19800e8SDoug Rabson
259c19800e8SDoug Rabson	* getcap.c: Don't use db support unless its build into libc but we
260c19800e8SDoug Rabson	dont check for that now, so just disable the code. This removes
261c19800e8SDoug Rabson	the dependency on libdb for roken, and that is a good thing since
262c19800e8SDoug Rabson	it causes problem with nss plugins that uses DB3 that also
263c19800e8SDoug Rabson	provides the same symbol, but with a diffrent ABI. so when the
264c19800e8SDoug Rabson	application calls getpwnamn() and it linked to roken, it craches
265c19800e8SDoug Rabson	in the nss functions.
266c19800e8SDoug Rabson
267*ae771770SStanislav Sedov2006-01-09  Love Hörnquist Åstrand  <lha@it.su.se>
268c19800e8SDoug Rabson
269c19800e8SDoug Rabson	* hex.c (hex_decode): support decoding odd number of characters,
270c19800e8SDoug Rabson	in the odd len case, the first character ends up in the first byte
271c19800e8SDoug Rabson	in the lower nibble.
272c19800e8SDoug Rabson
273c19800e8SDoug Rabson	* hex-test.c: Check that we can decode single character hex chars.
274c19800e8SDoug Rabson
275*ae771770SStanislav Sedov2005-12-12  Love Hörnquist Åstrand <lha@it.su.se>
276c19800e8SDoug Rabson
277c19800e8SDoug Rabson	* getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris
278c19800e8SDoug Rabson	large SIOCGIFCONF.
279c19800e8SDoug Rabson
280*ae771770SStanislav Sedov2005-09-28  Love Hörnquist Åstrand  <lha@it.su.se>
281c19800e8SDoug Rabson
282c19800e8SDoug Rabson	* roken-common.h: Move rk_UNCONST to roken.h.in since it might use
283c19800e8SDoug Rabson	uintptr_t depending on avaibility.
284c19800e8SDoug Rabson
285c19800e8SDoug Rabson	* roken.h.in: Include <stdint.h> if it exists.  If avaiable, use
286c19800e8SDoug Rabson	uintptr_t to define rk_UNCONST.
287c19800e8SDoug Rabson
288*ae771770SStanislav Sedov2005-09-22  Love Hörnquist Åstrand  <lha@it.su.se>
289c19800e8SDoug Rabson
290c19800e8SDoug Rabson	* roken-common.h: Add rk_dumpdata.
291c19800e8SDoug Rabson
292c19800e8SDoug Rabson	* dumpdata.c: Add rk_dumpdata() that write a chunk of data into a
293c19800e8SDoug Rabson	file for later processing by some other tool (like asn1_print).
294c19800e8SDoug Rabson
295*ae771770SStanislav Sedov2005-09-13  Love Hörnquist Åstrand  <lha@it.su.se>
296c19800e8SDoug Rabson
297c19800e8SDoug Rabson	* strptime.c: cast to unsigned char to make sure its not negative
298c19800e8SDoug Rabson	when passing it to is* functions
299c19800e8SDoug Rabson
300*ae771770SStanislav Sedov2005-09-01  Love Hörnquist Åstrand  <lha@it.su.se>
301c19800e8SDoug Rabson
302c19800e8SDoug Rabson	* socket.c: Add socket_set_ipv6only.
303c19800e8SDoug Rabson
304c19800e8SDoug Rabson	* roken-common.h: Add socket_set_ipv6only, remove some argument
305c19800e8SDoug Rabson	names.
306c19800e8SDoug Rabson
307*ae771770SStanislav Sedov2005-08-25  Love Hörnquist Åstrand  <lha@it.su.se>
308c19800e8SDoug Rabson
309c19800e8SDoug Rabson	* strpool.c (rk_strpoolprintf): remove debug printf, plug memory
310c19800e8SDoug Rabson	leak
311c19800e8SDoug Rabson
312*ae771770SStanislav Sedov2005-08-23  Love Hörnquist Åstrand  <lha@it.su.se>
313c19800e8SDoug Rabson
314c19800e8SDoug Rabson	* setprogname.c (setprogname): const poision
315c19800e8SDoug Rabson
316c19800e8SDoug Rabson	* print_version.c: Removed, moved to libvers.
317c19800e8SDoug Rabson
318*ae771770SStanislav Sedov2005-08-22  Love Hörnquist Åstrand  <lha@it.su.se>
319c19800e8SDoug Rabson
320c19800e8SDoug Rabson	* resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer
321c19800e8SDoug Rabson	that before res_nclose
322c19800e8SDoug Rabson
323*ae771770SStanislav Sedov2005-08-12 Love Hörnquist Åstrand  <lha@it.su.se>
324c19800e8SDoug Rabson
325c19800e8SDoug Rabson	* getaddrinfo-test.c: Rename optind to optidx to avoid shadowing.
326c19800e8SDoug Rabson
327*ae771770SStanislav Sedov2005-08-05  Love Hörnquist Åstrand  <lha@it.su.se>
328c19800e8SDoug Rabson
329c19800e8SDoug Rabson	* gai_strerror.c: sprinkel more const
330c19800e8SDoug Rabson
331c19800e8SDoug Rabson	* gai_strerror.c, roken.h.in: Make return value of gai_strerror
332c19800e8SDoug Rabson	const to match SUSv3.  Prompted by Stefan Metzmacher change to
333c19800e8SDoug Rabson	Samba.
334c19800e8SDoug Rabson
335*ae771770SStanislav Sedov2005-07-19  Love Hörnquist Åstrand  <lha@it.su.se>
336c19800e8SDoug Rabson
337c19800e8SDoug Rabson	* roken.h.in: Remove parameter names to avoid shadow warnings.
338c19800e8SDoug Rabson
339*ae771770SStanislav Sedov2005-07-13  Love Hörnquist Åstrand  <lha@it.su.se>
340c19800e8SDoug Rabson
341c19800e8SDoug Rabson	* getifaddrs.c (nl_getlist): poll to get messages from kernel, and
342c19800e8SDoug Rabson	retry if the message was lost
343c19800e8SDoug Rabson	(free_nlmsglist): free all linked elements, not just the first one
344c19800e8SDoug Rabson
345*ae771770SStanislav Sedov2005-07-08  Love Hörnquist Åstrand  <lha@it.su.se>
346c19800e8SDoug Rabson
347c19800e8SDoug Rabson	* snprintf-test.c: Check a very simple format string
348c19800e8SDoug Rabson
349*ae771770SStanislav Sedov2005-07-07  Love Hörnquist Åstrand  <lha@it.su.se>
350c19800e8SDoug Rabson
351c19800e8SDoug Rabson	* roken.h.in: If we have <strings.h> include it, its needed for
352c19800e8SDoug Rabson	strcasecmp() on those platforms that are SUS3/iso c99 strict (like
353c19800e8SDoug Rabson	AIX)
354c19800e8SDoug Rabson
355c19800e8SDoug Rabson	* roken-common.h: remove duplicate ;
356c19800e8SDoug Rabson
357*ae771770SStanislav Sedov2005-07-06  Love Hörnquist Åstrand  <lha@it.su.se>
358c19800e8SDoug Rabson
359c19800e8SDoug Rabson	* roken-common.h: rk_strpoolprintf first variable identifier is 3
360c19800e8SDoug Rabson
361*ae771770SStanislav Sedov2005-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
362c19800e8SDoug Rabson
363c19800e8SDoug Rabson	* base64.h: remove variable names
364c19800e8SDoug Rabson
365*ae771770SStanislav Sedov2005-06-29  Love Hörnquist Åstrand  <lha@it.su.se>
366c19800e8SDoug Rabson
367c19800e8SDoug Rabson	* roken-common.h: fix format attribute
368c19800e8SDoug Rabson
369c19800e8SDoug Rabson	* Makefile.am (libroken_la_SOURCES): += strpool.c
370c19800e8SDoug Rabson
371c19800e8SDoug Rabson	* roken-common.h: add strpool, a printf collector to make it
372c19800e8SDoug Rabson	eaiser to collect strings into one string
373c19800e8SDoug Rabson
374c19800e8SDoug Rabson	* strpool.c: add strpool, a printf collector to make it eaiser to
375c19800e8SDoug Rabson	collect strings into one string
376c19800e8SDoug Rabson
377*ae771770SStanislav Sedov2005-06-23  Love Hörnquist Åstrand  <lha@it.su.se>
378c19800e8SDoug Rabson
379c19800e8SDoug Rabson	* base64.c: Add const, from Andrew Abartlet <abartlet@samba.org>
380c19800e8SDoug Rabson
381*ae771770SStanislav Sedov2005-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
382c19800e8SDoug Rabson
383c19800e8SDoug Rabson	* strpftime-test.c: test for "%Y%m"
384c19800e8SDoug Rabson
385c19800e8SDoug Rabson	* esetenv.c: unconst
386c19800e8SDoug Rabson
387c19800e8SDoug Rabson	* strptime.c: Write a new parse_number function that is possible
388c19800e8SDoug Rabson	to limit that amount of numbers used, with this strptime can
389c19800e8SDoug Rabson	handle strptime("200505", "%Y%m", &tm);
390c19800e8SDoug Rabson
391*ae771770SStanislav Sedov2005-06-16  Love Hörnquist Åstrand  <lha@it.su.se>
392c19800e8SDoug Rabson
393c19800e8SDoug Rabson	* getaddrinfo.c: avoid shadowing sin
394c19800e8SDoug Rabson
395c19800e8SDoug Rabson	* resolve-test.c: rename optind to optidx to avoid shadowing
396c19800e8SDoug Rabson
397c19800e8SDoug Rabson	* strptime.c: UNCONST return value from strptime
398c19800e8SDoug Rabson
399c19800e8SDoug Rabson	* strftime.c: rk_UNCONST argument mktime
400c19800e8SDoug Rabson
401c19800e8SDoug Rabson	* getnameinfo.c: avoid shadowing sin
402c19800e8SDoug Rabson
403c19800e8SDoug Rabson	* socket.c: avoid shadowing sin
404c19800e8SDoug Rabson
405c19800e8SDoug Rabson	* resolve.c (parse_record): fix casting to avoid losing const
406c19800e8SDoug Rabson
407c19800e8SDoug Rabson	* roken.awk: since we got no feedback regarding people running
408c19800e8SDoug Rabson	heimdal on the crays, remove the quoted # version
409c19800e8SDoug Rabson
410c19800e8SDoug Rabson	* environment.c: rename index to idx to avoid shadowing
411c19800e8SDoug Rabson
412*ae771770SStanislav Sedov2005-05-29  Love Hörnquist Åstrand  <lha@it.su.se>
413c19800e8SDoug Rabson
414c19800e8SDoug Rabson	* parse_reply-test.c: avoid signedness warnings
415c19800e8SDoug Rabson
416c19800e8SDoug Rabson	* test-mem.c: avoid signedness warnings
417c19800e8SDoug Rabson
418*ae771770SStanislav Sedov2005-05-27  Love Hörnquist Åstrand  <lha@it.su.se>
419c19800e8SDoug Rabson
420c19800e8SDoug Rabson	* hex.c: include "roken.h" to avoid undefined size_t/ssize_t
421c19800e8SDoug Rabson
422c19800e8SDoug Rabson2005-05-24  Dave Love  <fx@gnu.org>
423c19800e8SDoug Rabson
424c19800e8SDoug Rabson	* Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h.
425c19800e8SDoug Rabson
426*ae771770SStanislav Sedov2005-05-20  Love Hörnquist Åstrand  <lha@it.su.se>
427c19800e8SDoug Rabson
428c19800e8SDoug Rabson	* environment.c (rk_read_env_file): move assignment to later to
429c19800e8SDoug Rabson	make pre c99 compiler happy
430c19800e8SDoug Rabson
431*ae771770SStanislav Sedov2005-05-18  Love Hörnquist Åstrand  <lha@it.su.se>
432c19800e8SDoug Rabson
433c19800e8SDoug Rabson	* strptime.c: use english spelling of March
434c19800e8SDoug Rabson
435c19800e8SDoug Rabson2005-05-17  Johan Danielsson  <joda@pdc.kth.se>
436c19800e8SDoug Rabson
437c19800e8SDoug Rabson	* Makefile.am: only link with dblib if we need it
438c19800e8SDoug Rabson
439c19800e8SDoug Rabson	* Makefile.am: add test_readenv
440c19800e8SDoug Rabson
441c19800e8SDoug Rabson	* test-readenv.c: test for read_environment()
442c19800e8SDoug Rabson
443c19800e8SDoug Rabson	* environment.c: eliminate duplicates
444c19800e8SDoug Rabson
445*ae771770SStanislav Sedov2005-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
446c19800e8SDoug Rabson
447c19800e8SDoug Rabson	* issuid.c (issuid): change the #ifdef order to avoid unreachable
448c19800e8SDoug Rabson	code warning.
449c19800e8SDoug Rabson
450c19800e8SDoug Rabson2005-05-10  Dave Love  <fx@gnu.org>
451c19800e8SDoug Rabson
452c19800e8SDoug Rabson	* roken.h.in: Get daemon declared on Solaris (it's in unistd.h but
453c19800e8SDoug Rabson	masked by a feature test), just to avoid a warning, since it has
454c19800e8SDoug Rabson	int args. Include err.h unconditionally, since it's always
455c19800e8SDoug Rabson	supplied.
456c19800e8SDoug Rabson
457c19800e8SDoug Rabson2005-05-04  Dave Love  <fx@gnu.org>
458c19800e8SDoug Rabson
459c19800e8SDoug Rabson	* snprintf-test.c: Include snprintf-test.h earlier.
460c19800e8SDoug Rabson
461c19800e8SDoug Rabson2005-05-03  Dave Love  <fx@gnu.org>
462c19800e8SDoug Rabson
463c19800e8SDoug Rabson	* snprintf.c: Include snprintf-test.h earlier.
464c19800e8SDoug Rabson
465c19800e8SDoug Rabson	* test-mem.c: Add member fd to map.
466c19800e8SDoug Rabson	(rk_test_mem_alloc, rk_test_mem_free): Use it.
467c19800e8SDoug Rabson
468*ae771770SStanislav Sedov2005-04-30  Love Hörnquist Åstrand  <lha@it.su.se>
469c19800e8SDoug Rabson
470c19800e8SDoug Rabson	* getifaddrs.c: add break on default: statements, from Douglas
471c19800e8SDoug Rabson	E. Engert
472c19800e8SDoug Rabson
473c19800e8SDoug Rabson	* snprintf.c (vsnprintf): don't write the NUL into the string if
474c19800e8SDoug Rabson	the length was 0
475c19800e8SDoug Rabson
476c19800e8SDoug Rabson	* snprintf-test.c: add check that snprintf doesn't write the NUL
477c19800e8SDoug Rabson	into the last byte when its a zero length input string
478c19800e8SDoug Rabson
479c19800e8SDoug Rabson	* parse_time-test.c: Include <err.h>.
480c19800e8SDoug Rabson
481*ae771770SStanislav Sedov2005-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
482c19800e8SDoug Rabson
483c19800e8SDoug Rabson	* parse_time-test.c: improve testing
484c19800e8SDoug Rabson
485c19800e8SDoug Rabson	* roken-common.h: add rk_realloc
486c19800e8SDoug Rabson
487c19800e8SDoug Rabson	* Makefile.am: add realloc
488c19800e8SDoug Rabson
489c19800e8SDoug Rabson	* realloc.c: add rk_realloc, unbroken version of realloc
490c19800e8SDoug Rabson
491c19800e8SDoug Rabson2005-04-26  Dave Love  <fx@gnu.org>
492c19800e8SDoug Rabson
493c19800e8SDoug Rabson	* getusershell.c: Include roken.h
494c19800e8SDoug Rabson
495*ae771770SStanislav Sedov2005-04-18  Love Hörnquist Åstrand  <lha@it.su.se>
496c19800e8SDoug Rabson
497c19800e8SDoug Rabson	* unvis.c: cast to unsigned char to make sure its not negative
498c19800e8SDoug Rabson	when passing it to is* functions
499c19800e8SDoug Rabson
500c19800e8SDoug Rabson	* strptime.c: cast to unsigned char to make sure its not negative
501c19800e8SDoug Rabson	when passing it to to* functions
502c19800e8SDoug Rabson
503*ae771770SStanislav Sedov2005-04-13  Love Hörnquist Åstrand  <lha@it.su.se>
504c19800e8SDoug Rabson
505c19800e8SDoug Rabson	* simple_exec.c: don't close stderr, close all fd that is num 3
506c19800e8SDoug Rabson	and larger
507c19800e8SDoug Rabson
508c19800e8SDoug Rabson	* simple_exec.c (pipe_execv): use closefrom
509c19800e8SDoug Rabson
510c19800e8SDoug Rabson	* add closefrom
511c19800e8SDoug Rabson
512*ae771770SStanislav Sedov2005-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
513c19800e8SDoug Rabson
514c19800e8SDoug Rabson	* add ROKEN_LIB_FUNCTION to all exported functions
515c19800e8SDoug Rabson
516*ae771770SStanislav Sedov2005-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
517c19800e8SDoug Rabson
518c19800e8SDoug Rabson	* resolve-test.c: print DS
519c19800e8SDoug Rabson
520*ae771770SStanislav Sedov2005-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
521c19800e8SDoug Rabson
522c19800e8SDoug Rabson	* parse_time-test.c: remove unused variable
523c19800e8SDoug Rabson
524*ae771770SStanislav Sedov2005-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
525c19800e8SDoug Rabson
526c19800e8SDoug Rabson	* strpftime-test.c: print size_t by casting to unsigned long
527c19800e8SDoug Rabson
528c19800e8SDoug Rabson	* base64-test.c: print size_t by casting to unsigned long
529c19800e8SDoug Rabson
530c19800e8SDoug Rabson	* hex-test.c: print size_t by casting to unsigned long
531c19800e8SDoug Rabson
532c19800e8SDoug Rabson	* resolve-test.c: print size_t by casting to unsigned long
533c19800e8SDoug Rabson
534*ae771770SStanislav Sedov2005-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
535c19800e8SDoug Rabson
536c19800e8SDoug Rabson	* snprintf-test.c (try): reset va_list argument between reuse,
537c19800e8SDoug Rabson	from Peter Kruty <xkruty@fi.muni.cz>
538c19800e8SDoug Rabson
539*ae771770SStanislav Sedov2005-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
540c19800e8SDoug Rabson
541c19800e8SDoug Rabson	* roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid
542c19800e8SDoug Rabson	shadowing
543c19800e8SDoug Rabson
544c19800e8SDoug Rabson	* resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing
545c19800e8SDoug Rabson
546c19800e8SDoug Rabson	* parse_units.c: avoid shadowing div
547c19800e8SDoug Rabson
548*ae771770SStanislav Sedov2005-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
549c19800e8SDoug Rabson
550c19800e8SDoug Rabson	* snprintf.c: use defined(TEST_SNPRINTF) like on all other places
551c19800e8SDoug Rabson	in the same file
552c19800e8SDoug Rabson
553*ae771770SStanislav Sedov2005-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
554c19800e8SDoug Rabson
555c19800e8SDoug Rabson	* hex.c: check for overflows
556c19800e8SDoug Rabson
557*ae771770SStanislav Sedov2005-03-18  Love Hörnquist Åstrand  <lha@it.su.se>
558c19800e8SDoug Rabson
559c19800e8SDoug Rabson	* vis.c: use RCSID instead of __RCSID
560c19800e8SDoug Rabson
561*ae771770SStanislav Sedov2005-03-06  Love Hörnquist Åstrand  <lha@it.su.se>
562c19800e8SDoug Rabson
563c19800e8SDoug Rabson	* Makefile.am: check_PROGRAMS += hex-test
564c19800e8SDoug Rabson
565c19800e8SDoug Rabson	* hex-test.c: hex encoding/decoding test
566c19800e8SDoug Rabson
567c19800e8SDoug Rabson	* hex.c: fix decodeing, it processed to much data and thus
568c19800e8SDoug Rabson	returned the wrong length
569c19800e8SDoug Rabson
570*ae771770SStanislav Sedov2005-03-04  Love Hörnquist Åstrand  <lha@it.su.se>
571c19800e8SDoug Rabson
572c19800e8SDoug Rabson	* Makefile.am: add hex.[ch]
573c19800e8SDoug Rabson
574c19800e8SDoug Rabson	* hex.c: add hex encoder/decoder
575c19800e8SDoug Rabson
576*ae771770SStanislav Sedov2005-03-02  Love Hörnquist Åstrand  <lha@it.su.se>
577c19800e8SDoug Rabson
578c19800e8SDoug Rabson	* daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c
579c19800e8SDoug Rabson	glob.c glob.hin iruserok.c unvis.c vis.hin:
580c19800e8SDoug Rabson
581c19800e8SDoug Rabson	In 1997, the University of California, Berkeley issued a statement
582c19800e8SDoug Rabson	retroactively relicensing all code held under their copyright from
583c19800e8SDoug Rabson	a 4-clause 'traditional' BSD license to a new 3-clause 'revised'
584c19800e8SDoug Rabson	BSD license, which removed the advertising clause.
585c19800e8SDoug Rabson
586c19800e8SDoug Rabson	From NetBSD, via Joel Baker, and Alistair G. Crooks
587c19800e8SDoug Rabson
588c19800e8SDoug Rabson	* getaddrinfo-test.c: remove stray ( in output
589c19800e8SDoug Rabson
590c19800e8SDoug Rabson	* vis.c: Update new revision from NetBSD (copyright update)
591c19800e8SDoug Rabson
592*ae771770SStanislav Sedov2005-02-24  Love Hörnquist Åstrand  <lha@it.su.se>
593c19800e8SDoug Rabson
594c19800e8SDoug Rabson	* Makefile.am: bump version to 17:0:1
595c19800e8SDoug Rabson
596c19800e8SDoug Rabson2005-01-19  Dave Love  <d.love@dl.ac.uk>
597c19800e8SDoug Rabson
598c19800e8SDoug Rabson	* getusershell.c: Include ctype.h, cast argument to isspace to
599c19800e8SDoug Rabson	unsigned char.
600c19800e8SDoug Rabson
601*ae771770SStanislav Sedov2004-10-31  Love Hörnquist Åstrand  <lha@it.su.se>
602c19800e8SDoug Rabson
603c19800e8SDoug Rabson	* parse_time.3, parse_units.c: Change the behavior of the
604c19800e8SDoug Rabson	parse_unit code to return the number of bytes needed to print the
605c19800e8SDoug Rabson	whole string (minus the trailing '\0'), just like snprintf.  Idea
606c19800e8SDoug Rabson	from bugreport from Gabriel Kihlman <gk@stacken.kth.se>.
607c19800e8SDoug Rabson
608c19800e8SDoug Rabson	* parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time
609c19800e8SDoug Rabson
610*ae771770SStanislav Sedov2004-10-16  Love Hörnquist Åstrand  <lha@it.su.se>
611c19800e8SDoug Rabson
612c19800e8SDoug Rabson	* resolve.c: put dns_type_to_string and dns_string_to_type in the
613c19800e8SDoug Rabson	abi
614c19800e8SDoug Rabson
615c19800e8SDoug Rabson	* resolve.c: add ds_record
616c19800e8SDoug Rabson
617c19800e8SDoug Rabson	* resolve.h: add ds_record
618c19800e8SDoug Rabson
619*ae771770SStanislav Sedov2004-10-06  Love Hörnquist Åstrand  <lha@it.su.se>
620c19800e8SDoug Rabson
621c19800e8SDoug Rabson	* ndbm_wrap.c: undefine open so this works on solaris with large
622c19800e8SDoug Rabson	file support From netbsd's pkgsrc via Gavan Fantom
623c19800e8SDoug Rabson
624*ae771770SStanislav Sedov2004-09-13  Love Hörnquist Åstrand  <lha@it.su.se>
625c19800e8SDoug Rabson
626c19800e8SDoug Rabson	* resolve-test.c: add --version/--help
627c19800e8SDoug Rabson
628*ae771770SStanislav Sedov2004-09-12  Love Hörnquist Åstrand  <lha@it.su.se>
629c19800e8SDoug Rabson
630c19800e8SDoug Rabson	* Makefile.am: make resolve-test a noinst program
631c19800e8SDoug Rabson
632*ae771770SStanislav Sedov2004-09-11  Love Hörnquist Åstrand  <lha@it.su.se>
633c19800e8SDoug Rabson
634c19800e8SDoug Rabson	* resolve-test.c: test program for libroken resolve from resolve.c
635c19800e8SDoug Rabson
636c19800e8SDoug Rabson	* Makefile.am: add resolve-test
637c19800e8SDoug Rabson
638c19800e8SDoug Rabson	* resolve.h: add constant for max DNS protocol packet size
639c19800e8SDoug Rabson
640c19800e8SDoug Rabson	* resolve.c (dns_lookup_int): grow the answer buffer to the size
641c19800e8SDoug Rabson	the server send to us if the answer buffer was too small (limited
642c19800e8SDoug Rabson	to the dns protocol max packet size)
643c19800e8SDoug Rabson
644c19800e8SDoug Rabson2004-08-26  Johan Danielsson  <joda@pdc.kth.se>
645c19800e8SDoug Rabson
646c19800e8SDoug Rabson	* err.hin: no need to declare __progname here
647c19800e8SDoug Rabson
648c19800e8SDoug Rabson	* Makefile.am: always clean generated headers
649c19800e8SDoug Rabson
650*ae771770SStanislav Sedov2004-06-26  Love Hörnquist Åstrand  <lha@it.su.se>
651c19800e8SDoug Rabson
652c19800e8SDoug Rabson	* rtbl.3: use .In for header, remove trailing space
653c19800e8SDoug Rabson
654c19800e8SDoug Rabson2004-06-23  Johan Danielsson  <joda@pdc.kth.se>
655c19800e8SDoug Rabson
656c19800e8SDoug Rabson	* rtbl.h: add protos and macros
657c19800e8SDoug Rabson
658c19800e8SDoug Rabson	* rtbl.c: implement a bunch of stuff:
659c19800e8SDoug Rabson	  - column separator (instead of global column prefix)
660c19800e8SDoug Rabson	  - per column suffix
661c19800e8SDoug Rabson	  - indexing columns by id-number instead of column header
662c19800e8SDoug Rabson	  - optional header supression (via settable flags)
663c19800e8SDoug Rabson	  - ability to end a row
664c19800e8SDoug Rabson	  - don't extend last column to full width
665c19800e8SDoug Rabson
666*ae771770SStanislav Sedov2004-06-20  Love Hörnquist Åstrand  <lha@it.su.se>
667c19800e8SDoug Rabson
668c19800e8SDoug Rabson	* resolve.[ch]: add and use and bind9 version of rr type
669c19800e8SDoug Rabson	(rk_ns_t_XXX) instead of the old bind4 version (T_XXX)
670c19800e8SDoug Rabson
671*ae771770SStanislav Sedov2004-05-25  Love Hörnquist Åstrand  <lha@it.su.se>
672c19800e8SDoug Rabson
673c19800e8SDoug Rabson	* resolve.c (stot): add AAAA
674c19800e8SDoug Rabson
675*ae771770SStanislav Sedov2004-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
676c19800e8SDoug Rabson
677c19800e8SDoug Rabson	* getarg.c (add_string): catch error from realloc
678c19800e8SDoug Rabson
679*ae771770SStanislav Sedov2004-02-12  Love Hörnquist Åstrand  <lha@it.su.se>
680c19800e8SDoug Rabson
681c19800e8SDoug Rabson	* roken-common.h: add simple_execve_timed
682c19800e8SDoug Rabson
683c19800e8SDoug Rabson	* roken-common.h: add timed simple_exec
684c19800e8SDoug Rabson
685c19800e8SDoug Rabson	* simple_exec.c: add timed simple_exec
686c19800e8SDoug Rabson
687*ae771770SStanislav Sedov2004-01-05  Love Hörnquist Åstrand  <lha@it.su.se>
688c19800e8SDoug Rabson
689c19800e8SDoug Rabson	* gai_strerror.c: correct ifdef for EAI_ADDRFAMILY
690c19800e8SDoug Rabson
691*ae771770SStanislav Sedov2003-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
692c19800e8SDoug Rabson
693c19800e8SDoug Rabson	* resolve.c: parse dns header, add support for SSHFP
694c19800e8SDoug Rabson
695c19800e8SDoug Rabson	* resolve.h: add cpp rewrite for sshfp_record
696c19800e8SDoug Rabson
697c19800e8SDoug Rabson	* resolve.h: add SSHFP, clean up the the dns_header
698c19800e8SDoug Rabson
699*ae771770SStanislav Sedov2003-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
700c19800e8SDoug Rabson
701c19800e8SDoug Rabson	* resolve.h: remove HEADER (only used for crays)
702c19800e8SDoug Rabson
703c19800e8SDoug Rabson	* resolve.c: number-of fields no longer stored in network order
704c19800e8SDoug Rabson
705*ae771770SStanislav Sedov2003-12-13  Love Hörnquist Åstrand  <lha@it.su.se>
706c19800e8SDoug Rabson
707c19800e8SDoug Rabson	* resolve.c: remove depency on c99 types in resolv.h
708c19800e8SDoug Rabson
709c19800e8SDoug Rabson	* resolve.h: remove depency on c99 types
710c19800e8SDoug Rabson
711*ae771770SStanislav Sedov2003-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
712c19800e8SDoug Rabson
713c19800e8SDoug Rabson	* resolv.h: add more T_ types and inline the dns headers, all this
714c19800e8SDoug Rabson	for bind9 resolvers
715c19800e8SDoug Rabson
716*ae771770SStanislav Sedov2003-12-02  Love Hörnquist Åstrand  <lha@it.su.se>
717c19800e8SDoug Rabson
718c19800e8SDoug Rabson	* gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated
719c19800e8SDoug Rabson
720c19800e8SDoug Rabson	* roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to
721c19800e8SDoug Rabson	check for if we need EAI_ macros
722c19800e8SDoug Rabson
723*ae771770SStanislav Sedov2003-10-04   Love Hörnquist Åstrand  <lha@it.su.se>
724c19800e8SDoug Rabson
725c19800e8SDoug Rabson	* strptime.c: let t and n match zero or more whitespaces
726c19800e8SDoug Rabson
727*ae771770SStanislav Sedov2003-08-29  Love Hörnquist Åstrand  <lha@it.su.se>
728c19800e8SDoug Rabson
729c19800e8SDoug Rabson	* ndbm_wrap.c: patch for working with DB4 on heimdal-discuss
730c19800e8SDoug Rabson	From: Luke Howard <lukeh@PADL.COM>
731c19800e8SDoug Rabson
732c19800e8SDoug Rabson2003-08-27  Johan Danielsson  <joda@pdc.kth.se>
733c19800e8SDoug Rabson
734c19800e8SDoug Rabson	* Makefile.am: don't include discovered files in EXTRA_SOURCES;
735c19800e8SDoug Rabson	don't depend on all header files, just the built ones
736c19800e8SDoug Rabson
737c19800e8SDoug Rabson2003-08-15  Johan Danielsson  <joda@pdc.kth.se>
738c19800e8SDoug Rabson
739c19800e8SDoug Rabson	* emalloc.3: manpage
740c19800e8SDoug Rabson
741c19800e8SDoug Rabson2003-07-11  Love  <lha@stacken.kth.se>
742c19800e8SDoug Rabson
743c19800e8SDoug Rabson	* resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?)  so
744c19800e8SDoug Rabson	just don't use res_nsearch on AIX
745c19800e8SDoug Rabson
746c19800e8SDoug Rabson2003-06-29  Johan Danielsson  <joda@pdc.kth.se>
747c19800e8SDoug Rabson
748c19800e8SDoug Rabson	* snprintf.c: * don't ever print sign for unsigned conversions *
749c19800e8SDoug Rabson	don't break when right justifying a number past the end of the
750c19800e8SDoug Rabson	buffer * handle zero precision and the value zero more correctly
751c19800e8SDoug Rabson
752c19800e8SDoug Rabson2003-06-14  Love  <lha@stacken.kth.se>
753c19800e8SDoug Rabson
754c19800e8SDoug Rabson	* glob.hin: prefix glob symbols with rk_
7551c43270aSJacques Vidrine
756bbd80c28SJacques Vidrine2003-04-22  Love  <lha@stacken.kth.se>
7575bda878eSJacques Vidrine
758c19800e8SDoug Rabson	* resolve.c: copy NUL too, from janj@wenf.org via openbsd
759bbd80c28SJacques Vidrine
760bbd80c28SJacques Vidrine2003-04-16  Love  <lha@stacken.kth.se>
761bbd80c28SJacques Vidrine
762bbd80c28SJacques Vidrine	* parse_units.h: remove typedef for units to avoid problems with
763bbd80c28SJacques Vidrine	shadowing
764bbd80c28SJacques Vidrine
765bbd80c28SJacques Vidrine	* resolve.c: use strlcpy, from openbsd
766bbd80c28SJacques Vidrine
767bbd80c28SJacques Vidrine	* getcap.c: use strlcpy, from openbsd
768bbd80c28SJacques Vidrine
769bbd80c28SJacques Vidrine	* getarg.3: Change .Fd #include <header.h> to .In header.h
770bbd80c28SJacques Vidrine	from Thomas Klausner <wiz@netbsd.org>
771bbd80c28SJacques Vidrine
772bbd80c28SJacques Vidrine2003-04-15  Love  <lha@stacken.kth.se>
773bbd80c28SJacques Vidrine
774bbd80c28SJacques Vidrine	* socket.c (socket_set_tos): if setsockopt failed with EINVAL
775bbd80c28SJacques Vidrine	failed, just ignore it, sock was probably a just a non AF_INET
776bbd80c28SJacques Vidrine	socket
777bbd80c28SJacques Vidrine
778bbd80c28SJacques Vidrine2003-04-14  Love  <lha@stacken.kth.se>
779bbd80c28SJacques Vidrine
780bbd80c28SJacques Vidrine	* strncasecmp.c: cast argument to toupper to unsigned char, from
781bbd80c28SJacques Vidrine	Christian Biere <christianbiere@gmx.de> via NetBSD
782bbd80c28SJacques Vidrine
783bbd80c28SJacques Vidrine	* strlwr.c: cast argument to tolower to unsigned char, from
784bbd80c28SJacques Vidrine	Christian Biere <christianbiere@gmx.de> via NetBSD
785bbd80c28SJacques Vidrine
786bbd80c28SJacques Vidrine	* strcasecmp.c: cast argument to toupper to unsigned char, from
787bbd80c28SJacques Vidrine	Christian Biere <christianbiere@gmx.de> via NetBSD
788bbd80c28SJacques Vidrine
789bbd80c28SJacques Vidrine2003-03-19  Love  <lha@stacken.kth.se>
790bbd80c28SJacques Vidrine
791bbd80c28SJacques Vidrine	* getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
792bbd80c28SJacques Vidrine
793bbd80c28SJacques Vidrine2003-03-07  Love  <lha@stacken.kth.se>
794bbd80c28SJacques Vidrine
795bbd80c28SJacques Vidrine	* parse_bytes.c: use struct units instead of units
796bbd80c28SJacques Vidrine
797bbd80c28SJacques Vidrine	* parse_time.c: use struct units instead of units
798bbd80c28SJacques Vidrine
799bbd80c28SJacques Vidrine2003-03-04  Love  <lha@stacken.kth.se>
800bbd80c28SJacques Vidrine
801bbd80c28SJacques Vidrine	* roken.awk: use full prototype for main
802bbd80c28SJacques Vidrine
803bbd80c28SJacques Vidrine2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
804bbd80c28SJacques Vidrine
805bbd80c28SJacques Vidrine	* resolve.c: check length of txt records
8065bda878eSJacques Vidrine
8070cadf2f4SJacques Vidrine2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
8080cadf2f4SJacques Vidrine
8090cadf2f4SJacques Vidrine	* roken.awk: include config.h before stdio.h (breaks with
8100cadf2f4SJacques Vidrine	_FILE_OFFSET_BITS on solaris otherwise)
8110cadf2f4SJacques Vidrine
8120cadf2f4SJacques Vidrine2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
8130cadf2f4SJacques Vidrine
8140cadf2f4SJacques Vidrine	* resolve.c: fix res_nsearch call, but don't use it for now, AIX5
8150cadf2f4SJacques Vidrine	has a broken version that trashes memory
8160cadf2f4SJacques Vidrine
8170cadf2f4SJacques Vidrine	* roken-common.h: fix typo in previous
8180cadf2f4SJacques Vidrine
8190cadf2f4SJacques Vidrine	* roken-common.h: change IRIX == 4 to IRIX4
8200cadf2f4SJacques Vidrine
8210cadf2f4SJacques Vidrine2002-09-04  Assar Westerlund  <assar@kth.se>
8220cadf2f4SJacques Vidrine
8230cadf2f4SJacques Vidrine	* getifaddrs.c: remove some warnings from the linux-portion
8240cadf2f4SJacques Vidrine
8250cadf2f4SJacques Vidrine	* getnameinfo_verified.c (getnameinfo_verified): handle the case
8260cadf2f4SJacques Vidrine	of forward but no backward DNS information, and also describe the
8270cadf2f4SJacques Vidrine	desired behaviour.  from Love <lha@stacken.kth.se>
8280cadf2f4SJacques Vidrine
8290cadf2f4SJacques Vidrine2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
8300cadf2f4SJacques Vidrine
8310cadf2f4SJacques Vidrine	* rtbl.c (rtbl_destroy): free whole table
8320cadf2f4SJacques Vidrine
8330cadf2f4SJacques Vidrine	* resolve.c: use res_nsearch if we have it (from Larry Greenfield)
8340cadf2f4SJacques Vidrine
8350cadf2f4SJacques Vidrine2002-09-03  Assar Westerlund  <assar@kth.se>
8360cadf2f4SJacques Vidrine
8370cadf2f4SJacques Vidrine	* getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
8380cadf2f4SJacques Vidrine	YOSHIFUJI of the Usagi project
8390cadf2f4SJacques Vidrine
8400cadf2f4SJacques Vidrine	* parse_reply-test.c: make this build and return 77 if there is no
8410cadf2f4SJacques Vidrine	mmap
8420cadf2f4SJacques Vidrine
8430cadf2f4SJacques Vidrine	* Makefile.am (parse_reply-test): add
8440cadf2f4SJacques Vidrine	* parse_reply-test.c: add a test case for parse_reply reading past
8450cadf2f4SJacques Vidrine	the given buffer
8460cadf2f4SJacques Vidrine	* resolve.c (parse_reply): update the arguments to more reasonable
8470cadf2f4SJacques Vidrine	types.  allow parse_reply-test to call it
8480cadf2f4SJacques Vidrine
8498373020dSJacques Vidrine2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
8508373020dSJacques Vidrine
8518373020dSJacques Vidrine	* resolve.c (dns_srv_order): do alignment tricks with the random()
8528373020dSJacques Vidrine	state (from NetBSD)
8538373020dSJacques Vidrine
8548373020dSJacques Vidrine2002-08-27  Assar Westerlund  <assar@kth.se>
8558373020dSJacques Vidrine
8568373020dSJacques Vidrine	* resolve.c (parse_reply): verify the lengths (both external and
8578373020dSJacques Vidrine	internal) are consistent and not too long
8588373020dSJacques Vidrine	(dns_lookup_int): be conservative in the length sent in to to
8598373020dSJacques Vidrine	parse_reply
8608373020dSJacques Vidrine
8618373020dSJacques Vidrine2002-08-26  Assar Westerlund  <assar@kth.se>
8628373020dSJacques Vidrine
8638373020dSJacques Vidrine	* roken.h.in: add prototypes for str, unvis functions
8648373020dSJacques Vidrine	* resolve.h: add fallback definition for T_AAAA
8658373020dSJacques Vidrine
8668373020dSJacques Vidrine2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
8678373020dSJacques Vidrine
8688373020dSJacques Vidrine	* roken.h.in: we may need a prototype for strndup
8698373020dSJacques Vidrine
8708373020dSJacques Vidrine2002-08-20  Johan Danielsson  <joda@pdc.kth.se>
8718373020dSJacques Vidrine
8728373020dSJacques Vidrine	* roken.h.in: typedef ssize_t here
8738373020dSJacques Vidrine
8748373020dSJacques Vidrine	* getarg.c: don't put Ns before comma
8758373020dSJacques Vidrine
8768373020dSJacques Vidrine	* resolve.c: _res might not be available
8778373020dSJacques Vidrine
8788373020dSJacques Vidrine	* localtime_r.c: include stdio.h and roken.h
8798373020dSJacques Vidrine
8808373020dSJacques Vidrine	* strftime.c: only use altzone if we have it
8818373020dSJacques Vidrine
8828373020dSJacques Vidrine	* roken-common.h: AI_NUMERICHOST needs special handling
8838373020dSJacques Vidrine
8848373020dSJacques Vidrine	* strlcat.c: add some consistency checks
8858373020dSJacques Vidrine
8868373020dSJacques Vidrine	* strlcpy.c: make the logic simpler, and handle dst_sz == 0
8878373020dSJacques Vidrine
8888373020dSJacques Vidrine2002-08-19  Johan Danielsson  <joda@pdc.kth.se>
8898373020dSJacques Vidrine
8908373020dSJacques Vidrine	* resolve.h: prefix these functions to avoid conflicts with other
8918373020dSJacques Vidrine	packages
8928373020dSJacques Vidrine
8938373020dSJacques Vidrine2002-08-14  Johan Danielsson  <joda@pdc.kth.se>
8948373020dSJacques Vidrine
8958373020dSJacques Vidrine	* strsep_copy.c: don't write to buf if len == 0
8968373020dSJacques Vidrine
8978373020dSJacques Vidrine2002-05-31  Assar Westerlund  <assar@pdc.kth.se>
8988373020dSJacques Vidrine
8998373020dSJacques Vidrine	* Makefile.am: *_LDADD: add LDADD, so that libroken is used
9008373020dSJacques Vidrine
9018373020dSJacques Vidrine2002-05-17  Johan Danielsson  <joda@pdc.kth.se>
9028373020dSJacques Vidrine
9038373020dSJacques Vidrine	* xdbm.h: remove old dbm part
9048373020dSJacques Vidrine
9058373020dSJacques Vidrine2002-04-30  Johan Danielsson  <joda@pdc.kth.se>
9068373020dSJacques Vidrine
9078373020dSJacques Vidrine	* ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
9088373020dSJacques Vidrine
9098373020dSJacques Vidrine2002-04-18  Johan Danielsson  <joda@pdc.kth.se>
9108373020dSJacques Vidrine
9118373020dSJacques Vidrine	* roken.h.in: move mini_inetd protos to after addrinfo definition
9128373020dSJacques Vidrine
9138373020dSJacques Vidrine	* snprintf.c (append_number): make rep const
9148373020dSJacques Vidrine
9158373020dSJacques Vidrine	* getarg.h: rename optind and optarg to avoid some gcc warnings
9168373020dSJacques Vidrine
9178373020dSJacques Vidrine	* getarg.c: rename optind and optarg to avoid some gcc warnings
9188373020dSJacques Vidrine
9198373020dSJacques Vidrine2002-02-18  Johan Danielsson  <joda@pdc.kth.se>
9208373020dSJacques Vidrine
9218373020dSJacques Vidrine	* mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
9228373020dSJacques Vidrine	of a port number
9238373020dSJacques Vidrine
9244137ff4cSJacques Vidrine2001-11-30  Assar Westerlund  <assar@sics.se>
9254137ff4cSJacques Vidrine
9264137ff4cSJacques Vidrine	* getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
9274137ff4cSJacques Vidrine	used on Solaris 8 to retrieve addresses larger than `struct
9284137ff4cSJacques Vidrine	sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
9294137ff4cSJacques Vidrine	modifications by me)
9304137ff4cSJacques Vidrine
9314137ff4cSJacques Vidrine2001-10-27  Assar Westerlund  <assar@sics.se>
9324137ff4cSJacques Vidrine
9334137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
9344137ff4cSJacques Vidrine
9354137ff4cSJacques Vidrine2001-10-22  Assar Westerlund  <assar@sics.se>
9364137ff4cSJacques Vidrine
9374137ff4cSJacques Vidrine	* localtime_r.c: add
9384137ff4cSJacques Vidrine
9394137ff4cSJacques Vidrine2001-10-02  Johan Danielsson  <joda@pdc.kth.se>
9404137ff4cSJacques Vidrine
9414137ff4cSJacques Vidrine	* resolve.c (dns_srv_order): don't try to return a value
9424137ff4cSJacques Vidrine
9434137ff4cSJacques Vidrine2001-09-24  Johan Danielsson  <joda@pdc.kth.se>
9444137ff4cSJacques Vidrine
9454137ff4cSJacques Vidrine	* snprintf.c: va_{start,end} fixes; from Thomas Klausner
9464137ff4cSJacques Vidrine
9474137ff4cSJacques Vidrine2001-09-20  Assar Westerlund  <assar@sics.se>
9484137ff4cSJacques Vidrine
9494137ff4cSJacques Vidrine	* resolve.c (dns_srv_order): make sure of not reading after the
9504137ff4cSJacques Vidrine	array
9514137ff4cSJacques Vidrine
9524137ff4cSJacques Vidrine2001-09-17  Assar Westerlund  <assar@sics.se>
9534137ff4cSJacques Vidrine
9544137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
9554137ff4cSJacques Vidrine	* snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
9564137ff4cSJacques Vidrine	avoid collision with resolv.h on aix
9574137ff4cSJacques Vidrine
9584137ff4cSJacques Vidrine2001-09-04  Assar Westerlund  <assar@sics.se>
9594137ff4cSJacques Vidrine
9604137ff4cSJacques Vidrine	* parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
9614137ff4cSJacques Vidrine	parse_units.h: use int instead of size_t as return values to be
9624137ff4cSJacques Vidrine	compatible with snprintf
9634137ff4cSJacques Vidrine
9644137ff4cSJacques Vidrine	* strftime.c (strftime): check for return values from snprintf() <
9654137ff4cSJacques Vidrine	0
9664137ff4cSJacques Vidrine
9674137ff4cSJacques Vidrine2001-09-03  Johan Danielsson  <joda@pdc.kth.se>
9684137ff4cSJacques Vidrine
9694137ff4cSJacques Vidrine	* socket.c: restrict is a keyword
9704137ff4cSJacques Vidrine
9714137ff4cSJacques Vidrine2001-09-03  Assar Westerlund  <assar@sics.se>
9724137ff4cSJacques Vidrine
9734137ff4cSJacques Vidrine	* write_pid.c: handle atexit or on_exit
9744137ff4cSJacques Vidrine
9754137ff4cSJacques Vidrine	* Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
9764137ff4cSJacques Vidrine	solaris make
9774137ff4cSJacques Vidrine
9784137ff4cSJacques Vidrine2001-08-30  Johan Danielsson  <joda@pdc.kth.se>
9794137ff4cSJacques Vidrine
9804137ff4cSJacques Vidrine	* Makefile.am: use LDADD directly
9814137ff4cSJacques Vidrine
9824137ff4cSJacques Vidrine2001-08-28  Assar Westerlund  <assar@sics.se>
9834137ff4cSJacques Vidrine
9844137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
9854137ff4cSJacques Vidrine
9864137ff4cSJacques Vidrine	* issuid.c (issuid): call issetugid if it exists
9874137ff4cSJacques Vidrine
9884137ff4cSJacques Vidrine2001-08-24  Assar Westerlund  <assar@sics.se>
9894137ff4cSJacques Vidrine
9904137ff4cSJacques Vidrine	* Makefile.am: make it play better with recent automake
9914137ff4cSJacques Vidrine
9924137ff4cSJacques Vidrine2001-08-21  Assar Westerlund  <assar@sics.se>
9934137ff4cSJacques Vidrine
9944137ff4cSJacques Vidrine	* glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
9954137ff4cSJacques Vidrine
9964137ff4cSJacques Vidrine	* roken.h.in: remove all winsock.h
9974137ff4cSJacques Vidrine	for now, it does more harm than good under cygwin and if it should be
9984137ff4cSJacques Vidrine	used, the correct conditional needs to be found
9994137ff4cSJacques Vidrine	from <tol@stacken.kth.se>
10004137ff4cSJacques Vidrine
10014137ff4cSJacques Vidrine2001-08-17  Johan Danielsson  <joda@pdc.kth.se>
10024137ff4cSJacques Vidrine
10034137ff4cSJacques Vidrine	* getaddrinfo.c: include a definition of in6addr_loopback if it
10044137ff4cSJacques Vidrine	doesn't exist
10054137ff4cSJacques Vidrine
10064137ff4cSJacques Vidrine2001-08-10  Assar Westerlund  <assar@sics.se>
10074137ff4cSJacques Vidrine
10084137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
10094137ff4cSJacques Vidrine
10104137ff4cSJacques Vidrine2001-08-08  Assar Westerlund  <assar@sics.se>
10114137ff4cSJacques Vidrine
10124137ff4cSJacques Vidrine	* hstrerror.c: move h_errno to its own file (h_errno.c)
10134137ff4cSJacques Vidrine
10144137ff4cSJacques Vidrine2001-08-04  Assar Westerlund  <assar@sics.se>
10154137ff4cSJacques Vidrine
10164137ff4cSJacques Vidrine	* Makefile.am: add getarg.3
10174137ff4cSJacques Vidrine
10184137ff4cSJacques Vidrine2001-08-01  Assar Westerlund  <assar@sics.se>
10194137ff4cSJacques Vidrine
10204137ff4cSJacques Vidrine	* mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
10214137ff4cSJacques Vidrine	resilient to bind/listen failing.
10224137ff4cSJacques Vidrine
10234137ff4cSJacques Vidrine2001-07-31  Assar Westerlund  <assar@sics.se>
10244137ff4cSJacques Vidrine
10254137ff4cSJacques Vidrine	* getifaddrs.c (getifaddrs2): remove unused variables
10264137ff4cSJacques Vidrine
10274137ff4cSJacques Vidrine2001-07-31  Assar Westerlund  <assar@sics.se>
10284137ff4cSJacques Vidrine
10294137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
10304137ff4cSJacques Vidrine
10314137ff4cSJacques Vidrine2001-07-23  Assar Westerlund  <assar@sics.se>
10324137ff4cSJacques Vidrine
10334137ff4cSJacques Vidrine	* getarg.c (arg_match_long): fix parsing of arg_counter optional
10344137ff4cSJacques Vidrine	argument
10354137ff4cSJacques Vidrine
10364137ff4cSJacques Vidrine2001-07-19  Assar Westerlund  <assar@sics.se>
10374137ff4cSJacques Vidrine
10384137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
10394137ff4cSJacques Vidrine
10404137ff4cSJacques Vidrine2001-07-17  Assar Westerlund  <assar@sics.se>
10414137ff4cSJacques Vidrine
10424137ff4cSJacques Vidrine	* snprintf-test.h: add a file with renaming of the snprintf
10434137ff4cSJacques Vidrine	functions, to be used for running the tests
10444137ff4cSJacques Vidrine
10454137ff4cSJacques Vidrine2001-07-11  Assar Westerlund  <assar@sics.se>
10464137ff4cSJacques Vidrine
10474137ff4cSJacques Vidrine	* snprintf-test.c: add more %X tests, and long and conditional
10484137ff4cSJacques Vidrine	long long tests
10494137ff4cSJacques Vidrine	* snprintf.c: add support for printing long long (if available)
10504137ff4cSJacques Vidrine
10514137ff4cSJacques Vidrine2001-07-10  Assar Westerlund  <assar@sics.se>
10524137ff4cSJacques Vidrine
10534137ff4cSJacques Vidrine	* getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
10544137ff4cSJacques Vidrine	* hostent_find_fqdn.c (hostent_find_fqdn): const-ize
10554137ff4cSJacques Vidrine
10564137ff4cSJacques Vidrine2001-07-09  Assar Westerlund  <assar@sics.se>
10574137ff4cSJacques Vidrine
10584137ff4cSJacques Vidrine	* roken-common.h (hostent_find_fqdn): add
10594137ff4cSJacques Vidrine	* hostent_find_fqdn.c: separate out hostent_find_fqdn
10604137ff4cSJacques Vidrine
10614137ff4cSJacques Vidrine	* warnerr.c: move out getprogname, setprogname
10624137ff4cSJacques Vidrine
10634137ff4cSJacques Vidrine2001-07-03  Assar Westerlund  <assar@sics.se>
10644137ff4cSJacques Vidrine
10654137ff4cSJacques Vidrine	* warnerr.c (setprogname): add const cast
10664137ff4cSJacques Vidrine	* vis.c (SVIS): add some (unsigned char) before calling isfoo*
10674137ff4cSJacques Vidrine	* Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
10684137ff4cSJacques Vidrine
10694137ff4cSJacques Vidrine	* Makefile.am: add snprintf_test
10704137ff4cSJacques Vidrine	* snprintf.c: rewrite so that it does not stop as soon as there
10714137ff4cSJacques Vidrine	are no more characters to print, we need to figure out how long
10724137ff4cSJacques Vidrine	the string would have to be.  this also fixes snprintf(NULL, 0
10734137ff4cSJacques Vidrine
10744137ff4cSJacques Vidrine2001-06-21  Assar Westerlund  <assar@sics.se>
10754137ff4cSJacques Vidrine
10764137ff4cSJacques Vidrine	* simple_exec.c (pipe_execv): remove unused variable
10774137ff4cSJacques Vidrine
10784137ff4cSJacques Vidrine2001-06-20  Johan Danielsson  <joda@pdc.kth.se>
10794137ff4cSJacques Vidrine
10804137ff4cSJacques Vidrine	* getdtablesize.c: fix typo in obviously never used sysctl case
10814137ff4cSJacques Vidrine
10824137ff4cSJacques Vidrine	* simple_exec.c: rename check_status to wait_for_process, and
10834137ff4cSJacques Vidrine	export it; function pipe_execv similar to popen, but with more
10844137ff4cSJacques Vidrine	control over input and output
10854137ff4cSJacques Vidrine
10864137ff4cSJacques Vidrine	* roken-common.h: prototypes for wait_for_process and pipe_execv
10874137ff4cSJacques Vidrine
10884137ff4cSJacques Vidrine2001-06-17  Assar Westerlund  <assar@sics.se>
10894137ff4cSJacques Vidrine
10904137ff4cSJacques Vidrine	* roken-common.h: move emalloc et al to roken.h.in
10914137ff4cSJacques Vidrine	* Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
10924137ff4cSJacques Vidrine	* emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
10934137ff4cSJacques Vidrine	be set reliably
10944137ff4cSJacques Vidrine	* ecalloc.c: add for symmetry
10954137ff4cSJacques Vidrine
10964137ff4cSJacques Vidrine2001-06-09  Johan Danielsson  <joda@pdc.kth.se>
10974137ff4cSJacques Vidrine
10984137ff4cSJacques Vidrine	* resolve.c: dns_srv_order to order srv records
10994137ff4cSJacques Vidrine
11004137ff4cSJacques Vidrine2001-06-08  Johan Danielsson  <joda@pdc.kth.se>
11014137ff4cSJacques Vidrine
11024137ff4cSJacques Vidrine	* getarg.c: Grog tries to figure out if to use mdoc.old instead of
11034137ff4cSJacques Vidrine	mdoc by looking at some macros that were only present in the old
11044137ff4cSJacques Vidrine	version, and by looking at the number of .Oo's present. In
11054137ff4cSJacques Vidrine	mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
11064137ff4cSJacques Vidrine	the number of .Oo's is bigger than the number of .Oc's, it figures
11074137ff4cSJacques Vidrine	it must be mdoc.old. This doesn't however account for called Oc's,
11084137ff4cSJacques Vidrine	and thus grog thinks that valid pages are mdoc.old when they
11094137ff4cSJacques Vidrine	infact are mdoc. So let's make sure that Oc's are not called by
11104137ff4cSJacques Vidrine	other macros.
11114137ff4cSJacques Vidrine
11124137ff4cSJacques Vidrine2001-05-29  Assar Westerlund  <assar@sics.se>
11134137ff4cSJacques Vidrine
11144137ff4cSJacques Vidrine	* base64-test.c (main): initialize numerr
11154137ff4cSJacques Vidrine
11164137ff4cSJacques Vidrine2001-05-28  Johan Danielsson  <joda@pdc.kth.se>
11174137ff4cSJacques Vidrine
11184137ff4cSJacques Vidrine	* base64.c: clean up the decode mess somewhat
11194137ff4cSJacques Vidrine
11204137ff4cSJacques Vidrine	* base64-test.c: base64 tests
11214137ff4cSJacques Vidrine
11224137ff4cSJacques Vidrine2001-05-18  Johan Danielsson  <joda@pdc.kth.se>
11234137ff4cSJacques Vidrine
11244137ff4cSJacques Vidrine	* roken.h.in: just use standard C types with bswap*
11254137ff4cSJacques Vidrine
11264137ff4cSJacques Vidrine	* bswap.c: just use standard C types
11274137ff4cSJacques Vidrine
1128adb0ddaeSAssar Westerlund2001-05-17  Assar Westerlund  <assar@sics.se>
1129adb0ddaeSAssar Westerlund
11304137ff4cSJacques Vidrine	* roken.h.in: include all the headers that AC_GROK_TYPES tries for
11314137ff4cSJacques Vidrine	finding u_int17_t et al
11324137ff4cSJacques Vidrine
1133adb0ddaeSAssar Westerlund	* Makefile.am: bump version to 12:0:3
1134adb0ddaeSAssar Westerlund	* roken.h.in: re-add set_progname and get_progname for backwards
1135adb0ddaeSAssar Westerlund	compatability
1136adb0ddaeSAssar Westerlund	* warnerr.c: re-add set_progname and get_progname for backwards
1137adb0ddaeSAssar Westerlund	compatability
1138adb0ddaeSAssar Westerlund
1139adb0ddaeSAssar Westerlund2001-05-12  Assar Westerlund  <assar@sics.se>
1140adb0ddaeSAssar Westerlund
1141adb0ddaeSAssar Westerlund	* glob.c: add limits.h, from <shadow@dementia.org>
1142adb0ddaeSAssar Westerlund
1143adb0ddaeSAssar Westerlund2001-05-11  Johan Danielsson  <joda@pdc.kth.se>
1144adb0ddaeSAssar Westerlund
1145adb0ddaeSAssar Westerlund	* Makefile.am: bswap.c
1146adb0ddaeSAssar Westerlund
1147adb0ddaeSAssar Westerlund	* bswap.c: bswap{16,32}
1148adb0ddaeSAssar Westerlund
1149adb0ddaeSAssar Westerlund2001-05-08  Assar Westerlund  <assar@sics.se>
1150adb0ddaeSAssar Westerlund
1151adb0ddaeSAssar Westerlund	* freeaddrinfo.c (freeaddrinfo): also free every `struct
1152adb0ddaeSAssar Westerlund	addrinfo'.  from <tmartin@mirapoint.com>
1153adb0ddaeSAssar Westerlund
1154adb0ddaeSAssar Westerlund2001-04-25  Assar Westerlund  <assar@sics.se>
1155adb0ddaeSAssar Westerlund
1156adb0ddaeSAssar Westerlund	* getarg.h (free_getarg_strings): add prototype
1157adb0ddaeSAssar Westerlund	* getarg.c (free_getarg_strings): add function
1158adb0ddaeSAssar Westerlund
1159adb0ddaeSAssar Westerlund2001-04-21  Johan Danielsson  <joda@pdc.kth.se>
1160adb0ddaeSAssar Westerlund
1161adb0ddaeSAssar Westerlund	* getarg.c: pack short flag options togther, to shorten the usage
1162adb0ddaeSAssar Westerlund	string
1163adb0ddaeSAssar Westerlund
1164adb0ddaeSAssar Westerlund2001-04-17  Johan Danielsson  <joda@pdc.kth.se>
1165adb0ddaeSAssar Westerlund
1166adb0ddaeSAssar Westerlund	* getifaddrs.c (getifaddrs2): close socket when done
1167adb0ddaeSAssar Westerlund
1168adb0ddaeSAssar Westerlund2001-03-26  Johan Danielsson  <joda@pdc.kth.se>
1169adb0ddaeSAssar Westerlund
1170adb0ddaeSAssar Westerlund	* roken.awk: END has to be last with Sun's awk
1171adb0ddaeSAssar Westerlund
1172adb0ddaeSAssar Westerlund2001-03-26  Assar Westerlund  <assar@sics.se>
1173adb0ddaeSAssar Westerlund
1174adb0ddaeSAssar Westerlund	* parse_units.c (parse_something): do not check the return value
1175adb0ddaeSAssar Westerlund	from strtod, it might return != 0.0 when the string has no digits.
1176adb0ddaeSAssar Westerlund	just testing if it consumed any characters is enough and more
1177adb0ddaeSAssar Westerlund	resilient
1178adb0ddaeSAssar Westerlund	* glob.c: add GLOB_LIMIT (from NetBSD)
1179adb0ddaeSAssar Westerlund
1180adb0ddaeSAssar Westerlund2001-02-20  Assar Westerlund  <assar@sics.se>
1181adb0ddaeSAssar Westerlund
1182adb0ddaeSAssar Westerlund	* warnerr.c (warnerr): do not use __progname
1183adb0ddaeSAssar Westerlund	* roken.h.in (setprogname, getprogname): add prototypes
1184adb0ddaeSAssar Westerlund	* warnerr.c (setprogname, getprogname): rename to. change all
1185adb0ddaeSAssar Westerlund	callers
1186adb0ddaeSAssar Westerlund
1187adb0ddaeSAssar Westerlund2001-02-12  Assar Westerlund  <assar@sics.se>
1188adb0ddaeSAssar Westerlund
1189adb0ddaeSAssar Westerlund	* getnameinfo_verified.c (getnameinfo_verified): do the first
1190adb0ddaeSAssar Westerlund	getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
1191adb0ddaeSAssar Westerlund	reports on not finding the service
1192adb0ddaeSAssar Westerlund	(ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
1193adb0ddaeSAssar Westerlund
1194adb0ddaeSAssar Westerlund2001-02-09  Assar Westerlund  <assar@sics.se>
1195adb0ddaeSAssar Westerlund
1196adb0ddaeSAssar Westerlund	* getnameinfo.c (doit): call inet_ntop with correct af, noted by
1197adb0ddaeSAssar Westerlund	Ake Sandgren <ake@cs.umu.se>
1198adb0ddaeSAssar Westerlund
1199adb0ddaeSAssar Westerlund2001-02-08  Assar Westerlund  <assar@sics.se>
1200adb0ddaeSAssar Westerlund
1201adb0ddaeSAssar Westerlund	* getnameinfo_verified.c (getnameinfo_verified): always capture
1202adb0ddaeSAssar Westerlund	the service from getnameinfo so it can be sent back to getaddrinfo
1203adb0ddaeSAssar Westerlund	and set socktype to avoid getaddrinfo not returning any addresses
1204adb0ddaeSAssar Westerlund
12055e9cd1aeSAssar Westerlund2001-01-30  Assar Westerlund  <assar@sics.se>
12065e9cd1aeSAssar Westerlund
12075e9cd1aeSAssar Westerlund	* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
12085e9cd1aeSAssar Westerlund	* print_version.c (print_version): add 2001
12095e9cd1aeSAssar Westerlund
12105e9cd1aeSAssar Westerlund2001-01-29  Assar Westerlund  <assar@sics.se>
12115e9cd1aeSAssar Westerlund
12125e9cd1aeSAssar Westerlund	* getifaddrs.c (getifaddrs2): copy the entire sockaddr
12135e9cd1aeSAssar Westerlund
12145e9cd1aeSAssar Westerlund	* roken-common.h (_PATH_BSHELL): add
12155e9cd1aeSAssar Westerlund
12165e9cd1aeSAssar Westerlund2001-01-27  Assar Westerlund  <assar@sics.se>
12175e9cd1aeSAssar Westerlund
12185e9cd1aeSAssar Westerlund	* roken.h.in: move __attribute__ to roken-common.h
12195e9cd1aeSAssar Westerlund
12205e9cd1aeSAssar Westerlund	* esetenv.c (esetenv): cast to handle a setenv that takes a `char
12215e9cd1aeSAssar Westerlund 	* which is the case on Unicos
12225e9cd1aeSAssar Westerlund
12235e9cd1aeSAssar Westerlund2000-12-29  Assar Westerlund  <assar@sics.se>
12245e9cd1aeSAssar Westerlund
12255e9cd1aeSAssar Westerlund	* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
12265e9cd1aeSAssar Westerlund	ifaddrs.hin
12275e9cd1aeSAssar Westerlund
12285e9cd1aeSAssar Westerlund2000-12-25  Assar Westerlund  <assar@sics.se>
12295e9cd1aeSAssar Westerlund
12305e9cd1aeSAssar Westerlund	* getarg.c (print_arg): add a case for arg_strings
12315e9cd1aeSAssar Westerlund
12325e9cd1aeSAssar Westerlund2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
12335e9cd1aeSAssar Westerlund
12345e9cd1aeSAssar Westerlund	* snprintf.c (append_string): handle NULL strings by printing
12355e9cd1aeSAssar Westerlund	`(null)'
12365e9cd1aeSAssar Westerlund
12375e9cd1aeSAssar Westerlund2000-12-12  Johan Danielsson  <joda@pdc.kth.se>
12385e9cd1aeSAssar Westerlund
12395e9cd1aeSAssar Westerlund	* roken-common.h: add c++ externs
12405e9cd1aeSAssar Westerlund
12415e9cd1aeSAssar Westerlund	* roken.h.in: fix last commit differently
12425e9cd1aeSAssar Westerlund
12435e9cd1aeSAssar Westerlund2000-12-11  Assar Westerlund  <assar@sics.se>
12445e9cd1aeSAssar Westerlund
12455e9cd1aeSAssar Westerlund	* err.hin (warnerr): remove, it's not part of the err.h interface
12465e9cd1aeSAssar Westerlund	* roken-common.h (warnerr): moved here from err.hin
12475e9cd1aeSAssar Westerlund	* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
12485e9cd1aeSAssar Westerlund	* vis.c: s/u_int32_t/unsigned/ for systems that do not define
12495e9cd1aeSAssar Westerlund	u_int32_t
12505e9cd1aeSAssar Westerlund
12515e9cd1aeSAssar Westerlund2000-12-10  Johan Danielsson  <joda@pdc.kth.se>
12525e9cd1aeSAssar Westerlund
12535e9cd1aeSAssar Westerlund	* Makefile.am: rename some headers to avoid conflict with possible
12545e9cd1aeSAssar Westerlund	system headers
12555e9cd1aeSAssar Westerlund
12565e9cd1aeSAssar Westerlund2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
12575e9cd1aeSAssar Westerlund
12585e9cd1aeSAssar Westerlund	* vis.c: make sure _DIAGASSERT is defined
12595e9cd1aeSAssar Westerlund
12605e9cd1aeSAssar Westerlund	* unvis.c: make sure _DIAGASSERT is defined
12615e9cd1aeSAssar Westerlund
12625e9cd1aeSAssar Westerlund	* Makefile.am: unvis.c, and vis.h
12635e9cd1aeSAssar Westerlund
12645e9cd1aeSAssar Westerlund	* vis.h: vis.h from NetBSD
12655e9cd1aeSAssar Westerlund
12665e9cd1aeSAssar Westerlund	* unvis.c: unvis from NetBSD
12675e9cd1aeSAssar Westerlund
12685e9cd1aeSAssar Westerlund	* roken.h.in: cleanup previous
12695e9cd1aeSAssar Westerlund
12705e9cd1aeSAssar Westerlund	* roken-common.h: make `extern "C"' into a macro, this make emacs
12715e9cd1aeSAssar Westerlund	much happier
12725e9cd1aeSAssar Westerlund
12735e9cd1aeSAssar Westerlund	* vis.c: strvis implementation from NetBSD
12745e9cd1aeSAssar Westerlund
12755e9cd1aeSAssar Westerlund	* roken.h.in: add prototypes for strvis*
12765e9cd1aeSAssar Westerlund
12775e9cd1aeSAssar Westerlund2000-12-05  Johan Danielsson  <joda@pdc.kth.se>
12785e9cd1aeSAssar Westerlund
12795e9cd1aeSAssar Westerlund	* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
12805e9cd1aeSAssar Westerlund	macro
12815e9cd1aeSAssar Westerlund
12825e9cd1aeSAssar Westerlund	* getifaddrs.c: free some memory
12835e9cd1aeSAssar Westerlund
12845e9cd1aeSAssar Westerlund2000-12-04  Johan Danielsson  <joda@pdc.kth.se>
12855e9cd1aeSAssar Westerlund
12865e9cd1aeSAssar Westerlund	* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
12875e9cd1aeSAssar Westerlund
12885e9cd1aeSAssar Westerlund	* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
12895e9cd1aeSAssar Westerlund
12905e9cd1aeSAssar Westerlund2000-10-08  Assar Westerlund  <assar@sics.se>
12915e9cd1aeSAssar Westerlund
12925e9cd1aeSAssar Westerlund	* mini_inetd.c (mini_inetd): check that fds are not too large to
12935e9cd1aeSAssar Westerlund	select on
12945e9cd1aeSAssar Westerlund
12955e9cd1aeSAssar Westerlund2000-09-24  Assar Westerlund  <assar@sics.se>
12965e9cd1aeSAssar Westerlund
12975e9cd1aeSAssar Westerlund	*  esetenv.c: new file/function
12985e9cd1aeSAssar Westerlund
12995e9cd1aeSAssar Westerlund2000-08-16  Assar Westerlund  <assar@sics.se>
13005e9cd1aeSAssar Westerlund
13015e9cd1aeSAssar Westerlund	* Makefile.am: bump version to 10:0:1
13025e9cd1aeSAssar Westerlund
13035e9cd1aeSAssar Westerlund2000-08-10  Assar Westerlund  <assar@sics.se>
13045e9cd1aeSAssar Westerlund
13055e9cd1aeSAssar Westerlund	* mini_inetd.c (accept_it): type-correctness on parameters to
13065e9cd1aeSAssar Westerlund	accept
13075e9cd1aeSAssar Westerlund
13085e9cd1aeSAssar Westerlund2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
13095e9cd1aeSAssar Westerlund
13105e9cd1aeSAssar Westerlund	* roken.h.in: add proto compat for getsockname
13115e9cd1aeSAssar Westerlund
13125e9cd1aeSAssar Westerlund2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
13135e9cd1aeSAssar Westerlund
13145e9cd1aeSAssar Westerlund	* write_pid.c: conditionalise pidfile
13155e9cd1aeSAssar Westerlund
13165e9cd1aeSAssar Westerlund	* write_pid.c: add pidfile function
13175e9cd1aeSAssar Westerlund
13185e9cd1aeSAssar Westerlund2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
13195e9cd1aeSAssar Westerlund
13205e9cd1aeSAssar Westerlund	* Makefile.am: bump version to 9:0:0
13215e9cd1aeSAssar Westerlund
13225e9cd1aeSAssar Westerlund	* warnerr.c: add get_progname
13235e9cd1aeSAssar Westerlund
13245e9cd1aeSAssar Westerlund2000-07-24  Assar Westerlund  <assar@sics.se>
13255e9cd1aeSAssar Westerlund
13265e9cd1aeSAssar Westerlund	* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
13275e9cd1aeSAssar Westerlund	reverse resolving to see if there's a fuller name there.  don't
13285e9cd1aeSAssar Westerlund	use just-freed memory
13295e9cd1aeSAssar Westerlund
13305e9cd1aeSAssar Westerlund2000-07-22  Assar Westerlund  <assar@sics.se>
13315e9cd1aeSAssar Westerlund
13325e9cd1aeSAssar Westerlund	* xdbm.h: do not define ndbm functions in terms of dbm functions
13335e9cd1aeSAssar Westerlund	if we're using db
13345e9cd1aeSAssar Westerlund
13355e9cd1aeSAssar Westerlund2000-07-20  Assar Westerlund  <assar@sics.se>
13365e9cd1aeSAssar Westerlund
13375e9cd1aeSAssar Westerlund	* rtbl.c (rtbl_format): avoid printing an empty row at the end
13385e9cd1aeSAssar Westerlund
13395e9cd1aeSAssar Westerlund2000-07-19  Johan Danielsson  <joda@pdc.kth.se>
13405e9cd1aeSAssar Westerlund
13415e9cd1aeSAssar Westerlund	* Makefile.am: make this compatible with `make dist'
13425e9cd1aeSAssar Westerlund
13435e9cd1aeSAssar Westerlund	* Makefile.am: revert version number for now
13445e9cd1aeSAssar Westerlund
13455e9cd1aeSAssar Westerlund2000-07-18  Johan Danielsson  <joda@pdc.kth.se>
13465e9cd1aeSAssar Westerlund
13475e9cd1aeSAssar Westerlund	* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
13485e9cd1aeSAssar Westerlund
13495e9cd1aeSAssar Westerlund2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
13505e9cd1aeSAssar Westerlund
13515e9cd1aeSAssar Westerlund	* Makefile.am: set ACLOCAL_AMFLAGS
13525e9cd1aeSAssar Westerlund
13535e9cd1aeSAssar Westerlund2000-07-15  Johan Danielsson  <joda@pdc.kth.se>
13545e9cd1aeSAssar Westerlund
13555e9cd1aeSAssar Westerlund	* getaddrinfo_hostspec.c: add new function that takes socktype
13565e9cd1aeSAssar Westerlund	hint as parameter
13575e9cd1aeSAssar Westerlund
13585e9cd1aeSAssar Westerlund2000-07-09  Assar Westerlund  <assar@sics.se>
13595e9cd1aeSAssar Westerlund
13605e9cd1aeSAssar Westerlund	* rtbl.c (rtbl_add_column): initialize `col' completely
13615e9cd1aeSAssar Westerlund
13625e9cd1aeSAssar Westerlund	* configure.in: bring headers and functions more in-line with
13635e9cd1aeSAssar Westerlund	what's actually being used
13645e9cd1aeSAssar Westerlund
13655e9cd1aeSAssar Westerlund2000-07-08  Johan Danielsson  <joda@pdc.kth.se>
13665e9cd1aeSAssar Westerlund
13675e9cd1aeSAssar Westerlund	* roken.h.in: declare ether_addr and sockaddr_dl for AIX
13685e9cd1aeSAssar Westerlund
13695e9cd1aeSAssar Westerlund	* rtbl.{c,h}: simple table functions
13705e9cd1aeSAssar Westerlund
13715e9cd1aeSAssar Westerlund2000-07-08  Assar Westerlund  <assar@sics.se>
13725e9cd1aeSAssar Westerlund
13735e9cd1aeSAssar Westerlund	* configure.in (AM_INIT_AUTOMAKE): bump version to 10
13745e9cd1aeSAssar Westerlund	* configure.in (AC_BROKEN): add strsep_copy
13755e9cd1aeSAssar Westerlund	* Makefile.am (ACLOCAL): fetch files from cf
13765e9cd1aeSAssar Westerlund
13775e9cd1aeSAssar Westerlund2000-07-01  Assar Westerlund  <assar@sics.se>
13785e9cd1aeSAssar Westerlund
13795e9cd1aeSAssar Westerlund	* roken-common.h (pid_file_*): fix protos
13805e9cd1aeSAssar Westerlund
13815e9cd1aeSAssar Westerlund2000-06-28  Assar Westerlund  <assar@sics.se>
13825e9cd1aeSAssar Westerlund
13835e9cd1aeSAssar Westerlund	* getnameinfo_verified.c (getnameinfo_verified): free memory
13845e9cd1aeSAssar Westerlund	returned from getaddrinfo
13855e9cd1aeSAssar Westerlund
13865e9cd1aeSAssar Westerlund2000-06-27  Assar Westerlund  <assar@sics.se>
13875e9cd1aeSAssar Westerlund
13885e9cd1aeSAssar Westerlund	* resolve.c: export string_to_type and type_to_string
13895e9cd1aeSAssar Westerlund	* resolve.c: add key,sig,cert update test-program
13905e9cd1aeSAssar Westerlund	* resolve.h: add key,sig,cert
13915e9cd1aeSAssar Westerlund
13925e9cd1aeSAssar Westerlund2000-06-21  Assar Westerlund  <assar@sics.se>
13935e9cd1aeSAssar Westerlund
13945e9cd1aeSAssar Westerlund	* resolve.h: add T_SIG, T_KEY
13955e9cd1aeSAssar Westerlund	* resolve.c: add SIG and KEY
13965e9cd1aeSAssar Westerlund	* Makefile.am (libroken_la_SOURCES): add environment.c and
13975e9cd1aeSAssar Westerlund	write_pid.c
13985e9cd1aeSAssar Westerlund
13995e9cd1aeSAssar Westerlund	* write_pid.c: new file for writing a pid file.
14005e9cd1aeSAssar Westerlund
14015e9cd1aeSAssar Westerlund	* environment.c: new file with functionality for reading
14025e9cd1aeSAssar Westerlund	/etc/environment.  From Ake Sandgren <ake@cs.umu.se>
14035e9cd1aeSAssar Westerlund
14045e9cd1aeSAssar Westerlund2000-06-12  Johan Danielsson  <joda@pdc.kth.se>
14055e9cd1aeSAssar Westerlund
14065e9cd1aeSAssar Westerlund	* strsep_copy.c: strsep, but with const stringp so returns string
14075e9cd1aeSAssar Westerlund	in separate buffer
14085e9cd1aeSAssar Westerlund
14095e9cd1aeSAssar Westerlund2000-05-23  Assar Westerlund  <assar@sics.se>
14105e9cd1aeSAssar Westerlund
14115e9cd1aeSAssar Westerlund	* vsyslog.c (vsyslog): calculate length of new format string
14125e9cd1aeSAssar Westerlund	correctly
14135e9cd1aeSAssar Westerlund
14145e9cd1aeSAssar Westerlund2000-05-22  Johan Danielsson  <joda@pdc.kth.se>
14155e9cd1aeSAssar Westerlund
14165e9cd1aeSAssar Westerlund	* getusershell.c: implment the AIX version use
14175e9cd1aeSAssar Westerlund	/etc/security/login.cfg
14185e9cd1aeSAssar Westerlund
14195e9cd1aeSAssar Westerlund2000-05-21  Assar Westerlund  <assar@sics.se>
14205e9cd1aeSAssar Westerlund
14215e9cd1aeSAssar Westerlund	* vsyslog.c (vsyslog): actually handle `%m'
14225e9cd1aeSAssar Westerlund
14235e9cd1aeSAssar Westerlund2000-05-15  Assar Westerlund  <assar@sics.se>
14245e9cd1aeSAssar Westerlund
14255e9cd1aeSAssar Westerlund	* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
14265e9cd1aeSAssar Westerlund
14275e9cd1aeSAssar Westerlund	* roken-common.h: moved __attribute__ to roken.h.in
14285e9cd1aeSAssar Westerlund
14295e9cd1aeSAssar Westerlund2000-04-14  Assar Westerlund  <assar@sics.se>
14305e9cd1aeSAssar Westerlund
14315e9cd1aeSAssar Westerlund	* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
14325e9cd1aeSAssar Westerlund	correct length from `hostspec'.  based on a patch from Love
14335e9cd1aeSAssar Westerlund	<lha@s3.kth.se>
14345e9cd1aeSAssar Westerlund
14355e9cd1aeSAssar Westerlund2000-04-09  Assar Westerlund  <assar@sics.se>
14365e9cd1aeSAssar Westerlund
14375e9cd1aeSAssar Westerlund	* xdbm.h: only include one of db.h and the dbm-series
14385e9cd1aeSAssar Westerlund
14395e9cd1aeSAssar Westerlund2000-04-05  Assar Westerlund  <assar@sics.se>
14405e9cd1aeSAssar Westerlund
14415e9cd1aeSAssar Westerlund	* resolve.c (_resolve_debug): explicitly set to zero.  this moves
14425e9cd1aeSAssar Westerlund	the variable from bss to data and the dynamic linker on MacOS
14435e9cd1aeSAssar Westerlund	X/Darwin seems unhappy with stuff in the bss segment.
14445e9cd1aeSAssar Westerlund
14455e9cd1aeSAssar Westerlund2000-04-03  Assar Westerlund  <assar@sics.se>
14465e9cd1aeSAssar Westerlund
14475e9cd1aeSAssar Westerlund	* Makefile.am: set version to 8:0:3
14485e9cd1aeSAssar Westerlund
14495e9cd1aeSAssar Westerlund2000-03-11  Assar Westerlund  <assar@sics.se>
14505e9cd1aeSAssar Westerlund
14515e9cd1aeSAssar Westerlund	* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
14525e9cd1aeSAssar Westerlund	expression that also works on Crays
14535e9cd1aeSAssar Westerlund
14545e9cd1aeSAssar Westerlund2000-03-09  Assar Westerlund  <assar@sics.se>
14555e9cd1aeSAssar Westerlund
14565e9cd1aeSAssar Westerlund	* getarg.c (arg_match_short): backup optind when there's a missing
14575e9cd1aeSAssar Westerlund	argument so that the error can point at the flag and not the
14585e9cd1aeSAssar Westerlund	non-existant argument
14595e9cd1aeSAssar Westerlund
14605e9cd1aeSAssar Westerlund2000-03-03  Assar Westerlund  <assar@sics.se>
14615e9cd1aeSAssar Westerlund
14625e9cd1aeSAssar Westerlund	* Makefile.in (SOURCES): add timeval.c
14635e9cd1aeSAssar Westerlund	* Makefile.am (libroken_la_SOURCES): add timeval.c
14645e9cd1aeSAssar Westerlund	* timeval.c: new file
14655e9cd1aeSAssar Westerlund
1466d61f1c79SMark Murray2000-02-19  Assar Westerlund  <assar@sics.se>
1467d61f1c79SMark Murray
1468d61f1c79SMark Murray	* Makefile.am: set version to 7:1:2
1469d61f1c79SMark Murray
1470d61f1c79SMark Murray2000-02-16  Assar Westerlund  <assar@sics.se>
1471d61f1c79SMark Murray
1472d61f1c79SMark Murray	* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
1473d61f1c79SMark Murray	transmitted as ints
1474d61f1c79SMark Murray	(according to the integer protomotion rules) in variable arguments
1475d61f1c79SMark Murray	lists.  Therefore, we should not call va_arg with short but rather
1476d61f1c79SMark Murray	with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
1477d61f1c79SMark Murray	original bug report
1478d61f1c79SMark Murray
1479283d988cSMark Murray2000-02-13  Assar Westerlund  <assar@sics.se>
1480283d988cSMark Murray
1481283d988cSMark Murray	* Makefile.am: bump version to 7:0:2
1482283d988cSMark Murray
1483283d988cSMark Murray	* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
1484283d988cSMark Murray	* getarg.c (mandoc_template): better man-stuff for negative
1485283d988cSMark Murray	options
1486283d988cSMark Murray
148713e3f4d6SMark Murray2000-02-07  Assar Westerlund  <assar@sics.se>
148813e3f4d6SMark Murray
148913e3f4d6SMark Murray	* Makefile.am: set version to 6:0:1
149013e3f4d6SMark Murray
149113e3f4d6SMark Murray2000-02-06  Assar Westerlund  <assar@sics.se>
149213e3f4d6SMark Murray
149313e3f4d6SMark Murray	* xdbm.h: hopefully catch a few more declarations by including
149413e3f4d6SMark Murray	<ndbm.h> even if <db.h> was found
149513e3f4d6SMark Murray
149613e3f4d6SMark Murray2000-01-26  Assar Westerlund  <assar@sics.se>
149713e3f4d6SMark Murray
149813e3f4d6SMark Murray	* mini_inetd.c (mini_inetd): separate number of allocated sockets
149913e3f4d6SMark Murray	and number of actual ones
150013e3f4d6SMark Murray	* mini_inetd.c (mini_inetd): count sockets properly.  and fail if
150113e3f4d6SMark Murray	we cannot bind any
150213e3f4d6SMark Murray	* mini_inetd.c (mini_inetd): make failing to create a socket
150313e3f4d6SMark Murray	non-fatal
150413e3f4d6SMark Murray
150513e3f4d6SMark Murray2000-01-09  Assar Westerlund  <assar@sics.se>
150613e3f4d6SMark Murray
150713e3f4d6SMark Murray 	* Makefile.am(libroken_la_SOURCES): add strcollect.c
150813e3f4d6SMark Murray	* Makefile.in: add strcollect.[co]
150913e3f4d6SMark Murray	* simple_exec.c: use vstrcollect
151013e3f4d6SMark Murray	* roken-common.h (_PATH_DEV): add
151113e3f4d6SMark Murray	(strcollect, vstrcollect): add prototypes
151213e3f4d6SMark Murray	* strcollect.c: new file.  functions for collapsing an `va_list'
151313e3f4d6SMark Murray	into an `char **'
151413e3f4d6SMark Murray
1515b528cefcSMark Murray2000-01-06  Assar Westerlund  <assar@sics.se>
1516b528cefcSMark Murray
1517b528cefcSMark Murray	* Makefile.am: bump version to 5:0:0
1518b528cefcSMark Murray
1519b528cefcSMark Murray1999-12-30  Assar Westerlund  <assar@sics.se>
1520b528cefcSMark Murray
1521b528cefcSMark Murray	* Makefile.am (strpftime_test_SOURCES): correct source file name
1522b528cefcSMark Murray
1523b528cefcSMark Murray	* roken.h.in (sockaddr_storage): change padding so that we have
1524b528cefcSMark Murray 	one char[] of pad and then an unsigned long[] (for alignment and
1525b528cefcSMark Murray 	padding).  this works much better in practice.
1526b528cefcSMark Murray
1527b528cefcSMark Murray1999-12-22  Assar Westerlund  <assar@sics.se>
1528b528cefcSMark Murray
1529b528cefcSMark Murray	* roken.h.in (sockaddr_storage): drop leading underscore on
1530b528cefcSMark Murray 	`public' fields.  this was the consensus on the ipng mailing list
1531b528cefcSMark Murray
1532b528cefcSMark Murray1999-12-21  Assar Westerlund  <assar@sics.se>
1533b528cefcSMark Murray
1534b528cefcSMark Murray	* Makefile.am (strpftime-test): define sources to avoid having
1535b528cefcSMark Murray 	'.o'
1536b528cefcSMark Murray	* Makefile.am (print_version.h): use $(EXEEXT)
1537b528cefcSMark Murray	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
1538b528cefcSMark Murray 	et al
1539b528cefcSMark Murray
1540b528cefcSMark Murray1999-12-20  Assar Westerlund  <assar@sics.se>
1541b528cefcSMark Murray
1542b528cefcSMark Murray	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
1543b528cefcSMark Murray
1544b528cefcSMark Murray	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
1545b528cefcSMark Murray	gethostbyname(2)
1546b528cefcSMark Murray
1547b528cefcSMark Murray1999-12-16  Assar Westerlund  <assar@sics.se>
1548b528cefcSMark Murray
1549b528cefcSMark Murray	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
1550b528cefcSMark Murray
1551b528cefcSMark Murray	* roken.h.in (struct sockaddr_storage): redefine with the example
1552b528cefcSMark Murray 	code from rfc2553
1553b528cefcSMark Murray
1554b528cefcSMark Murray	* getaddrinfo.c (get_null): set loopback with correct endianess
1555b528cefcSMark Murray	for v4.  dunno about v6.
1556b528cefcSMark Murray
1557b528cefcSMark Murray1999-12-13  Assar Westerlund  <assar@sics.se>
1558b528cefcSMark Murray
1559b528cefcSMark Murray	* roken.h.in: add prototypes for str[pf]time
1560b528cefcSMark Murray
1561b528cefcSMark Murray	* signal.c: macosx = rhapsody ~= nextstep also can't handle
1562b528cefcSMark Murray 	various definitions of the same symbol.
1563b528cefcSMark Murray
1564b528cefcSMark Murray1999-12-12  Assar Westerlund  <assar@sics.se>
1565b528cefcSMark Murray
1566b528cefcSMark Murray	* Makefile.am: bump version to 4:1:0
1567b528cefcSMark Murray
1568b528cefcSMark Murray1999-12-06  Assar Westerlund  <assar@sics.se>
1569b528cefcSMark Murray
1570b528cefcSMark Murray	* Makefile.am: bump version to 4:0:0
1571b528cefcSMark Murray
1572b528cefcSMark Murray1999-12-05  Assar Westerlund  <assar@sics.se>
1573b528cefcSMark Murray
1574b528cefcSMark Murray	* Makefile.in: replace inaddr2str with getnameinfo_verified
1575b528cefcSMark Murray
1576b528cefcSMark Murray	* roken-common.h (INADDR_LOOPBACK): add fallback definition
1577b528cefcSMark Murray
1578b528cefcSMark Murray	* roken-common.h: move getnameinfo_verified to roken.h.in
1579b528cefcSMark Murray	* roken.h.in (inaddr2str): remove
1580b528cefcSMark Murray	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
1581b528cefcSMark Murray	* roken-common.h (getnameinfo_verified): add prototype
1582b528cefcSMark Murray	* getnameinfo_verified.c: new file
1583b528cefcSMark Murray
1584b528cefcSMark Murray1999-12-04  Assar Westerlund  <assar@sics.se>
1585b528cefcSMark Murray
1586b528cefcSMark Murray	* roken-common.h: add constants for getaddrinfo, getnameinfo
1587b528cefcSMark Murray	* roken.h.in (socklen_t): make independent of sockaddr_storage
1588b528cefcSMark Murray	(AI_*, NI_*, EAI_*): move to roken-common.h
1589b528cefcSMark Murray
1590b528cefcSMark Murray1999-12-03  Assar Westerlund  <assar@sics.se>
1591b528cefcSMark Murray
1592b528cefcSMark Murray	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
1593b528cefcSMark Murray	* getaddrinfo.c (const_v*): no sizeof(sizeof())
1594b528cefcSMark Murray	* getaddrinfo.c (add_hostent): search for the canonical name among
1595b528cefcSMark Murray	all aliases
1596b528cefcSMark Murray	(getaddrinfo): handle AI_NUMERICHOST correctly
1597b528cefcSMark Murray	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
1598b528cefcSMark Murray	getaddrinfo, getnameinfo, gai_strerror
1599b528cefcSMark Murray	(getaddrinfo_test): add
1600b528cefcSMark Murray	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
1601b528cefcSMark Murray	getnameinfo, gai_strerror
1602b528cefcSMark Murray	(getaddrinfo_test): add
1603b528cefcSMark Murray	* roken.h.in: arpa/inet.h: include
1604b528cefcSMark Murray	(socklen_t): add
1605b528cefcSMark Murray	(struct addrinfo): add
1606b528cefcSMark Murray	(EAI_*): add
1607b528cefcSMark Murray	(NI_*): add
1608b528cefcSMark Murray	(AI_*): add
1609b528cefcSMark Murray	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
1610b528cefcSMark Murray	* getnameinfo.c: new file
1611b528cefcSMark Murray	* getaddrinfo-test.c: new file
1612b528cefcSMark Murray	* gai_strerror.c: new file
1613b528cefcSMark Murray	* getaddrinfo.c: new file
1614b528cefcSMark Murray	* freeaddrinfo.c: new file
1615b528cefcSMark Murray
1616b528cefcSMark Murray1999-11-25  Assar Westerlund  <assar@sics.se>
1617b528cefcSMark Murray
1618b528cefcSMark Murray	* getopt.c (getopt): return -1 instead of EOF.  From
1619b528cefcSMark Murray	<art@stacken.kth.se>
1620b528cefcSMark Murray
1621b528cefcSMark Murray1999-11-13  Assar Westerlund  <assar@sics.se>
1622b528cefcSMark Murray
1623b528cefcSMark Murray	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
1624b528cefcSMark Murray	world
1625b528cefcSMark Murray
1626b528cefcSMark Murray	* getcap.c: make sure to use db only if we have both the library
1627b528cefcSMark Murray	and the header file
1628b528cefcSMark Murray
1629b528cefcSMark Murray1999-11-12  Assar Westerlund  <assar@sics.se>
1630b528cefcSMark Murray
1631b528cefcSMark Murray	* getarg.h: add arg_counter
1632b528cefcSMark Murray	* getarg.c: add a new type of argument: `arg_counter' re-organize
1633b528cefcSMark Murray	the code somewhat
1634b528cefcSMark Murray
1635b528cefcSMark Murray	* Makefile.am: add strptime and strpftime-test
1636b528cefcSMark Murray
1637b528cefcSMark Murray	* snprintf.c (xyzprintf): try to do the right thing with an % at
1638b528cefcSMark Murray	the end of the format string
1639b528cefcSMark Murray
1640b528cefcSMark Murray	* strptime.c (strptime): implement '%U', '%V', '%W'
1641b528cefcSMark Murray	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
1642b528cefcSMark Murray
1643b528cefcSMark Murray	* strftime.c (strftime): correct %E and %O handling.  do something
1644b528cefcSMark Murray 	reasonable with "...%"
1645b528cefcSMark Murray
1646b528cefcSMark Murray	* strftime.c: replace the BSD implementation by one of our own
1647b528cefcSMark Murray	coding
1648b528cefcSMark Murray
1649b528cefcSMark Murray	* strptime.c : new file
1650b528cefcSMark Murray	* strpftime-test.c: new file
1651b528cefcSMark Murray
1652b528cefcSMark Murray1999-11-07  Assar Westerlund  <assar@sics.se>
1653b528cefcSMark Murray
1654b528cefcSMark Murray	* parse_bytes-test.c: new file
1655b528cefcSMark Murray
1656b528cefcSMark Murray	* Makefile.am: add parse_bytes-test
1657b528cefcSMark Murray
1658b528cefcSMark Murray	* parse_units.c (parse_something): try to handle the case of no
1659b528cefcSMark Murray 	value specified a little bit better
1660b528cefcSMark Murray
1661b528cefcSMark Murray1999-11-04  Assar Westerlund  <assar@sics.se>
1662b528cefcSMark Murray
1663b528cefcSMark Murray	* Makefile.am: bump version to 3:2:0
1664b528cefcSMark Murray
1665b528cefcSMark Murray1999-10-30  Assar Westerlund  <assar@sics.se>
1666b528cefcSMark Murray
1667b528cefcSMark Murray	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
1668b528cefcSMark Murray 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
1669b528cefcSMark Murray 	Rini <trini@kernel.crashing.org>
1670b528cefcSMark Murray
1671b528cefcSMark Murray1999-10-28  Assar Westerlund  <assar@sics.se>
1672b528cefcSMark Murray
1673b528cefcSMark Murray	* Makefile.am: bump version to 3:1:0
1674b528cefcSMark Murray
1675b528cefcSMark Murray	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
1676b528cefcSMark Murray 	having to have that definition.  this is the easy way out instead
1677b528cefcSMark Murray 	of getting the definition here where it's needed.  flame me.
1678b528cefcSMark Murray
1679b528cefcSMark MurrayFri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
1680b528cefcSMark Murray
1681b528cefcSMark Murray	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
1682b528cefcSMark Murray 	though it should), use getspnam().
1683b528cefcSMark Murray
1684b528cefcSMark Murray1999-10-20  Assar Westerlund  <assar@sics.se>
1685b528cefcSMark Murray
1686b528cefcSMark Murray	* Makefile.am: set version to 3:0:0
1687b528cefcSMark Murray
1688b528cefcSMark Murray1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
1689b528cefcSMark Murray
1690b528cefcSMark Murray	* getarg.3: document arg_collect
1691b528cefcSMark Murray
1692b528cefcSMark Murray	* getarg.c: change the way arg_collect works; it's still quite
1693b528cefcSMark Murray	horrible though
1694b528cefcSMark Murray
1695b528cefcSMark Murray	* getarg.h: change type of the collect function
1696b528cefcSMark Murray
1697b528cefcSMark Murray1999-10-17  Assar Westerlund  <assar@sics.se>
1698b528cefcSMark Murray
1699b528cefcSMark Murray	* xdbm.h: undo last commit
1700b528cefcSMark Murray
1701b528cefcSMark Murray	* xdbm.h: reorder db includes
1702b528cefcSMark Murray
1703b528cefcSMark Murray1999-10-10  Assar Westerlund  <assar@sics.se>
1704b528cefcSMark Murray
1705b528cefcSMark Murray	* socket.c: const-ize and comment
1706b528cefcSMark Murray
1707b528cefcSMark Murray	* net_write.c: const-ize
1708b528cefcSMark Murray
1709b528cefcSMark Murray	* base64.c: const-ize
1710b528cefcSMark Murray
1711b528cefcSMark Murray1999-10-06  Assar Westerlund  <assar@sics.se>
1712b528cefcSMark Murray
1713b528cefcSMark Murray	* getarg.c (getarg): also set optind when returning error
1714b528cefcSMark Murray
1715b528cefcSMark Murray1999-09-26  Assar Westerlund  <assar@sics.se>
1716b528cefcSMark Murray
1717b528cefcSMark Murray	* Makefile.am: add parse_bytes.[ch]
1718b528cefcSMark Murray
1719b528cefcSMark Murray1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
1720b528cefcSMark Murray
1721b528cefcSMark Murray	* getarg.3: getarg manpage
1722b528cefcSMark Murray
1723b528cefcSMark Murray	* getarg.{c,h}: add a callback type to do more complicated processing
1724b528cefcSMark Murray
1725b528cefcSMark Murray	* getarg.{c,h}: add floating point support
1726b528cefcSMark Murray
1727b528cefcSMark Murray1999-09-16  Assar Westerlund  <assar@sics.se>
1728b528cefcSMark Murray
1729b528cefcSMark Murray	* strlcat.c (strlcat): call strlcpy
1730b528cefcSMark Murray
1731b528cefcSMark Murray	* strlcpy.c: update name and prototype
1732b528cefcSMark Murray
1733b528cefcSMark Murray	* strlcat.c: update name and prototype
1734b528cefcSMark Murray
1735b528cefcSMark Murray	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
1736b528cefcSMark Murray
1737b528cefcSMark Murray	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
1738b528cefcSMark Murray
1739b528cefcSMark Murray	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
1740b528cefcSMark Murray
1741b528cefcSMark Murray 	* strcpy_truncate.c (strcpy_truncate): change return value to be
1742b528cefcSMark Murray 	the length of `src'
1743b528cefcSMark Murray
1744b528cefcSMark Murray1999-08-16  Assar Westerlund  <assar@sics.se>
1745b528cefcSMark Murray
1746b528cefcSMark Murray	* getcap.c: try to make this work on systems with DB
1747b528cefcSMark Murray
1748b528cefcSMark Murray1999-08-16  Johan Danielsson  <joda@pdc.kth.se>
1749b528cefcSMark Murray
1750b528cefcSMark Murray	* getcap.c: protect from db-less systems
1751b528cefcSMark Murray
1752b528cefcSMark Murray1999-08-09  Johan Danielsson  <joda@pdc.kth.se>
1753b528cefcSMark Murray
1754b528cefcSMark Murray	* simple_exec.c: add simple_exec{ve,le}
1755b528cefcSMark Murray
1756b528cefcSMark Murray	* getcap.c: getcap from NetBSD
1757b528cefcSMark Murray
1758b528cefcSMark Murray1999-08-06  Assar Westerlund  <assar@sics.se>
1759b528cefcSMark Murray
1760b528cefcSMark Murray	* roken.h.in (sockaddr_storage): cater for those that have
1761b528cefcSMark Murray 	v6-support also
1762b528cefcSMark Murray
1763b528cefcSMark Murray1999-08-05  Assar Westerlund  <assar@sics.se>
1764b528cefcSMark Murray
1765b528cefcSMark Murray	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
1766b528cefcSMark Murray
1767b528cefcSMark Murray1999-08-04  Assar Westerlund  <assar@sics.se>
1768b528cefcSMark Murray
1769b528cefcSMark Murray	* roken-common.h: add shutdown constants
1770b528cefcSMark Murray
1771b528cefcSMark Murray	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
1772b528cefcSMark Murray 	protocol not being supported
1773b528cefcSMark Murray
1774b528cefcSMark Murray1999-08-01  Assar Westerlund  <assar@sics.se>
1775b528cefcSMark Murray
1776b528cefcSMark Murray	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
1777b528cefcSMark Murray
1778b528cefcSMark Murray1999-07-29  Assar Westerlund  <assar@sics.se>
1779b528cefcSMark Murray
1780b528cefcSMark Murray	* mini_inetd.c (mini_inetd): fix my stupid bugs
1781b528cefcSMark Murray
1782b528cefcSMark Murray1999-07-28  Assar Westerlund  <assar@sics.se>
1783b528cefcSMark Murray
1784b528cefcSMark Murray	* roken-common.h: add socket* functions
1785b528cefcSMark Murray
1786b528cefcSMark Murray	* Makefile.am (libroken_la_SOURCES): add socket.c
1787b528cefcSMark Murray
1788b528cefcSMark Murray	* socket.c: new file, originally from appl/ftp/common
1789b528cefcSMark Murray
1790b528cefcSMark Murray	* Makefile.am: set version to 2:0:2
1791b528cefcSMark Murray
1792b528cefcSMark Murray	* roken.h.in (inet_pton): add prototype
1793b528cefcSMark Murray
1794b528cefcSMark Murray	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
1795b528cefcSMark Murray
1796b528cefcSMark Murray	* inet_pton.c: new file
1797b528cefcSMark Murray
1798b528cefcSMark Murray	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
1799b528cefcSMark Murray 	have it
1800b528cefcSMark Murray
1801b528cefcSMark Murray1999-07-27  Assar Westerlund  <assar@sics.se>
1802b528cefcSMark Murray
1803b528cefcSMark Murray	* mini_inetd.c: support IPv6
1804b528cefcSMark Murray
1805b528cefcSMark Murray1999-07-26  Assar Westerlund  <assar@sics.se>
1806b528cefcSMark Murray
1807b528cefcSMark Murray	* Makefile.am: set version to 1:0:1
1808b528cefcSMark Murray
1809b528cefcSMark Murray	* roken.h.in (inet_ntop): add prototype
1810b528cefcSMark Murray
1811b528cefcSMark Murray 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
1812b528cefcSMark Murray
1813b528cefcSMark Murray	* inet_ntop.c: new file
1814b528cefcSMark Murray
1815b528cefcSMark Murray	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1816b528cefcSMark Murray
1817b528cefcSMark Murray	* Makefile.am: move some files from libroken_la_SOURCES to
1818b528cefcSMark Murray 	EXTRA_libroken_la_SOURCES
1819b528cefcSMark Murray
1820b528cefcSMark Murray	* snprintf.c: some signed vs unsigned casts
1821b528cefcSMark Murray
1822b528cefcSMark Murray1999-07-24  Assar Westerlund  <assar@sics.se>
1823b528cefcSMark Murray
1824b528cefcSMark Murray	* roken.h.in (struct sockaddr_storage): define it needed
1825b528cefcSMark Murray
1826b528cefcSMark Murray1999-07-19  Assar Westerlund  <assar@sics.se>
1827b528cefcSMark Murray
1828b528cefcSMark Murray	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1829b528cefcSMark Murray 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1830b528cefcSMark Murray
1831b528cefcSMark Murray	* roken.h.in: <netdb.h>: include
1832b528cefcSMark Murray	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1833b528cefcSMark Murray	prototypes
1834b528cefcSMark Murray
1835b528cefcSMark Murray	* roken-common.h: new constants for getipnodeby*
1836b528cefcSMark Murray
1837b528cefcSMark Murray	* Makefile.in (SOURCES): add freehostent, copyhostent,
1838b528cefcSMark Murray 	getipnodebyname, getipnodebyaddr
1839b528cefcSMark Murray
1840b528cefcSMark Murray	* freehostent.c: new file
1841b528cefcSMark Murray
1842b528cefcSMark Murray	* copyhostent.c: new file
1843b528cefcSMark Murray
1844b528cefcSMark Murray	* getipnodebyaddr.c: new file
1845b528cefcSMark Murray
1846b528cefcSMark Murray	* getipnodebyname.c: new file
1847b528cefcSMark Murray
1848b528cefcSMark Murray1999-07-13  Assar Westerlund  <assar@sics.se>
1849b528cefcSMark Murray
1850b528cefcSMark Murray	* roken.h.in (k_getpwnam): update prototype
1851b528cefcSMark Murray
1852b528cefcSMark Murray	* k_getpwnam.c (k_getpwnam): const-ize
1853b528cefcSMark Murray
1854b528cefcSMark Murray	* get_default_username.c (get_default_username): a better way of
1855b528cefcSMark Murray 	guessing when the user has su:ed
1856b528cefcSMark Murray
1857b528cefcSMark Murray1999-07-08  Johan Danielsson  <joda@pdc.kth.se>
1858b528cefcSMark Murray
1859b528cefcSMark Murray	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
1860b528cefcSMark Murray	<jhutz+@cmu.edu>
1861b528cefcSMark Murray
1862b528cefcSMark Murray1999-07-06  Assar Westerlund  <assar@sics.se>
1863b528cefcSMark Murray
1864b528cefcSMark Murray	* readv.c (readv): typo
1865b528cefcSMark Murray
1866b528cefcSMark Murray1999-07-03  Assar Westerlund  <assar@sics.se>
1867b528cefcSMark Murray
1868b528cefcSMark Murray	* writev.c (writev): error check malloc properly
1869b528cefcSMark Murray
1870b528cefcSMark Murray	* sendmsg.c (sendmsg): error check malloc properly
1871b528cefcSMark Murray
1872b528cefcSMark Murray	* resolve.c (parse_reply): error check malloc properly
1873b528cefcSMark Murray
1874b528cefcSMark Murray	* recvmsg.c (recvmsg): error check malloc properly
1875b528cefcSMark Murray
1876b528cefcSMark Murray	* readv.c (readv): error check malloc properly
1877b528cefcSMark Murray
1878b528cefcSMark Murray1999-06-23  Assar Westerlund  <assar@sics.se>
1879b528cefcSMark Murray
1880b528cefcSMark Murray	* parse_units.c (acc_units): move the special case of 0 -> 1 to
1881b528cefcSMark Murray 	parse_something to avoid having it happen at the end of the string
1882b528cefcSMark Murray
1883b528cefcSMark Murray1999-06-15  Assar Westerlund  <assar@sics.se>
1884b528cefcSMark Murray
1885b528cefcSMark Murray	* Makefile.in: add get_default_username
1886b528cefcSMark Murray
1887b528cefcSMark Murray	* get_default_username.c: new file
1888b528cefcSMark Murray
1889b528cefcSMark Murray	* roken.h.in (get_default_username): add prototype
1890b528cefcSMark Murray
1891b528cefcSMark Murray	* Makefile.am: add get_default_username
1892b528cefcSMark Murray
1893b528cefcSMark Murray1999-05-08  Assar Westerlund  <assar@sics.se>
1894b528cefcSMark Murray
1895b528cefcSMark Murray	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1896b528cefcSMark Murray
1897b528cefcSMark Murray	* strnlen.c (strnlen): update prototype
1898b528cefcSMark Murray
1899b528cefcSMark Murray	* Makefile.am: strndup.c: add
1900b528cefcSMark Murray
1901b528cefcSMark Murray	* Makefile.in: strndup.c: add
1902b528cefcSMark Murray
1903b528cefcSMark Murray	* roken.h.in (strndup): add
1904b528cefcSMark Murray	(strnlen): update prototype
1905b528cefcSMark Murray
1906b528cefcSMark Murray	* strndup.c: new file
1907b528cefcSMark Murray
1908b528cefcSMark MurrayFri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
1909b528cefcSMark Murray
1910b528cefcSMark Murray	* roken.h.in: include strsep prototype if needed
1911b528cefcSMark Murray
1912b528cefcSMark MurrayThu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1913b528cefcSMark Murray
1914b528cefcSMark Murray	* Makefile.am: make make-print-version.o depend on version.h
1915b528cefcSMark Murray
1916b528cefcSMark MurrayWed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1917b528cefcSMark Murray
1918b528cefcSMark Murray	* Makefile.am: make it compile w/o krb4
1919b528cefcSMark Murray
1920b528cefcSMark MurraySat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
1921b528cefcSMark Murray
1922b528cefcSMark Murray	* snprintf.c (vasnprintf): correct check if realloc returns NULL
1923b528cefcSMark Murray
1924b528cefcSMark MurraySat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1925b528cefcSMark Murray
1926b528cefcSMark Murray	* Makefile.am: link print_version with -ldes to avoid unresolved
1927b528cefcSMark Murray 	references if -lkrb is shared
1928b528cefcSMark Murray
1929b528cefcSMark MurraySat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
1930b528cefcSMark Murray
1931b528cefcSMark Murray	* roken-common.h (eread, ewrite): add
1932b528cefcSMark Murray
1933b528cefcSMark Murray	* simple_exec.c: add <roken.h>
1934b528cefcSMark Murray
1935b528cefcSMark MurrayFri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
1936b528cefcSMark Murray
1937b528cefcSMark Murray	* Makefile.in: add eread, ewrite
1938b528cefcSMark Murray
1939b528cefcSMark Murray	* eread.c, ewrite.c: new files
1940b528cefcSMark Murray
1941b528cefcSMark Murray	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
1942b528cefcSMark Murray
1943b528cefcSMark MurrayFri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1944b528cefcSMark Murray
1945b528cefcSMark Murray	* Makefile.am: add version-info
1946b528cefcSMark Murray
1947b528cefcSMark MurrayThu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1948b528cefcSMark Murray
1949b528cefcSMark Murray	* Makefile.am: remove include_dir hack
1950b528cefcSMark Murray
1951b528cefcSMark Murray	* Makefile.am: parse_units.h
1952b528cefcSMark Murray
1953b528cefcSMark Murray	* Makefile.am: include Makefile.am.common
1954b528cefcSMark Murray
1955b528cefcSMark MurraySat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
1956b528cefcSMark Murray
1957b528cefcSMark Murray	* Makefile.in (SOURCES): add glob.c
1958b528cefcSMark Murray
1959b528cefcSMark MurrayThu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1960b528cefcSMark Murray
1961b528cefcSMark Murray	* iruserok.c: move innetgr() to separate file
1962b528cefcSMark Murray
1963b528cefcSMark Murray	* innetgr.c: move innetgr() to separate file
1964b528cefcSMark Murray
1965b528cefcSMark Murray	* hstrerror.c (hstrerror): add const to return type
1966b528cefcSMark Murray
1967b528cefcSMark Murray	* erealloc.c: fix types in format string
1968b528cefcSMark Murray
1969b528cefcSMark Murray	* emalloc.c: fix types in format string
1970b528cefcSMark Murray
1971b528cefcSMark MurrayWed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1972b528cefcSMark Murray
1973b528cefcSMark Murray	* resolve.c: ugly fix for crays
1974b528cefcSMark Murray
1975b528cefcSMark MurrayMon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1976b528cefcSMark Murray
1977b528cefcSMark Murray	* roken.h.in: protos for {un,}setenv
1978b528cefcSMark Murray
1979b528cefcSMark Murray1999-02-16  Assar Westerlund  <assar@sics.se>
1980b528cefcSMark Murray
1981b528cefcSMark Murray	* Makefile.in (SOURCES): add fnmatch
1982b528cefcSMark Murray
1983b528cefcSMark Murray	* roken-common.h (abs): add
1984b528cefcSMark Murray
1985b528cefcSMark MurraySat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
1986b528cefcSMark Murray
1987b528cefcSMark Murray	* emalloc.c, erealloc.c, estrup.c: new files
1988b528cefcSMark Murray
1989b528cefcSMark Murray	* roken.h.in (mkstemp, gethostname): also includes prototypes if
1990b528cefcSMark Murray 	they are needed.
1991b528cefcSMark Murray
1992b528cefcSMark Murray1998-12-23  Assar Westerlund  <assar@sics.se>
1993b528cefcSMark Murray
1994b528cefcSMark Murray	* roken.h.in: mkstemp: add prototype
1995b528cefcSMark Murray
1996b528cefcSMark Murray1998-12-20  Assar Westerlund  <assar@sics.se>
1997b528cefcSMark Murray
1998b528cefcSMark Murray	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1999b528cefcSMark Murray
2000b528cefcSMark Murray	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
2001b528cefcSMark Murray
2002b528cefcSMark Murray	* roken-common.h: __attribute__: check for autoconf'd
2003b528cefcSMark Murray	HAVE___ATTRIBUTE__ instead of GNUC
2004b528cefcSMark Murray
2005b528cefcSMark MurraySun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
2006b528cefcSMark Murray
2007b528cefcSMark Murray	* parse_units.c (parse_something): func is called with val == 0 if
2008b528cefcSMark Murray 	no unit was given
2009b528cefcSMark Murray	(acc_flags, acc_units): update to new standard
2010b528cefcSMark Murray
2011b528cefcSMark MurrayFri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
2012b528cefcSMark Murray
2013b528cefcSMark Murray	* resolve.c (stot): constify
2014b528cefcSMark Murray	(type_to_string): always declare
2015b528cefcSMark Murray	(dns_lookup_int): correct debug output
2016b528cefcSMark Murray
2017b528cefcSMark MurrayThu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
2018b528cefcSMark Murray
2019b528cefcSMark Murray	* resolve.c (dns_lookup_int): send rr_class to res_search
2020b528cefcSMark Murray
2021b528cefcSMark MurrayThu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
2022b528cefcSMark Murray
2023b528cefcSMark Murray	* resolve.c: some cleanup
2024b528cefcSMark Murray
2025b528cefcSMark Murray	* resolve.h: add T_NAPTR
2026b528cefcSMark Murray
2027b528cefcSMark MurraySun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
2028b528cefcSMark Murray
2029b528cefcSMark Murray	* Makefile.in (WFLAGS): set
2030b528cefcSMark Murray
2031b528cefcSMark Murray	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
2032b528cefcSMark Murray
2033b528cefcSMark Murray	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
2034b528cefcSMark Murray
2035b528cefcSMark MurrayTue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
2036b528cefcSMark Murray
2037b528cefcSMark Murray	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
2038b528cefcSMark Murray
2039b528cefcSMark MurrayFri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2040b528cefcSMark Murray
2041b528cefcSMark Murray	* vsyslog.c: asprintf -> vasprintf
2042b528cefcSMark Murray
2043b528cefcSMark MurrayTue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
2044b528cefcSMark Murray
2045b528cefcSMark Murray	* getarg.h (arg_printusage): new signature
2046b528cefcSMark Murray
2047b528cefcSMark Murray	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
2048b528cefcSMark Murray 	__progname.
2049b528cefcSMark Murray
2050b528cefcSMark MurraySun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2051b528cefcSMark Murray
2052b528cefcSMark Murray	* Makefile.am: net_{read,write}.c
2053b528cefcSMark Murray
2054b528cefcSMark MurrayFri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
2055b528cefcSMark Murray
2056b528cefcSMark Murray	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
2057b528cefcSMark Murray 	EINTR
2058b528cefcSMark Murray
2059b528cefcSMark MurrayThu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2060b528cefcSMark Murray
2061b528cefcSMark Murray	* Makefile.am: net_{read,write}.c
2062b528cefcSMark Murray
2063b528cefcSMark MurrayWed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
2064b528cefcSMark Murray
2065b528cefcSMark Murray	* simple_exec.c (simple_execlp): initialize `argv'
2066b528cefcSMark Murray
2067b528cefcSMark MurrayMon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
2068b528cefcSMark Murray
2069b528cefcSMark Murray	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
2070b528cefcSMark Murray 	use a copy instead
2071b528cefcSMark Murray
2072b528cefcSMark MurrayFri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
2073b528cefcSMark Murray
2074b528cefcSMark Murray	* roken.h.in (net_write, net_read): add prototypes
2075b528cefcSMark Murray
2076b528cefcSMark Murray	* Makefile.in: net_{read,write}.c: add
2077b528cefcSMark Murray
2078b528cefcSMark Murray	* net_{read,write}.c: new files
2079b528cefcSMark Murray
2080b528cefcSMark MurrayTue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
2081b528cefcSMark Murray
2082b528cefcSMark Murray	* roken.h.in (issuid): add
2083b528cefcSMark Murray
2084b528cefcSMark Murray	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
2085b528cefcSMark Murray 	fields
2086b528cefcSMark Murray
2087b528cefcSMark MurraySun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2088b528cefcSMark Murray
2089b528cefcSMark Murray	* getarg.c (mandoc_template): Put short and long options in
2090b528cefcSMark Murray 	SYNOPSIS within the same [ ] pair.
2091b528cefcSMark Murray
2092b528cefcSMark MurraySat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2093b528cefcSMark Murray
2094b528cefcSMark Murray	* getarg.c (arg_printusage): try to keep options shorter than
2095b528cefcSMark Murray 	column width
2096b528cefcSMark Murray
2097b528cefcSMark Murray	* get_window_size.c (get_window_size): check COLUMNS and LINES
2098b528cefcSMark Murray
2099b528cefcSMark MurrayFri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2100b528cefcSMark Murray
2101b528cefcSMark Murray	* getarg.c (mandoc_template): Put short and long options in
2102b528cefcSMark Murray 	DESCRIPTION on the same line.
2103b528cefcSMark Murray
2104b528cefcSMark Murray	* getarg.c (arg_match_long): make sure you only get an exact match
2105b528cefcSMark Murray 	if the strings are the same length
2106b528cefcSMark Murray
2107b528cefcSMark MurrayThu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
2108b528cefcSMark Murray
2109b528cefcSMark Murray	* roken.awk: stupid cray awk wants \#
2110b528cefcSMark Murray
2111b528cefcSMark MurrayFri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
2112b528cefcSMark Murray
2113b528cefcSMark Murray	* print_version.c (print_version): according to ISO/ANSI C the
2114b528cefcSMark Murray 	elements of `arg' are not constant and therefore not settable at
2115b528cefcSMark Murray 	compile-time.  Set the at run-time instead.
2116b528cefcSMark Murray
2117b528cefcSMark MurraySun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
2118b528cefcSMark Murray
2119b528cefcSMark Murray	* roken.h.in: include paths.h
2120b528cefcSMark Murray
2121b528cefcSMark MurraySun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
2122b528cefcSMark Murray
2123b528cefcSMark Murray	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
2124b528cefcSMark Murray 	make happy
2125b528cefcSMark Murray
2126b528cefcSMark MurrayThu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2127b528cefcSMark Murray
2128b528cefcSMark Murray	* simple_exec.c: Simple fork+exec system() replacement.
2129b528cefcSMark Murray
2130b528cefcSMark MurrayFri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2131b528cefcSMark Murray
2132c19800e8SDoug Rabson	* roken_gethostby.c: Make `roken_gethostby_setup' take URL-like
2133b528cefcSMark Murray 	specification instead of split up versions. Makes it easier for
2134b528cefcSMark Murray 	calling applications.
2135b528cefcSMark Murray
2136b528cefcSMark Murray	* roken_gethostby.c: Another miracle of the 20th century:
2137b528cefcSMark Murray 	gethostby* over HTTP.
2138b528cefcSMark Murray
2139b528cefcSMark MurraySat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
2140b528cefcSMark Murray
2141b528cefcSMark Murray	* parse_time.c (unparse_time_approx): new function that calls
2142b528cefcSMark Murray 	`unparse_units_approx'
2143b528cefcSMark Murray
2144b528cefcSMark Murray	* parse_units.c (unparse_units_approx): new function that will
2145b528cefcSMark Murray 	only print the first unit.
2146b528cefcSMark Murray
2147b528cefcSMark Murray	* Makefile.in: include parse_{time,units}
2148b528cefcSMark Murray
2149b528cefcSMark MurrayThu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
2150b528cefcSMark Murray
2151b528cefcSMark Murray	* parse_time.c (print_time_table): don't return a void value.
2152b528cefcSMark Murray
2153b528cefcSMark MurrayTue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2154b528cefcSMark Murray
2155b528cefcSMark Murray	* getarg.c (mandoc_template): Change date format to full month
2156b528cefcSMark Murray 	name, and day of month without leading zero.
2157b528cefcSMark Murray
2158b528cefcSMark MurrayThu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2159b528cefcSMark Murray
2160b528cefcSMark Murray	* getarg.c: Fix long form of negative flags.
2161b528cefcSMark Murray
2162b528cefcSMark MurrayMon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2163b528cefcSMark Murray
2164b528cefcSMark Murray	* roken.h.in: Include <err.h>, to get linux __progname.
2165b528cefcSMark Murray
2166b528cefcSMark MurraySun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
2167b528cefcSMark Murray
2168b528cefcSMark Murray	* parse_time.c (print_time_table): new function
2169b528cefcSMark Murray
2170b528cefcSMark Murray	* parse_units.c (print_flags_table, print_units_table): new
2171b528cefcSMark Murray 	functions.
2172b528cefcSMark Murray
2173b528cefcSMark MurrayThu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
2174b528cefcSMark Murray
2175b528cefcSMark Murray	* iruserok.c: moved here.
2176b528cefcSMark Murray
2177b528cefcSMark Murray	* snprintf.c (sn_append_char): don't write any terminating zero.
2178b528cefcSMark Murray	(as_reserve): don't loop.  better heuristic for how much space to
2179b528cefcSMark Murray 	realloc.
2180b528cefcSMark Murray	(vasnprintf): simplify initializing to one.
2181b528cefcSMark Murray
2182b528cefcSMark MurraySun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2183b528cefcSMark Murray
2184b528cefcSMark Murray	* getarg.c: Add mandoc help back-end to getarg.
2185b528cefcSMark Murray
2186b528cefcSMark MurrayWed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2187b528cefcSMark Murray
2188b528cefcSMark Murray	* verr.c, verrx.c: Fix warnings by moving exit from.
2189b528cefcSMark Murray
2190b528cefcSMark MurrayTue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2191b528cefcSMark Murray
2192b528cefcSMark Murray	* parse_units.c: Change the list of separating characters (between
2193b528cefcSMark Murray 	units) to comma, space, and tab, removing digits. Having digits in
2194b528cefcSMark Murray 	this list makes a flag like `T42 generate a parse error. This
2195b528cefcSMark Murray 	change makes `17m3s' an invalid time-spec (you need a space).
2196b528cefcSMark Murray
2197b528cefcSMark MurrayTue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
2198b528cefcSMark Murray
2199b528cefcSMark Murray	* roken.h: add <sys/socket.h>
2200b528cefcSMark Murray
2201b528cefcSMark MurraySun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2202b528cefcSMark Murray
2203b528cefcSMark Murray	* fnmatch.c: Add fnmatch from NetBSD
2204b528cefcSMark Murray
2205b528cefcSMark MurraySun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
2206b528cefcSMark Murray
2207b528cefcSMark Murray	* parse_units.c (parse_something): ignore white-space and ','
2208b528cefcSMark Murray
2209b528cefcSMark MurrayMon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
2210b528cefcSMark Murray
2211b528cefcSMark Murray	* roken.h: fclose prototype
2212b528cefcSMark Murray
2213b528cefcSMark Murray	* roken.h: add prototype for vsyslog
2214b528cefcSMark Murray
2215b528cefcSMark Murray	* Makefile.in: add some more source files to make soriasis make
2216b528cefcSMark Murray 	happy
2217b528cefcSMark Murray
2218b528cefcSMark MurraySat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
2219b528cefcSMark Murray
2220b528cefcSMark Murray	* roken.h: include <sys/uio.h> and <errno.h>.
2221b528cefcSMark Murray	prototypes for readv and writev
2222b528cefcSMark Murray
2223b528cefcSMark Murray	* readv.c, writev.c: new files
2224b528cefcSMark Murray
2225b528cefcSMark MurrayWed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
2226b528cefcSMark Murray
2227b528cefcSMark Murray	* roken.h: Add ugly macros for openlog, gethostbyname,
2228b528cefcSMark Murray 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
2229b528cefcSMark Murray 	default definition of MAXPATHLEN
2230