]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/lib/roken/ChangeLog
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / lib / roken / ChangeLog
1 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
2
3         * Makefile.am: add missing files.
4
5 2007-08-09  Love Hörnquist Åstrand  <lha@it.su.se>
6         
7         * strftime.c: rewrite str[pf]time for testing.
8
9         * strptime.c: rewrite str[pf]time for testing.
10
11         * Makefile.am: add TEST_STRPFTIME
12         
13 2007-07-17  Love Hörnquist Åstrand  <lha@it.su.se>
14
15         * ndbm_wrap.c (dbm_get): set dsize to 0 on failure.
16
17         * Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST
18
19         * ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure.
20
21 2007-07-16  Love Hörnquist Åstrand  <lha@it.su.se>
22
23         * socket_wrapper.c: Implement swrap_dup too.
24
25         * socket_wrapper.c: Add dup(dummy stub) and dup2(real).
26
27         * socket_wrapper.h: Add dup(dummy stub) and dup2(real).
28
29 2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
30
31         * Makefile.am: New library version.
32
33 2007-06-19  Love Hörnquist Åstrand  <lha@it.su.se>
34
35         * roken_gethostby.c: set proxy_port to 0 to pacify BEAM.
36
37 2007-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
38
39         * use "roken.h" consitantly
40
41 2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>
42
43         * test-readenv.c: Free environment.
44
45         * environment.c (free_environment): free result of
46         read_environment().
47
48         * roken-common.h (free_environment): free result of
49         read_environment().
50         
51 2007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
52         
53         * fnmatch.c: Do recursive call to rk_fnmatch
54         
55 2007-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
56
57         * resolve.c: Try harder to call res_ndestroy().
58         
59 2006-12-27  Love Hörnquist Åstrand  <lha@it.su.se>
60         
61         * Makefile.am: make sure built headers are copied to the
62         ${build_topdir}/include
63         
64 2006-12-15  Love Hörnquist Åstrand  <lha@it.su.se>
65
66         * unvis.c: Use internal version of rk_unvis
67
68         * unvis.c: Always include rk_versions.
69
70         * vis.c: Always include rk_versions.
71
72         * vis.hin: Fix argument for unvis and strsvisx.
73         
74         * unvis.c: prefix unvis functions with rk_, and prototypes.
75         
76 2006-12-13  Love Hörnquist Åstrand  <lha@it.su.se>
77
78         * vis.c: Provide some prototypes for the rk_vis functions.
79         
80 2006-12-11  Love Hörnquist Åstrand  <lha@it.su.se>
81         
82         * ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol
83         renaming.
84
85         * fnmatch.c: Prefix fnmatch functions with rk_ and do symbol
86         renaming.
87
88         * vis.hin: Prefix strvis functions with rk_ and do symbol
89         renaming.
90
91         * vis.c: prefix strvis functions with rk_
92
93         * Makefile.am: Install extra posix headers in <roken/...> to avoid
94         dup headers.
95         
96 2006-11-09  Love Hörnquist Åstrand  <lha@it.su.se>
97
98         * socket_wrapper.c (swrap_sendto): fail on to unknown si->type
99         
100 2006-11-06  Love Hörnquist Åstrand  <lha@it.su.se>
101         
102         * socket_wrapper.c: A few fixes to have Heimdal pass the make
103         check under socket_wrapper. The first is a missing 'break' before
104         the (heimdal specific) IPv6 support. The second works around the
105         fact that sendto() *may* object to a destination being specified.
106         It appears to be that on Linux, this objects (with EISCONN) for
107         unix stream sockets, but not for TCP sockets. The alternate fix
108         would be to have the KDC use 'send()' in this case. Andrew Bartlett.
109
110 2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
111
112         * Makefile.am: split dist and nondist HEADERS
113         
114 2006-10-19  Love Hörnquist Åstrand  <lha@it.su.se>
115         
116         * roken.h.in: Add timegm glue.
117
118         * timegm.c: add timegm()
119         
120         * socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX
121         6.4.
122         
123         * socket_wrapper.c: Maybe include <sys/time.h> and/or maybe
124         include <time.h>.
125         
126 2006-10-17  Love Hörnquist Åstrand  <lha@it.su.se>
127
128         * roken.h.in: Revert prevois for now, the problem is that we have
129         to include symbols unconditionally, even for those that just needs
130         protos.
131
132         * roken.h.in: Provide symbol renaming, let see what breaks.
133
134         * socket_wrapper.c: Maybe include <sys/filio.h>.
135         
136 2006-10-10  Love Hörnquist Åstrand  <lha@it.su.se>
137
138         * socket_wrapper.c: more consitity check, remove dead code, add
139         socket length code, add missing break, make diffrent chars of type
140         type files for case-insensitiv filesystems
141
142         * socket_wrapper.c: try even hard to not use socket wrapper for
143         socket_wrapper itself.
144
145         * socket_wrapper.c: Force no socket wrapper for socket_wrapper
146         itself.
147         
148 2006-10-09  Love Hörnquist Åstrand  <lha@it.su.se>
149
150         * socket_wrapper.c: Maybe include <config.h>.
151
152         * socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6.
153
154         * socket_wrapper.c: Use a symbol for the v6 address.
155
156         * socket_wrapper.c: Add IPv6 suppport.
157         
158         * socket_wrapper.[ch]: Include socket wrapper from samba4 (rev
159         19179).
160         
161 2006-10-07 Love Hörnquist Åstrand <lha@it.su.se>
162
163         * Makefile.am: Add build_HEADERZ to EXTRA_DIST
164
165         * Makefile.am: Add man_MANS to EXTRA_DIST
166
167         * Makefile.am: Add to all objects BUILD_ROKEN_LIB.
168         
169 2006-09-16  Love Hörnquist Åstrand  <lha@it.su.se>
170
171         * roken.h.in: Add samba socket wrapper fragment.
172
173         * Makefile.am: Add samba socket wrapper fragment.
174         
175 2006-09-05  Love Hörnquist Åstrand  <lha@it.su.se>
176
177         * snprintf.c: reapply patch that went away in last commit
178         
179         * snprintf-test.c: unbreak from previous commit
180
181         * snprintf.c: Add size_t formater (z modifer).
182
183         * snprintf-test.c: add tests for size_t printf formater
184         
185 2006-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
186
187         * rtbl.h: Add extern "C" for C++.
188
189         * rtbl.c: Add rtbl_add_column_entryv functions, printf like
190
191         * rtbl.h: Add rtbl_add_column_entryv functions, printf like
192         
193 2006-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
194         
195         * glob.hin: Add extern "C" for C++. From joerg at britannica dot
196         bec dot de
197
198         * fnmatch.hin: Add extern "C" for C++. From joerg at britannica
199         dot bec dot de
200         
201 2006-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
202         
203         * fnmatch.hin (fnmatch): CPP rename to rk_fnmatch
204         
205 2006-04-14  Love Hörnquist Åstrand  <lha@it.su.se>
206         
207         * resolve.c (dns_srv_order): change a if (ptr == NULL) continue
208         into a assert(ptr != NULL) since it could never happen, found by
209         the IBM code checker (beam).  Thanks to Florian Krohm for
210         explaining it.
211         
212 2006-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
213
214         * roken_gethostby.c (roken_gethostby): make addr_list one larger
215         to avoid a off-by-one error. Found by IBM checker.
216
217         * resolve.c: Plug memory leak found by IBM checker (and try to
218         please it).
219         
220 2006-02-06  Love Hörnquist Åstrand  <lha@it.su.se>
221         
222         * resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre
223         
224 2006-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
225         
226         * getcap.c: Don't use db support unless its build into libc but we
227         dont check for that now, so just disable the code. This removes
228         the dependency on libdb for roken, and that is a good thing since
229         it causes problem with nss plugins that uses DB3 that also
230         provides the same symbol, but with a diffrent ABI. so when the
231         application calls getpwnamn() and it linked to roken, it craches
232         in the nss functions.
233         
234 2006-01-09  Love Hörnquist Åstrand  <lha@it.su.se>
235
236         * hex.c (hex_decode): support decoding odd number of characters,
237         in the odd len case, the first character ends up in the first byte
238         in the lower nibble.
239
240         * hex-test.c: Check that we can decode single character hex chars.
241
242 2005-12-12  Love Hörnquist Åstrand <lha@it.su.se>
243
244         * getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris
245         large SIOCGIFCONF.
246         
247 2005-09-28  Love Hörnquist Åstrand  <lha@it.su.se>
248
249         * roken-common.h: Move rk_UNCONST to roken.h.in since it might use
250         uintptr_t depending on avaibility.
251
252         * roken.h.in: Include <stdint.h> if it exists.  If avaiable, use
253         uintptr_t to define rk_UNCONST.
254         
255 2005-09-22  Love Hörnquist Åstrand  <lha@it.su.se>
256
257         * roken-common.h: Add rk_dumpdata.
258         
259         * dumpdata.c: Add rk_dumpdata() that write a chunk of data into a
260         file for later processing by some other tool (like asn1_print).
261         
262 2005-09-13  Love Hörnquist Åstrand  <lha@it.su.se>
263
264         * strptime.c: cast to unsigned char to make sure its not negative
265         when passing it to is* functions
266         
267 2005-09-01  Love Hörnquist Åstrand  <lha@it.su.se>
268
269         * socket.c: Add socket_set_ipv6only.
270
271         * roken-common.h: Add socket_set_ipv6only, remove some argument
272         names.
273         
274 2005-08-25  Love Hörnquist Åstrand  <lha@it.su.se>
275
276         * strpool.c (rk_strpoolprintf): remove debug printf, plug memory
277         leak
278         
279 2005-08-23  Love Hörnquist Åstrand  <lha@it.su.se>
280
281         * setprogname.c (setprogname): const poision
282         
283         * print_version.c: Removed, moved to libvers.
284
285 2005-08-22  Love Hörnquist Åstrand  <lha@it.su.se>
286
287         * resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer
288         that before res_nclose
289
290 2005-08-12 Love Hörnquist Åstrand  <lha@it.su.se>
291
292         * getaddrinfo-test.c: Rename optind to optidx to avoid shadowing.
293
294 2005-08-05  Love Hörnquist Åstrand  <lha@it.su.se>
295
296         * gai_strerror.c: sprinkel more const
297         
298         * gai_strerror.c, roken.h.in: Make return value of gai_strerror
299         const to match SUSv3.  Prompted by Stefan Metzmacher change to
300         Samba.
301
302 2005-07-19  Love Hörnquist Åstrand  <lha@it.su.se>
303
304         * roken.h.in: Remove parameter names to avoid shadow warnings.
305
306 2005-07-13  Love Hörnquist Åstrand  <lha@it.su.se>
307
308         * getifaddrs.c (nl_getlist): poll to get messages from kernel, and
309         retry if the message was lost
310         (free_nlmsglist): free all linked elements, not just the first one
311
312 2005-07-08  Love Hörnquist Åstrand  <lha@it.su.se>
313
314         * snprintf-test.c: Check a very simple format string
315         
316 2005-07-07  Love Hörnquist Åstrand  <lha@it.su.se>
317
318         * roken.h.in: If we have <strings.h> include it, its needed for
319         strcasecmp() on those platforms that are SUS3/iso c99 strict (like
320         AIX)
321
322         * roken-common.h: remove duplicate ;
323         
324 2005-07-06  Love Hörnquist Åstrand  <lha@it.su.se>
325
326         * roken-common.h: rk_strpoolprintf first variable identifier is 3
327
328 2005-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
329
330         * base64.h: remove variable names
331         
332 2005-06-29  Love Hörnquist Åstrand  <lha@it.su.se>
333
334         * roken-common.h: fix format attribute
335
336         * Makefile.am (libroken_la_SOURCES): += strpool.c
337         
338         * roken-common.h: add strpool, a printf collector to make it
339         eaiser to collect strings into one string
340         
341         * strpool.c: add strpool, a printf collector to make it eaiser to
342         collect strings into one string
343
344 2005-06-23  Love Hörnquist Åstrand  <lha@it.su.se>
345
346         * base64.c: Add const, from Andrew Abartlet <abartlet@samba.org>
347
348 2005-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
349
350         * strpftime-test.c: test for "%Y%m"
351
352         * esetenv.c: unconst
353
354         * strptime.c: Write a new parse_number function that is possible
355         to limit that amount of numbers used, with this strptime can
356         handle strptime("200505", "%Y%m", &tm);
357
358 2005-06-16  Love Hörnquist Åstrand  <lha@it.su.se>
359
360         * getaddrinfo.c: avoid shadowing sin
361         
362         * resolve-test.c: rename optind to optidx to avoid shadowing
363         
364         * strptime.c: UNCONST return value from strptime
365         
366         * strftime.c: rk_UNCONST argument mktime
367         
368         * getnameinfo.c: avoid shadowing sin
369         
370         * socket.c: avoid shadowing sin
371
372         * resolve.c (parse_record): fix casting to avoid losing const
373         
374         * roken.awk: since we got no feedback regarding people running
375         heimdal on the crays, remove the quoted # version
376         
377         * environment.c: rename index to idx to avoid shadowing
378
379 2005-05-29  Love Hörnquist Åstrand  <lha@it.su.se>
380
381         * parse_reply-test.c: avoid signedness warnings
382
383         * test-mem.c: avoid signedness warnings
384
385 2005-05-27  Love Hörnquist Åstrand  <lha@it.su.se>
386
387         * hex.c: include "roken.h" to avoid undefined size_t/ssize_t
388
389 2005-05-24  Dave Love  <fx@gnu.org>
390
391         * Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h.
392
393 2005-05-20  Love Hörnquist Åstrand  <lha@it.su.se>
394
395         * environment.c (rk_read_env_file): move assignment to later to
396         make pre c99 compiler happy
397
398 2005-05-18  Love Hörnquist Åstrand  <lha@it.su.se>
399
400         * strptime.c: use english spelling of March
401
402 2005-05-17  Johan Danielsson  <joda@pdc.kth.se>
403
404         * Makefile.am: only link with dblib if we need it
405         
406         * Makefile.am: add test_readenv
407         
408         * test-readenv.c: test for read_environment()
409         
410         * environment.c: eliminate duplicates
411         
412 2005-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
413
414         * issuid.c (issuid): change the #ifdef order to avoid unreachable
415         code warning.
416
417 2005-05-10  Dave Love  <fx@gnu.org>
418
419         * roken.h.in: Get daemon declared on Solaris (it's in unistd.h but
420         masked by a feature test), just to avoid a warning, since it has
421         int args. Include err.h unconditionally, since it's always
422         supplied.
423
424 2005-05-04  Dave Love  <fx@gnu.org>
425
426         * snprintf-test.c: Include snprintf-test.h earlier.
427
428 2005-05-03  Dave Love  <fx@gnu.org>
429
430         * snprintf.c: Include snprintf-test.h earlier.
431         
432         * test-mem.c: Add member fd to map.
433         (rk_test_mem_alloc, rk_test_mem_free): Use it.
434
435 2005-04-30  Love Hörnquist Åstrand  <lha@it.su.se>
436
437         * getifaddrs.c: add break on default: statements, from Douglas
438         E. Engert
439
440         * snprintf.c (vsnprintf): don't write the NUL into the string if
441         the length was 0
442
443         * snprintf-test.c: add check that snprintf doesn't write the NUL
444         into the last byte when its a zero length input string
445
446         * parse_time-test.c: Include <err.h>.
447         
448 2005-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
449
450         * parse_time-test.c: improve testing
451         
452         * roken-common.h: add rk_realloc
453
454         * Makefile.am: add realloc
455
456         * realloc.c: add rk_realloc, unbroken version of realloc
457
458 2005-04-26  Dave Love  <fx@gnu.org>
459
460         * getusershell.c: Include roken.h
461
462 2005-04-18  Love Hörnquist Åstrand  <lha@it.su.se>
463
464         * unvis.c: cast to unsigned char to make sure its not negative
465         when passing it to is* functions
466
467         * strptime.c: cast to unsigned char to make sure its not negative
468         when passing it to to* functions
469
470 2005-04-13  Love Hörnquist Åstrand  <lha@it.su.se>
471
472         * simple_exec.c: don't close stderr, close all fd that is num 3
473         and larger
474
475         * simple_exec.c (pipe_execv): use closefrom
476
477         * add closefrom
478
479 2005-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
480
481         * add ROKEN_LIB_FUNCTION to all exported functions
482
483 2005-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
484
485         * resolve-test.c: print DS
486
487 2005-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
488
489         * parse_time-test.c: remove unused variable
490         
491 2005-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
492
493         * strpftime-test.c: print size_t by casting to unsigned long
494         
495         * base64-test.c: print size_t by casting to unsigned long
496         
497         * hex-test.c: print size_t by casting to unsigned long
498         
499         * resolve-test.c: print size_t by casting to unsigned long
500         
501 2005-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
502
503         * snprintf-test.c (try): reset va_list argument between reuse,
504         from Peter Kruty <xkruty@fi.muni.cz>
505
506 2005-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
507
508         * roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid
509         shadowing
510
511         * resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing
512
513         * parse_units.c: avoid shadowing div
514
515 2005-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
516
517         * snprintf.c: use defined(TEST_SNPRINTF) like on all other places
518         in the same file
519
520 2005-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
521
522         * hex.c: check for overflows
523
524 2005-03-18  Love Hörnquist Åstrand  <lha@it.su.se>
525
526         * vis.c: use RCSID instead of __RCSID
527
528 2005-03-06  Love Hörnquist Åstrand  <lha@it.su.se>
529
530         * Makefile.am: check_PROGRAMS += hex-test
531         
532         * hex-test.c: hex encoding/decoding test
533         
534         * hex.c: fix decodeing, it processed to much data and thus
535         returned the wrong length
536
537 2005-03-04  Love Hörnquist Åstrand  <lha@it.su.se>
538
539         * Makefile.am: add hex.[ch]
540
541         * hex.c: add hex encoder/decoder
542
543 2005-03-02  Love Hörnquist Åstrand  <lha@it.su.se>
544
545         * daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c
546         glob.c glob.hin iruserok.c unvis.c vis.hin:
547         
548         In 1997, the University of California, Berkeley issued a statement
549         retroactively relicensing all code held under their copyright from
550         a 4-clause 'traditional' BSD license to a new 3-clause 'revised'
551         BSD license, which removed the advertising clause.
552
553         From NetBSD, via Joel Baker, and Alistair G. Crooks
554         
555         * getaddrinfo-test.c: remove stray ( in output
556         
557         * vis.c: Update new revision from NetBSD (copyright update)
558
559 2005-02-24  Love Hörnquist Åstrand  <lha@it.su.se>
560
561         * Makefile.am: bump version to 17:0:1
562
563 2005-01-19  Dave Love  <d.love@dl.ac.uk>
564
565         * getusershell.c: Include ctype.h, cast argument to isspace to
566         unsigned char.
567
568 2004-10-31  Love Hörnquist Åstrand  <lha@it.su.se>
569
570         * parse_time.3, parse_units.c: Change the behavior of the
571         parse_unit code to return the number of bytes needed to print the
572         whole string (minus the trailing '\0'), just like snprintf.  Idea
573         from bugreport from Gabriel Kihlman <gk@stacken.kth.se>.
574
575         * parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time
576
577 2004-10-16  Love Hörnquist Åstrand  <lha@it.su.se>
578
579         * resolve.c: put dns_type_to_string and dns_string_to_type in the
580         abi
581
582         * resolve.c: add ds_record
583         
584         * resolve.h: add ds_record
585         
586 2004-10-06  Love Hörnquist Åstrand  <lha@it.su.se>
587
588         * ndbm_wrap.c: undefine open so this works on solaris with large
589         file support From netbsd's pkgsrc via Gavan Fantom
590         
591 2004-09-13  Love Hörnquist Åstrand  <lha@it.su.se>
592
593         * resolve-test.c: add --version/--help
594         
595 2004-09-12  Love Hörnquist Åstrand  <lha@it.su.se>
596
597         * Makefile.am: make resolve-test a noinst program
598         
599 2004-09-11  Love Hörnquist Åstrand  <lha@it.su.se>
600
601         * resolve-test.c: test program for libroken resolve from resolve.c
602         
603         * Makefile.am: add resolve-test
604         
605         * resolve.h: add constant for max DNS protocol packet size
606         
607         * resolve.c (dns_lookup_int): grow the answer buffer to the size
608         the server send to us if the answer buffer was too small (limited
609         to the dns protocol max packet size)
610         
611 2004-08-26  Johan Danielsson  <joda@pdc.kth.se>
612
613         * err.hin: no need to declare __progname here
614
615         * Makefile.am: always clean generated headers
616
617 2004-06-26  Love Hörnquist Åstrand  <lha@it.su.se>
618
619         * rtbl.3: use .In for header, remove trailing space
620         
621 2004-06-23  Johan Danielsson  <joda@pdc.kth.se>
622
623         * rtbl.h: add protos and macros
624         
625         * rtbl.c: implement a bunch of stuff:
626           - column separator (instead of global column prefix)
627           - per column suffix
628           - indexing columns by id-number instead of column header
629           - optional header supression (via settable flags)
630           - ability to end a row
631           - don't extend last column to full width
632         
633 2004-06-20  Love Hörnquist Åstrand  <lha@it.su.se>
634
635         * resolve.[ch]: add and use and bind9 version of rr type
636         (rk_ns_t_XXX) instead of the old bind4 version (T_XXX)
637
638 2004-05-25  Love Hörnquist Åstrand  <lha@it.su.se>
639
640         * resolve.c (stot): add AAAA
641         
642 2004-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
643
644         * getarg.c (add_string): catch error from realloc
645         
646 2004-02-12  Love Hörnquist Åstrand  <lha@it.su.se>
647
648         * roken-common.h: add simple_execve_timed
649         
650         * roken-common.h: add timed simple_exec
651         
652         * simple_exec.c: add timed simple_exec
653         
654 2004-01-05  Love Hörnquist Åstrand  <lha@it.su.se>
655
656         * gai_strerror.c: correct ifdef for EAI_ADDRFAMILY
657
658 2003-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
659
660         * resolve.c: parse dns header, add support for SSHFP
661         
662         * resolve.h: add cpp rewrite for sshfp_record
663         
664         * resolve.h: add SSHFP, clean up the the dns_header
665         
666 2003-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
667
668         * resolve.h: remove HEADER (only used for crays)
669         
670         * resolve.c: number-of fields no longer stored in network order
671         
672 2003-12-13  Love Hörnquist Åstrand  <lha@it.su.se>
673
674         * resolve.c: remove depency on c99 types in resolv.h
675         
676         * resolve.h: remove depency on c99 types
677         
678 2003-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
679
680         * resolv.h: add more T_ types and inline the dns headers, all this
681         for bind9 resolvers
682
683 2003-12-02  Love Hörnquist Åstrand  <lha@it.su.se>
684         
685         * gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated
686         
687         * roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to
688         check for if we need EAI_ macros
689
690 2003-10-04   Love Hörnquist Åstrand  <lha@it.su.se>
691
692         * strptime.c: let t and n match zero or more whitespaces
693         
694 2003-08-29  Love Hörnquist Åstrand  <lha@it.su.se>
695
696         * ndbm_wrap.c: patch for working with DB4 on heimdal-discuss
697         From: Luke Howard <lukeh@PADL.COM>
698         
699 2003-08-27  Johan Danielsson  <joda@pdc.kth.se>
700
701         * Makefile.am: don't include discovered files in EXTRA_SOURCES;
702         don't depend on all header files, just the built ones
703
704 2003-08-15  Johan Danielsson  <joda@pdc.kth.se>
705
706         * emalloc.3: manpage
707         
708 2003-07-11  Love  <lha@stacken.kth.se>
709
710         * resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?)  so
711         just don't use res_nsearch on AIX
712
713 2003-06-29  Johan Danielsson  <joda@pdc.kth.se>
714
715         * snprintf.c: * don't ever print sign for unsigned conversions *
716         don't break when right justifying a number past the end of the
717         buffer * handle zero precision and the value zero more correctly
718
719 2003-06-14  Love  <lha@stacken.kth.se>
720
721         * glob.hin: prefix glob symbols with rk_
722         
723 2003-04-22  Love  <lha@stacken.kth.se>
724
725         * resolve.c: copy NUL too, from janj@wenf.org via openbsd
726         
727 2003-04-16  Love  <lha@stacken.kth.se>
728
729         * parse_units.h: remove typedef for units to avoid problems with
730         shadowing
731
732         * resolve.c: use strlcpy, from openbsd
733         
734         * getcap.c: use strlcpy, from openbsd
735         
736         * getarg.3: Change .Fd #include <header.h> to .In header.h
737         from Thomas Klausner <wiz@netbsd.org>
738
739 2003-04-15  Love  <lha@stacken.kth.se>
740
741         * socket.c (socket_set_tos): if setsockopt failed with EINVAL
742         failed, just ignore it, sock was probably a just a non AF_INET
743         socket
744
745 2003-04-14  Love  <lha@stacken.kth.se>
746
747         * strncasecmp.c: cast argument to toupper to unsigned char, from
748         Christian Biere <christianbiere@gmx.de> via NetBSD
749         
750         * strlwr.c: cast argument to tolower to unsigned char, from
751         Christian Biere <christianbiere@gmx.de> via NetBSD
752         
753         * strcasecmp.c: cast argument to toupper to unsigned char, from
754         Christian Biere <christianbiere@gmx.de> via NetBSD
755         
756 2003-03-19  Love  <lha@stacken.kth.se>
757
758         * getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl>
759         
760 2003-03-07  Love  <lha@stacken.kth.se>
761
762         * parse_bytes.c: use struct units instead of units
763         
764         * parse_time.c: use struct units instead of units
765         
766 2003-03-04  Love  <lha@stacken.kth.se>
767
768         * roken.awk: use full prototype for main
769         
770 2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
771
772         * resolve.c: check length of txt records
773
774 2002-09-10  Johan Danielsson  <joda@pdc.kth.se>
775
776         * roken.awk: include config.h before stdio.h (breaks with
777         _FILE_OFFSET_BITS on solaris otherwise)
778
779 2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
780
781         * resolve.c: fix res_nsearch call, but don't use it for now, AIX5
782         has a broken version that trashes memory
783
784         * roken-common.h: fix typo in previous
785
786         * roken-common.h: change IRIX == 4 to IRIX4
787
788 2002-09-04  Assar Westerlund  <assar@kth.se>
789
790         * getifaddrs.c: remove some warnings from the linux-portion
791
792         * getnameinfo_verified.c (getnameinfo_verified): handle the case
793         of forward but no backward DNS information, and also describe the
794         desired behaviour.  from Love <lha@stacken.kth.se>
795
796 2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
797
798         * rtbl.c (rtbl_destroy): free whole table
799
800         * resolve.c: use res_nsearch if we have it (from Larry Greenfield)
801
802 2002-09-03  Assar Westerlund  <assar@kth.se>
803
804         * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki
805         YOSHIFUJI of the Usagi project
806         
807         * parse_reply-test.c: make this build and return 77 if there is no
808         mmap
809
810         * Makefile.am (parse_reply-test): add
811         * parse_reply-test.c: add a test case for parse_reply reading past
812         the given buffer
813         * resolve.c (parse_reply): update the arguments to more reasonable
814         types.  allow parse_reply-test to call it
815
816 2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
817
818         * resolve.c (dns_srv_order): do alignment tricks with the random()
819         state (from NetBSD)
820
821 2002-08-27  Assar Westerlund  <assar@kth.se>
822
823         * resolve.c (parse_reply): verify the lengths (both external and
824         internal) are consistent and not too long
825         (dns_lookup_int): be conservative in the length sent in to to
826         parse_reply
827
828 2002-08-26  Assar Westerlund  <assar@kth.se>
829
830         * roken.h.in: add prototypes for str, unvis functions
831         * resolve.h: add fallback definition for T_AAAA
832
833 2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
834
835         * roken.h.in: we may need a prototype for strndup
836
837 2002-08-20  Johan Danielsson  <joda@pdc.kth.se>
838
839         * roken.h.in: typedef ssize_t here
840
841         * getarg.c: don't put Ns before comma
842
843         * resolve.c: _res might not be available
844
845         * localtime_r.c: include stdio.h and roken.h
846
847         * strftime.c: only use altzone if we have it
848
849         * roken-common.h: AI_NUMERICHOST needs special handling
850
851         * strlcat.c: add some consistency checks
852
853         * strlcpy.c: make the logic simpler, and handle dst_sz == 0
854
855 2002-08-19  Johan Danielsson  <joda@pdc.kth.se>
856
857         * resolve.h: prefix these functions to avoid conflicts with other
858         packages
859
860 2002-08-14  Johan Danielsson  <joda@pdc.kth.se>
861
862         * strsep_copy.c: don't write to buf if len == 0
863
864 2002-05-31  Assar Westerlund  <assar@pdc.kth.se>
865
866         * Makefile.am: *_LDADD: add LDADD, so that libroken is used
867
868 2002-05-17  Johan Danielsson  <joda@pdc.kth.se>
869
870         * xdbm.h: remove old dbm part
871
872 2002-04-30  Johan Danielsson  <joda@pdc.kth.se>
873
874         * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries
875
876 2002-04-18  Johan Danielsson  <joda@pdc.kth.se>
877
878         * roken.h.in: move mini_inetd protos to after addrinfo definition
879
880         * snprintf.c (append_number): make rep const
881
882         * getarg.h: rename optind and optarg to avoid some gcc warnings
883
884         * getarg.c: rename optind and optarg to avoid some gcc warnings
885
886 2002-02-18  Johan Danielsson  <joda@pdc.kth.se>
887
888         * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead
889         of a port number
890
891 2001-11-30  Assar Westerlund  <assar@sics.se>
892
893         * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are
894         used on Solaris 8 to retrieve addresses larger than `struct
895         sockaddr'.  From Magnus Ahltorp <ahltorp@nada.kth.se> (with some
896         modifications by me)
897
898 2001-10-27  Assar Westerlund  <assar@sics.se>
899
900         * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6
901
902 2001-10-22  Assar Westerlund  <assar@sics.se>
903
904         * localtime_r.c: add
905
906 2001-10-02  Johan Danielsson  <joda@pdc.kth.se>
907
908         * resolve.c (dns_srv_order): don't try to return a value
909
910 2001-09-24  Johan Danielsson  <joda@pdc.kth.se>
911
912         * snprintf.c: va_{start,end} fixes; from Thomas Klausner
913
914 2001-09-20  Assar Westerlund  <assar@sics.se>
915
916         * resolve.c (dns_srv_order): make sure of not reading after the
917         array
918
919 2001-09-17  Assar Westerlund  <assar@sics.se>
920
921         * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5
922         * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to
923         avoid collision with resolv.h on aix
924
925 2001-09-04  Assar Westerlund  <assar@sics.se>
926
927         * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c,
928         parse_units.h: use int instead of size_t as return values to be
929         compatible with snprintf
930
931         * strftime.c (strftime): check for return values from snprintf() <
932         0
933
934 2001-09-03  Johan Danielsson  <joda@pdc.kth.se>
935
936         * socket.c: restrict is a keyword
937
938 2001-09-03  Assar Westerlund  <assar@sics.se>
939
940         * write_pid.c: handle atexit or on_exit
941
942         * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help
943         solaris make
944
945 2001-08-30  Johan Danielsson  <joda@pdc.kth.se>
946
947         * Makefile.am: use LDADD directly
948
949 2001-08-28  Assar Westerlund  <assar@sics.se>
950
951         * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5
952
953         * issuid.c (issuid): call issetugid if it exists
954
955 2001-08-24  Assar Westerlund  <assar@sics.se>
956
957         * Makefile.am: make it play better with recent automake
958
959 2001-08-21  Assar Westerlund  <assar@sics.se>
960
961         * glob.c: provide a fallback for ARG_MAX.  from <tol@stacken.kth.se>
962
963         * roken.h.in: remove all winsock.h
964         for now, it does more harm than good under cygwin and if it should be
965         used, the correct conditional needs to be found
966         from <tol@stacken.kth.se>
967
968 2001-08-17  Johan Danielsson  <joda@pdc.kth.se>
969
970         * getaddrinfo.c: include a definition of in6addr_loopback if it
971         doesn't exist
972
973 2001-08-10  Assar Westerlund  <assar@sics.se>
974
975         * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5
976
977 2001-08-08  Assar Westerlund  <assar@sics.se>
978
979         * hstrerror.c: move h_errno to its own file (h_errno.c)
980
981 2001-08-04  Assar Westerlund  <assar@sics.se>
982
983         * Makefile.am: add getarg.3
984
985 2001-08-01  Assar Westerlund  <assar@sics.se>
986
987         * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC.  be more
988         resilient to bind/listen failing.
989
990 2001-07-31  Assar Westerlund  <assar@sics.se>
991
992         * getifaddrs.c (getifaddrs2): remove unused variables
993
994 2001-07-31  Assar Westerlund  <assar@sics.se>
995
996         * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5
997
998 2001-07-23  Assar Westerlund  <assar@sics.se>
999
1000         * getarg.c (arg_match_long): fix parsing of arg_counter optional
1001         argument
1002
1003 2001-07-19  Assar Westerlund  <assar@sics.se>
1004
1005         * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5
1006         
1007 2001-07-17  Assar Westerlund  <assar@sics.se>
1008
1009         * snprintf-test.h: add a file with renaming of the snprintf
1010         functions, to be used for running the tests
1011
1012 2001-07-11  Assar Westerlund  <assar@sics.se>
1013
1014         * snprintf-test.c: add more %X tests, and long and conditional
1015         long long tests
1016         * snprintf.c: add support for printing long long (if available)
1017
1018 2001-07-10  Assar Westerlund  <assar@sics.se>
1019
1020         * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn
1021         * hostent_find_fqdn.c (hostent_find_fqdn): const-ize
1022
1023 2001-07-09  Assar Westerlund  <assar@sics.se>
1024
1025         * roken-common.h (hostent_find_fqdn): add
1026         * hostent_find_fqdn.c: separate out hostent_find_fqdn
1027
1028         * warnerr.c: move out getprogname, setprogname
1029
1030 2001-07-03  Assar Westerlund  <assar@sics.se>
1031
1032         * warnerr.c (setprogname): add const cast
1033         * vis.c (SVIS): add some (unsigned char) before calling isfoo*
1034         * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4
1035
1036         * Makefile.am: add snprintf_test
1037         * snprintf.c: rewrite so that it does not stop as soon as there
1038         are no more characters to print, we need to figure out how long
1039         the string would have to be.  this also fixes snprintf(NULL, 0
1040
1041 2001-06-21  Assar Westerlund  <assar@sics.se>
1042
1043         * simple_exec.c (pipe_execv): remove unused variable
1044
1045 2001-06-20  Johan Danielsson  <joda@pdc.kth.se>
1046
1047         * getdtablesize.c: fix typo in obviously never used sysctl case
1048
1049         * simple_exec.c: rename check_status to wait_for_process, and
1050         export it; function pipe_execv similar to popen, but with more
1051         control over input and output
1052
1053         * roken-common.h: prototypes for wait_for_process and pipe_execv
1054
1055 2001-06-17  Assar Westerlund  <assar@sics.se>
1056
1057         * roken-common.h: move emalloc et al to roken.h.in
1058         * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional
1059         * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not
1060         be set reliably
1061         * ecalloc.c: add for symmetry
1062
1063 2001-06-09  Johan Danielsson  <joda@pdc.kth.se>
1064
1065         * resolve.c: dns_srv_order to order srv records
1066
1067 2001-06-08  Johan Danielsson  <joda@pdc.kth.se>
1068
1069         * getarg.c: Grog tries to figure out if to use mdoc.old instead of
1070         mdoc by looking at some macros that were only present in the old
1071         version, and by looking at the number of .Oo's present. In
1072         mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if
1073         the number of .Oo's is bigger than the number of .Oc's, it figures
1074         it must be mdoc.old. This doesn't however account for called Oc's,
1075         and thus grog thinks that valid pages are mdoc.old when they
1076         infact are mdoc. So let's make sure that Oc's are not called by
1077         other macros.
1078
1079 2001-05-29  Assar Westerlund  <assar@sics.se>
1080
1081         * base64-test.c (main): initialize numerr
1082
1083 2001-05-28  Johan Danielsson  <joda@pdc.kth.se>
1084
1085         * base64.c: clean up the decode mess somewhat
1086
1087         * base64-test.c: base64 tests
1088
1089 2001-05-18  Johan Danielsson  <joda@pdc.kth.se>
1090
1091         * roken.h.in: just use standard C types with bswap*
1092
1093         * bswap.c: just use standard C types
1094
1095 2001-05-17  Assar Westerlund  <assar@sics.se>
1096
1097         * roken.h.in: include all the headers that AC_GROK_TYPES tries for
1098         finding u_int17_t et al
1099
1100         * Makefile.am: bump version to 12:0:3
1101         * roken.h.in: re-add set_progname and get_progname for backwards
1102         compatability
1103         * warnerr.c: re-add set_progname and get_progname for backwards
1104         compatability
1105
1106 2001-05-12  Assar Westerlund  <assar@sics.se>
1107
1108         * glob.c: add limits.h, from <shadow@dementia.org>
1109
1110 2001-05-11  Johan Danielsson  <joda@pdc.kth.se>
1111
1112         * Makefile.am: bswap.c
1113         
1114         * bswap.c: bswap{16,32}
1115         
1116 2001-05-08  Assar Westerlund  <assar@sics.se>
1117
1118         * freeaddrinfo.c (freeaddrinfo): also free every `struct
1119         addrinfo'.  from <tmartin@mirapoint.com>
1120
1121 2001-04-25  Assar Westerlund  <assar@sics.se>
1122
1123         * getarg.h (free_getarg_strings): add prototype
1124         * getarg.c (free_getarg_strings): add function
1125
1126 2001-04-21  Johan Danielsson  <joda@pdc.kth.se>
1127
1128         * getarg.c: pack short flag options togther, to shorten the usage
1129         string
1130
1131 2001-04-17  Johan Danielsson  <joda@pdc.kth.se>
1132
1133         * getifaddrs.c (getifaddrs2): close socket when done
1134
1135 2001-03-26  Johan Danielsson  <joda@pdc.kth.se>
1136
1137         * roken.awk: END has to be last with Sun's awk
1138
1139 2001-03-26  Assar Westerlund  <assar@sics.se>
1140
1141         * parse_units.c (parse_something): do not check the return value
1142         from strtod, it might return != 0.0 when the string has no digits.
1143         just testing if it consumed any characters is enough and more
1144         resilient
1145         * glob.c: add GLOB_LIMIT (from NetBSD)
1146
1147 2001-02-20  Assar Westerlund  <assar@sics.se>
1148
1149         * warnerr.c (warnerr): do not use __progname
1150         * roken.h.in (setprogname, getprogname): add prototypes
1151         * warnerr.c (setprogname, getprogname): rename to. change all
1152         callers
1153         
1154 2001-02-12  Assar Westerlund  <assar@sics.se>
1155
1156         * getnameinfo_verified.c (getnameinfo_verified): do the first
1157         getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
1158         reports on not finding the service
1159         (ENI_NOSERVNAME).  reported by Ake Sandgren <ake@cs.umu.se>
1160
1161 2001-02-09  Assar Westerlund  <assar@sics.se>
1162
1163         * getnameinfo.c (doit): call inet_ntop with correct af, noted by
1164         Ake Sandgren <ake@cs.umu.se>
1165
1166 2001-02-08  Assar Westerlund  <assar@sics.se>
1167
1168         * getnameinfo_verified.c (getnameinfo_verified): always capture
1169         the service from getnameinfo so it can be sent back to getaddrinfo
1170         and set socktype to avoid getaddrinfo not returning any addresses
1171
1172 2001-01-30  Assar Westerlund  <assar@sics.se>
1173
1174         * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
1175         * print_version.c (print_version): add 2001
1176
1177 2001-01-29  Assar Westerlund  <assar@sics.se>
1178
1179         * getifaddrs.c (getifaddrs2): copy the entire sockaddr
1180
1181         * roken-common.h (_PATH_BSHELL): add
1182
1183 2001-01-27  Assar Westerlund  <assar@sics.se>
1184
1185         * roken.h.in: move __attribute__ to roken-common.h
1186
1187         * esetenv.c (esetenv): cast to handle a setenv that takes a `char
1188         * which is the case on Unicos
1189
1190 2000-12-29  Assar Westerlund  <assar@sics.se>
1191
1192         * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
1193         ifaddrs.hin
1194
1195 2000-12-25  Assar Westerlund  <assar@sics.se>
1196
1197         * getarg.c (print_arg): add a case for arg_strings
1198
1199 2000-12-15  Johan Danielsson  <joda@pdc.kth.se>
1200
1201         * snprintf.c (append_string): handle NULL strings by printing
1202         `(null)'
1203
1204 2000-12-12  Johan Danielsson  <joda@pdc.kth.se>
1205
1206         * roken-common.h: add c++ externs
1207
1208         * roken.h.in: fix last commit differently
1209
1210 2000-12-11  Assar Westerlund  <assar@sics.se>
1211
1212         * err.hin (warnerr): remove, it's not part of the err.h interface
1213         * roken-common.h (warnerr): moved here from err.hin
1214         * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
1215         * vis.c: s/u_int32_t/unsigned/ for systems that do not define
1216         u_int32_t
1217
1218 2000-12-10  Johan Danielsson  <joda@pdc.kth.se>
1219
1220         * Makefile.am: rename some headers to avoid conflict with possible
1221         system headers
1222
1223 2000-12-06  Johan Danielsson  <joda@pdc.kth.se>
1224
1225         * vis.c: make sure _DIAGASSERT is defined
1226
1227         * unvis.c: make sure _DIAGASSERT is defined
1228
1229         * Makefile.am: unvis.c, and vis.h
1230
1231         * vis.h: vis.h from NetBSD
1232
1233         * unvis.c: unvis from NetBSD
1234
1235         * roken.h.in: cleanup previous
1236
1237         * roken-common.h: make `extern "C"' into a macro, this make emacs
1238         much happier
1239
1240         * vis.c: strvis implementation from NetBSD
1241
1242         * roken.h.in: add prototypes for strvis*
1243
1244 2000-12-05  Johan Danielsson  <joda@pdc.kth.se>
1245
1246         * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
1247         macro
1248
1249         * getifaddrs.c: free some memory
1250
1251 2000-12-04  Johan Danielsson  <joda@pdc.kth.se>
1252
1253         * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
1254
1255         * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
1256
1257 2000-10-08  Assar Westerlund  <assar@sics.se>
1258
1259         * mini_inetd.c (mini_inetd): check that fds are not too large to
1260         select on
1261
1262 2000-09-24  Assar Westerlund  <assar@sics.se>
1263
1264         *  esetenv.c: new file/function
1265
1266 2000-08-16  Assar Westerlund  <assar@sics.se>
1267
1268         * Makefile.am: bump version to 10:0:1
1269
1270 2000-08-10  Assar Westerlund  <assar@sics.se>
1271
1272         * mini_inetd.c (accept_it): type-correctness on parameters to
1273         accept
1274
1275 2000-08-07  Johan Danielsson  <joda@pdc.kth.se>
1276
1277         * roken.h.in: add proto compat for getsockname
1278
1279 2000-08-04  Johan Danielsson  <joda@pdc.kth.se>
1280
1281         * write_pid.c: conditionalise pidfile
1282
1283         * write_pid.c: add pidfile function
1284
1285 2000-07-25  Johan Danielsson  <joda@pdc.kth.se>
1286
1287         * Makefile.am: bump version to 9:0:0
1288
1289         * warnerr.c: add get_progname
1290
1291 2000-07-24  Assar Westerlund  <assar@sics.se>
1292
1293         * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
1294         reverse resolving to see if there's a fuller name there.  don't
1295         use just-freed memory
1296
1297 2000-07-22  Assar Westerlund  <assar@sics.se>
1298
1299         * xdbm.h: do not define ndbm functions in terms of dbm functions
1300         if we're using db
1301
1302 2000-07-20  Assar Westerlund  <assar@sics.se>
1303
1304         * rtbl.c (rtbl_format): avoid printing an empty row at the end
1305
1306 2000-07-19  Johan Danielsson  <joda@pdc.kth.se>
1307
1308         * Makefile.am: make this compatible with `make dist'
1309
1310         * Makefile.am: revert version number for now
1311
1312 2000-07-18  Johan Danielsson  <joda@pdc.kth.se>
1313
1314         * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
1315
1316 2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
1317
1318         * Makefile.am: set ACLOCAL_AMFLAGS
1319
1320 2000-07-15  Johan Danielsson  <joda@pdc.kth.se>
1321
1322         * getaddrinfo_hostspec.c: add new function that takes socktype
1323         hint as parameter
1324
1325 2000-07-09  Assar Westerlund  <assar@sics.se>
1326
1327         * rtbl.c (rtbl_add_column): initialize `col' completely
1328
1329         * configure.in: bring headers and functions more in-line with
1330         what's actually being used
1331
1332 2000-07-08  Johan Danielsson  <joda@pdc.kth.se>
1333
1334         * roken.h.in: declare ether_addr and sockaddr_dl for AIX
1335
1336         * rtbl.{c,h}: simple table functions
1337
1338 2000-07-08  Assar Westerlund  <assar@sics.se>
1339
1340         * configure.in (AM_INIT_AUTOMAKE): bump version to 10
1341         * configure.in (AC_BROKEN): add strsep_copy
1342         * Makefile.am (ACLOCAL): fetch files from cf
1343
1344 2000-07-01  Assar Westerlund  <assar@sics.se>
1345
1346         * roken-common.h (pid_file_*): fix protos
1347
1348 2000-06-28  Assar Westerlund  <assar@sics.se>
1349
1350         * getnameinfo_verified.c (getnameinfo_verified): free memory
1351         returned from getaddrinfo
1352
1353 2000-06-27  Assar Westerlund  <assar@sics.se>
1354
1355         * resolve.c: export string_to_type and type_to_string
1356         * resolve.c: add key,sig,cert update test-program
1357         * resolve.h: add key,sig,cert
1358
1359 2000-06-21  Assar Westerlund  <assar@sics.se>
1360
1361         * resolve.h: add T_SIG, T_KEY
1362         * resolve.c: add SIG and KEY
1363         * Makefile.am (libroken_la_SOURCES): add environment.c and
1364         write_pid.c
1365
1366         * write_pid.c: new file for writing a pid file.
1367
1368         * environment.c: new file with functionality for reading
1369         /etc/environment.  From Ake Sandgren <ake@cs.umu.se>
1370
1371 2000-06-12  Johan Danielsson  <joda@pdc.kth.se>
1372
1373         * strsep_copy.c: strsep, but with const stringp so returns string
1374         in separate buffer
1375
1376 2000-05-23  Assar Westerlund  <assar@sics.se>
1377
1378         * vsyslog.c (vsyslog): calculate length of new format string
1379         correctly
1380
1381 2000-05-22  Johan Danielsson  <joda@pdc.kth.se>
1382
1383         * getusershell.c: implment the AIX version use
1384         /etc/security/login.cfg
1385
1386 2000-05-21  Assar Westerlund  <assar@sics.se>
1387
1388         * vsyslog.c (vsyslog): actually handle `%m'
1389
1390 2000-05-15  Assar Westerlund  <assar@sics.se>
1391
1392         * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
1393
1394         * roken-common.h: moved __attribute__ to roken.h.in
1395
1396 2000-04-14  Assar Westerlund  <assar@sics.se>
1397
1398         * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
1399         correct length from `hostspec'.  based on a patch from Love
1400         <lha@s3.kth.se>
1401
1402 2000-04-09  Assar Westerlund  <assar@sics.se>
1403
1404         * xdbm.h: only include one of db.h and the dbm-series
1405
1406 2000-04-05  Assar Westerlund  <assar@sics.se>
1407
1408         * resolve.c (_resolve_debug): explicitly set to zero.  this moves
1409         the variable from bss to data and the dynamic linker on MacOS
1410         X/Darwin seems unhappy with stuff in the bss segment.
1411
1412 2000-04-03  Assar Westerlund  <assar@sics.se>
1413
1414         * Makefile.am: set version to 8:0:3
1415
1416 2000-03-11  Assar Westerlund  <assar@sics.se>
1417
1418         * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
1419         expression that also works on Crays
1420
1421 2000-03-09  Assar Westerlund  <assar@sics.se>
1422
1423         * getarg.c (arg_match_short): backup optind when there's a missing
1424         argument so that the error can point at the flag and not the
1425         non-existant argument
1426
1427 2000-03-03  Assar Westerlund  <assar@sics.se>
1428
1429         * Makefile.in (SOURCES): add timeval.c
1430         * Makefile.am (libroken_la_SOURCES): add timeval.c
1431         * timeval.c: new file
1432
1433 2000-02-19  Assar Westerlund  <assar@sics.se>
1434
1435         * Makefile.am: set version to 7:1:2
1436         
1437 2000-02-16  Assar Westerlund  <assar@sics.se>
1438
1439         * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
1440         transmitted as ints
1441         (according to the integer protomotion rules) in variable arguments
1442         lists.  Therefore, we should not call va_arg with short but rather
1443         with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
1444         original bug report
1445
1446 2000-02-13  Assar Westerlund  <assar@sics.se>
1447
1448         * Makefile.am: bump version to 7:0:2
1449
1450         * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
1451         * getarg.c (mandoc_template): better man-stuff for negative
1452         options
1453
1454 2000-02-07  Assar Westerlund  <assar@sics.se>
1455
1456         * Makefile.am: set version to 6:0:1
1457
1458 2000-02-06  Assar Westerlund  <assar@sics.se>
1459
1460         * xdbm.h: hopefully catch a few more declarations by including
1461         <ndbm.h> even if <db.h> was found
1462
1463 2000-01-26  Assar Westerlund  <assar@sics.se>
1464
1465         * mini_inetd.c (mini_inetd): separate number of allocated sockets
1466         and number of actual ones
1467         * mini_inetd.c (mini_inetd): count sockets properly.  and fail if
1468         we cannot bind any
1469         * mini_inetd.c (mini_inetd): make failing to create a socket
1470         non-fatal
1471
1472 2000-01-09  Assar Westerlund  <assar@sics.se>
1473
1474         * Makefile.am(libroken_la_SOURCES): add strcollect.c
1475         * Makefile.in: add strcollect.[co]
1476         * simple_exec.c: use vstrcollect
1477         * roken-common.h (_PATH_DEV): add
1478         (strcollect, vstrcollect): add prototypes
1479         * strcollect.c: new file.  functions for collapsing an `va_list'
1480         into an `char **'
1481
1482 2000-01-06  Assar Westerlund  <assar@sics.se>
1483
1484         * Makefile.am: bump version to 5:0:0
1485
1486 1999-12-30  Assar Westerlund  <assar@sics.se>
1487
1488         * Makefile.am (strpftime_test_SOURCES): correct source file name
1489
1490         * roken.h.in (sockaddr_storage): change padding so that we have
1491         one char[] of pad and then an unsigned long[] (for alignment and
1492         padding).  this works much better in practice.
1493
1494 1999-12-22  Assar Westerlund  <assar@sics.se>
1495
1496         * roken.h.in (sockaddr_storage): drop leading underscore on
1497         `public' fields.  this was the consensus on the ipng mailing list
1498
1499 1999-12-21  Assar Westerlund  <assar@sics.se>
1500
1501         * Makefile.am (strpftime-test): define sources to avoid having
1502         '.o'
1503         * Makefile.am (print_version.h): use $(EXEEXT)
1504         * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
1505         et al
1506
1507 1999-12-20  Assar Westerlund  <assar@sics.se>
1508
1509         * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
1510
1511         * getaddrinfo.c (get_nodes): use getipnodebyname instead of
1512         gethostbyname(2)
1513
1514 1999-12-16  Assar Westerlund  <assar@sics.se>
1515
1516         * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
1517
1518         * roken.h.in (struct sockaddr_storage): redefine with the example
1519         code from rfc2553
1520
1521         * getaddrinfo.c (get_null): set loopback with correct endianess
1522         for v4.  dunno about v6.
1523
1524 1999-12-13  Assar Westerlund  <assar@sics.se>
1525
1526         * roken.h.in: add prototypes for str[pf]time
1527
1528         * signal.c: macosx = rhapsody ~= nextstep also can't handle
1529         various definitions of the same symbol.
1530
1531 1999-12-12  Assar Westerlund  <assar@sics.se>
1532
1533         * Makefile.am: bump version to 4:1:0
1534
1535 1999-12-06  Assar Westerlund  <assar@sics.se>
1536
1537         * Makefile.am: bump version to 4:0:0
1538
1539 1999-12-05  Assar Westerlund  <assar@sics.se>
1540
1541         * Makefile.in: replace inaddr2str with getnameinfo_verified
1542
1543         * roken-common.h (INADDR_LOOPBACK): add fallback definition
1544
1545         * roken-common.h: move getnameinfo_verified to roken.h.in
1546         * roken.h.in (inaddr2str): remove
1547         * Makefile.am (libroken_la_SOURCES); removed inaddr2str
1548         * roken-common.h (getnameinfo_verified): add prototype
1549         * getnameinfo_verified.c: new file
1550
1551 1999-12-04  Assar Westerlund  <assar@sics.se>
1552
1553         * roken-common.h: add constants for getaddrinfo, getnameinfo
1554         * roken.h.in (socklen_t): make independent of sockaddr_storage
1555         (AI_*, NI_*, EAI_*): move to roken-common.h
1556
1557 1999-12-03  Assar Westerlund  <assar@sics.se>
1558
1559         * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
1560         * getaddrinfo.c (const_v*): no sizeof(sizeof())
1561         * getaddrinfo.c (add_hostent): search for the canonical name among
1562         all aliases
1563         (getaddrinfo): handle AI_NUMERICHOST correctly
1564         * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
1565         getaddrinfo, getnameinfo, gai_strerror
1566         (getaddrinfo_test): add
1567         * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
1568         getnameinfo, gai_strerror
1569         (getaddrinfo_test): add
1570         * roken.h.in: arpa/inet.h: include
1571         (socklen_t): add
1572         (struct addrinfo): add
1573         (EAI_*): add
1574         (NI_*): add
1575         (AI_*): add
1576         (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
1577         * getnameinfo.c: new file
1578         * getaddrinfo-test.c: new file
1579         * gai_strerror.c: new file
1580         * getaddrinfo.c: new file
1581         * freeaddrinfo.c: new file
1582
1583 1999-11-25  Assar Westerlund  <assar@sics.se>
1584
1585         * getopt.c (getopt): return -1 instead of EOF.  From
1586         <art@stacken.kth.se>
1587
1588 1999-11-13  Assar Westerlund  <assar@sics.se>
1589
1590         * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
1591         world
1592
1593         * getcap.c: make sure to use db only if we have both the library
1594         and the header file
1595         
1596 1999-11-12  Assar Westerlund  <assar@sics.se>
1597
1598         * getarg.h: add arg_counter
1599         * getarg.c: add a new type of argument: `arg_counter' re-organize
1600         the code somewhat
1601         
1602         * Makefile.am: add strptime and strpftime-test
1603         
1604         * snprintf.c (xyzprintf): try to do the right thing with an % at
1605         the end of the format string
1606         
1607         * strptime.c (strptime): implement '%U', '%V', '%W'
1608         * strftime.c (strftime): implement '%U', '%V', '%W', '%z'
1609         
1610         * strftime.c (strftime): correct %E and %O handling.  do something
1611         reasonable with "...%"
1612
1613         * strftime.c: replace the BSD implementation by one of our own
1614         coding
1615
1616         * strptime.c : new file
1617         * strpftime-test.c: new file
1618
1619 1999-11-07  Assar Westerlund  <assar@sics.se>
1620
1621         * parse_bytes-test.c: new file
1622
1623         * Makefile.am: add parse_bytes-test
1624
1625         * parse_units.c (parse_something): try to handle the case of no
1626         value specified a little bit better
1627
1628 1999-11-04  Assar Westerlund  <assar@sics.se>
1629
1630         * Makefile.am: bump version to 3:2:0
1631
1632 1999-10-30  Assar Westerlund  <assar@sics.se>
1633
1634         * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
1635         around a gcc-bug that manifests itself on Linux-PPC.  From Tom
1636         Rini <trini@kernel.crashing.org>
1637
1638 1999-10-28  Assar Westerlund  <assar@sics.se>
1639
1640         * Makefile.am: bump version to 3:1:0
1641
1642         * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
1643         having to have that definition.  this is the easy way out instead
1644         of getting the definition here where it's needed.  flame me.
1645
1646 Fri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
1647
1648         * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
1649         though it should), use getspnam().
1650
1651 1999-10-20  Assar Westerlund  <assar@sics.se>
1652
1653         * Makefile.am: set version to 3:0:0
1654
1655 1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
1656
1657         * getarg.3: document arg_collect
1658
1659         * getarg.c: change the way arg_collect works; it's still quite
1660         horrible though
1661
1662         * getarg.h: change type of the collect function
1663
1664 1999-10-17  Assar Westerlund  <assar@sics.se>
1665
1666         * xdbm.h: undo last commit
1667
1668         * xdbm.h: reorder db includes
1669
1670 1999-10-10  Assar Westerlund  <assar@sics.se>
1671
1672         * socket.c: const-ize and comment
1673
1674         * net_write.c: const-ize
1675
1676         * base64.c: const-ize
1677
1678 1999-10-06  Assar Westerlund  <assar@sics.se>
1679
1680         * getarg.c (getarg): also set optind when returning error
1681
1682 1999-09-26  Assar Westerlund  <assar@sics.se>
1683
1684         * Makefile.am: add parse_bytes.[ch]
1685
1686 1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
1687
1688         * getarg.3: getarg manpage
1689
1690         * getarg.{c,h}: add a callback type to do more complicated processing
1691
1692         * getarg.{c,h}: add floating point support
1693
1694 1999-09-16  Assar Westerlund  <assar@sics.se>
1695
1696         * strlcat.c (strlcat): call strlcpy
1697
1698         * strlcpy.c: update name and prototype
1699
1700         * strlcat.c: update name and prototype
1701
1702         * roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
1703
1704         * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
1705
1706         * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
1707
1708         * strcpy_truncate.c (strcpy_truncate): change return value to be
1709         the length of `src'
1710
1711 1999-08-16  Assar Westerlund  <assar@sics.se>
1712
1713         * getcap.c: try to make this work on systems with DB
1714
1715 1999-08-16  Johan Danielsson  <joda@pdc.kth.se>
1716
1717         * getcap.c: protect from db-less systems
1718
1719 1999-08-09  Johan Danielsson  <joda@pdc.kth.se>
1720
1721         * simple_exec.c: add simple_exec{ve,le}
1722
1723         * getcap.c: getcap from NetBSD
1724
1725 1999-08-06  Assar Westerlund  <assar@sics.se>
1726
1727         * roken.h.in (sockaddr_storage): cater for those that have
1728         v6-support also
1729
1730 1999-08-05  Assar Westerlund  <assar@sics.se>
1731
1732         * inet_ntop.c (inet_ntop_v4): remember to call ntohl
1733
1734 1999-08-04  Assar Westerlund  <assar@sics.se>
1735
1736         * roken-common.h: add shutdown constants
1737
1738         * mini_inetd.c (listen_v4, listen_v6): handle the case of the
1739         protocol not being supported
1740
1741 1999-08-01  Assar Westerlund  <assar@sics.se>
1742
1743         * mini_inetd.c (socket_set_reuseaddr): remove duplicate
1744
1745 1999-07-29  Assar Westerlund  <assar@sics.se>
1746
1747         * mini_inetd.c (mini_inetd): fix my stupid bugs
1748
1749 1999-07-28  Assar Westerlund  <assar@sics.se>
1750
1751         * roken-common.h: add socket* functions
1752
1753         * Makefile.am (libroken_la_SOURCES): add socket.c
1754
1755         * socket.c: new file, originally from appl/ftp/common
1756
1757         * Makefile.am: set version to 2:0:2
1758
1759         * roken.h.in (inet_pton): add prototype
1760
1761         * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
1762
1763         * inet_pton.c: new file
1764
1765         * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
1766         have it
1767
1768 1999-07-27  Assar Westerlund  <assar@sics.se>
1769
1770         * mini_inetd.c: support IPv6
1771
1772 1999-07-26  Assar Westerlund  <assar@sics.se>
1773
1774         * Makefile.am: set version to 1:0:1
1775
1776         * roken.h.in (inet_ntop): add prototype
1777
1778         * roken-common.h: (INET{,6}_ADDRSTRLEN): add
1779
1780         * inet_ntop.c: new file
1781
1782         * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
1783
1784         * Makefile.am: move some files from libroken_la_SOURCES to
1785         EXTRA_libroken_la_SOURCES
1786
1787         * snprintf.c: some signed vs unsigned casts
1788         
1789 1999-07-24  Assar Westerlund  <assar@sics.se>
1790
1791         * roken.h.in (struct sockaddr_storage): define it needed
1792
1793 1999-07-19  Assar Westerlund  <assar@sics.se>
1794
1795         * Makefile.am (libroken_la_SOURCES): add copyhostent.c,
1796         freehostent.c, getipnodebyname.c, getipnodebyaddr.c
1797         
1798         * roken.h.in: <netdb.h>: include
1799         (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
1800         prototypes
1801
1802         * roken-common.h: new constants for getipnodeby*
1803
1804         * Makefile.in (SOURCES): add freehostent, copyhostent,
1805         getipnodebyname, getipnodebyaddr
1806
1807         * freehostent.c: new file
1808
1809         * copyhostent.c: new file
1810
1811         * getipnodebyaddr.c: new file
1812
1813         * getipnodebyname.c: new file
1814
1815 1999-07-13  Assar Westerlund  <assar@sics.se>
1816
1817         * roken.h.in (k_getpwnam): update prototype
1818
1819         * k_getpwnam.c (k_getpwnam): const-ize
1820
1821         * get_default_username.c (get_default_username): a better way of
1822         guessing when the user has su:ed
1823
1824 1999-07-08  Johan Danielsson  <joda@pdc.kth.se>
1825
1826         * roken.awk: use puts, as suggested by Jeffrey Hutzelman
1827         <jhutz+@cmu.edu>
1828
1829 1999-07-06  Assar Westerlund  <assar@sics.se>
1830
1831         * readv.c (readv): typo
1832
1833 1999-07-03  Assar Westerlund  <assar@sics.se>
1834
1835         * writev.c (writev): error check malloc properly
1836
1837         * sendmsg.c (sendmsg): error check malloc properly
1838
1839         * resolve.c (parse_reply): error check malloc properly
1840
1841         * recvmsg.c (recvmsg): error check malloc properly
1842
1843         * readv.c (readv): error check malloc properly
1844
1845 1999-06-23  Assar Westerlund  <assar@sics.se>
1846
1847         * parse_units.c (acc_units): move the special case of 0 -> 1 to
1848         parse_something to avoid having it happen at the end of the string
1849
1850 1999-06-15  Assar Westerlund  <assar@sics.se>
1851
1852         * Makefile.in: add get_default_username
1853
1854         * get_default_username.c: new file
1855
1856         * roken.h.in (get_default_username): add prototype
1857
1858         * Makefile.am: add get_default_username
1859
1860 1999-05-08  Assar Westerlund  <assar@sics.se>
1861
1862         * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
1863
1864         * strnlen.c (strnlen): update prototype
1865
1866         * Makefile.am: strndup.c: add
1867
1868         * Makefile.in: strndup.c: add
1869
1870         * roken.h.in (strndup): add
1871         (strnlen): update prototype
1872
1873         * strndup.c: new file
1874
1875 Fri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
1876
1877         * roken.h.in: include strsep prototype if needed
1878
1879 Thu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1880
1881         * Makefile.am: make make-print-version.o depend on version.h
1882
1883 Wed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1884
1885         * Makefile.am: make it compile w/o krb4
1886
1887 Sat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
1888
1889         * snprintf.c (vasnprintf): correct check if realloc returns NULL
1890
1891 Sat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1892
1893         * Makefile.am: link print_version with -ldes to avoid unresolved
1894         references if -lkrb is shared
1895
1896 Sat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
1897
1898         * roken-common.h (eread, ewrite): add
1899
1900         * simple_exec.c: add <roken.h>
1901
1902 Fri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
1903
1904         * Makefile.in: add eread, ewrite
1905
1906         * eread.c, ewrite.c: new files
1907
1908         * Makefile.am (libroken_la_SOURCES): add eread and ewrite
1909
1910 Fri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1911
1912         * Makefile.am: add version-info
1913
1914 Thu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1915
1916         * Makefile.am: remove include_dir hack
1917
1918         * Makefile.am: parse_units.h
1919
1920         * Makefile.am: include Makefile.am.common
1921
1922 Sat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
1923
1924         * Makefile.in (SOURCES): add glob.c
1925
1926 Thu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1927
1928         * iruserok.c: move innetgr() to separate file
1929
1930         * innetgr.c: move innetgr() to separate file
1931
1932         * hstrerror.c (hstrerror): add const to return type
1933
1934         * erealloc.c: fix types in format string
1935
1936         * emalloc.c: fix types in format string
1937
1938 Wed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1939
1940         * resolve.c: ugly fix for crays
1941
1942 Mon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1943
1944         * roken.h.in: protos for {un,}setenv
1945
1946 1999-02-16  Assar Westerlund  <assar@sics.se>
1947
1948         * Makefile.in (SOURCES): add fnmatch
1949
1950         * roken-common.h (abs): add
1951
1952 Sat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
1953
1954         * emalloc.c, erealloc.c, estrup.c: new files
1955
1956         * roken.h.in (mkstemp, gethostname): also includes prototypes if
1957         they are needed.
1958
1959 1998-12-23  Assar Westerlund  <assar@sics.se>
1960
1961         * roken.h.in: mkstemp: add prototype
1962
1963 1998-12-20  Assar Westerlund  <assar@sics.se>
1964
1965         * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
1966
1967         * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
1968
1969         * roken-common.h: __attribute__: check for autoconf'd
1970         HAVE___ATTRIBUTE__ instead of GNUC
1971
1972 Sun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
1973
1974         * parse_units.c (parse_something): func is called with val == 0 if
1975         no unit was given
1976         (acc_flags, acc_units): update to new standard
1977
1978 Fri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
1979
1980         * resolve.c (stot): constify
1981         (type_to_string): always declare
1982         (dns_lookup_int): correct debug output
1983
1984 Thu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
1985
1986         * resolve.c (dns_lookup_int): send rr_class to res_search
1987
1988 Thu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
1989
1990         * resolve.c: some cleanup
1991
1992         * resolve.h: add T_NAPTR
1993
1994 Sun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
1995
1996         * Makefile.in (WFLAGS): set
1997
1998         * k_getpwnam.c (k_getpwnam): check for `struct spwd'
1999
2000         * k_getpwuid.c (k_getpwuid): check for `struct spwd'
2001
2002 Tue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
2003
2004         * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
2005
2006 Fri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2007
2008         * vsyslog.c: asprintf -> vasprintf
2009
2010 Tue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
2011
2012         * getarg.h (arg_printusage): new signature
2013
2014         * getarg.c (arg_printusage): new parameter `progname'.  NULL means
2015         __progname.
2016
2017 Sun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2018
2019         * Makefile.am: net_{read,write}.c
2020
2021 Fri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
2022
2023         * simple_exec.c (simple_execvp): loop around waitpid when errno ==
2024         EINTR
2025
2026 Thu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2027
2028         * Makefile.am: net_{read,write}.c
2029
2030 Wed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
2031
2032         * simple_exec.c (simple_execlp): initialize `argv'
2033
2034 Mon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
2035
2036         * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
2037         use a copy instead
2038
2039 Fri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
2040
2041         * roken.h.in (net_write, net_read): add prototypes
2042
2043         * Makefile.in: net_{read,write}.c: add
2044
2045         * net_{read,write}.c: new files
2046
2047 Tue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
2048
2049         * roken.h.in (issuid): add
2050
2051         * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
2052         fields
2053
2054 Sun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2055
2056         * getarg.c (mandoc_template): Put short and long options in
2057         SYNOPSIS within the same [ ] pair.
2058
2059 Sat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2060
2061         * getarg.c (arg_printusage): try to keep options shorter than
2062         column width
2063
2064         * get_window_size.c (get_window_size): check COLUMNS and LINES
2065
2066 Fri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2067
2068         * getarg.c (mandoc_template): Put short and long options in
2069         DESCRIPTION on the same line.
2070
2071         * getarg.c (arg_match_long): make sure you only get an exact match
2072         if the strings are the same length
2073
2074 Thu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
2075
2076         * roken.awk: stupid cray awk wants \#
2077
2078 Fri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
2079
2080         * print_version.c (print_version): according to ISO/ANSI C the
2081         elements of `arg' are not constant and therefore not settable at
2082         compile-time.  Set the at run-time instead.
2083
2084 Sun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
2085
2086         * roken.h.in: include paths.h
2087
2088 Sun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
2089
2090         * Makefile.in (SOURCES): add roken_gethostby.c to make solaris
2091         make happy
2092
2093 Thu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2094
2095         * simple_exec.c: Simple fork+exec system() replacement.
2096
2097 Fri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2098
2099         * roken_gethostby.c: Make `roken_gethostby_setup' take URL-like
2100         specification instead of split up versions. Makes it easier for
2101         calling applications.
2102
2103         * roken_gethostby.c: Another miracle of the 20th century:
2104         gethostby* over HTTP.
2105
2106 Sat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
2107
2108         * parse_time.c (unparse_time_approx): new function that calls
2109         `unparse_units_approx'
2110
2111         * parse_units.c (unparse_units_approx): new function that will
2112         only print the first unit.
2113
2114         * Makefile.in: include parse_{time,units}
2115
2116 Thu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
2117
2118         * parse_time.c (print_time_table): don't return a void value.
2119
2120 Tue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2121
2122         * getarg.c (mandoc_template): Change date format to full month
2123         name, and day of month without leading zero.
2124
2125 Thu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
2126
2127         * getarg.c: Fix long form of negative flags.
2128
2129 Mon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2130
2131         * roken.h.in: Include <err.h>, to get linux __progname.
2132
2133 Sun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
2134
2135         * parse_time.c (print_time_table): new function
2136
2137         * parse_units.c (print_flags_table, print_units_table): new
2138         functions.
2139
2140 Thu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
2141
2142         * iruserok.c: moved here.
2143
2144         * snprintf.c (sn_append_char): don't write any terminating zero.
2145         (as_reserve): don't loop.  better heuristic for how much space to
2146         realloc.
2147         (vasnprintf): simplify initializing to one.
2148
2149 Sun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2150
2151         * getarg.c: Add mandoc help back-end to getarg.
2152
2153 Wed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2154
2155         * verr.c, verrx.c: Fix warnings by moving exit from.
2156
2157 Tue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2158
2159         * parse_units.c: Change the list of separating characters (between
2160         units) to comma, space, and tab, removing digits. Having digits in
2161         this list makes a flag like `T42 generate a parse error. This
2162         change makes `17m3s' an invalid time-spec (you need a space).
2163
2164 Tue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
2165
2166         * roken.h: add <sys/socket.h>
2167
2168 Sun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
2169
2170         * fnmatch.c: Add fnmatch from NetBSD
2171
2172 Sun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
2173
2174         * parse_units.c (parse_something): ignore white-space and ','
2175
2176 Mon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
2177         
2178         * roken.h: fclose prototype
2179
2180         * roken.h: add prototype for vsyslog
2181
2182         * Makefile.in: add some more source files to make soriasis make
2183         happy
2184
2185 Sat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
2186
2187         * roken.h: include <sys/uio.h> and <errno.h>.
2188         prototypes for readv and writev
2189
2190         * readv.c, writev.c: new files
2191
2192 Wed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
2193
2194         * roken.h: Add ugly macros for openlog, gethostbyname,
2195         gethostbyaddr, and getservbyname for the benefit of Crays.  Add
2196         default definition of MAXPATHLEN