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