ChangeLog revision 120945
12003-04-22 Love <lha@stacken.kth.se> 2 3 * resolve.c: 1.38->1.39: copy NUL too, from janj@wenf.org via 4 openbsd 5 62003-04-16 Love <lha@stacken.kth.se> 7 8 * parse_units.h: remove typedef for units to avoid problems with 9 shadowing 10 11 * resolve.c: use strlcpy, from openbsd 12 13 * getcap.c: use strlcpy, from openbsd 14 15 * getarg.3: Change .Fd #include <header.h> to .In header.h 16 from Thomas Klausner <wiz@netbsd.org> 17 182003-04-15 Love <lha@stacken.kth.se> 19 20 * socket.c (socket_set_tos): if setsockopt failed with EINVAL 21 failed, just ignore it, sock was probably a just a non AF_INET 22 socket 23 242003-04-14 Love <lha@stacken.kth.se> 25 26 * strncasecmp.c: cast argument to toupper to unsigned char, from 27 Christian Biere <christianbiere@gmx.de> via NetBSD 28 29 * strlwr.c: cast argument to tolower to unsigned char, from 30 Christian Biere <christianbiere@gmx.de> via NetBSD 31 32 * strcasecmp.c: cast argument to toupper to unsigned char, from 33 Christian Biere <christianbiere@gmx.de> via NetBSD 34 352003-03-19 Love <lha@stacken.kth.se> 36 37 * getarg.3: spelling, from <jmc@prioris.mini.pw.edu.pl> 38 392003-03-07 Love <lha@stacken.kth.se> 40 41 * parse_bytes.c: use struct units instead of units 42 43 * parse_time.c: use struct units instead of units 44 452003-03-04 Love <lha@stacken.kth.se> 46 47 * roken.awk: use full prototype for main 48 492002-10-15 Johan Danielsson <joda@pdc.kth.se> 50 51 * resolve.c: check length of txt records 52 532002-09-10 Johan Danielsson <joda@pdc.kth.se> 54 55 * roken.awk: include config.h before stdio.h (breaks with 56 _FILE_OFFSET_BITS on solaris otherwise) 57 582002-09-09 Johan Danielsson <joda@pdc.kth.se> 59 60 * resolve.c: fix res_nsearch call, but don't use it for now, AIX5 61 has a broken version that trashes memory 62 63 * roken-common.h: fix typo in previous 64 65 * roken-common.h: change IRIX == 4 to IRIX4 66 672002-09-04 Assar Westerlund <assar@kth.se> 68 69 * getifaddrs.c: remove some warnings from the linux-portion 70 71 * getnameinfo_verified.c (getnameinfo_verified): handle the case 72 of forward but no backward DNS information, and also describe the 73 desired behaviour. from Love <lha@stacken.kth.se> 74 752002-09-04 Johan Danielsson <joda@pdc.kth.se> 76 77 * rtbl.c (rtbl_destroy): free whole table 78 79 * resolve.c: use res_nsearch if we have it (from Larry Greenfield) 80 812002-09-03 Assar Westerlund <assar@kth.se> 82 83 * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki 84 YOSHIFUJI of the Usagi project 85 86 * parse_reply-test.c: make this build and return 77 if there is no 87 mmap 88 89 * Makefile.am (parse_reply-test): add 90 * parse_reply-test.c: add a test case for parse_reply reading past 91 the given buffer 92 * resolve.c (parse_reply): update the arguments to more reasonable 93 types. allow parse_reply-test to call it 94 952002-08-28 Johan Danielsson <joda@pdc.kth.se> 96 97 * resolve.c (dns_srv_order): do alignment tricks with the random() 98 state (from NetBSD) 99 1002002-08-27 Assar Westerlund <assar@kth.se> 101 102 * resolve.c (parse_reply): verify the lengths (both external and 103 internal) are consistent and not too long 104 (dns_lookup_int): be conservative in the length sent in to to 105 parse_reply 106 1072002-08-26 Assar Westerlund <assar@kth.se> 108 109 * roken.h.in: add prototypes for str, unvis functions 110 * resolve.h: add fallback definition for T_AAAA 111 1122002-08-22 Johan Danielsson <joda@pdc.kth.se> 113 114 * roken.h.in: we may need a prototype for strndup 115 1162002-08-20 Johan Danielsson <joda@pdc.kth.se> 117 118 * roken.h.in: typedef ssize_t here 119 120 * getarg.c: don't put Ns before comma 121 122 * resolve.c: _res might not be available 123 124 * localtime_r.c: include stdio.h and roken.h 125 126 * strftime.c: only use altzone if we have it 127 128 * roken-common.h: AI_NUMERICHOST needs special handling 129 130 * strlcat.c: add some consistency checks 131 132 * strlcpy.c: make the logic simpler, and handle dst_sz == 0 133 1342002-08-19 Johan Danielsson <joda@pdc.kth.se> 135 136 * resolve.h: prefix these functions to avoid conflicts with other 137 packages 138 1392002-08-14 Johan Danielsson <joda@pdc.kth.se> 140 141 * strsep_copy.c: don't write to buf if len == 0 142 1432002-05-31 Assar Westerlund <assar@pdc.kth.se> 144 145 * Makefile.am: *_LDADD: add LDADD, so that libroken is used 146 1472002-05-17 Johan Danielsson <joda@pdc.kth.se> 148 149 * xdbm.h: remove old dbm part 150 1512002-04-30 Johan Danielsson <joda@pdc.kth.se> 152 153 * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries 154 1552002-04-18 Johan Danielsson <joda@pdc.kth.se> 156 157 * roken.h.in: move mini_inetd protos to after addrinfo definition 158 159 * snprintf.c (append_number): make rep const 160 161 * getarg.h: rename optind and optarg to avoid some gcc warnings 162 163 * getarg.c: rename optind and optarg to avoid some gcc warnings 164 1652002-02-18 Johan Danielsson <joda@pdc.kth.se> 166 167 * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead 168 of a port number 169 1702001-11-30 Assar Westerlund <assar@sics.se> 171 172 * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are 173 used on Solaris 8 to retrieve addresses larger than `struct 174 sockaddr'. From Magnus Ahltorp <ahltorp@nada.kth.se> (with some 175 modifications by me) 176 1772001-10-27 Assar Westerlund <assar@sics.se> 178 179 * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6 180 1812001-10-22 Assar Westerlund <assar@sics.se> 182 183 * localtime_r.c: add 184 1852001-10-02 Johan Danielsson <joda@pdc.kth.se> 186 187 * resolve.c (dns_srv_order): don't try to return a value 188 1892001-09-24 Johan Danielsson <joda@pdc.kth.se> 190 191 * snprintf.c: va_{start,end} fixes; from Thomas Klausner 192 1932001-09-20 Assar Westerlund <assar@sics.se> 194 195 * resolve.c (dns_srv_order): make sure of not reading after the 196 array 197 1982001-09-17 Assar Westerlund <assar@sics.se> 199 200 * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5 201 * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to 202 avoid collision with resolv.h on aix 203 2042001-09-04 Assar Westerlund <assar@sics.se> 205 206 * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c, 207 parse_units.h: use int instead of size_t as return values to be 208 compatible with snprintf 209 210 * strftime.c (strftime): check for return values from snprintf() < 211 0 212 2132001-09-03 Johan Danielsson <joda@pdc.kth.se> 214 215 * socket.c: restrict is a keyword 216 2172001-09-03 Assar Westerlund <assar@sics.se> 218 219 * write_pid.c: handle atexit or on_exit 220 221 * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help 222 solaris make 223 2242001-08-30 Johan Danielsson <joda@pdc.kth.se> 225 226 * Makefile.am: use LDADD directly 227 2282001-08-28 Assar Westerlund <assar@sics.se> 229 230 * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5 231 232 * issuid.c (issuid): call issetugid if it exists 233 2342001-08-24 Assar Westerlund <assar@sics.se> 235 236 * Makefile.am: make it play better with recent automake 237 2382001-08-21 Assar Westerlund <assar@sics.se> 239 240 * glob.c: provide a fallback for ARG_MAX. from <tol@stacken.kth.se> 241 242 * roken.h.in: remove all winsock.h 243 for now, it does more harm than good under cygwin and if it should be 244 used, the correct conditional needs to be found 245 from <tol@stacken.kth.se> 246 2472001-08-17 Johan Danielsson <joda@pdc.kth.se> 248 249 * getaddrinfo.c: include a definition of in6addr_loopback if it 250 doesn't exist 251 2522001-08-10 Assar Westerlund <assar@sics.se> 253 254 * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5 255 2562001-08-08 Assar Westerlund <assar@sics.se> 257 258 * hstrerror.c: move h_errno to its own file (h_errno.c) 259 2602001-08-04 Assar Westerlund <assar@sics.se> 261 262 * Makefile.am: add getarg.3 263 2642001-08-01 Assar Westerlund <assar@sics.se> 265 266 * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC. be more 267 resilient to bind/listen failing. 268 2692001-07-31 Assar Westerlund <assar@sics.se> 270 271 * getifaddrs.c (getifaddrs2): remove unused variables 272 2732001-07-31 Assar Westerlund <assar@sics.se> 274 275 * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5 276 2772001-07-23 Assar Westerlund <assar@sics.se> 278 279 * getarg.c (arg_match_long): fix parsing of arg_counter optional 280 argument 281 2822001-07-19 Assar Westerlund <assar@sics.se> 283 284 * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5 285 2862001-07-17 Assar Westerlund <assar@sics.se> 287 288 * snprintf-test.h: add a file with renaming of the snprintf 289 functions, to be used for running the tests 290 2912001-07-11 Assar Westerlund <assar@sics.se> 292 293 * snprintf-test.c: add more %X tests, and long and conditional 294 long long tests 295 * snprintf.c: add support for printing long long (if available) 296 2972001-07-10 Assar Westerlund <assar@sics.se> 298 299 * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn 300 * hostent_find_fqdn.c (hostent_find_fqdn): const-ize 301 3022001-07-09 Assar Westerlund <assar@sics.se> 303 304 * roken-common.h (hostent_find_fqdn): add 305 * hostent_find_fqdn.c: separate out hostent_find_fqdn 306 307 * warnerr.c: move out getprogname, setprogname 308 3092001-07-03 Assar Westerlund <assar@sics.se> 310 311 * warnerr.c (setprogname): add const cast 312 * vis.c (SVIS): add some (unsigned char) before calling isfoo* 313 * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4 314 315 * Makefile.am: add snprintf_test 316 * snprintf.c: rewrite so that it does not stop as soon as there 317 are no more characters to print, we need to figure out how long 318 the string would have to be. this also fixes snprintf(NULL, 0 319 3202001-06-21 Assar Westerlund <assar@sics.se> 321 322 * simple_exec.c (pipe_execv): remove unused variable 323 3242001-06-20 Johan Danielsson <joda@pdc.kth.se> 325 326 * getdtablesize.c: fix typo in obviously never used sysctl case 327 328 * simple_exec.c: rename check_status to wait_for_process, and 329 export it; function pipe_execv similar to popen, but with more 330 control over input and output 331 332 * roken-common.h: prototypes for wait_for_process and pipe_execv 333 3342001-06-17 Assar Westerlund <assar@sics.se> 335 336 * roken-common.h: move emalloc et al to roken.h.in 337 * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional 338 * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not 339 be set reliably 340 * ecalloc.c: add for symmetry 341 3422001-06-09 Johan Danielsson <joda@pdc.kth.se> 343 344 * resolve.c: dns_srv_order to order srv records 345 3462001-06-08 Johan Danielsson <joda@pdc.kth.se> 347 348 * getarg.c: Grog tries to figure out if to use mdoc.old instead of 349 mdoc by looking at some macros that were only present in the old 350 version, and by looking at the number of .Oo's present. In 351 mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if 352 the number of .Oo's is bigger than the number of .Oc's, it figures 353 it must be mdoc.old. This doesn't however account for called Oc's, 354 and thus grog thinks that valid pages are mdoc.old when they 355 infact are mdoc. So let's make sure that Oc's are not called by 356 other macros. 357 3582001-05-29 Assar Westerlund <assar@sics.se> 359 360 * base64-test.c (main): initialize numerr 361 3622001-05-28 Johan Danielsson <joda@pdc.kth.se> 363 364 * base64.c: clean up the decode mess somewhat 365 366 * base64-test.c: base64 tests 367 3682001-05-18 Johan Danielsson <joda@pdc.kth.se> 369 370 * roken.h.in: just use standard C types with bswap* 371 372 * bswap.c: just use standard C types 373 3742001-05-17 Assar Westerlund <assar@sics.se> 375 376 * roken.h.in: include all the headers that AC_GROK_TYPES tries for 377 finding u_int17_t et al 378 379 * Makefile.am: bump version to 12:0:3 380 * roken.h.in: re-add set_progname and get_progname for backwards 381 compatability 382 * warnerr.c: re-add set_progname and get_progname for backwards 383 compatability 384 3852001-05-12 Assar Westerlund <assar@sics.se> 386 387 * glob.c: add limits.h, from <shadow@dementia.org> 388 3892001-05-11 Johan Danielsson <joda@pdc.kth.se> 390 391 * Makefile.am: bswap.c 392 393 * bswap.c: bswap{16,32} 394 3952001-05-08 Assar Westerlund <assar@sics.se> 396 397 * freeaddrinfo.c (freeaddrinfo): also free every `struct 398 addrinfo'. from <tmartin@mirapoint.com> 399 4002001-04-25 Assar Westerlund <assar@sics.se> 401 402 * getarg.h (free_getarg_strings): add prototype 403 * getarg.c (free_getarg_strings): add function 404 4052001-04-21 Johan Danielsson <joda@pdc.kth.se> 406 407 * getarg.c: pack short flag options togther, to shorten the usage 408 string 409 4102001-04-17 Johan Danielsson <joda@pdc.kth.se> 411 412 * getifaddrs.c (getifaddrs2): close socket when done 413 4142001-03-26 Johan Danielsson <joda@pdc.kth.se> 415 416 * roken.awk: END has to be last with Sun's awk 417 4182001-03-26 Assar Westerlund <assar@sics.se> 419 420 * parse_units.c (parse_something): do not check the return value 421 from strtod, it might return != 0.0 when the string has no digits. 422 just testing if it consumed any characters is enough and more 423 resilient 424 * glob.c: add GLOB_LIMIT (from NetBSD) 425 4262001-02-20 Assar Westerlund <assar@sics.se> 427 428 * warnerr.c (warnerr): do not use __progname 429 * roken.h.in (setprogname, getprogname): add prototypes 430 * warnerr.c (setprogname, getprogname): rename to. change all 431 callers 432 4332001-02-12 Assar Westerlund <assar@sics.se> 434 435 * getnameinfo_verified.c (getnameinfo_verified): do the first 436 getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3 437 reports on not finding the service 438 (ENI_NOSERVNAME). reported by Ake Sandgren <ake@cs.umu.se> 439 4402001-02-09 Assar Westerlund <assar@sics.se> 441 442 * getnameinfo.c (doit): call inet_ntop with correct af, noted by 443 Ake Sandgren <ake@cs.umu.se> 444 4452001-02-08 Assar Westerlund <assar@sics.se> 446 447 * getnameinfo_verified.c (getnameinfo_verified): always capture 448 the service from getnameinfo so it can be sent back to getaddrinfo 449 and set socktype to avoid getaddrinfo not returning any addresses 450 4512001-01-30 Assar Westerlund <assar@sics.se> 452 453 * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2 454 * print_version.c (print_version): add 2001 455 4562001-01-29 Assar Westerlund <assar@sics.se> 457 458 * getifaddrs.c (getifaddrs2): copy the entire sockaddr 459 460 * roken-common.h (_PATH_BSHELL): add 461 4622001-01-27 Assar Westerlund <assar@sics.se> 463 464 * roken.h.in: move __attribute__ to roken-common.h 465 466 * esetenv.c (esetenv): cast to handle a setenv that takes a `char 467 * which is the case on Unicos 468 4692000-12-29 Assar Westerlund <assar@sics.se> 470 471 * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h -> 472 ifaddrs.hin 473 4742000-12-25 Assar Westerlund <assar@sics.se> 475 476 * getarg.c (print_arg): add a case for arg_strings 477 4782000-12-15 Johan Danielsson <joda@pdc.kth.se> 479 480 * snprintf.c (append_string): handle NULL strings by printing 481 `(null)' 482 4832000-12-12 Johan Danielsson <joda@pdc.kth.se> 484 485 * roken-common.h: add c++ externs 486 487 * roken.h.in: fix last commit differently 488 4892000-12-11 Assar Westerlund <assar@sics.se> 490 491 * err.hin (warnerr): remove, it's not part of the err.h interface 492 * roken-common.h (warnerr): moved here from err.hin 493 * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2 494 * vis.c: s/u_int32_t/unsigned/ for systems that do not define 495 u_int32_t 496 4972000-12-10 Johan Danielsson <joda@pdc.kth.se> 498 499 * Makefile.am: rename some headers to avoid conflict with possible 500 system headers 501 5022000-12-06 Johan Danielsson <joda@pdc.kth.se> 503 504 * vis.c: make sure _DIAGASSERT is defined 505 506 * unvis.c: make sure _DIAGASSERT is defined 507 508 * Makefile.am: unvis.c, and vis.h 509 510 * vis.h: vis.h from NetBSD 511 512 * unvis.c: unvis from NetBSD 513 514 * roken.h.in: cleanup previous 515 516 * roken-common.h: make `extern "C"' into a macro, this make emacs 517 much happier 518 519 * vis.c: strvis implementation from NetBSD 520 521 * roken.h.in: add prototypes for strvis* 522 5232000-12-05 Johan Danielsson <joda@pdc.kth.se> 524 525 * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr 526 macro 527 528 * getifaddrs.c: free some memory 529 5302000-12-04 Johan Danielsson <joda@pdc.kth.se> 531 532 * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc 533 534 * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc 535 5362000-10-08 Assar Westerlund <assar@sics.se> 537 538 * mini_inetd.c (mini_inetd): check that fds are not too large to 539 select on 540 5412000-09-24 Assar Westerlund <assar@sics.se> 542 543 * esetenv.c: new file/function 544 5452000-08-16 Assar Westerlund <assar@sics.se> 546 547 * Makefile.am: bump version to 10:0:1 548 5492000-08-10 Assar Westerlund <assar@sics.se> 550 551 * mini_inetd.c (accept_it): type-correctness on parameters to 552 accept 553 5542000-08-07 Johan Danielsson <joda@pdc.kth.se> 555 556 * roken.h.in: add proto compat for getsockname 557 5582000-08-04 Johan Danielsson <joda@pdc.kth.se> 559 560 * write_pid.c: conditionalise pidfile 561 562 * write_pid.c: add pidfile function 563 5642000-07-25 Johan Danielsson <joda@pdc.kth.se> 565 566 * Makefile.am: bump version to 9:0:0 567 568 * warnerr.c: add get_progname 569 5702000-07-24 Assar Westerlund <assar@sics.se> 571 572 * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try 573 reverse resolving to see if there's a fuller name there. don't 574 use just-freed memory 575 5762000-07-22 Assar Westerlund <assar@sics.se> 577 578 * xdbm.h: do not define ndbm functions in terms of dbm functions 579 if we're using db 580 5812000-07-20 Assar Westerlund <assar@sics.se> 582 583 * rtbl.c (rtbl_format): avoid printing an empty row at the end 584 5852000-07-19 Johan Danielsson <joda@pdc.kth.se> 586 587 * Makefile.am: make this compatible with `make dist' 588 589 * Makefile.am: revert version number for now 590 5912000-07-18 Johan Danielsson <joda@pdc.kth.se> 592 593 * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL 594 5952000-07-17 Johan Danielsson <joda@pdc.kth.se> 596 597 * Makefile.am: set ACLOCAL_AMFLAGS 598 5992000-07-15 Johan Danielsson <joda@pdc.kth.se> 600 601 * getaddrinfo_hostspec.c: add new function that takes socktype 602 hint as parameter 603 6042000-07-09 Assar Westerlund <assar@sics.se> 605 606 * rtbl.c (rtbl_add_column): initialize `col' completely 607 608 * configure.in: bring headers and functions more in-line with 609 what's actually being used 610 6112000-07-08 Johan Danielsson <joda@pdc.kth.se> 612 613 * roken.h.in: declare ether_addr and sockaddr_dl for AIX 614 615 * rtbl.{c,h}: simple table functions 616 6172000-07-08 Assar Westerlund <assar@sics.se> 618 619 * configure.in (AM_INIT_AUTOMAKE): bump version to 10 620 * configure.in (AC_BROKEN): add strsep_copy 621 * Makefile.am (ACLOCAL): fetch files from cf 622 6232000-07-01 Assar Westerlund <assar@sics.se> 624 625 * roken-common.h (pid_file_*): fix protos 626 6272000-06-28 Assar Westerlund <assar@sics.se> 628 629 * getnameinfo_verified.c (getnameinfo_verified): free memory 630 returned from getaddrinfo 631 6322000-06-27 Assar Westerlund <assar@sics.se> 633 634 * resolve.c: export string_to_type and type_to_string 635 * resolve.c: add key,sig,cert update test-program 636 * resolve.h: add key,sig,cert 637 6382000-06-21 Assar Westerlund <assar@sics.se> 639 640 * resolve.h: add T_SIG, T_KEY 641 * resolve.c: add SIG and KEY 642 * Makefile.am (libroken_la_SOURCES): add environment.c and 643 write_pid.c 644 645 * write_pid.c: new file for writing a pid file. 646 647 * environment.c: new file with functionality for reading 648 /etc/environment. From Ake Sandgren <ake@cs.umu.se> 649 6502000-06-12 Johan Danielsson <joda@pdc.kth.se> 651 652 * strsep_copy.c: strsep, but with const stringp so returns string 653 in separate buffer 654 6552000-05-23 Assar Westerlund <assar@sics.se> 656 657 * vsyslog.c (vsyslog): calculate length of new format string 658 correctly 659 6602000-05-22 Johan Danielsson <joda@pdc.kth.se> 661 662 * getusershell.c: implment the AIX version use 663 /etc/security/login.cfg 664 6652000-05-21 Assar Westerlund <assar@sics.se> 666 667 * vsyslog.c (vsyslog): actually handle `%m' 668 6692000-05-15 Assar Westerlund <assar@sics.se> 670 671 * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3 672 673 * roken-common.h: moved __attribute__ to roken.h.in 674 6752000-04-14 Assar Westerlund <assar@sics.se> 676 677 * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the 678 correct length from `hostspec'. based on a patch from Love 679 <lha@s3.kth.se> 680 6812000-04-09 Assar Westerlund <assar@sics.se> 682 683 * xdbm.h: only include one of db.h and the dbm-series 684 6852000-04-05 Assar Westerlund <assar@sics.se> 686 687 * resolve.c (_resolve_debug): explicitly set to zero. this moves 688 the variable from bss to data and the dynamic linker on MacOS 689 X/Darwin seems unhappy with stuff in the bss segment. 690 6912000-04-03 Assar Westerlund <assar@sics.se> 692 693 * Makefile.am: set version to 8:0:3 694 6952000-03-11 Assar Westerlund <assar@sics.se> 696 697 * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable 698 expression that also works on Crays 699 7002000-03-09 Assar Westerlund <assar@sics.se> 701 702 * getarg.c (arg_match_short): backup optind when there's a missing 703 argument so that the error can point at the flag and not the 704 non-existant argument 705 7062000-03-03 Assar Westerlund <assar@sics.se> 707 708 * Makefile.in (SOURCES): add timeval.c 709 * Makefile.am (libroken_la_SOURCES): add timeval.c 710 * timeval.c: new file 711 7122000-02-19 Assar Westerlund <assar@sics.se> 713 714 * Makefile.am: set version to 7:1:2 715 7162000-02-16 Assar Westerlund <assar@sics.se> 717 718 * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually 719 transmitted as ints 720 (according to the integer protomotion rules) in variable arguments 721 lists. Therefore, we should not call va_arg with short but rather 722 with int. See <http://www.debian.org/Bugs/db/57/57919.html> for 723 original bug report 724 7252000-02-13 Assar Westerlund <assar@sics.se> 726 727 * Makefile.am: bump version to 7:0:2 728 729 * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS 730 * getarg.c (mandoc_template): better man-stuff for negative 731 options 732 7332000-02-07 Assar Westerlund <assar@sics.se> 734 735 * Makefile.am: set version to 6:0:1 736 7372000-02-06 Assar Westerlund <assar@sics.se> 738 739 * xdbm.h: hopefully catch a few more declarations by including 740 <ndbm.h> even if <db.h> was found 741 7422000-01-26 Assar Westerlund <assar@sics.se> 743 744 * mini_inetd.c (mini_inetd): separate number of allocated sockets 745 and number of actual ones 746 * mini_inetd.c (mini_inetd): count sockets properly. and fail if 747 we cannot bind any 748 * mini_inetd.c (mini_inetd): make failing to create a socket 749 non-fatal 750 7512000-01-09 Assar Westerlund <assar@sics.se> 752 753 * Makefile.am(libroken_la_SOURCES): add strcollect.c 754 * Makefile.in: add strcollect.[co] 755 * simple_exec.c: use vstrcollect 756 * roken-common.h (_PATH_DEV): add 757 (strcollect, vstrcollect): add prototypes 758 * strcollect.c: new file. functions for collapsing an `va_list' 759 into an `char **' 760 7612000-01-06 Assar Westerlund <assar@sics.se> 762 763 * Makefile.am: bump version to 5:0:0 764 7651999-12-30 Assar Westerlund <assar@sics.se> 766 767 * Makefile.am (strpftime_test_SOURCES): correct source file name 768 769 * roken.h.in (sockaddr_storage): change padding so that we have 770 one char[] of pad and then an unsigned long[] (for alignment and 771 padding). this works much better in practice. 772 7731999-12-22 Assar Westerlund <assar@sics.se> 774 775 * roken.h.in (sockaddr_storage): drop leading underscore on 776 `public' fields. this was the consensus on the ipng mailing list 777 7781999-12-21 Assar Westerlund <assar@sics.se> 779 780 * Makefile.am (strpftime-test): define sources to avoid having 781 '.o' 782 * Makefile.am (print_version.h): use $(EXEEXT) 783 * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin 784 et al 785 7861999-12-20 Assar Westerlund <assar@sics.se> 787 788 * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0 789 790 * getaddrinfo.c (get_nodes): use getipnodebyname instead of 791 gethostbyname(2) 792 7931999-12-16 Assar Westerlund <assar@sics.se> 794 795 * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0 796 797 * roken.h.in (struct sockaddr_storage): redefine with the example 798 code from rfc2553 799 800 * getaddrinfo.c (get_null): set loopback with correct endianess 801 for v4. dunno about v6. 802 8031999-12-13 Assar Westerlund <assar@sics.se> 804 805 * roken.h.in: add prototypes for str[pf]time 806 807 * signal.c: macosx = rhapsody ~= nextstep also can't handle 808 various definitions of the same symbol. 809 8101999-12-12 Assar Westerlund <assar@sics.se> 811 812 * Makefile.am: bump version to 4:1:0 813 8141999-12-06 Assar Westerlund <assar@sics.se> 815 816 * Makefile.am: bump version to 4:0:0 817 8181999-12-05 Assar Westerlund <assar@sics.se> 819 820 * Makefile.in: replace inaddr2str with getnameinfo_verified 821 822 * roken-common.h (INADDR_LOOPBACK): add fallback definition 823 824 * roken-common.h: move getnameinfo_verified to roken.h.in 825 * roken.h.in (inaddr2str): remove 826 * Makefile.am (libroken_la_SOURCES); removed inaddr2str 827 * roken-common.h (getnameinfo_verified): add prototype 828 * getnameinfo_verified.c: new file 829 8301999-12-04 Assar Westerlund <assar@sics.se> 831 832 * roken-common.h: add constants for getaddrinfo, getnameinfo 833 * roken.h.in (socklen_t): make independent of sockaddr_storage 834 (AI_*, NI_*, EAI_*): move to roken-common.h 835 8361999-12-03 Assar Westerlund <assar@sics.se> 837 838 * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo' 839 * getaddrinfo.c (const_v*): no sizeof(sizeof()) 840 * getaddrinfo.c (add_hostent): search for the canonical name among 841 all aliases 842 (getaddrinfo): handle AI_NUMERICHOST correctly 843 * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo, 844 getaddrinfo, getnameinfo, gai_strerror 845 (getaddrinfo_test): add 846 * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo, 847 getnameinfo, gai_strerror 848 (getaddrinfo_test): add 849 * roken.h.in: arpa/inet.h: include 850 (socklen_t): add 851 (struct addrinfo): add 852 (EAI_*): add 853 (NI_*): add 854 (AI_*): add 855 (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add 856 * getnameinfo.c: new file 857 * getaddrinfo-test.c: new file 858 * gai_strerror.c: new file 859 * getaddrinfo.c: new file 860 * freeaddrinfo.c: new file 861 8621999-11-25 Assar Westerlund <assar@sics.se> 863 864 * getopt.c (getopt): return -1 instead of EOF. From 865 <art@stacken.kth.se> 866 8671999-11-13 Assar Westerlund <assar@sics.se> 868 869 * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less 870 world 871 872 * getcap.c: make sure to use db only if we have both the library 873 and the header file 874 8751999-11-12 Assar Westerlund <assar@sics.se> 876 877 * getarg.h: add arg_counter 878 * getarg.c: add a new type of argument: `arg_counter' re-organize 879 the code somewhat 880 881 * Makefile.am: add strptime and strpftime-test 882 883 * snprintf.c (xyzprintf): try to do the right thing with an % at 884 the end of the format string 885 886 * strptime.c (strptime): implement '%U', '%V', '%W' 887 * strftime.c (strftime): implement '%U', '%V', '%W', '%z' 888 889 * strftime.c (strftime): correct %E and %O handling. do something 890 reasonable with "...%" 891 892 * strftime.c: replace the BSD implementation by one of our own 893 coding 894 895 * strptime.c : new file 896 * strpftime-test.c: new file 897 8981999-11-07 Assar Westerlund <assar@sics.se> 899 900 * parse_bytes-test.c: new file 901 902 * Makefile.am: add parse_bytes-test 903 904 * parse_units.c (parse_something): try to handle the case of no 905 value specified a little bit better 906 9071999-11-04 Assar Westerlund <assar@sics.se> 908 909 * Makefile.am: bump version to 3:2:0 910 9111999-10-30 Assar Westerlund <assar@sics.se> 912 913 * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work 914 around a gcc-bug that manifests itself on Linux-PPC. From Tom 915 Rini <trini@kernel.crashing.org> 916 9171999-10-28 Assar Westerlund <assar@sics.se> 918 919 * Makefile.am: bump version to 3:1:0 920 921 * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid 922 having to have that definition. this is the easy way out instead 923 of getting the definition here where it's needed. flame me. 924 925Fri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se> 926 927 * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even 928 though it should), use getspnam(). 929 9301999-10-20 Assar Westerlund <assar@sics.se> 931 932 * Makefile.am: set version to 3:0:0 933 9341999-10-18 Johan Danielsson <joda@pdc.kth.se> 935 936 * getarg.3: document arg_collect 937 938 * getarg.c: change the way arg_collect works; it's still quite 939 horrible though 940 941 * getarg.h: change type of the collect function 942 9431999-10-17 Assar Westerlund <assar@sics.se> 944 945 * xdbm.h: undo last commit 946 947 * xdbm.h: reorder db includes 948 9491999-10-10 Assar Westerlund <assar@sics.se> 950 951 * socket.c: const-ize and comment 952 953 * net_write.c: const-ize 954 955 * base64.c: const-ize 956 9571999-10-06 Assar Westerlund <assar@sics.se> 958 959 * getarg.c (getarg): also set optind when returning error 960 9611999-09-26 Assar Westerlund <assar@sics.se> 962 963 * Makefile.am: add parse_bytes.[ch] 964 9651999-09-24 Johan Danielsson <joda@pdc.kth.se> 966 967 * getarg.3: getarg manpage 968 969 * getarg.{c,h}: add a callback type to do more complicated processing 970 971 * getarg.{c,h}: add floating point support 972 9731999-09-16 Assar Westerlund <assar@sics.se> 974 975 * strlcat.c (strlcat): call strlcpy 976 977 * strlcpy.c: update name and prototype 978 979 * strlcat.c: update name and prototype 980 981 * roken.h.in: rename strc{py,at}_truncate to strlc{py,at} 982 983 * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at} 984 985 * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at} 986 987 * strcpy_truncate.c (strcpy_truncate): change return value to be 988 the length of `src' 989 9901999-08-16 Assar Westerlund <assar@sics.se> 991 992 * getcap.c: try to make this work on systems with DB 993 9941999-08-16 Johan Danielsson <joda@pdc.kth.se> 995 996 * getcap.c: protect from db-less systems 997 9981999-08-09 Johan Danielsson <joda@pdc.kth.se> 999 1000 * simple_exec.c: add simple_exec{ve,le} 1001 1002 * getcap.c: getcap from NetBSD 1003 10041999-08-06 Assar Westerlund <assar@sics.se> 1005 1006 * roken.h.in (sockaddr_storage): cater for those that have 1007 v6-support also 1008 10091999-08-05 Assar Westerlund <assar@sics.se> 1010 1011 * inet_ntop.c (inet_ntop_v4): remember to call ntohl 1012 10131999-08-04 Assar Westerlund <assar@sics.se> 1014 1015 * roken-common.h: add shutdown constants 1016 1017 * mini_inetd.c (listen_v4, listen_v6): handle the case of the 1018 protocol not being supported 1019 10201999-08-01 Assar Westerlund <assar@sics.se> 1021 1022 * mini_inetd.c (socket_set_reuseaddr): remove duplicate 1023 10241999-07-29 Assar Westerlund <assar@sics.se> 1025 1026 * mini_inetd.c (mini_inetd): fix my stupid bugs 1027 10281999-07-28 Assar Westerlund <assar@sics.se> 1029 1030 * roken-common.h: add socket* functions 1031 1032 * Makefile.am (libroken_la_SOURCES): add socket.c 1033 1034 * socket.c: new file, originally from appl/ftp/common 1035 1036 * Makefile.am: set version to 2:0:2 1037 1038 * roken.h.in (inet_pton): add prototype 1039 1040 * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton 1041 1042 * inet_pton.c: new file 1043 1044 * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we 1045 have it 1046 10471999-07-27 Assar Westerlund <assar@sics.se> 1048 1049 * mini_inetd.c: support IPv6 1050 10511999-07-26 Assar Westerlund <assar@sics.se> 1052 1053 * Makefile.am: set version to 1:0:1 1054 1055 * roken.h.in (inet_ntop): add prototype 1056 1057 * roken-common.h: (INET{,6}_ADDRSTRLEN): add 1058 1059 * inet_ntop.c: new file 1060 1061 * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c 1062 1063 * Makefile.am: move some files from libroken_la_SOURCES to 1064 EXTRA_libroken_la_SOURCES 1065 1066 * snprintf.c: some signed vs unsigned casts 1067 10681999-07-24 Assar Westerlund <assar@sics.se> 1069 1070 * roken.h.in (struct sockaddr_storage): define it needed 1071 10721999-07-19 Assar Westerlund <assar@sics.se> 1073 1074 * Makefile.am (libroken_la_SOURCES): add copyhostent.c, 1075 freehostent.c, getipnodebyname.c, getipnodebyaddr.c 1076 1077 * roken.h.in: <netdb.h>: include 1078 (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add 1079 prototypes 1080 1081 * roken-common.h: new constants for getipnodeby* 1082 1083 * Makefile.in (SOURCES): add freehostent, copyhostent, 1084 getipnodebyname, getipnodebyaddr 1085 1086 * freehostent.c: new file 1087 1088 * copyhostent.c: new file 1089 1090 * getipnodebyaddr.c: new file 1091 1092 * getipnodebyname.c: new file 1093 10941999-07-13 Assar Westerlund <assar@sics.se> 1095 1096 * roken.h.in (k_getpwnam): update prototype 1097 1098 * k_getpwnam.c (k_getpwnam): const-ize 1099 1100 * get_default_username.c (get_default_username): a better way of 1101 guessing when the user has su:ed 1102 11031999-07-08 Johan Danielsson <joda@pdc.kth.se> 1104 1105 * roken.awk: use puts, as suggested by Jeffrey Hutzelman 1106 <jhutz+@cmu.edu> 1107 11081999-07-06 Assar Westerlund <assar@sics.se> 1109 1110 * readv.c (readv): typo 1111 11121999-07-03 Assar Westerlund <assar@sics.se> 1113 1114 * writev.c (writev): error check malloc properly 1115 1116 * sendmsg.c (sendmsg): error check malloc properly 1117 1118 * resolve.c (parse_reply): error check malloc properly 1119 1120 * recvmsg.c (recvmsg): error check malloc properly 1121 1122 * readv.c (readv): error check malloc properly 1123 11241999-06-23 Assar Westerlund <assar@sics.se> 1125 1126 * parse_units.c (acc_units): move the special case of 0 -> 1 to 1127 parse_something to avoid having it happen at the end of the string 1128 11291999-06-15 Assar Westerlund <assar@sics.se> 1130 1131 * Makefile.in: add get_default_username 1132 1133 * get_default_username.c: new file 1134 1135 * roken.h.in (get_default_username): add prototype 1136 1137 * Makefile.am: add get_default_username 1138 11391999-05-08 Assar Westerlund <assar@sics.se> 1140 1141 * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1 1142 1143 * strnlen.c (strnlen): update prototype 1144 1145 * Makefile.am: strndup.c: add 1146 1147 * Makefile.in: strndup.c: add 1148 1149 * roken.h.in (strndup): add 1150 (strnlen): update prototype 1151 1152 * strndup.c: new file 1153 1154Fri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se> 1155 1156 * roken.h.in: include strsep prototype if needed 1157 1158Thu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1159 1160 * Makefile.am: make make-print-version.o depend on version.h 1161 1162Wed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1163 1164 * Makefile.am: make it compile w/o krb4 1165 1166Sat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se> 1167 1168 * snprintf.c (vasnprintf): correct check if realloc returns NULL 1169 1170Sat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1171 1172 * Makefile.am: link print_version with -ldes to avoid unresolved 1173 references if -lkrb is shared 1174 1175Sat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se> 1176 1177 * roken-common.h (eread, ewrite): add 1178 1179 * simple_exec.c: add <roken.h> 1180 1181Fri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se> 1182 1183 * Makefile.in: add eread, ewrite 1184 1185 * eread.c, ewrite.c: new files 1186 1187 * Makefile.am (libroken_la_SOURCES): add eread and ewrite 1188 1189Fri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1190 1191 * Makefile.am: add version-info 1192 1193Thu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1194 1195 * Makefile.am: remove include_dir hack 1196 1197 * Makefile.am: parse_units.h 1198 1199 * Makefile.am: include Makefile.am.common 1200 1201Sat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se> 1202 1203 * Makefile.in (SOURCES): add glob.c 1204 1205Thu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1206 1207 * iruserok.c: move innetgr() to separate file 1208 1209 * innetgr.c: move innetgr() to separate file 1210 1211 * hstrerror.c (hstrerror): add const to return type 1212 1213 * erealloc.c: fix types in format string 1214 1215 * emalloc.c: fix types in format string 1216 1217Wed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1218 1219 * resolve.c: ugly fix for crays 1220 1221Mon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1222 1223 * roken.h.in: protos for {un,}setenv 1224 12251999-02-16 Assar Westerlund <assar@sics.se> 1226 1227 * Makefile.in (SOURCES): add fnmatch 1228 1229 * roken-common.h (abs): add 1230 1231Sat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se> 1232 1233 * emalloc.c, erealloc.c, estrup.c: new files 1234 1235 * roken.h.in (mkstemp, gethostname): also includes prototypes if 1236 they are needed. 1237 12381998-12-23 Assar Westerlund <assar@sics.se> 1239 1240 * roken.h.in: mkstemp: add prototype 1241 12421998-12-20 Assar Westerlund <assar@sics.se> 1243 1244 * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness 1245 1246 * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO 1247 1248 * roken-common.h: __attribute__: check for autoconf'd 1249 HAVE___ATTRIBUTE__ instead of GNUC 1250 1251Sun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se> 1252 1253 * parse_units.c (parse_something): func is called with val == 0 if 1254 no unit was given 1255 (acc_flags, acc_units): update to new standard 1256 1257Fri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se> 1258 1259 * resolve.c (stot): constify 1260 (type_to_string): always declare 1261 (dns_lookup_int): correct debug output 1262 1263Thu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se> 1264 1265 * resolve.c (dns_lookup_int): send rr_class to res_search 1266 1267Thu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se> 1268 1269 * resolve.c: some cleanup 1270 1271 * resolve.h: add T_NAPTR 1272 1273Sun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se> 1274 1275 * Makefile.in (WFLAGS): set 1276 1277 * k_getpwnam.c (k_getpwnam): check for `struct spwd' 1278 1279 * k_getpwuid.c (k_getpwuid): check for `struct spwd' 1280 1281Tue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se> 1282 1283 * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu 1284 1285Fri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1286 1287 * vsyslog.c: asprintf -> vasprintf 1288 1289Tue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se> 1290 1291 * getarg.h (arg_printusage): new signature 1292 1293 * getarg.c (arg_printusage): new parameter `progname'. NULL means 1294 __progname. 1295 1296Sun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1297 1298 * Makefile.am: net_{read,write}.c 1299 1300Fri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se> 1301 1302 * simple_exec.c (simple_execvp): loop around waitpid when errno == 1303 EINTR 1304 1305Thu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1306 1307 * Makefile.am: net_{read,write}.c 1308 1309Wed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se> 1310 1311 * simple_exec.c (simple_execlp): initialize `argv' 1312 1313Mon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se> 1314 1315 * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list, 1316 use a copy instead 1317 1318Fri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se> 1319 1320 * roken.h.in (net_write, net_read): add prototypes 1321 1322 * Makefile.in: net_{read,write}.c: add 1323 1324 * net_{read,write}.c: new files 1325 1326Tue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se> 1327 1328 * roken.h.in (issuid): add 1329 1330 * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of 1331 fields 1332 1333Sun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1334 1335 * getarg.c (mandoc_template): Put short and long options in 1336 SYNOPSIS within the same [ ] pair. 1337 1338Sat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1339 1340 * getarg.c (arg_printusage): try to keep options shorter than 1341 column width 1342 1343 * get_window_size.c (get_window_size): check COLUMNS and LINES 1344 1345Fri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1346 1347 * getarg.c (mandoc_template): Put short and long options in 1348 DESCRIPTION on the same line. 1349 1350 * getarg.c (arg_match_long): make sure you only get an exact match 1351 if the strings are the same length 1352 1353Thu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se> 1354 1355 * roken.awk: stupid cray awk wants \# 1356 1357Fri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se> 1358 1359 * print_version.c (print_version): according to ISO/ANSI C the 1360 elements of `arg' are not constant and therefore not settable at 1361 compile-time. Set the at run-time instead. 1362 1363Sun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se> 1364 1365 * roken.h.in: include paths.h 1366 1367Sun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se> 1368 1369 * Makefile.in (SOURCES): add roken_gethostby.c to make solaris 1370 make happy 1371 1372Thu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1373 1374 * simple_exec.c: Simple fork+exec system() replacement. 1375 1376Fri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1377 1378 * roken_gethostby.c: Make `roken_gethostby_setup' take url-like 1379 specification instead of split up versions. Makes it easier for 1380 calling applications. 1381 1382 * roken_gethostby.c: Another miracle of the 20th century: 1383 gethostby* over HTTP. 1384 1385Sat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se> 1386 1387 * parse_time.c (unparse_time_approx): new function that calls 1388 `unparse_units_approx' 1389 1390 * parse_units.c (unparse_units_approx): new function that will 1391 only print the first unit. 1392 1393 * Makefile.in: include parse_{time,units} 1394 1395Thu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se> 1396 1397 * parse_time.c (print_time_table): don't return a void value. 1398 1399Tue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1400 1401 * getarg.c (mandoc_template): Change date format to full month 1402 name, and day of month without leading zero. 1403 1404Thu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1405 1406 * getarg.c: Fix long form of negative flags. 1407 1408Mon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1409 1410 * roken.h.in: Include <err.h>, to get linux __progname. 1411 1412Sun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se> 1413 1414 * parse_time.c (print_time_table): new function 1415 1416 * parse_units.c (print_flags_table, print_units_table): new 1417 functions. 1418 1419Thu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se> 1420 1421 * iruserok.c: moved here. 1422 1423 * snprintf.c (sn_append_char): don't write any terminating zero. 1424 (as_reserve): don't loop. better heuristic for how much space to 1425 realloc. 1426 (vasnprintf): simplify initializing to one. 1427 1428Sun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1429 1430 * getarg.c: Add mandoc help back-end to getarg. 1431 1432Wed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1433 1434 * verr.c, verrx.c: Fix warnings by moving exit from. 1435 1436Tue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1437 1438 * parse_units.c: Change the list of separating characters (between 1439 units) to comma, space, and tab, removing digits. Having digits in 1440 this list makes a flag like `T42 generate a parse error. This 1441 change makes `17m3s' an invalid time-spec (you need a space). 1442 1443Tue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se> 1444 1445 * roken.h: add <sys/socket.h> 1446 1447Sun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1448 1449 * fnmatch.c: Add fnmatch from NetBSD 1450 1451Sun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se> 1452 1453 * parse_units.c (parse_something): ignore white-space and ',' 1454 1455Mon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se> 1456 1457 * roken.h: fclose prototype 1458 1459 * roken.h: add prototype for vsyslog 1460 1461 * Makefile.in: add some more source files to make soriasis make 1462 happy 1463 1464Sat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se> 1465 1466 * roken.h: include <sys/uio.h> and <errno.h>. 1467 prototypes for readv and writev 1468 1469 * readv.c, writev.c: new files 1470 1471Wed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se> 1472 1473 * roken.h: Add ugly macros for openlog, gethostbyname, 1474 gethostbyaddr, and getservbyname for the benefit of Crays. Add 1475 default definition of MAXPATHLEN 1476