1233294Sstas2008-07-12 Love H��rnquist ��strand <lha@kth.se> 2127808Snectar 3233294Sstas * rkpty.c: Always print output for status. 4233294Sstas 5233294Sstas2008-04-27 Love H��rnquist ��strand <lha@it.su.se> 6233294Sstas 7233294Sstas * getaddrinfo-test.c: drop ) 8233294Sstas 9233294Sstas * Makefile.am: Add rkpty. 10233294Sstas 11233294Sstas * rkpty.c: More includes. 12233294Sstas 13233294Sstas * rkpty.c: Add timeout, add password command, add diffrent 14233294Sstas verbosity levels. 15233294Sstas 16233294Sstas2008-04-26 Love H��rnquist ��strand <lha@it.su.se> 17233294Sstas 18233294Sstas * rkpty.c: pty testing application 19233294Sstas 20233294Sstas2008-04-07 Love H��rnquist ��strand <lha@it.su.se> 21233294Sstas 22233294Sstas * resolve.c: Use unsigned where appropriate. 23233294Sstas 24233294Sstas2008-02-23 Love H��rnquist ��strand <lha@it.su.se> 25233294Sstas 26233294Sstas * Makefile.am: make AM_CPPFLAGS += 27233294Sstas 28233294Sstas2008-02-22 Love H��rnquist ��strand <lha@it.su.se> 29233294Sstas 30233294Sstas * Makefile.am: Use AM_CPPFLAGS instead, not really right, but 31233294Sstas definatly better then CPPFLAGS. Thanks to Mike Whitton for 32233294Sstas pointing this out. 33233294Sstas 34233294Sstas2008-01-12 Love H��rnquist ��strand <lha@it.su.se> 35233294Sstas 36178825Sdfr * Makefile.am: add missing files. 37178825Sdfr 38233294Sstas2007-08-09 Love H��rnquist ��strand <lha@it.su.se> 39127808Snectar 40178825Sdfr * strftime.c: rewrite str[pf]time for testing. 41178825Sdfr 42178825Sdfr * strptime.c: rewrite str[pf]time for testing. 43178825Sdfr 44178825Sdfr * Makefile.am: add TEST_STRPFTIME 45127808Snectar 46233294Sstas2007-07-17 Love H��rnquist ��strand <lha@it.su.se> 47127808Snectar 48178825Sdfr * ndbm_wrap.c (dbm_get): set dsize to 0 on failure. 49178825Sdfr 50178825Sdfr * Makefile.am: add ndbm_wrap.[ch] to EXTRA_DIST 51178825Sdfr 52178825Sdfr * ndbm_wrap.c (dbm_fetch): set dsize to 0 on failure. 53178825Sdfr 54233294Sstas2007-07-16 Love H��rnquist ��strand <lha@it.su.se> 55178825Sdfr 56178825Sdfr * socket_wrapper.c: Implement swrap_dup too. 57178825Sdfr 58178825Sdfr * socket_wrapper.c: Add dup(dummy stub) and dup2(real). 59178825Sdfr 60178825Sdfr * socket_wrapper.h: Add dup(dummy stub) and dup2(real). 61178825Sdfr 62233294Sstas2007-07-10 Love H��rnquist ��strand <lha@it.su.se> 63178825Sdfr 64178825Sdfr * Makefile.am: New library version. 65178825Sdfr 66233294Sstas2007-06-19 Love H��rnquist ��strand <lha@it.su.se> 67178825Sdfr 68178825Sdfr * roken_gethostby.c: set proxy_port to 0 to pacify BEAM. 69178825Sdfr 70233294Sstas2007-06-07 Love H��rnquist ��strand <lha@it.su.se> 71178825Sdfr 72178825Sdfr * use "roken.h" consitantly 73178825Sdfr 74233294Sstas2007-06-03 Love H��rnquist ��strand <lha@it.su.se> 75178825Sdfr 76178825Sdfr * test-readenv.c: Free environment. 77178825Sdfr 78178825Sdfr * environment.c (free_environment): free result of 79178825Sdfr read_environment(). 80178825Sdfr 81178825Sdfr * roken-common.h (free_environment): free result of 82178825Sdfr read_environment(). 83127808Snectar 84233294Sstas2007-05-10 Love H��rnquist ��strand <lha@it.su.se> 85178825Sdfr 86178825Sdfr * fnmatch.c: Do recursive call to rk_fnmatch 87178825Sdfr 88233294Sstas2007-01-12 Love H��rnquist ��strand <lha@it.su.se> 89178825Sdfr 90178825Sdfr * resolve.c: Try harder to call res_ndestroy(). 91178825Sdfr 92233294Sstas2006-12-27 Love H��rnquist ��strand <lha@it.su.se> 93178825Sdfr 94178825Sdfr * Makefile.am: make sure built headers are copied to the 95178825Sdfr ${build_topdir}/include 96178825Sdfr 97233294Sstas2006-12-15 Love H��rnquist ��strand <lha@it.su.se> 98178825Sdfr 99178825Sdfr * unvis.c: Use internal version of rk_unvis 100178825Sdfr 101178825Sdfr * unvis.c: Always include rk_versions. 102178825Sdfr 103178825Sdfr * vis.c: Always include rk_versions. 104178825Sdfr 105178825Sdfr * vis.hin: Fix argument for unvis and strsvisx. 106178825Sdfr 107178825Sdfr * unvis.c: prefix unvis functions with rk_, and prototypes. 108178825Sdfr 109233294Sstas2006-12-13 Love H��rnquist ��strand <lha@it.su.se> 110178825Sdfr 111178825Sdfr * vis.c: Provide some prototypes for the rk_vis functions. 112178825Sdfr 113233294Sstas2006-12-11 Love H��rnquist ��strand <lha@it.su.se> 114178825Sdfr 115178825Sdfr * ifaddrs.hin: Prefix getifaddrs functions with rk_ and do symbol 116178825Sdfr renaming. 117178825Sdfr 118178825Sdfr * fnmatch.c: Prefix fnmatch functions with rk_ and do symbol 119178825Sdfr renaming. 120178825Sdfr 121178825Sdfr * vis.hin: Prefix strvis functions with rk_ and do symbol 122178825Sdfr renaming. 123178825Sdfr 124178825Sdfr * vis.c: prefix strvis functions with rk_ 125178825Sdfr 126178825Sdfr * Makefile.am: Install extra posix headers in <roken/...> to avoid 127178825Sdfr dup headers. 128178825Sdfr 129233294Sstas2006-11-09 Love H��rnquist ��strand <lha@it.su.se> 130178825Sdfr 131178825Sdfr * socket_wrapper.c (swrap_sendto): fail on to unknown si->type 132178825Sdfr 133233294Sstas2006-11-06 Love H��rnquist ��strand <lha@it.su.se> 134178825Sdfr 135178825Sdfr * socket_wrapper.c: A few fixes to have Heimdal pass the make 136178825Sdfr check under socket_wrapper. The first is a missing 'break' before 137178825Sdfr the (heimdal specific) IPv6 support. The second works around the 138178825Sdfr fact that sendto() *may* object to a destination being specified. 139178825Sdfr It appears to be that on Linux, this objects (with EISCONN) for 140178825Sdfr unix stream sockets, but not for TCP sockets. The alternate fix 141178825Sdfr would be to have the KDC use 'send()' in this case. Andrew Bartlett. 142178825Sdfr 143233294Sstas2006-10-20 Love H��rnquist ��strand <lha@it.su.se> 144178825Sdfr 145178825Sdfr * Makefile.am: split dist and nondist HEADERS 146178825Sdfr 147233294Sstas2006-10-19 Love H��rnquist ��strand <lha@it.su.se> 148178825Sdfr 149178825Sdfr * roken.h.in: Add timegm glue. 150178825Sdfr 151178825Sdfr * timegm.c: add timegm() 152178825Sdfr 153178825Sdfr * socket_wrapper.c: Include <roken.h>, gives os socklen_t on IRIX 154178825Sdfr 6.4. 155178825Sdfr 156178825Sdfr * socket_wrapper.c: Maybe include <sys/time.h> and/or maybe 157178825Sdfr include <time.h>. 158178825Sdfr 159233294Sstas2006-10-17 Love H��rnquist ��strand <lha@it.su.se> 160178825Sdfr 161178825Sdfr * roken.h.in: Revert prevois for now, the problem is that we have 162178825Sdfr to include symbols unconditionally, even for those that just needs 163178825Sdfr protos. 164178825Sdfr 165178825Sdfr * roken.h.in: Provide symbol renaming, let see what breaks. 166178825Sdfr 167178825Sdfr * socket_wrapper.c: Maybe include <sys/filio.h>. 168178825Sdfr 169233294Sstas2006-10-10 Love H��rnquist ��strand <lha@it.su.se> 170178825Sdfr 171178825Sdfr * socket_wrapper.c: more consitity check, remove dead code, add 172178825Sdfr socket length code, add missing break, make diffrent chars of type 173178825Sdfr type files for case-insensitiv filesystems 174178825Sdfr 175178825Sdfr * socket_wrapper.c: try even hard to not use socket wrapper for 176178825Sdfr socket_wrapper itself. 177178825Sdfr 178178825Sdfr * socket_wrapper.c: Force no socket wrapper for socket_wrapper 179178825Sdfr itself. 180178825Sdfr 181233294Sstas2006-10-09 Love H��rnquist ��strand <lha@it.su.se> 182178825Sdfr 183178825Sdfr * socket_wrapper.c: Maybe include <config.h>. 184178825Sdfr 185178825Sdfr * socket_wrapper.c: Protect AF_INET6 with #ifdef HAVE_IPV6. 186178825Sdfr 187178825Sdfr * socket_wrapper.c: Use a symbol for the v6 address. 188178825Sdfr 189178825Sdfr * socket_wrapper.c: Add IPv6 suppport. 190178825Sdfr 191178825Sdfr * socket_wrapper.[ch]: Include socket wrapper from samba4 (rev 192178825Sdfr 19179). 193178825Sdfr 194233294Sstas2006-10-07 Love H��rnquist ��strand <lha@it.su.se> 195178825Sdfr 196178825Sdfr * Makefile.am: Add build_HEADERZ to EXTRA_DIST 197178825Sdfr 198178825Sdfr * Makefile.am: Add man_MANS to EXTRA_DIST 199178825Sdfr 200178825Sdfr * Makefile.am: Add to all objects BUILD_ROKEN_LIB. 201178825Sdfr 202233294Sstas2006-09-16 Love H��rnquist ��strand <lha@it.su.se> 203178825Sdfr 204178825Sdfr * roken.h.in: Add samba socket wrapper fragment. 205178825Sdfr 206178825Sdfr * Makefile.am: Add samba socket wrapper fragment. 207178825Sdfr 208233294Sstas2006-09-05 Love H��rnquist ��strand <lha@it.su.se> 209178825Sdfr 210178825Sdfr * snprintf.c: reapply patch that went away in last commit 211178825Sdfr 212178825Sdfr * snprintf-test.c: unbreak from previous commit 213178825Sdfr 214178825Sdfr * snprintf.c: Add size_t formater (z modifer). 215178825Sdfr 216178825Sdfr * snprintf-test.c: add tests for size_t printf formater 217178825Sdfr 218233294Sstas2006-06-30 Love H��rnquist ��strand <lha@it.su.se> 219178825Sdfr 220178825Sdfr * rtbl.h: Add extern "C" for C++. 221178825Sdfr 222178825Sdfr * rtbl.c: Add rtbl_add_column_entryv functions, printf like 223178825Sdfr 224178825Sdfr * rtbl.h: Add rtbl_add_column_entryv functions, printf like 225178825Sdfr 226233294Sstas2006-06-22 Love H��rnquist ��strand <lha@it.su.se> 227178825Sdfr 228178825Sdfr * glob.hin: Add extern "C" for C++. From joerg at britannica dot 229178825Sdfr bec dot de 230178825Sdfr 231178825Sdfr * fnmatch.hin: Add extern "C" for C++. From joerg at britannica 232178825Sdfr dot bec dot de 233178825Sdfr 234233294Sstas2006-04-20 Love H��rnquist ��strand <lha@it.su.se> 235178825Sdfr 236178825Sdfr * fnmatch.hin (fnmatch): CPP rename to rk_fnmatch 237178825Sdfr 238233294Sstas2006-04-14 Love H��rnquist ��strand <lha@it.su.se> 239178825Sdfr 240178825Sdfr * resolve.c (dns_srv_order): change a if (ptr == NULL) continue 241178825Sdfr into a assert(ptr != NULL) since it could never happen, found by 242178825Sdfr the IBM code checker (beam). Thanks to Florian Krohm for 243178825Sdfr explaining it. 244178825Sdfr 245233294Sstas2006-04-02 Love H��rnquist ��strand <lha@it.su.se> 246178825Sdfr 247178825Sdfr * roken_gethostby.c (roken_gethostby): make addr_list one larger 248178825Sdfr to avoid a off-by-one error. Found by IBM checker. 249178825Sdfr 250178825Sdfr * resolve.c: Plug memory leak found by IBM checker (and try to 251178825Sdfr please it). 252178825Sdfr 253233294Sstas2006-02-06 Love H��rnquist ��strand <lha@it.su.se> 254178825Sdfr 255178825Sdfr * resolve.c: Spelling, from Alexey Dobriyan, via Jason McIntyre 256178825Sdfr 257233294Sstas2006-01-13 Love H��rnquist ��strand <lha@it.su.se> 258178825Sdfr 259178825Sdfr * getcap.c: Don't use db support unless its build into libc but we 260178825Sdfr dont check for that now, so just disable the code. This removes 261178825Sdfr the dependency on libdb for roken, and that is a good thing since 262178825Sdfr it causes problem with nss plugins that uses DB3 that also 263178825Sdfr provides the same symbol, but with a diffrent ABI. so when the 264178825Sdfr application calls getpwnamn() and it linked to roken, it craches 265178825Sdfr in the nss functions. 266178825Sdfr 267233294Sstas2006-01-09 Love H��rnquist ��strand <lha@it.su.se> 268178825Sdfr 269178825Sdfr * hex.c (hex_decode): support decoding odd number of characters, 270178825Sdfr in the odd len case, the first character ends up in the first byte 271178825Sdfr in the lower nibble. 272178825Sdfr 273178825Sdfr * hex-test.c: Check that we can decode single character hex chars. 274178825Sdfr 275233294Sstas2005-12-12 Love H��rnquist ��strand <lha@it.su.se> 276178825Sdfr 277178825Sdfr * getifaddrs.c: Try handle HP/UX 11.nn, its diffrent from Solaris 278178825Sdfr large SIOCGIFCONF. 279178825Sdfr 280233294Sstas2005-09-28 Love H��rnquist ��strand <lha@it.su.se> 281178825Sdfr 282178825Sdfr * roken-common.h: Move rk_UNCONST to roken.h.in since it might use 283178825Sdfr uintptr_t depending on avaibility. 284178825Sdfr 285178825Sdfr * roken.h.in: Include <stdint.h> if it exists. If avaiable, use 286178825Sdfr uintptr_t to define rk_UNCONST. 287178825Sdfr 288233294Sstas2005-09-22 Love H��rnquist ��strand <lha@it.su.se> 289178825Sdfr 290178825Sdfr * roken-common.h: Add rk_dumpdata. 291178825Sdfr 292178825Sdfr * dumpdata.c: Add rk_dumpdata() that write a chunk of data into a 293178825Sdfr file for later processing by some other tool (like asn1_print). 294178825Sdfr 295233294Sstas2005-09-13 Love H��rnquist ��strand <lha@it.su.se> 296178825Sdfr 297178825Sdfr * strptime.c: cast to unsigned char to make sure its not negative 298178825Sdfr when passing it to is* functions 299178825Sdfr 300233294Sstas2005-09-01 Love H��rnquist ��strand <lha@it.su.se> 301178825Sdfr 302178825Sdfr * socket.c: Add socket_set_ipv6only. 303178825Sdfr 304178825Sdfr * roken-common.h: Add socket_set_ipv6only, remove some argument 305178825Sdfr names. 306178825Sdfr 307233294Sstas2005-08-25 Love H��rnquist ��strand <lha@it.su.se> 308178825Sdfr 309178825Sdfr * strpool.c (rk_strpoolprintf): remove debug printf, plug memory 310178825Sdfr leak 311178825Sdfr 312233294Sstas2005-08-23 Love H��rnquist ��strand <lha@it.su.se> 313178825Sdfr 314178825Sdfr * setprogname.c (setprogname): const poision 315178825Sdfr 316178825Sdfr * print_version.c: Removed, moved to libvers. 317178825Sdfr 318233294Sstas2005-08-22 Love H��rnquist ��strand <lha@it.su.se> 319178825Sdfr 320178825Sdfr * resolve.c (dns_lookup_int): if we have res_ndestroy, prefeer 321178825Sdfr that before res_nclose 322178825Sdfr 323233294Sstas2005-08-12 Love H��rnquist ��strand <lha@it.su.se> 324178825Sdfr 325178825Sdfr * getaddrinfo-test.c: Rename optind to optidx to avoid shadowing. 326178825Sdfr 327233294Sstas2005-08-05 Love H��rnquist ��strand <lha@it.su.se> 328178825Sdfr 329178825Sdfr * gai_strerror.c: sprinkel more const 330178825Sdfr 331178825Sdfr * gai_strerror.c, roken.h.in: Make return value of gai_strerror 332178825Sdfr const to match SUSv3. Prompted by Stefan Metzmacher change to 333178825Sdfr Samba. 334178825Sdfr 335233294Sstas2005-07-19 Love H��rnquist ��strand <lha@it.su.se> 336178825Sdfr 337178825Sdfr * roken.h.in: Remove parameter names to avoid shadow warnings. 338178825Sdfr 339233294Sstas2005-07-13 Love H��rnquist ��strand <lha@it.su.se> 340178825Sdfr 341178825Sdfr * getifaddrs.c (nl_getlist): poll to get messages from kernel, and 342178825Sdfr retry if the message was lost 343178825Sdfr (free_nlmsglist): free all linked elements, not just the first one 344178825Sdfr 345233294Sstas2005-07-08 Love H��rnquist ��strand <lha@it.su.se> 346178825Sdfr 347178825Sdfr * snprintf-test.c: Check a very simple format string 348178825Sdfr 349233294Sstas2005-07-07 Love H��rnquist ��strand <lha@it.su.se> 350178825Sdfr 351178825Sdfr * roken.h.in: If we have <strings.h> include it, its needed for 352178825Sdfr strcasecmp() on those platforms that are SUS3/iso c99 strict (like 353178825Sdfr AIX) 354178825Sdfr 355178825Sdfr * roken-common.h: remove duplicate ; 356178825Sdfr 357233294Sstas2005-07-06 Love H��rnquist ��strand <lha@it.su.se> 358178825Sdfr 359178825Sdfr * roken-common.h: rk_strpoolprintf first variable identifier is 3 360178825Sdfr 361233294Sstas2005-06-30 Love H��rnquist ��strand <lha@it.su.se> 362178825Sdfr 363178825Sdfr * base64.h: remove variable names 364178825Sdfr 365233294Sstas2005-06-29 Love H��rnquist ��strand <lha@it.su.se> 366178825Sdfr 367178825Sdfr * roken-common.h: fix format attribute 368178825Sdfr 369178825Sdfr * Makefile.am (libroken_la_SOURCES): += strpool.c 370178825Sdfr 371178825Sdfr * roken-common.h: add strpool, a printf collector to make it 372178825Sdfr eaiser to collect strings into one string 373178825Sdfr 374178825Sdfr * strpool.c: add strpool, a printf collector to make it eaiser to 375178825Sdfr collect strings into one string 376178825Sdfr 377233294Sstas2005-06-23 Love H��rnquist ��strand <lha@it.su.se> 378178825Sdfr 379178825Sdfr * base64.c: Add const, from Andrew Abartlet <abartlet@samba.org> 380178825Sdfr 381233294Sstas2005-06-21 Love H��rnquist ��strand <lha@it.su.se> 382178825Sdfr 383178825Sdfr * strpftime-test.c: test for "%Y%m" 384178825Sdfr 385178825Sdfr * esetenv.c: unconst 386178825Sdfr 387178825Sdfr * strptime.c: Write a new parse_number function that is possible 388178825Sdfr to limit that amount of numbers used, with this strptime can 389178825Sdfr handle strptime("200505", "%Y%m", &tm); 390178825Sdfr 391233294Sstas2005-06-16 Love H��rnquist ��strand <lha@it.su.se> 392178825Sdfr 393178825Sdfr * getaddrinfo.c: avoid shadowing sin 394178825Sdfr 395178825Sdfr * resolve-test.c: rename optind to optidx to avoid shadowing 396178825Sdfr 397178825Sdfr * strptime.c: UNCONST return value from strptime 398178825Sdfr 399178825Sdfr * strftime.c: rk_UNCONST argument mktime 400178825Sdfr 401178825Sdfr * getnameinfo.c: avoid shadowing sin 402178825Sdfr 403178825Sdfr * socket.c: avoid shadowing sin 404178825Sdfr 405178825Sdfr * resolve.c (parse_record): fix casting to avoid losing const 406178825Sdfr 407178825Sdfr * roken.awk: since we got no feedback regarding people running 408178825Sdfr heimdal on the crays, remove the quoted # version 409178825Sdfr 410178825Sdfr * environment.c: rename index to idx to avoid shadowing 411178825Sdfr 412233294Sstas2005-05-29 Love H��rnquist ��strand <lha@it.su.se> 413178825Sdfr 414178825Sdfr * parse_reply-test.c: avoid signedness warnings 415178825Sdfr 416178825Sdfr * test-mem.c: avoid signedness warnings 417178825Sdfr 418233294Sstas2005-05-27 Love H��rnquist ��strand <lha@it.su.se> 419178825Sdfr 420178825Sdfr * hex.c: include "roken.h" to avoid undefined size_t/ssize_t 421178825Sdfr 422178825Sdfr2005-05-24 Dave Love <fx@gnu.org> 423178825Sdfr 424178825Sdfr * Makefile.am (snprintf_test_SOURCES): Add snprintf-test.h. 425178825Sdfr 426233294Sstas2005-05-20 Love H��rnquist ��strand <lha@it.su.se> 427178825Sdfr 428178825Sdfr * environment.c (rk_read_env_file): move assignment to later to 429178825Sdfr make pre c99 compiler happy 430178825Sdfr 431233294Sstas2005-05-18 Love H��rnquist ��strand <lha@it.su.se> 432178825Sdfr 433178825Sdfr * strptime.c: use english spelling of March 434178825Sdfr 435178825Sdfr2005-05-17 Johan Danielsson <joda@pdc.kth.se> 436178825Sdfr 437178825Sdfr * Makefile.am: only link with dblib if we need it 438178825Sdfr 439178825Sdfr * Makefile.am: add test_readenv 440178825Sdfr 441178825Sdfr * test-readenv.c: test for read_environment() 442178825Sdfr 443178825Sdfr * environment.c: eliminate duplicates 444178825Sdfr 445233294Sstas2005-05-13 Love H��rnquist ��strand <lha@it.su.se> 446178825Sdfr 447178825Sdfr * issuid.c (issuid): change the #ifdef order to avoid unreachable 448178825Sdfr code warning. 449178825Sdfr 450178825Sdfr2005-05-10 Dave Love <fx@gnu.org> 451178825Sdfr 452178825Sdfr * roken.h.in: Get daemon declared on Solaris (it's in unistd.h but 453178825Sdfr masked by a feature test), just to avoid a warning, since it has 454178825Sdfr int args. Include err.h unconditionally, since it's always 455178825Sdfr supplied. 456178825Sdfr 457178825Sdfr2005-05-04 Dave Love <fx@gnu.org> 458178825Sdfr 459178825Sdfr * snprintf-test.c: Include snprintf-test.h earlier. 460178825Sdfr 461178825Sdfr2005-05-03 Dave Love <fx@gnu.org> 462178825Sdfr 463178825Sdfr * snprintf.c: Include snprintf-test.h earlier. 464178825Sdfr 465178825Sdfr * test-mem.c: Add member fd to map. 466178825Sdfr (rk_test_mem_alloc, rk_test_mem_free): Use it. 467178825Sdfr 468233294Sstas2005-04-30 Love H��rnquist ��strand <lha@it.su.se> 469178825Sdfr 470178825Sdfr * getifaddrs.c: add break on default: statements, from Douglas 471178825Sdfr E. Engert 472178825Sdfr 473178825Sdfr * snprintf.c (vsnprintf): don't write the NUL into the string if 474178825Sdfr the length was 0 475178825Sdfr 476178825Sdfr * snprintf-test.c: add check that snprintf doesn't write the NUL 477178825Sdfr into the last byte when its a zero length input string 478178825Sdfr 479178825Sdfr * parse_time-test.c: Include <err.h>. 480178825Sdfr 481233294Sstas2005-04-27 Love H��rnquist ��strand <lha@it.su.se> 482178825Sdfr 483178825Sdfr * parse_time-test.c: improve testing 484178825Sdfr 485178825Sdfr * roken-common.h: add rk_realloc 486178825Sdfr 487178825Sdfr * Makefile.am: add realloc 488178825Sdfr 489178825Sdfr * realloc.c: add rk_realloc, unbroken version of realloc 490178825Sdfr 491178825Sdfr2005-04-26 Dave Love <fx@gnu.org> 492178825Sdfr 493178825Sdfr * getusershell.c: Include roken.h 494178825Sdfr 495233294Sstas2005-04-18 Love H��rnquist ��strand <lha@it.su.se> 496178825Sdfr 497178825Sdfr * unvis.c: cast to unsigned char to make sure its not negative 498178825Sdfr when passing it to is* functions 499178825Sdfr 500178825Sdfr * strptime.c: cast to unsigned char to make sure its not negative 501178825Sdfr when passing it to to* functions 502178825Sdfr 503233294Sstas2005-04-13 Love H��rnquist ��strand <lha@it.su.se> 504178825Sdfr 505178825Sdfr * simple_exec.c: don't close stderr, close all fd that is num 3 506178825Sdfr and larger 507178825Sdfr 508178825Sdfr * simple_exec.c (pipe_execv): use closefrom 509178825Sdfr 510178825Sdfr * add closefrom 511178825Sdfr 512233294Sstas2005-04-12 Love H��rnquist ��strand <lha@it.su.se> 513178825Sdfr 514178825Sdfr * add ROKEN_LIB_FUNCTION to all exported functions 515178825Sdfr 516233294Sstas2005-04-10 Love H��rnquist ��strand <lha@it.su.se> 517178825Sdfr 518178825Sdfr * resolve-test.c: print DS 519178825Sdfr 520233294Sstas2005-04-07 Love H��rnquist ��strand <lha@it.su.se> 521178825Sdfr 522178825Sdfr * parse_time-test.c: remove unused variable 523178825Sdfr 524233294Sstas2005-04-04 Love H��rnquist ��strand <lha@it.su.se> 525178825Sdfr 526178825Sdfr * strpftime-test.c: print size_t by casting to unsigned long 527178825Sdfr 528178825Sdfr * base64-test.c: print size_t by casting to unsigned long 529178825Sdfr 530178825Sdfr * hex-test.c: print size_t by casting to unsigned long 531178825Sdfr 532178825Sdfr * resolve-test.c: print size_t by casting to unsigned long 533178825Sdfr 534233294Sstas2005-04-01 Love H��rnquist ��strand <lha@it.su.se> 535178825Sdfr 536178825Sdfr * snprintf-test.c (try): reset va_list argument between reuse, 537178825Sdfr from Peter Kruty <xkruty@fi.muni.cz> 538178825Sdfr 539233294Sstas2005-03-30 Love H��rnquist ��strand <lha@it.su.se> 540178825Sdfr 541178825Sdfr * roken_gethostby.c (roken_gethostby): s/sin/addr/ to avoid 542178825Sdfr shadowing 543178825Sdfr 544178825Sdfr * resolve.c (dns_lookup_int): s/stat/state/ to avoid shadowing 545178825Sdfr 546178825Sdfr * parse_units.c: avoid shadowing div 547178825Sdfr 548233294Sstas2005-03-26 Love H��rnquist ��strand <lha@it.su.se> 549178825Sdfr 550178825Sdfr * snprintf.c: use defined(TEST_SNPRINTF) like on all other places 551178825Sdfr in the same file 552178825Sdfr 553233294Sstas2005-03-21 Love H��rnquist ��strand <lha@it.su.se> 554178825Sdfr 555178825Sdfr * hex.c: check for overflows 556178825Sdfr 557233294Sstas2005-03-18 Love H��rnquist ��strand <lha@it.su.se> 558178825Sdfr 559178825Sdfr * vis.c: use RCSID instead of __RCSID 560178825Sdfr 561233294Sstas2005-03-06 Love H��rnquist ��strand <lha@it.su.se> 562178825Sdfr 563178825Sdfr * Makefile.am: check_PROGRAMS += hex-test 564178825Sdfr 565178825Sdfr * hex-test.c: hex encoding/decoding test 566178825Sdfr 567178825Sdfr * hex.c: fix decodeing, it processed to much data and thus 568178825Sdfr returned the wrong length 569178825Sdfr 570233294Sstas2005-03-04 Love H��rnquist ��strand <lha@it.su.se> 571178825Sdfr 572178825Sdfr * Makefile.am: add hex.[ch] 573178825Sdfr 574178825Sdfr * hex.c: add hex encoder/decoder 575178825Sdfr 576233294Sstas2005-03-02 Love H��rnquist ��strand <lha@it.su.se> 577178825Sdfr 578178825Sdfr * daemon.c fnmatch.c fnmatch.hin getcap.c getopt.c getusershell.c 579178825Sdfr glob.c glob.hin iruserok.c unvis.c vis.hin: 580178825Sdfr 581178825Sdfr In 1997, the University of California, Berkeley issued a statement 582178825Sdfr retroactively relicensing all code held under their copyright from 583178825Sdfr a 4-clause 'traditional' BSD license to a new 3-clause 'revised' 584178825Sdfr BSD license, which removed the advertising clause. 585178825Sdfr 586178825Sdfr From NetBSD, via Joel Baker, and Alistair G. Crooks 587178825Sdfr 588178825Sdfr * getaddrinfo-test.c: remove stray ( in output 589178825Sdfr 590178825Sdfr * vis.c: Update new revision from NetBSD (copyright update) 591178825Sdfr 592233294Sstas2005-02-24 Love H��rnquist ��strand <lha@it.su.se> 593178825Sdfr 594178825Sdfr * Makefile.am: bump version to 17:0:1 595178825Sdfr 596178825Sdfr2005-01-19 Dave Love <d.love@dl.ac.uk> 597178825Sdfr 598178825Sdfr * getusershell.c: Include ctype.h, cast argument to isspace to 599178825Sdfr unsigned char. 600178825Sdfr 601233294Sstas2004-10-31 Love H��rnquist ��strand <lha@it.su.se> 602178825Sdfr 603178825Sdfr * parse_time.3, parse_units.c: Change the behavior of the 604178825Sdfr parse_unit code to return the number of bytes needed to print the 605178825Sdfr whole string (minus the trailing '\0'), just like snprintf. Idea 606178825Sdfr from bugreport from Gabriel Kihlman <gk@stacken.kth.se>. 607178825Sdfr 608178825Sdfr * parse_time-test.c Makefile.am test-mem.c test-mem.h: test parse_time 609178825Sdfr 610233294Sstas2004-10-16 Love H��rnquist ��strand <lha@it.su.se> 611178825Sdfr 612178825Sdfr * resolve.c: put dns_type_to_string and dns_string_to_type in the 613178825Sdfr abi 614178825Sdfr 615178825Sdfr * resolve.c: add ds_record 616178825Sdfr 617178825Sdfr * resolve.h: add ds_record 618178825Sdfr 619233294Sstas2004-10-06 Love H��rnquist ��strand <lha@it.su.se> 620178825Sdfr 621178825Sdfr * ndbm_wrap.c: undefine open so this works on solaris with large 622178825Sdfr file support From netbsd's pkgsrc via Gavan Fantom 623178825Sdfr 624233294Sstas2004-09-13 Love H��rnquist ��strand <lha@it.su.se> 625178825Sdfr 626178825Sdfr * resolve-test.c: add --version/--help 627178825Sdfr 628233294Sstas2004-09-12 Love H��rnquist ��strand <lha@it.su.se> 629178825Sdfr 630178825Sdfr * Makefile.am: make resolve-test a noinst program 631178825Sdfr 632233294Sstas2004-09-11 Love H��rnquist ��strand <lha@it.su.se> 633178825Sdfr 634178825Sdfr * resolve-test.c: test program for libroken resolve from resolve.c 635178825Sdfr 636178825Sdfr * Makefile.am: add resolve-test 637178825Sdfr 638178825Sdfr * resolve.h: add constant for max DNS protocol packet size 639178825Sdfr 640178825Sdfr * resolve.c (dns_lookup_int): grow the answer buffer to the size 641178825Sdfr the server send to us if the answer buffer was too small (limited 642178825Sdfr to the dns protocol max packet size) 643178825Sdfr 644178825Sdfr2004-08-26 Johan Danielsson <joda@pdc.kth.se> 645178825Sdfr 646178825Sdfr * err.hin: no need to declare __progname here 647178825Sdfr 648178825Sdfr * Makefile.am: always clean generated headers 649178825Sdfr 650233294Sstas2004-06-26 Love H��rnquist ��strand <lha@it.su.se> 651178825Sdfr 652178825Sdfr * rtbl.3: use .In for header, remove trailing space 653178825Sdfr 654178825Sdfr2004-06-23 Johan Danielsson <joda@pdc.kth.se> 655178825Sdfr 656178825Sdfr * rtbl.h: add protos and macros 657178825Sdfr 658178825Sdfr * rtbl.c: implement a bunch of stuff: 659178825Sdfr - column separator (instead of global column prefix) 660178825Sdfr - per column suffix 661178825Sdfr - indexing columns by id-number instead of column header 662178825Sdfr - optional header supression (via settable flags) 663178825Sdfr - ability to end a row 664178825Sdfr - don't extend last column to full width 665178825Sdfr 666233294Sstas2004-06-20 Love H��rnquist ��strand <lha@it.su.se> 667178825Sdfr 668178825Sdfr * resolve.[ch]: add and use and bind9 version of rr type 669178825Sdfr (rk_ns_t_XXX) instead of the old bind4 version (T_XXX) 670178825Sdfr 671233294Sstas2004-05-25 Love H��rnquist ��strand <lha@it.su.se> 672178825Sdfr 673178825Sdfr * resolve.c (stot): add AAAA 674178825Sdfr 675233294Sstas2004-02-17 Love H��rnquist ��strand <lha@it.su.se> 676178825Sdfr 677178825Sdfr * getarg.c (add_string): catch error from realloc 678178825Sdfr 679233294Sstas2004-02-12 Love H��rnquist ��strand <lha@it.su.se> 680178825Sdfr 681178825Sdfr * roken-common.h: add simple_execve_timed 682178825Sdfr 683178825Sdfr * roken-common.h: add timed simple_exec 684178825Sdfr 685178825Sdfr * simple_exec.c: add timed simple_exec 686178825Sdfr 687233294Sstas2004-01-05 Love H��rnquist ��strand <lha@it.su.se> 688178825Sdfr 689178825Sdfr * gai_strerror.c: correct ifdef for EAI_ADDRFAMILY 690178825Sdfr 691233294Sstas2003-12-14 Love H��rnquist ��strand <lha@it.su.se> 692178825Sdfr 693178825Sdfr * resolve.c: parse dns header, add support for SSHFP 694178825Sdfr 695178825Sdfr * resolve.h: add cpp rewrite for sshfp_record 696178825Sdfr 697178825Sdfr * resolve.h: add SSHFP, clean up the the dns_header 698178825Sdfr 699233294Sstas2003-12-14 Love H��rnquist ��strand <lha@it.su.se> 700178825Sdfr 701178825Sdfr * resolve.h: remove HEADER (only used for crays) 702178825Sdfr 703178825Sdfr * resolve.c: number-of fields no longer stored in network order 704178825Sdfr 705233294Sstas2003-12-13 Love H��rnquist ��strand <lha@it.su.se> 706178825Sdfr 707178825Sdfr * resolve.c: remove depency on c99 types in resolv.h 708178825Sdfr 709178825Sdfr * resolve.h: remove depency on c99 types 710178825Sdfr 711233294Sstas2003-12-06 Love H��rnquist ��strand <lha@it.su.se> 712178825Sdfr 713178825Sdfr * resolv.h: add more T_ types and inline the dns headers, all this 714178825Sdfr for bind9 resolvers 715178825Sdfr 716233294Sstas2003-12-02 Love H��rnquist ��strand <lha@it.su.se> 717178825Sdfr 718178825Sdfr * gai_strerror.c: EAI_ADDRFAMILY and EAI_NODATA is deprecated 719178825Sdfr 720178825Sdfr * roken-common.h: use EAI_NONAME instead of EAI_ADDRFAMILY to 721178825Sdfr check for if we need EAI_ macros 722178825Sdfr 723233294Sstas2003-10-04 Love H��rnquist ��strand <lha@it.su.se> 724178825Sdfr 725178825Sdfr * strptime.c: let t and n match zero or more whitespaces 726178825Sdfr 727233294Sstas2003-08-29 Love H��rnquist ��strand <lha@it.su.se> 728178825Sdfr 729178825Sdfr * ndbm_wrap.c: patch for working with DB4 on heimdal-discuss 730178825Sdfr From: Luke Howard <lukeh@PADL.COM> 731178825Sdfr 732178825Sdfr2003-08-27 Johan Danielsson <joda@pdc.kth.se> 733178825Sdfr 734178825Sdfr * Makefile.am: don't include discovered files in EXTRA_SOURCES; 735178825Sdfr don't depend on all header files, just the built ones 736178825Sdfr 737178825Sdfr2003-08-15 Johan Danielsson <joda@pdc.kth.se> 738178825Sdfr 739178825Sdfr * emalloc.3: manpage 740178825Sdfr 741178825Sdfr2003-07-11 Love <lha@stacken.kth.se> 742178825Sdfr 743178825Sdfr * resolve.c: AIX have broken res_nsearch() in 5.1 (5.0 also ?) so 744178825Sdfr just don't use res_nsearch on AIX 745178825Sdfr 746178825Sdfr2003-06-29 Johan Danielsson <joda@pdc.kth.se> 747178825Sdfr 748178825Sdfr * snprintf.c: * don't ever print sign for unsigned conversions * 749178825Sdfr don't break when right justifying a number past the end of the 750178825Sdfr buffer * handle zero precision and the value zero more correctly 751178825Sdfr 752178825Sdfr2003-06-14 Love <lha@stacken.kth.se> 753178825Sdfr 754178825Sdfr * glob.hin: prefix glob symbols with rk_ 755178825Sdfr 756120945Snectar2003-04-22 Love <lha@stacken.kth.se> 757178825Sdfr 758178825Sdfr * resolve.c: copy NUL too, from janj@wenf.org via openbsd 759127808Snectar 760120945Snectar2003-04-16 Love <lha@stacken.kth.se> 761120945Snectar 762120945Snectar * parse_units.h: remove typedef for units to avoid problems with 763120945Snectar shadowing 764120945Snectar 765120945Snectar * resolve.c: use strlcpy, from openbsd 766120945Snectar 767120945Snectar * getcap.c: use strlcpy, from openbsd 768120945Snectar 769120945Snectar * getarg.3: Change .Fd #include <header.h> to .In header.h 770120945Snectar from Thomas Klausner <wiz@netbsd.org> 771120945Snectar 772120945Snectar2003-04-15 Love <lha@stacken.kth.se> 773120945Snectar 774120945Snectar * socket.c (socket_set_tos): if setsockopt failed with EINVAL 775120945Snectar failed, just ignore it, sock was probably a just a non AF_INET 776120945Snectar socket 777120945Snectar 778120945Snectar2003-04-14 Love <lha@stacken.kth.se> 779120945Snectar 780120945Snectar * strncasecmp.c: cast argument to toupper to unsigned char, from 781120945Snectar Christian Biere <christianbiere@gmx.de> via NetBSD 782120945Snectar 783120945Snectar * strlwr.c: cast argument to tolower to unsigned char, from 784120945Snectar Christian Biere <christianbiere@gmx.de> via NetBSD 785120945Snectar 786120945Snectar * strcasecmp.c: cast argument to toupper to unsigned char, from 787120945Snectar Christian Biere <christianbiere@gmx.de> via NetBSD 788120945Snectar 789120945Snectar2003-03-19 Love <lha@stacken.kth.se> 790120945Snectar 791120945Snectar * getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl> 792120945Snectar 793120945Snectar2003-03-07 Love <lha@stacken.kth.se> 794120945Snectar 795120945Snectar * parse_bytes.c: use struct units instead of units 796120945Snectar 797120945Snectar * parse_time.c: use struct units instead of units 798120945Snectar 799120945Snectar2003-03-04 Love <lha@stacken.kth.se> 800120945Snectar 801120945Snectar * roken.awk: use full prototype for main 802120945Snectar 803120945Snectar2002-10-15 Johan Danielsson <joda@pdc.kth.se> 804120945Snectar 805120945Snectar * resolve.c: check length of txt records 806120945Snectar 807103423Snectar2002-09-10 Johan Danielsson <joda@pdc.kth.se> 808103423Snectar 809103423Snectar * roken.awk: include config.h before stdio.h (breaks with 810103423Snectar _FILE_OFFSET_BITS on solaris otherwise) 811103423Snectar 812103423Snectar2002-09-09 Johan Danielsson <joda@pdc.kth.se> 813103423Snectar 814103423Snectar * resolve.c: fix res_nsearch call, but don't use it for now, AIX5 815103423Snectar has a broken version that trashes memory 816103423Snectar 817103423Snectar * roken-common.h: fix typo in previous 818103423Snectar 819103423Snectar * roken-common.h: change IRIX == 4 to IRIX4 820103423Snectar 821103423Snectar2002-09-04 Assar Westerlund <assar@kth.se> 822103423Snectar 823103423Snectar * getifaddrs.c: remove some warnings from the linux-portion 824103423Snectar 825103423Snectar * getnameinfo_verified.c (getnameinfo_verified): handle the case 826103423Snectar of forward but no backward DNS information, and also describe the 827103423Snectar desired behaviour. from Love <lha@stacken.kth.se> 828103423Snectar 829103423Snectar2002-09-04 Johan Danielsson <joda@pdc.kth.se> 830103423Snectar 831103423Snectar * rtbl.c (rtbl_destroy): free whole table 832103423Snectar 833103423Snectar * resolve.c: use res_nsearch if we have it (from Larry Greenfield) 834103423Snectar 835103423Snectar2002-09-03 Assar Westerlund <assar@kth.se> 836103423Snectar 837103423Snectar * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki 838103423Snectar YOSHIFUJI of the Usagi project 839103423Snectar 840103423Snectar * parse_reply-test.c: make this build and return 77 if there is no 841103423Snectar mmap 842103423Snectar 843103423Snectar * Makefile.am (parse_reply-test): add 844103423Snectar * parse_reply-test.c: add a test case for parse_reply reading past 845103423Snectar the given buffer 846103423Snectar * resolve.c (parse_reply): update the arguments to more reasonable 847103423Snectar types. allow parse_reply-test to call it 848103423Snectar 849102644Snectar2002-08-28 Johan Danielsson <joda@pdc.kth.se> 850102644Snectar 851102644Snectar * resolve.c (dns_srv_order): do alignment tricks with the random() 852102644Snectar state (from NetBSD) 853102644Snectar 854102644Snectar2002-08-27 Assar Westerlund <assar@kth.se> 855102644Snectar 856102644Snectar * resolve.c (parse_reply): verify the lengths (both external and 857102644Snectar internal) are consistent and not too long 858102644Snectar (dns_lookup_int): be conservative in the length sent in to to 859102644Snectar parse_reply 860102644Snectar 861102644Snectar2002-08-26 Assar Westerlund <assar@kth.se> 862102644Snectar 863102644Snectar * roken.h.in: add prototypes for str, unvis functions 864102644Snectar * resolve.h: add fallback definition for T_AAAA 865102644Snectar 866102644Snectar2002-08-22 Johan Danielsson <joda@pdc.kth.se> 867102644Snectar 868102644Snectar * roken.h.in: we may need a prototype for strndup 869102644Snectar 870102644Snectar2002-08-20 Johan Danielsson <joda@pdc.kth.se> 871102644Snectar 872102644Snectar * roken.h.in: typedef ssize_t here 873102644Snectar 874102644Snectar * getarg.c: don't put Ns before comma 875102644Snectar 876102644Snectar * resolve.c: _res might not be available 877102644Snectar 878102644Snectar * localtime_r.c: include stdio.h and roken.h 879102644Snectar 880102644Snectar * strftime.c: only use altzone if we have it 881102644Snectar 882102644Snectar * roken-common.h: AI_NUMERICHOST needs special handling 883102644Snectar 884102644Snectar * strlcat.c: add some consistency checks 885102644Snectar 886102644Snectar * strlcpy.c: make the logic simpler, and handle dst_sz == 0 887102644Snectar 888102644Snectar2002-08-19 Johan Danielsson <joda@pdc.kth.se> 889102644Snectar 890102644Snectar * resolve.h: prefix these functions to avoid conflicts with other 891102644Snectar packages 892102644Snectar 893102644Snectar2002-08-14 Johan Danielsson <joda@pdc.kth.se> 894102644Snectar 895102644Snectar * strsep_copy.c: don't write to buf if len == 0 896102644Snectar 897102644Snectar2002-05-31 Assar Westerlund <assar@pdc.kth.se> 898102644Snectar 899102644Snectar * Makefile.am: *_LDADD: add LDADD, so that libroken is used 900102644Snectar 901102644Snectar2002-05-17 Johan Danielsson <joda@pdc.kth.se> 902102644Snectar 903102644Snectar * xdbm.h: remove old dbm part 904102644Snectar 905102644Snectar2002-04-30 Johan Danielsson <joda@pdc.kth.se> 906102644Snectar 907102644Snectar * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries 908102644Snectar 909102644Snectar2002-04-18 Johan Danielsson <joda@pdc.kth.se> 910102644Snectar 911102644Snectar * roken.h.in: move mini_inetd protos to after addrinfo definition 912102644Snectar 913102644Snectar * snprintf.c (append_number): make rep const 914102644Snectar 915102644Snectar * getarg.h: rename optind and optarg to avoid some gcc warnings 916102644Snectar 917102644Snectar * getarg.c: rename optind and optarg to avoid some gcc warnings 918102644Snectar 919102644Snectar2002-02-18 Johan Danielsson <joda@pdc.kth.se> 920102644Snectar 921102644Snectar * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead 922102644Snectar of a port number 923102644Snectar 92490926Snectar2001-11-30 Assar Westerlund <assar@sics.se> 92590926Snectar 92690926Snectar * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are 92790926Snectar used on Solaris 8 to retrieve addresses larger than `struct 92890926Snectar sockaddr'. From Magnus Ahltorp <ahltorp@nada.kth.se> (with some 92990926Snectar modifications by me) 93090926Snectar 93190926Snectar2001-10-27 Assar Westerlund <assar@sics.se> 93290926Snectar 93390926Snectar * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6 93490926Snectar 93590926Snectar2001-10-22 Assar Westerlund <assar@sics.se> 93690926Snectar 93790926Snectar * localtime_r.c: add 93890926Snectar 93990926Snectar2001-10-02 Johan Danielsson <joda@pdc.kth.se> 94090926Snectar 94190926Snectar * resolve.c (dns_srv_order): don't try to return a value 94290926Snectar 94390926Snectar2001-09-24 Johan Danielsson <joda@pdc.kth.se> 94490926Snectar 94590926Snectar * snprintf.c: va_{start,end} fixes; from Thomas Klausner 94690926Snectar 94790926Snectar2001-09-20 Assar Westerlund <assar@sics.se> 94890926Snectar 94990926Snectar * resolve.c (dns_srv_order): make sure of not reading after the 95090926Snectar array 95190926Snectar 95290926Snectar2001-09-17 Assar Westerlund <assar@sics.se> 95390926Snectar 95490926Snectar * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5 95590926Snectar * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to 95690926Snectar avoid collision with resolv.h on aix 95790926Snectar 95890926Snectar2001-09-04 Assar Westerlund <assar@sics.se> 95990926Snectar 96090926Snectar * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c, 96190926Snectar parse_units.h: use int instead of size_t as return values to be 96290926Snectar compatible with snprintf 96390926Snectar 96490926Snectar * strftime.c (strftime): check for return values from snprintf() < 96590926Snectar 0 96690926Snectar 96790926Snectar2001-09-03 Johan Danielsson <joda@pdc.kth.se> 96890926Snectar 96990926Snectar * socket.c: restrict is a keyword 97090926Snectar 97190926Snectar2001-09-03 Assar Westerlund <assar@sics.se> 97290926Snectar 97390926Snectar * write_pid.c: handle atexit or on_exit 97490926Snectar 97590926Snectar * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help 97690926Snectar solaris make 97790926Snectar 97890926Snectar2001-08-30 Johan Danielsson <joda@pdc.kth.se> 97990926Snectar 98090926Snectar * Makefile.am: use LDADD directly 98190926Snectar 98290926Snectar2001-08-28 Assar Westerlund <assar@sics.se> 98390926Snectar 98490926Snectar * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5 98590926Snectar 98690926Snectar * issuid.c (issuid): call issetugid if it exists 98790926Snectar 98890926Snectar2001-08-24 Assar Westerlund <assar@sics.se> 98990926Snectar 99090926Snectar * Makefile.am: make it play better with recent automake 99190926Snectar 99290926Snectar2001-08-21 Assar Westerlund <assar@sics.se> 99390926Snectar 99490926Snectar * glob.c: provide a fallback for ARG_MAX. from <tol@stacken.kth.se> 99590926Snectar 99690926Snectar * roken.h.in: remove all winsock.h 99790926Snectar for now, it does more harm than good under cygwin and if it should be 99890926Snectar used, the correct conditional needs to be found 99990926Snectar from <tol@stacken.kth.se> 100090926Snectar 100190926Snectar2001-08-17 Johan Danielsson <joda@pdc.kth.se> 100290926Snectar 100390926Snectar * getaddrinfo.c: include a definition of in6addr_loopback if it 100490926Snectar doesn't exist 100590926Snectar 100690926Snectar2001-08-10 Assar Westerlund <assar@sics.se> 100790926Snectar 100890926Snectar * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5 100990926Snectar 101090926Snectar2001-08-08 Assar Westerlund <assar@sics.se> 101190926Snectar 101290926Snectar * hstrerror.c: move h_errno to its own file (h_errno.c) 101390926Snectar 101490926Snectar2001-08-04 Assar Westerlund <assar@sics.se> 101590926Snectar 101690926Snectar * Makefile.am: add getarg.3 101790926Snectar 101890926Snectar2001-08-01 Assar Westerlund <assar@sics.se> 101990926Snectar 102090926Snectar * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC. be more 102190926Snectar resilient to bind/listen failing. 102290926Snectar 102390926Snectar2001-07-31 Assar Westerlund <assar@sics.se> 102490926Snectar 102590926Snectar * getifaddrs.c (getifaddrs2): remove unused variables 102690926Snectar 102790926Snectar2001-07-31 Assar Westerlund <assar@sics.se> 102890926Snectar 102990926Snectar * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5 103090926Snectar 103190926Snectar2001-07-23 Assar Westerlund <assar@sics.se> 103290926Snectar 103390926Snectar * getarg.c (arg_match_long): fix parsing of arg_counter optional 103490926Snectar argument 103590926Snectar 103690926Snectar2001-07-19 Assar Westerlund <assar@sics.se> 103790926Snectar 103890926Snectar * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5 103990926Snectar 104090926Snectar2001-07-17 Assar Westerlund <assar@sics.se> 104190926Snectar 104290926Snectar * snprintf-test.h: add a file with renaming of the snprintf 104390926Snectar functions, to be used for running the tests 104490926Snectar 104590926Snectar2001-07-11 Assar Westerlund <assar@sics.se> 104690926Snectar 104790926Snectar * snprintf-test.c: add more %X tests, and long and conditional 104890926Snectar long long tests 104990926Snectar * snprintf.c: add support for printing long long (if available) 105090926Snectar 105190926Snectar2001-07-10 Assar Westerlund <assar@sics.se> 105290926Snectar 105390926Snectar * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn 105490926Snectar * hostent_find_fqdn.c (hostent_find_fqdn): const-ize 105590926Snectar 105690926Snectar2001-07-09 Assar Westerlund <assar@sics.se> 105790926Snectar 105890926Snectar * roken-common.h (hostent_find_fqdn): add 105990926Snectar * hostent_find_fqdn.c: separate out hostent_find_fqdn 106090926Snectar 106190926Snectar * warnerr.c: move out getprogname, setprogname 106290926Snectar 106390926Snectar2001-07-03 Assar Westerlund <assar@sics.se> 106490926Snectar 106590926Snectar * warnerr.c (setprogname): add const cast 106690926Snectar * vis.c (SVIS): add some (unsigned char) before calling isfoo* 106790926Snectar * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4 106890926Snectar 106990926Snectar * Makefile.am: add snprintf_test 107090926Snectar * snprintf.c: rewrite so that it does not stop as soon as there 107190926Snectar are no more characters to print, we need to figure out how long 107290926Snectar the string would have to be. this also fixes snprintf(NULL, 0 107390926Snectar 107490926Snectar2001-06-21 Assar Westerlund <assar@sics.se> 107590926Snectar 107690926Snectar * simple_exec.c (pipe_execv): remove unused variable 107790926Snectar 107890926Snectar2001-06-20 Johan Danielsson <joda@pdc.kth.se> 107990926Snectar 108090926Snectar * getdtablesize.c: fix typo in obviously never used sysctl case 108190926Snectar 108290926Snectar * simple_exec.c: rename check_status to wait_for_process, and 108390926Snectar export it; function pipe_execv similar to popen, but with more 108490926Snectar control over input and output 108590926Snectar 108690926Snectar * roken-common.h: prototypes for wait_for_process and pipe_execv 108790926Snectar 108890926Snectar2001-06-17 Assar Westerlund <assar@sics.se> 108990926Snectar 109090926Snectar * roken-common.h: move emalloc et al to roken.h.in 109190926Snectar * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional 109290926Snectar * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not 109390926Snectar be set reliably 109490926Snectar * ecalloc.c: add for symmetry 109590926Snectar 109690926Snectar2001-06-09 Johan Danielsson <joda@pdc.kth.se> 109790926Snectar 109890926Snectar * resolve.c: dns_srv_order to order srv records 109990926Snectar 110090926Snectar2001-06-08 Johan Danielsson <joda@pdc.kth.se> 110190926Snectar 110290926Snectar * getarg.c: Grog tries to figure out if to use mdoc.old instead of 110390926Snectar mdoc by looking at some macros that were only present in the old 110490926Snectar version, and by looking at the number of .Oo's present. In 110590926Snectar mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if 110690926Snectar the number of .Oo's is bigger than the number of .Oc's, it figures 110790926Snectar it must be mdoc.old. This doesn't however account for called Oc's, 110890926Snectar and thus grog thinks that valid pages are mdoc.old when they 110990926Snectar infact are mdoc. So let's make sure that Oc's are not called by 111090926Snectar other macros. 111190926Snectar 111290926Snectar2001-05-29 Assar Westerlund <assar@sics.se> 111390926Snectar 111490926Snectar * base64-test.c (main): initialize numerr 111590926Snectar 111690926Snectar2001-05-28 Johan Danielsson <joda@pdc.kth.se> 111790926Snectar 111890926Snectar * base64.c: clean up the decode mess somewhat 111990926Snectar 112090926Snectar * base64-test.c: base64 tests 112190926Snectar 112290926Snectar2001-05-18 Johan Danielsson <joda@pdc.kth.se> 112390926Snectar 112490926Snectar * roken.h.in: just use standard C types with bswap* 112590926Snectar 112690926Snectar * bswap.c: just use standard C types 112790926Snectar 112878527Sassar2001-05-17 Assar Westerlund <assar@sics.se> 112978527Sassar 113090926Snectar * roken.h.in: include all the headers that AC_GROK_TYPES tries for 113190926Snectar finding u_int17_t et al 113290926Snectar 113378527Sassar * Makefile.am: bump version to 12:0:3 113478527Sassar * roken.h.in: re-add set_progname and get_progname for backwards 113578527Sassar compatability 113678527Sassar * warnerr.c: re-add set_progname and get_progname for backwards 113778527Sassar compatability 113878527Sassar 113978527Sassar2001-05-12 Assar Westerlund <assar@sics.se> 114078527Sassar 114178527Sassar * glob.c: add limits.h, from <shadow@dementia.org> 114278527Sassar 114378527Sassar2001-05-11 Johan Danielsson <joda@pdc.kth.se> 114478527Sassar 114578527Sassar * Makefile.am: bswap.c 114678527Sassar 114778527Sassar * bswap.c: bswap{16,32} 114878527Sassar 114978527Sassar2001-05-08 Assar Westerlund <assar@sics.se> 115078527Sassar 115178527Sassar * freeaddrinfo.c (freeaddrinfo): also free every `struct 115278527Sassar addrinfo'. from <tmartin@mirapoint.com> 115378527Sassar 115478527Sassar2001-04-25 Assar Westerlund <assar@sics.se> 115578527Sassar 115678527Sassar * getarg.h (free_getarg_strings): add prototype 115778527Sassar * getarg.c (free_getarg_strings): add function 115878527Sassar 115978527Sassar2001-04-21 Johan Danielsson <joda@pdc.kth.se> 116078527Sassar 116178527Sassar * getarg.c: pack short flag options togther, to shorten the usage 116278527Sassar string 116378527Sassar 116478527Sassar2001-04-17 Johan Danielsson <joda@pdc.kth.se> 116578527Sassar 116678527Sassar * getifaddrs.c (getifaddrs2): close socket when done 116778527Sassar 116878527Sassar2001-03-26 Johan Danielsson <joda@pdc.kth.se> 116978527Sassar 117078527Sassar * roken.awk: END has to be last with Sun's awk 117178527Sassar 117278527Sassar2001-03-26 Assar Westerlund <assar@sics.se> 117378527Sassar 117478527Sassar * parse_units.c (parse_something): do not check the return value 117578527Sassar from strtod, it might return != 0.0 when the string has no digits. 117678527Sassar just testing if it consumed any characters is enough and more 117778527Sassar resilient 117878527Sassar * glob.c: add GLOB_LIMIT (from NetBSD) 117978527Sassar 118078527Sassar2001-02-20 Assar Westerlund <assar@sics.se> 118178527Sassar 118278527Sassar * warnerr.c (warnerr): do not use __progname 118378527Sassar * roken.h.in (setprogname, getprogname): add prototypes 118478527Sassar * warnerr.c (setprogname, getprogname): rename to. change all 118578527Sassar callers 118678527Sassar 118778527Sassar2001-02-12 Assar Westerlund <assar@sics.se> 118878527Sassar 118978527Sassar * getnameinfo_verified.c (getnameinfo_verified): do the first 119078527Sassar getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3 119178527Sassar reports on not finding the service 119278527Sassar (ENI_NOSERVNAME). reported by Ake Sandgren <ake@cs.umu.se> 119378527Sassar 119478527Sassar2001-02-09 Assar Westerlund <assar@sics.se> 119578527Sassar 119678527Sassar * getnameinfo.c (doit): call inet_ntop with correct af, noted by 119778527Sassar Ake Sandgren <ake@cs.umu.se> 119878527Sassar 119978527Sassar2001-02-08 Assar Westerlund <assar@sics.se> 120078527Sassar 120178527Sassar * getnameinfo_verified.c (getnameinfo_verified): always capture 120278527Sassar the service from getnameinfo so it can be sent back to getaddrinfo 120378527Sassar and set socktype to avoid getaddrinfo not returning any addresses 120478527Sassar 120572445Sassar2001-01-30 Assar Westerlund <assar@sics.se> 120672445Sassar 120772445Sassar * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2 120872445Sassar * print_version.c (print_version): add 2001 120972445Sassar 121072445Sassar2001-01-29 Assar Westerlund <assar@sics.se> 121172445Sassar 121272445Sassar * getifaddrs.c (getifaddrs2): copy the entire sockaddr 121372445Sassar 121472445Sassar * roken-common.h (_PATH_BSHELL): add 121572445Sassar 121672445Sassar2001-01-27 Assar Westerlund <assar@sics.se> 121772445Sassar 121872445Sassar * roken.h.in: move __attribute__ to roken-common.h 121972445Sassar 122072445Sassar * esetenv.c (esetenv): cast to handle a setenv that takes a `char 122172445Sassar * which is the case on Unicos 122272445Sassar 122372445Sassar2000-12-29 Assar Westerlund <assar@sics.se> 122472445Sassar 122572445Sassar * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h -> 122672445Sassar ifaddrs.hin 122772445Sassar 122872445Sassar2000-12-25 Assar Westerlund <assar@sics.se> 122972445Sassar 123072445Sassar * getarg.c (print_arg): add a case for arg_strings 123172445Sassar 123272445Sassar2000-12-15 Johan Danielsson <joda@pdc.kth.se> 123372445Sassar 123472445Sassar * snprintf.c (append_string): handle NULL strings by printing 123572445Sassar `(null)' 123672445Sassar 123772445Sassar2000-12-12 Johan Danielsson <joda@pdc.kth.se> 123872445Sassar 123972445Sassar * roken-common.h: add c++ externs 124072445Sassar 124172445Sassar * roken.h.in: fix last commit differently 124272445Sassar 124372445Sassar2000-12-11 Assar Westerlund <assar@sics.se> 124472445Sassar 124572445Sassar * err.hin (warnerr): remove, it's not part of the err.h interface 124672445Sassar * roken-common.h (warnerr): moved here from err.hin 124772445Sassar * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2 124872445Sassar * vis.c: s/u_int32_t/unsigned/ for systems that do not define 124972445Sassar u_int32_t 125072445Sassar 125172445Sassar2000-12-10 Johan Danielsson <joda@pdc.kth.se> 125272445Sassar 125372445Sassar * Makefile.am: rename some headers to avoid conflict with possible 125472445Sassar system headers 125572445Sassar 125672445Sassar2000-12-06 Johan Danielsson <joda@pdc.kth.se> 125772445Sassar 125872445Sassar * vis.c: make sure _DIAGASSERT is defined 125972445Sassar 126072445Sassar * unvis.c: make sure _DIAGASSERT is defined 126172445Sassar 126272445Sassar * Makefile.am: unvis.c, and vis.h 126372445Sassar 126472445Sassar * vis.h: vis.h from NetBSD 126572445Sassar 126672445Sassar * unvis.c: unvis from NetBSD 126772445Sassar 126872445Sassar * roken.h.in: cleanup previous 126972445Sassar 127072445Sassar * roken-common.h: make `extern "C"' into a macro, this make emacs 127172445Sassar much happier 127272445Sassar 127372445Sassar * vis.c: strvis implementation from NetBSD 127472445Sassar 127572445Sassar * roken.h.in: add prototypes for strvis* 127672445Sassar 127772445Sassar2000-12-05 Johan Danielsson <joda@pdc.kth.se> 127872445Sassar 127972445Sassar * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr 128072445Sassar macro 128172445Sassar 128272445Sassar * getifaddrs.c: free some memory 128372445Sassar 128472445Sassar2000-12-04 Johan Danielsson <joda@pdc.kth.se> 128572445Sassar 128672445Sassar * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc 128772445Sassar 128872445Sassar * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc 128972445Sassar 129072445Sassar2000-10-08 Assar Westerlund <assar@sics.se> 129172445Sassar 129272445Sassar * mini_inetd.c (mini_inetd): check that fds are not too large to 129372445Sassar select on 129472445Sassar 129572445Sassar2000-09-24 Assar Westerlund <assar@sics.se> 129672445Sassar 129772445Sassar * esetenv.c: new file/function 129872445Sassar 129972445Sassar2000-08-16 Assar Westerlund <assar@sics.se> 130072445Sassar 130172445Sassar * Makefile.am: bump version to 10:0:1 130272445Sassar 130372445Sassar2000-08-10 Assar Westerlund <assar@sics.se> 130472445Sassar 130572445Sassar * mini_inetd.c (accept_it): type-correctness on parameters to 130672445Sassar accept 130772445Sassar 130872445Sassar2000-08-07 Johan Danielsson <joda@pdc.kth.se> 130972445Sassar 131072445Sassar * roken.h.in: add proto compat for getsockname 131172445Sassar 131272445Sassar2000-08-04 Johan Danielsson <joda@pdc.kth.se> 131372445Sassar 131472445Sassar * write_pid.c: conditionalise pidfile 131572445Sassar 131672445Sassar * write_pid.c: add pidfile function 131772445Sassar 131872445Sassar2000-07-25 Johan Danielsson <joda@pdc.kth.se> 131972445Sassar 132072445Sassar * Makefile.am: bump version to 9:0:0 132172445Sassar 132272445Sassar * warnerr.c: add get_progname 132372445Sassar 132472445Sassar2000-07-24 Assar Westerlund <assar@sics.se> 132572445Sassar 132672445Sassar * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try 132772445Sassar reverse resolving to see if there's a fuller name there. don't 132872445Sassar use just-freed memory 132972445Sassar 133072445Sassar2000-07-22 Assar Westerlund <assar@sics.se> 133172445Sassar 133272445Sassar * xdbm.h: do not define ndbm functions in terms of dbm functions 133372445Sassar if we're using db 133472445Sassar 133572445Sassar2000-07-20 Assar Westerlund <assar@sics.se> 133672445Sassar 133772445Sassar * rtbl.c (rtbl_format): avoid printing an empty row at the end 133872445Sassar 133972445Sassar2000-07-19 Johan Danielsson <joda@pdc.kth.se> 134072445Sassar 134172445Sassar * Makefile.am: make this compatible with `make dist' 134272445Sassar 134372445Sassar * Makefile.am: revert version number for now 134472445Sassar 134572445Sassar2000-07-18 Johan Danielsson <joda@pdc.kth.se> 134672445Sassar 134772445Sassar * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL 134872445Sassar 134972445Sassar2000-07-17 Johan Danielsson <joda@pdc.kth.se> 135072445Sassar 135172445Sassar * Makefile.am: set ACLOCAL_AMFLAGS 135272445Sassar 135372445Sassar2000-07-15 Johan Danielsson <joda@pdc.kth.se> 135472445Sassar 135572445Sassar * getaddrinfo_hostspec.c: add new function that takes socktype 135672445Sassar hint as parameter 135772445Sassar 135872445Sassar2000-07-09 Assar Westerlund <assar@sics.se> 135972445Sassar 136072445Sassar * rtbl.c (rtbl_add_column): initialize `col' completely 136172445Sassar 136272445Sassar * configure.in: bring headers and functions more in-line with 136372445Sassar what's actually being used 136472445Sassar 136572445Sassar2000-07-08 Johan Danielsson <joda@pdc.kth.se> 136672445Sassar 136772445Sassar * roken.h.in: declare ether_addr and sockaddr_dl for AIX 136872445Sassar 136972445Sassar * rtbl.{c,h}: simple table functions 137072445Sassar 137172445Sassar2000-07-08 Assar Westerlund <assar@sics.se> 137272445Sassar 137372445Sassar * configure.in (AM_INIT_AUTOMAKE): bump version to 10 137472445Sassar * configure.in (AC_BROKEN): add strsep_copy 137572445Sassar * Makefile.am (ACLOCAL): fetch files from cf 137672445Sassar 137772445Sassar2000-07-01 Assar Westerlund <assar@sics.se> 137872445Sassar 137972445Sassar * roken-common.h (pid_file_*): fix protos 138072445Sassar 138172445Sassar2000-06-28 Assar Westerlund <assar@sics.se> 138272445Sassar 138372445Sassar * getnameinfo_verified.c (getnameinfo_verified): free memory 138472445Sassar returned from getaddrinfo 138572445Sassar 138672445Sassar2000-06-27 Assar Westerlund <assar@sics.se> 138772445Sassar 138872445Sassar * resolve.c: export string_to_type and type_to_string 138972445Sassar * resolve.c: add key,sig,cert update test-program 139072445Sassar * resolve.h: add key,sig,cert 139172445Sassar 139272445Sassar2000-06-21 Assar Westerlund <assar@sics.se> 139372445Sassar 139472445Sassar * resolve.h: add T_SIG, T_KEY 139572445Sassar * resolve.c: add SIG and KEY 139672445Sassar * Makefile.am (libroken_la_SOURCES): add environment.c and 139772445Sassar write_pid.c 139872445Sassar 139972445Sassar * write_pid.c: new file for writing a pid file. 140072445Sassar 140172445Sassar * environment.c: new file with functionality for reading 140272445Sassar /etc/environment. From Ake Sandgren <ake@cs.umu.se> 140372445Sassar 140472445Sassar2000-06-12 Johan Danielsson <joda@pdc.kth.se> 140572445Sassar 140672445Sassar * strsep_copy.c: strsep, but with const stringp so returns string 140772445Sassar in separate buffer 140872445Sassar 140972445Sassar2000-05-23 Assar Westerlund <assar@sics.se> 141072445Sassar 141172445Sassar * vsyslog.c (vsyslog): calculate length of new format string 141272445Sassar correctly 141372445Sassar 141472445Sassar2000-05-22 Johan Danielsson <joda@pdc.kth.se> 141572445Sassar 141672445Sassar * getusershell.c: implment the AIX version use 141772445Sassar /etc/security/login.cfg 141872445Sassar 141972445Sassar2000-05-21 Assar Westerlund <assar@sics.se> 142072445Sassar 142172445Sassar * vsyslog.c (vsyslog): actually handle `%m' 142272445Sassar 142372445Sassar2000-05-15 Assar Westerlund <assar@sics.se> 142472445Sassar 142572445Sassar * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3 142672445Sassar 142772445Sassar * roken-common.h: moved __attribute__ to roken.h.in 142872445Sassar 142972445Sassar2000-04-14 Assar Westerlund <assar@sics.se> 143072445Sassar 143172445Sassar * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the 143272445Sassar correct length from `hostspec'. based on a patch from Love 143372445Sassar <lha@s3.kth.se> 143472445Sassar 143572445Sassar2000-04-09 Assar Westerlund <assar@sics.se> 143672445Sassar 143772445Sassar * xdbm.h: only include one of db.h and the dbm-series 143872445Sassar 143972445Sassar2000-04-05 Assar Westerlund <assar@sics.se> 144072445Sassar 144172445Sassar * resolve.c (_resolve_debug): explicitly set to zero. this moves 144272445Sassar the variable from bss to data and the dynamic linker on MacOS 144372445Sassar X/Darwin seems unhappy with stuff in the bss segment. 144472445Sassar 144572445Sassar2000-04-03 Assar Westerlund <assar@sics.se> 144672445Sassar 144772445Sassar * Makefile.am: set version to 8:0:3 144872445Sassar 144972445Sassar2000-03-11 Assar Westerlund <assar@sics.se> 145072445Sassar 145172445Sassar * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable 145272445Sassar expression that also works on Crays 145372445Sassar 145472445Sassar2000-03-09 Assar Westerlund <assar@sics.se> 145572445Sassar 145672445Sassar * getarg.c (arg_match_short): backup optind when there's a missing 145772445Sassar argument so that the error can point at the flag and not the 145872445Sassar non-existant argument 145972445Sassar 146072445Sassar2000-03-03 Assar Westerlund <assar@sics.se> 146172445Sassar 146272445Sassar * Makefile.in (SOURCES): add timeval.c 146372445Sassar * Makefile.am (libroken_la_SOURCES): add timeval.c 146472445Sassar * timeval.c: new file 146572445Sassar 146657422Smarkm2000-02-19 Assar Westerlund <assar@sics.se> 146757422Smarkm 146857422Smarkm * Makefile.am: set version to 7:1:2 146957422Smarkm 147057422Smarkm2000-02-16 Assar Westerlund <assar@sics.se> 147157422Smarkm 147257422Smarkm * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually 147357422Smarkm transmitted as ints 147457422Smarkm (according to the integer protomotion rules) in variable arguments 147557422Smarkm lists. Therefore, we should not call va_arg with short but rather 147657422Smarkm with int. See <http://www.debian.org/Bugs/db/57/57919.html> for 147757422Smarkm original bug report 147857422Smarkm 147957419Smarkm2000-02-13 Assar Westerlund <assar@sics.se> 148057419Smarkm 148157419Smarkm * Makefile.am: bump version to 7:0:2 148257419Smarkm 148357419Smarkm * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS 148457419Smarkm * getarg.c (mandoc_template): better man-stuff for negative 148557419Smarkm options 148657419Smarkm 148757416Smarkm2000-02-07 Assar Westerlund <assar@sics.se> 148857416Smarkm 148957416Smarkm * Makefile.am: set version to 6:0:1 149057416Smarkm 149157416Smarkm2000-02-06 Assar Westerlund <assar@sics.se> 149257416Smarkm 149357416Smarkm * xdbm.h: hopefully catch a few more declarations by including 149457416Smarkm <ndbm.h> even if <db.h> was found 149557416Smarkm 149657416Smarkm2000-01-26 Assar Westerlund <assar@sics.se> 149757416Smarkm 149857416Smarkm * mini_inetd.c (mini_inetd): separate number of allocated sockets 149957416Smarkm and number of actual ones 150057416Smarkm * mini_inetd.c (mini_inetd): count sockets properly. and fail if 150157416Smarkm we cannot bind any 150257416Smarkm * mini_inetd.c (mini_inetd): make failing to create a socket 150357416Smarkm non-fatal 150457416Smarkm 150557416Smarkm2000-01-09 Assar Westerlund <assar@sics.se> 150657416Smarkm 150757416Smarkm * Makefile.am(libroken_la_SOURCES): add strcollect.c 150857416Smarkm * Makefile.in: add strcollect.[co] 150957416Smarkm * simple_exec.c: use vstrcollect 151057416Smarkm * roken-common.h (_PATH_DEV): add 151157416Smarkm (strcollect, vstrcollect): add prototypes 151257416Smarkm * strcollect.c: new file. functions for collapsing an `va_list' 151357416Smarkm into an `char **' 151457416Smarkm 151555682Smarkm2000-01-06 Assar Westerlund <assar@sics.se> 151655682Smarkm 151755682Smarkm * Makefile.am: bump version to 5:0:0 151855682Smarkm 151955682Smarkm1999-12-30 Assar Westerlund <assar@sics.se> 152055682Smarkm 152155682Smarkm * Makefile.am (strpftime_test_SOURCES): correct source file name 152255682Smarkm 152355682Smarkm * roken.h.in (sockaddr_storage): change padding so that we have 152455682Smarkm one char[] of pad and then an unsigned long[] (for alignment and 152555682Smarkm padding). this works much better in practice. 152655682Smarkm 152755682Smarkm1999-12-22 Assar Westerlund <assar@sics.se> 152855682Smarkm 152955682Smarkm * roken.h.in (sockaddr_storage): drop leading underscore on 153055682Smarkm `public' fields. this was the consensus on the ipng mailing list 153155682Smarkm 153255682Smarkm1999-12-21 Assar Westerlund <assar@sics.se> 153355682Smarkm 153455682Smarkm * Makefile.am (strpftime-test): define sources to avoid having 153555682Smarkm '.o' 153655682Smarkm * Makefile.am (print_version.h): use $(EXEEXT) 153755682Smarkm * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin 153855682Smarkm et al 153955682Smarkm 154055682Smarkm1999-12-20 Assar Westerlund <assar@sics.se> 154155682Smarkm 154255682Smarkm * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0 154355682Smarkm 154455682Smarkm * getaddrinfo.c (get_nodes): use getipnodebyname instead of 154555682Smarkm gethostbyname(2) 154655682Smarkm 154755682Smarkm1999-12-16 Assar Westerlund <assar@sics.se> 154855682Smarkm 154955682Smarkm * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0 155055682Smarkm 155155682Smarkm * roken.h.in (struct sockaddr_storage): redefine with the example 155255682Smarkm code from rfc2553 155355682Smarkm 155455682Smarkm * getaddrinfo.c (get_null): set loopback with correct endianess 155555682Smarkm for v4. dunno about v6. 155655682Smarkm 155755682Smarkm1999-12-13 Assar Westerlund <assar@sics.se> 155855682Smarkm 155955682Smarkm * roken.h.in: add prototypes for str[pf]time 156055682Smarkm 156155682Smarkm * signal.c: macosx = rhapsody ~= nextstep also can't handle 156255682Smarkm various definitions of the same symbol. 156355682Smarkm 156455682Smarkm1999-12-12 Assar Westerlund <assar@sics.se> 156555682Smarkm 156655682Smarkm * Makefile.am: bump version to 4:1:0 156755682Smarkm 156855682Smarkm1999-12-06 Assar Westerlund <assar@sics.se> 156955682Smarkm 157055682Smarkm * Makefile.am: bump version to 4:0:0 157155682Smarkm 157255682Smarkm1999-12-05 Assar Westerlund <assar@sics.se> 157355682Smarkm 157455682Smarkm * Makefile.in: replace inaddr2str with getnameinfo_verified 157555682Smarkm 157655682Smarkm * roken-common.h (INADDR_LOOPBACK): add fallback definition 157755682Smarkm 157855682Smarkm * roken-common.h: move getnameinfo_verified to roken.h.in 157955682Smarkm * roken.h.in (inaddr2str): remove 158055682Smarkm * Makefile.am (libroken_la_SOURCES); removed inaddr2str 158155682Smarkm * roken-common.h (getnameinfo_verified): add prototype 158255682Smarkm * getnameinfo_verified.c: new file 158355682Smarkm 158455682Smarkm1999-12-04 Assar Westerlund <assar@sics.se> 158555682Smarkm 158655682Smarkm * roken-common.h: add constants for getaddrinfo, getnameinfo 158755682Smarkm * roken.h.in (socklen_t): make independent of sockaddr_storage 158855682Smarkm (AI_*, NI_*, EAI_*): move to roken-common.h 158955682Smarkm 159055682Smarkm1999-12-03 Assar Westerlund <assar@sics.se> 159155682Smarkm 159255682Smarkm * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo' 159355682Smarkm * getaddrinfo.c (const_v*): no sizeof(sizeof()) 159455682Smarkm * getaddrinfo.c (add_hostent): search for the canonical name among 159555682Smarkm all aliases 159655682Smarkm (getaddrinfo): handle AI_NUMERICHOST correctly 159755682Smarkm * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo, 159855682Smarkm getaddrinfo, getnameinfo, gai_strerror 159955682Smarkm (getaddrinfo_test): add 160055682Smarkm * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo, 160155682Smarkm getnameinfo, gai_strerror 160255682Smarkm (getaddrinfo_test): add 160355682Smarkm * roken.h.in: arpa/inet.h: include 160455682Smarkm (socklen_t): add 160555682Smarkm (struct addrinfo): add 160655682Smarkm (EAI_*): add 160755682Smarkm (NI_*): add 160855682Smarkm (AI_*): add 160955682Smarkm (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add 161055682Smarkm * getnameinfo.c: new file 161155682Smarkm * getaddrinfo-test.c: new file 161255682Smarkm * gai_strerror.c: new file 161355682Smarkm * getaddrinfo.c: new file 161455682Smarkm * freeaddrinfo.c: new file 161555682Smarkm 161655682Smarkm1999-11-25 Assar Westerlund <assar@sics.se> 161755682Smarkm 161855682Smarkm * getopt.c (getopt): return -1 instead of EOF. From 161955682Smarkm <art@stacken.kth.se> 162055682Smarkm 162155682Smarkm1999-11-13 Assar Westerlund <assar@sics.se> 162255682Smarkm 162355682Smarkm * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less 162455682Smarkm world 162555682Smarkm 162655682Smarkm * getcap.c: make sure to use db only if we have both the library 162755682Smarkm and the header file 162855682Smarkm 162955682Smarkm1999-11-12 Assar Westerlund <assar@sics.se> 163055682Smarkm 163155682Smarkm * getarg.h: add arg_counter 163255682Smarkm * getarg.c: add a new type of argument: `arg_counter' re-organize 163355682Smarkm the code somewhat 163455682Smarkm 163555682Smarkm * Makefile.am: add strptime and strpftime-test 163655682Smarkm 163755682Smarkm * snprintf.c (xyzprintf): try to do the right thing with an % at 163855682Smarkm the end of the format string 163955682Smarkm 164055682Smarkm * strptime.c (strptime): implement '%U', '%V', '%W' 164155682Smarkm * strftime.c (strftime): implement '%U', '%V', '%W', '%z' 164255682Smarkm 164355682Smarkm * strftime.c (strftime): correct %E and %O handling. do something 164455682Smarkm reasonable with "...%" 164555682Smarkm 164655682Smarkm * strftime.c: replace the BSD implementation by one of our own 164755682Smarkm coding 164855682Smarkm 164955682Smarkm * strptime.c : new file 165055682Smarkm * strpftime-test.c: new file 165155682Smarkm 165255682Smarkm1999-11-07 Assar Westerlund <assar@sics.se> 165355682Smarkm 165455682Smarkm * parse_bytes-test.c: new file 165555682Smarkm 165655682Smarkm * Makefile.am: add parse_bytes-test 165755682Smarkm 165855682Smarkm * parse_units.c (parse_something): try to handle the case of no 165955682Smarkm value specified a little bit better 166055682Smarkm 166155682Smarkm1999-11-04 Assar Westerlund <assar@sics.se> 166255682Smarkm 166355682Smarkm * Makefile.am: bump version to 3:2:0 166455682Smarkm 166555682Smarkm1999-10-30 Assar Westerlund <assar@sics.se> 166655682Smarkm 166755682Smarkm * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work 166855682Smarkm around a gcc-bug that manifests itself on Linux-PPC. From Tom 166955682Smarkm Rini <trini@kernel.crashing.org> 167055682Smarkm 167155682Smarkm1999-10-28 Assar Westerlund <assar@sics.se> 167255682Smarkm 167355682Smarkm * Makefile.am: bump version to 3:1:0 167455682Smarkm 167555682Smarkm * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid 167655682Smarkm having to have that definition. this is the easy way out instead 167755682Smarkm of getting the definition here where it's needed. flame me. 167855682Smarkm 167955682SmarkmFri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se> 168055682Smarkm 168155682Smarkm * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even 168255682Smarkm though it should), use getspnam(). 168355682Smarkm 168455682Smarkm1999-10-20 Assar Westerlund <assar@sics.se> 168555682Smarkm 168655682Smarkm * Makefile.am: set version to 3:0:0 168755682Smarkm 168855682Smarkm1999-10-18 Johan Danielsson <joda@pdc.kth.se> 168955682Smarkm 169055682Smarkm * getarg.3: document arg_collect 169155682Smarkm 169255682Smarkm * getarg.c: change the way arg_collect works; it's still quite 169355682Smarkm horrible though 169455682Smarkm 169555682Smarkm * getarg.h: change type of the collect function 169655682Smarkm 169755682Smarkm1999-10-17 Assar Westerlund <assar@sics.se> 169855682Smarkm 169955682Smarkm * xdbm.h: undo last commit 170055682Smarkm 170155682Smarkm * xdbm.h: reorder db includes 170255682Smarkm 170355682Smarkm1999-10-10 Assar Westerlund <assar@sics.se> 170455682Smarkm 170555682Smarkm * socket.c: const-ize and comment 170655682Smarkm 170755682Smarkm * net_write.c: const-ize 170855682Smarkm 170955682Smarkm * base64.c: const-ize 171055682Smarkm 171155682Smarkm1999-10-06 Assar Westerlund <assar@sics.se> 171255682Smarkm 171355682Smarkm * getarg.c (getarg): also set optind when returning error 171455682Smarkm 171555682Smarkm1999-09-26 Assar Westerlund <assar@sics.se> 171655682Smarkm 171755682Smarkm * Makefile.am: add parse_bytes.[ch] 171855682Smarkm 171955682Smarkm1999-09-24 Johan Danielsson <joda@pdc.kth.se> 172055682Smarkm 172155682Smarkm * getarg.3: getarg manpage 172255682Smarkm 172355682Smarkm * getarg.{c,h}: add a callback type to do more complicated processing 172455682Smarkm 172555682Smarkm * getarg.{c,h}: add floating point support 172655682Smarkm 172755682Smarkm1999-09-16 Assar Westerlund <assar@sics.se> 172855682Smarkm 172955682Smarkm * strlcat.c (strlcat): call strlcpy 173055682Smarkm 173155682Smarkm * strlcpy.c: update name and prototype 173255682Smarkm 173355682Smarkm * strlcat.c: update name and prototype 173455682Smarkm 173555682Smarkm * roken.h.in: rename strc{py,at}_truncate to strlc{py,at} 173655682Smarkm 173755682Smarkm * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at} 173855682Smarkm 173955682Smarkm * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at} 174055682Smarkm 174155682Smarkm * strcpy_truncate.c (strcpy_truncate): change return value to be 174255682Smarkm the length of `src' 174355682Smarkm 174455682Smarkm1999-08-16 Assar Westerlund <assar@sics.se> 174555682Smarkm 174655682Smarkm * getcap.c: try to make this work on systems with DB 174755682Smarkm 174855682Smarkm1999-08-16 Johan Danielsson <joda@pdc.kth.se> 174955682Smarkm 175055682Smarkm * getcap.c: protect from db-less systems 175155682Smarkm 175255682Smarkm1999-08-09 Johan Danielsson <joda@pdc.kth.se> 175355682Smarkm 175455682Smarkm * simple_exec.c: add simple_exec{ve,le} 175555682Smarkm 175655682Smarkm * getcap.c: getcap from NetBSD 175755682Smarkm 175855682Smarkm1999-08-06 Assar Westerlund <assar@sics.se> 175955682Smarkm 176055682Smarkm * roken.h.in (sockaddr_storage): cater for those that have 176155682Smarkm v6-support also 176255682Smarkm 176355682Smarkm1999-08-05 Assar Westerlund <assar@sics.se> 176455682Smarkm 176555682Smarkm * inet_ntop.c (inet_ntop_v4): remember to call ntohl 176655682Smarkm 176755682Smarkm1999-08-04 Assar Westerlund <assar@sics.se> 176855682Smarkm 176955682Smarkm * roken-common.h: add shutdown constants 177055682Smarkm 177155682Smarkm * mini_inetd.c (listen_v4, listen_v6): handle the case of the 177255682Smarkm protocol not being supported 177355682Smarkm 177455682Smarkm1999-08-01 Assar Westerlund <assar@sics.se> 177555682Smarkm 177655682Smarkm * mini_inetd.c (socket_set_reuseaddr): remove duplicate 177755682Smarkm 177855682Smarkm1999-07-29 Assar Westerlund <assar@sics.se> 177955682Smarkm 178055682Smarkm * mini_inetd.c (mini_inetd): fix my stupid bugs 178155682Smarkm 178255682Smarkm1999-07-28 Assar Westerlund <assar@sics.se> 178355682Smarkm 178455682Smarkm * roken-common.h: add socket* functions 178555682Smarkm 178655682Smarkm * Makefile.am (libroken_la_SOURCES): add socket.c 178755682Smarkm 178855682Smarkm * socket.c: new file, originally from appl/ftp/common 178955682Smarkm 179055682Smarkm * Makefile.am: set version to 2:0:2 179155682Smarkm 179255682Smarkm * roken.h.in (inet_pton): add prototype 179355682Smarkm 179455682Smarkm * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton 179555682Smarkm 179655682Smarkm * inet_pton.c: new file 179755682Smarkm 179855682Smarkm * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we 179955682Smarkm have it 180055682Smarkm 180155682Smarkm1999-07-27 Assar Westerlund <assar@sics.se> 180255682Smarkm 180355682Smarkm * mini_inetd.c: support IPv6 180455682Smarkm 180555682Smarkm1999-07-26 Assar Westerlund <assar@sics.se> 180655682Smarkm 180755682Smarkm * Makefile.am: set version to 1:0:1 180855682Smarkm 180955682Smarkm * roken.h.in (inet_ntop): add prototype 181055682Smarkm 181155682Smarkm * roken-common.h: (INET{,6}_ADDRSTRLEN): add 181255682Smarkm 181355682Smarkm * inet_ntop.c: new file 181455682Smarkm 181555682Smarkm * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c 181655682Smarkm 181755682Smarkm * Makefile.am: move some files from libroken_la_SOURCES to 181855682Smarkm EXTRA_libroken_la_SOURCES 181955682Smarkm 182055682Smarkm * snprintf.c: some signed vs unsigned casts 182155682Smarkm 182255682Smarkm1999-07-24 Assar Westerlund <assar@sics.se> 182355682Smarkm 182455682Smarkm * roken.h.in (struct sockaddr_storage): define it needed 182555682Smarkm 182655682Smarkm1999-07-19 Assar Westerlund <assar@sics.se> 182755682Smarkm 182855682Smarkm * Makefile.am (libroken_la_SOURCES): add copyhostent.c, 182955682Smarkm freehostent.c, getipnodebyname.c, getipnodebyaddr.c 183055682Smarkm 183155682Smarkm * roken.h.in: <netdb.h>: include 183255682Smarkm (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add 183355682Smarkm prototypes 183455682Smarkm 183555682Smarkm * roken-common.h: new constants for getipnodeby* 183655682Smarkm 183755682Smarkm * Makefile.in (SOURCES): add freehostent, copyhostent, 183855682Smarkm getipnodebyname, getipnodebyaddr 183955682Smarkm 184055682Smarkm * freehostent.c: new file 184155682Smarkm 184255682Smarkm * copyhostent.c: new file 184355682Smarkm 184455682Smarkm * getipnodebyaddr.c: new file 184555682Smarkm 184655682Smarkm * getipnodebyname.c: new file 184755682Smarkm 184855682Smarkm1999-07-13 Assar Westerlund <assar@sics.se> 184955682Smarkm 185055682Smarkm * roken.h.in (k_getpwnam): update prototype 185155682Smarkm 185255682Smarkm * k_getpwnam.c (k_getpwnam): const-ize 185355682Smarkm 185455682Smarkm * get_default_username.c (get_default_username): a better way of 185555682Smarkm guessing when the user has su:ed 185655682Smarkm 185755682Smarkm1999-07-08 Johan Danielsson <joda@pdc.kth.se> 185855682Smarkm 185955682Smarkm * roken.awk: use puts, as suggested by Jeffrey Hutzelman 186055682Smarkm <jhutz+@cmu.edu> 186155682Smarkm 186255682Smarkm1999-07-06 Assar Westerlund <assar@sics.se> 186355682Smarkm 186455682Smarkm * readv.c (readv): typo 186555682Smarkm 186655682Smarkm1999-07-03 Assar Westerlund <assar@sics.se> 186755682Smarkm 186855682Smarkm * writev.c (writev): error check malloc properly 186955682Smarkm 187055682Smarkm * sendmsg.c (sendmsg): error check malloc properly 187155682Smarkm 187255682Smarkm * resolve.c (parse_reply): error check malloc properly 187355682Smarkm 187455682Smarkm * recvmsg.c (recvmsg): error check malloc properly 187555682Smarkm 187655682Smarkm * readv.c (readv): error check malloc properly 187755682Smarkm 187855682Smarkm1999-06-23 Assar Westerlund <assar@sics.se> 187955682Smarkm 188055682Smarkm * parse_units.c (acc_units): move the special case of 0 -> 1 to 188155682Smarkm parse_something to avoid having it happen at the end of the string 188255682Smarkm 188355682Smarkm1999-06-15 Assar Westerlund <assar@sics.se> 188455682Smarkm 188555682Smarkm * Makefile.in: add get_default_username 188655682Smarkm 188755682Smarkm * get_default_username.c: new file 188855682Smarkm 188955682Smarkm * roken.h.in (get_default_username): add prototype 189055682Smarkm 189155682Smarkm * Makefile.am: add get_default_username 189255682Smarkm 189355682Smarkm1999-05-08 Assar Westerlund <assar@sics.se> 189455682Smarkm 189555682Smarkm * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1 189655682Smarkm 189755682Smarkm * strnlen.c (strnlen): update prototype 189855682Smarkm 189955682Smarkm * Makefile.am: strndup.c: add 190055682Smarkm 190155682Smarkm * Makefile.in: strndup.c: add 190255682Smarkm 190355682Smarkm * roken.h.in (strndup): add 190455682Smarkm (strnlen): update prototype 190555682Smarkm 190655682Smarkm * strndup.c: new file 190755682Smarkm 190855682SmarkmFri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se> 190955682Smarkm 191055682Smarkm * roken.h.in: include strsep prototype if needed 191155682Smarkm 191255682SmarkmThu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se> 191355682Smarkm 191455682Smarkm * Makefile.am: make make-print-version.o depend on version.h 191555682Smarkm 191655682SmarkmWed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se> 191755682Smarkm 191855682Smarkm * Makefile.am: make it compile w/o krb4 191955682Smarkm 192055682SmarkmSat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se> 192155682Smarkm 192255682Smarkm * snprintf.c (vasnprintf): correct check if realloc returns NULL 192355682Smarkm 192455682SmarkmSat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 192555682Smarkm 192655682Smarkm * Makefile.am: link print_version with -ldes to avoid unresolved 192755682Smarkm references if -lkrb is shared 192855682Smarkm 192955682SmarkmSat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se> 193055682Smarkm 193155682Smarkm * roken-common.h (eread, ewrite): add 193255682Smarkm 193355682Smarkm * simple_exec.c: add <roken.h> 193455682Smarkm 193555682SmarkmFri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se> 193655682Smarkm 193755682Smarkm * Makefile.in: add eread, ewrite 193855682Smarkm 193955682Smarkm * eread.c, ewrite.c: new files 194055682Smarkm 194155682Smarkm * Makefile.am (libroken_la_SOURCES): add eread and ewrite 194255682Smarkm 194355682SmarkmFri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se> 194455682Smarkm 194555682Smarkm * Makefile.am: add version-info 194655682Smarkm 194755682SmarkmThu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se> 194855682Smarkm 194955682Smarkm * Makefile.am: remove include_dir hack 195055682Smarkm 195155682Smarkm * Makefile.am: parse_units.h 195255682Smarkm 195355682Smarkm * Makefile.am: include Makefile.am.common 195455682Smarkm 195555682SmarkmSat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se> 195655682Smarkm 195755682Smarkm * Makefile.in (SOURCES): add glob.c 195855682Smarkm 195955682SmarkmThu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se> 196055682Smarkm 196155682Smarkm * iruserok.c: move innetgr() to separate file 196255682Smarkm 196355682Smarkm * innetgr.c: move innetgr() to separate file 196455682Smarkm 196555682Smarkm * hstrerror.c (hstrerror): add const to return type 196655682Smarkm 196755682Smarkm * erealloc.c: fix types in format string 196855682Smarkm 196955682Smarkm * emalloc.c: fix types in format string 197055682Smarkm 197155682SmarkmWed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 197255682Smarkm 197355682Smarkm * resolve.c: ugly fix for crays 197455682Smarkm 197555682SmarkmMon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se> 197655682Smarkm 197755682Smarkm * roken.h.in: protos for {un,}setenv 197855682Smarkm 197955682Smarkm1999-02-16 Assar Westerlund <assar@sics.se> 198055682Smarkm 198155682Smarkm * Makefile.in (SOURCES): add fnmatch 198255682Smarkm 198355682Smarkm * roken-common.h (abs): add 198455682Smarkm 198555682SmarkmSat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se> 198655682Smarkm 198755682Smarkm * emalloc.c, erealloc.c, estrup.c: new files 198855682Smarkm 198955682Smarkm * roken.h.in (mkstemp, gethostname): also includes prototypes if 199055682Smarkm they are needed. 199155682Smarkm 199255682Smarkm1998-12-23 Assar Westerlund <assar@sics.se> 199355682Smarkm 199455682Smarkm * roken.h.in: mkstemp: add prototype 199555682Smarkm 199655682Smarkm1998-12-20 Assar Westerlund <assar@sics.se> 199755682Smarkm 199855682Smarkm * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness 199955682Smarkm 200055682Smarkm * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO 200155682Smarkm 200255682Smarkm * roken-common.h: __attribute__: check for autoconf'd 200355682Smarkm HAVE___ATTRIBUTE__ instead of GNUC 200455682Smarkm 200555682SmarkmSun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se> 200655682Smarkm 200755682Smarkm * parse_units.c (parse_something): func is called with val == 0 if 200855682Smarkm no unit was given 200955682Smarkm (acc_flags, acc_units): update to new standard 201055682Smarkm 201155682SmarkmFri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se> 201255682Smarkm 201355682Smarkm * resolve.c (stot): constify 201455682Smarkm (type_to_string): always declare 201555682Smarkm (dns_lookup_int): correct debug output 201655682Smarkm 201755682SmarkmThu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se> 201855682Smarkm 201955682Smarkm * resolve.c (dns_lookup_int): send rr_class to res_search 202055682Smarkm 202155682SmarkmThu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se> 202255682Smarkm 202355682Smarkm * resolve.c: some cleanup 202455682Smarkm 202555682Smarkm * resolve.h: add T_NAPTR 202655682Smarkm 202755682SmarkmSun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se> 202855682Smarkm 202955682Smarkm * Makefile.in (WFLAGS): set 203055682Smarkm 203155682Smarkm * k_getpwnam.c (k_getpwnam): check for `struct spwd' 203255682Smarkm 203355682Smarkm * k_getpwuid.c (k_getpwuid): check for `struct spwd' 203455682Smarkm 203555682SmarkmTue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se> 203655682Smarkm 203755682Smarkm * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu 203855682Smarkm 203955682SmarkmFri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se> 204055682Smarkm 204155682Smarkm * vsyslog.c: asprintf -> vasprintf 204255682Smarkm 204355682SmarkmTue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se> 204455682Smarkm 204555682Smarkm * getarg.h (arg_printusage): new signature 204655682Smarkm 204755682Smarkm * getarg.c (arg_printusage): new parameter `progname'. NULL means 204855682Smarkm __progname. 204955682Smarkm 205055682SmarkmSun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se> 205155682Smarkm 205255682Smarkm * Makefile.am: net_{read,write}.c 205355682Smarkm 205455682SmarkmFri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se> 205555682Smarkm 205655682Smarkm * simple_exec.c (simple_execvp): loop around waitpid when errno == 205755682Smarkm EINTR 205855682Smarkm 205955682SmarkmThu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se> 206055682Smarkm 206155682Smarkm * Makefile.am: net_{read,write}.c 206255682Smarkm 206355682SmarkmWed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se> 206455682Smarkm 206555682Smarkm * simple_exec.c (simple_execlp): initialize `argv' 206655682Smarkm 206755682SmarkmMon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se> 206855682Smarkm 206955682Smarkm * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list, 207055682Smarkm use a copy instead 207155682Smarkm 207255682SmarkmFri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se> 207355682Smarkm 207455682Smarkm * roken.h.in (net_write, net_read): add prototypes 207555682Smarkm 207655682Smarkm * Makefile.in: net_{read,write}.c: add 207755682Smarkm 207855682Smarkm * net_{read,write}.c: new files 207955682Smarkm 208055682SmarkmTue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se> 208155682Smarkm 208255682Smarkm * roken.h.in (issuid): add 208355682Smarkm 208455682Smarkm * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of 208555682Smarkm fields 208655682Smarkm 208755682SmarkmSun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se> 208855682Smarkm 208955682Smarkm * getarg.c (mandoc_template): Put short and long options in 209055682Smarkm SYNOPSIS within the same [ ] pair. 209155682Smarkm 209255682SmarkmSat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se> 209355682Smarkm 209455682Smarkm * getarg.c (arg_printusage): try to keep options shorter than 209555682Smarkm column width 209655682Smarkm 209755682Smarkm * get_window_size.c (get_window_size): check COLUMNS and LINES 209855682Smarkm 209955682SmarkmFri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se> 210055682Smarkm 210155682Smarkm * getarg.c (mandoc_template): Put short and long options in 210255682Smarkm DESCRIPTION on the same line. 210355682Smarkm 210455682Smarkm * getarg.c (arg_match_long): make sure you only get an exact match 210555682Smarkm if the strings are the same length 210655682Smarkm 210755682SmarkmThu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se> 210855682Smarkm 210955682Smarkm * roken.awk: stupid cray awk wants \# 211055682Smarkm 211155682SmarkmFri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se> 211255682Smarkm 211355682Smarkm * print_version.c (print_version): according to ISO/ANSI C the 211455682Smarkm elements of `arg' are not constant and therefore not settable at 211555682Smarkm compile-time. Set the at run-time instead. 211655682Smarkm 211755682SmarkmSun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se> 211855682Smarkm 211955682Smarkm * roken.h.in: include paths.h 212055682Smarkm 212155682SmarkmSun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se> 212255682Smarkm 212355682Smarkm * Makefile.in (SOURCES): add roken_gethostby.c to make solaris 212455682Smarkm make happy 212555682Smarkm 212655682SmarkmThu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se> 212755682Smarkm 212855682Smarkm * simple_exec.c: Simple fork+exec system() replacement. 212955682Smarkm 213055682SmarkmFri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se> 213155682Smarkm 2132178825Sdfr * roken_gethostby.c: Make `roken_gethostby_setup' take URL-like 213355682Smarkm specification instead of split up versions. Makes it easier for 213455682Smarkm calling applications. 213555682Smarkm 213655682Smarkm * roken_gethostby.c: Another miracle of the 20th century: 213755682Smarkm gethostby* over HTTP. 213855682Smarkm 213955682SmarkmSat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se> 214055682Smarkm 214155682Smarkm * parse_time.c (unparse_time_approx): new function that calls 214255682Smarkm `unparse_units_approx' 214355682Smarkm 214455682Smarkm * parse_units.c (unparse_units_approx): new function that will 214555682Smarkm only print the first unit. 214655682Smarkm 214755682Smarkm * Makefile.in: include parse_{time,units} 214855682Smarkm 214955682SmarkmThu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se> 215055682Smarkm 215155682Smarkm * parse_time.c (print_time_table): don't return a void value. 215255682Smarkm 215355682SmarkmTue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se> 215455682Smarkm 215555682Smarkm * getarg.c (mandoc_template): Change date format to full month 215655682Smarkm name, and day of month without leading zero. 215755682Smarkm 215855682SmarkmThu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se> 215955682Smarkm 216055682Smarkm * getarg.c: Fix long form of negative flags. 216155682Smarkm 216255682SmarkmMon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se> 216355682Smarkm 216455682Smarkm * roken.h.in: Include <err.h>, to get linux __progname. 216555682Smarkm 216655682SmarkmSun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se> 216755682Smarkm 216855682Smarkm * parse_time.c (print_time_table): new function 216955682Smarkm 217055682Smarkm * parse_units.c (print_flags_table, print_units_table): new 217155682Smarkm functions. 217255682Smarkm 217355682SmarkmThu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se> 217455682Smarkm 217555682Smarkm * iruserok.c: moved here. 217655682Smarkm 217755682Smarkm * snprintf.c (sn_append_char): don't write any terminating zero. 217855682Smarkm (as_reserve): don't loop. better heuristic for how much space to 217955682Smarkm realloc. 218055682Smarkm (vasnprintf): simplify initializing to one. 218155682Smarkm 218255682SmarkmSun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se> 218355682Smarkm 218455682Smarkm * getarg.c: Add mandoc help back-end to getarg. 218555682Smarkm 218655682SmarkmWed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se> 218755682Smarkm 218855682Smarkm * verr.c, verrx.c: Fix warnings by moving exit from. 218955682Smarkm 219055682SmarkmTue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se> 219155682Smarkm 219255682Smarkm * parse_units.c: Change the list of separating characters (between 219355682Smarkm units) to comma, space, and tab, removing digits. Having digits in 219455682Smarkm this list makes a flag like `T42 generate a parse error. This 219555682Smarkm change makes `17m3s' an invalid time-spec (you need a space). 219655682Smarkm 219755682SmarkmTue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se> 219855682Smarkm 219955682Smarkm * roken.h: add <sys/socket.h> 220055682Smarkm 220155682SmarkmSun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se> 220255682Smarkm 220355682Smarkm * fnmatch.c: Add fnmatch from NetBSD 220455682Smarkm 220555682SmarkmSun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se> 220655682Smarkm 220755682Smarkm * parse_units.c (parse_something): ignore white-space and ',' 220855682Smarkm 220955682SmarkmMon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se> 221055682Smarkm 221155682Smarkm * roken.h: fclose prototype 221255682Smarkm 221355682Smarkm * roken.h: add prototype for vsyslog 221455682Smarkm 221555682Smarkm * Makefile.in: add some more source files to make soriasis make 221655682Smarkm happy 221755682Smarkm 221855682SmarkmSat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se> 221955682Smarkm 222055682Smarkm * roken.h: include <sys/uio.h> and <errno.h>. 222155682Smarkm prototypes for readv and writev 222255682Smarkm 222355682Smarkm * readv.c, writev.c: new files 222455682Smarkm 222555682SmarkmWed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se> 222655682Smarkm 222755682Smarkm * roken.h: Add ugly macros for openlog, gethostbyname, 222855682Smarkm gethostbyaddr, and getservbyname for the benefit of Crays. Add 222955682Smarkm default definition of MAXPATHLEN 2230