10cadf2f4SJacques Vidrine2002-09-10 Johan Danielsson <joda@pdc.kth.se> 20cadf2f4SJacques Vidrine 30cadf2f4SJacques Vidrine * roken.awk: include config.h before stdio.h (breaks with 40cadf2f4SJacques Vidrine _FILE_OFFSET_BITS on solaris otherwise) 50cadf2f4SJacques Vidrine 60cadf2f4SJacques Vidrine2002-09-09 Johan Danielsson <joda@pdc.kth.se> 70cadf2f4SJacques Vidrine 80cadf2f4SJacques Vidrine * resolve.c: fix res_nsearch call, but don't use it for now, AIX5 90cadf2f4SJacques Vidrine has a broken version that trashes memory 100cadf2f4SJacques Vidrine 110cadf2f4SJacques Vidrine * roken-common.h: fix typo in previous 120cadf2f4SJacques Vidrine 130cadf2f4SJacques Vidrine * roken-common.h: change IRIX == 4 to IRIX4 140cadf2f4SJacques Vidrine 150cadf2f4SJacques Vidrine2002-09-04 Assar Westerlund <assar@kth.se> 160cadf2f4SJacques Vidrine 170cadf2f4SJacques Vidrine * getifaddrs.c: remove some warnings from the linux-portion 180cadf2f4SJacques Vidrine 190cadf2f4SJacques Vidrine * getnameinfo_verified.c (getnameinfo_verified): handle the case 200cadf2f4SJacques Vidrine of forward but no backward DNS information, and also describe the 210cadf2f4SJacques Vidrine desired behaviour. from Love <lha@stacken.kth.se> 220cadf2f4SJacques Vidrine 230cadf2f4SJacques Vidrine2002-09-04 Johan Danielsson <joda@pdc.kth.se> 240cadf2f4SJacques Vidrine 250cadf2f4SJacques Vidrine * rtbl.c (rtbl_destroy): free whole table 260cadf2f4SJacques Vidrine 270cadf2f4SJacques Vidrine * resolve.c: use res_nsearch if we have it (from Larry Greenfield) 280cadf2f4SJacques Vidrine 290cadf2f4SJacques Vidrine2002-09-03 Assar Westerlund <assar@kth.se> 300cadf2f4SJacques Vidrine 310cadf2f4SJacques Vidrine * getifaddrs.c: add Linux AF_NETLINK getifaddrs from Hideaki 320cadf2f4SJacques Vidrine YOSHIFUJI of the Usagi project 330cadf2f4SJacques Vidrine 340cadf2f4SJacques Vidrine * parse_reply-test.c: make this build and return 77 if there is no 350cadf2f4SJacques Vidrine mmap 360cadf2f4SJacques Vidrine 370cadf2f4SJacques Vidrine * Makefile.am (parse_reply-test): add 380cadf2f4SJacques Vidrine * parse_reply-test.c: add a test case for parse_reply reading past 390cadf2f4SJacques Vidrine the given buffer 400cadf2f4SJacques Vidrine * resolve.c (parse_reply): update the arguments to more reasonable 410cadf2f4SJacques Vidrine types. allow parse_reply-test to call it 420cadf2f4SJacques Vidrine 438373020dSJacques Vidrine2002-08-28 Johan Danielsson <joda@pdc.kth.se> 448373020dSJacques Vidrine 458373020dSJacques Vidrine * resolve.c (dns_srv_order): do alignment tricks with the random() 468373020dSJacques Vidrine state (from NetBSD) 478373020dSJacques Vidrine 488373020dSJacques Vidrine2002-08-27 Assar Westerlund <assar@kth.se> 498373020dSJacques Vidrine 508373020dSJacques Vidrine * resolve.c (parse_reply): verify the lengths (both external and 518373020dSJacques Vidrine internal) are consistent and not too long 528373020dSJacques Vidrine (dns_lookup_int): be conservative in the length sent in to to 538373020dSJacques Vidrine parse_reply 548373020dSJacques Vidrine 558373020dSJacques Vidrine2002-08-26 Assar Westerlund <assar@kth.se> 568373020dSJacques Vidrine 578373020dSJacques Vidrine * roken.h.in: add prototypes for str, unvis functions 588373020dSJacques Vidrine * resolve.h: add fallback definition for T_AAAA 598373020dSJacques Vidrine 608373020dSJacques Vidrine2002-08-22 Johan Danielsson <joda@pdc.kth.se> 618373020dSJacques Vidrine 628373020dSJacques Vidrine * roken.h.in: we may need a prototype for strndup 638373020dSJacques Vidrine 648373020dSJacques Vidrine2002-08-20 Johan Danielsson <joda@pdc.kth.se> 658373020dSJacques Vidrine 668373020dSJacques Vidrine * roken.h.in: typedef ssize_t here 678373020dSJacques Vidrine 688373020dSJacques Vidrine * getarg.c: don't put Ns before comma 698373020dSJacques Vidrine 708373020dSJacques Vidrine * resolve.c: _res might not be available 718373020dSJacques Vidrine 728373020dSJacques Vidrine * localtime_r.c: include stdio.h and roken.h 738373020dSJacques Vidrine 748373020dSJacques Vidrine * strftime.c: only use altzone if we have it 758373020dSJacques Vidrine 768373020dSJacques Vidrine * roken-common.h: AI_NUMERICHOST needs special handling 778373020dSJacques Vidrine 788373020dSJacques Vidrine * strlcat.c: add some consistency checks 798373020dSJacques Vidrine 808373020dSJacques Vidrine * strlcpy.c: make the logic simpler, and handle dst_sz == 0 818373020dSJacques Vidrine 828373020dSJacques Vidrine2002-08-19 Johan Danielsson <joda@pdc.kth.se> 838373020dSJacques Vidrine 848373020dSJacques Vidrine * resolve.h: prefix these functions to avoid conflicts with other 858373020dSJacques Vidrine packages 868373020dSJacques Vidrine 878373020dSJacques Vidrine2002-08-14 Johan Danielsson <joda@pdc.kth.se> 888373020dSJacques Vidrine 898373020dSJacques Vidrine * strsep_copy.c: don't write to buf if len == 0 908373020dSJacques Vidrine 918373020dSJacques Vidrine2002-05-31 Assar Westerlund <assar@pdc.kth.se> 928373020dSJacques Vidrine 938373020dSJacques Vidrine * Makefile.am: *_LDADD: add LDADD, so that libroken is used 948373020dSJacques Vidrine 958373020dSJacques Vidrine2002-05-17 Johan Danielsson <joda@pdc.kth.se> 968373020dSJacques Vidrine 978373020dSJacques Vidrine * xdbm.h: remove old dbm part 988373020dSJacques Vidrine 998373020dSJacques Vidrine2002-04-30 Johan Danielsson <joda@pdc.kth.se> 1008373020dSJacques Vidrine 1018373020dSJacques Vidrine * ndbm_wrap.{c,h}: ndbm wrapper for newer db libraries 1028373020dSJacques Vidrine 1038373020dSJacques Vidrine2002-04-18 Johan Danielsson <joda@pdc.kth.se> 1048373020dSJacques Vidrine 1058373020dSJacques Vidrine * roken.h.in: move mini_inetd protos to after addrinfo definition 1068373020dSJacques Vidrine 1078373020dSJacques Vidrine * snprintf.c (append_number): make rep const 1088373020dSJacques Vidrine 1098373020dSJacques Vidrine * getarg.h: rename optind and optarg to avoid some gcc warnings 1108373020dSJacques Vidrine 1118373020dSJacques Vidrine * getarg.c: rename optind and optarg to avoid some gcc warnings 1128373020dSJacques Vidrine 1138373020dSJacques Vidrine2002-02-18 Johan Danielsson <joda@pdc.kth.se> 1148373020dSJacques Vidrine 1158373020dSJacques Vidrine * mini_inetd.c: mini_inetd_addrinfo that takes an addrinfo instead 1168373020dSJacques Vidrine of a port number 1178373020dSJacques Vidrine 1184137ff4cSJacques Vidrine2001-11-30 Assar Westerlund <assar@sics.se> 1194137ff4cSJacques Vidrine 1204137ff4cSJacques Vidrine * getifaddrs.c: support SIOCGLIFCONF and SIOCGLIFFLAGS which are 1214137ff4cSJacques Vidrine used on Solaris 8 to retrieve addresses larger than `struct 1224137ff4cSJacques Vidrine sockaddr'. From Magnus Ahltorp <ahltorp@nada.kth.se> (with some 1234137ff4cSJacques Vidrine modifications by me) 1244137ff4cSJacques Vidrine 1254137ff4cSJacques Vidrine2001-10-27 Assar Westerlund <assar@sics.se> 1264137ff4cSJacques Vidrine 1274137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): set version to 15:0:6 1284137ff4cSJacques Vidrine 1294137ff4cSJacques Vidrine2001-10-22 Assar Westerlund <assar@sics.se> 1304137ff4cSJacques Vidrine 1314137ff4cSJacques Vidrine * localtime_r.c: add 1324137ff4cSJacques Vidrine 1334137ff4cSJacques Vidrine2001-10-02 Johan Danielsson <joda@pdc.kth.se> 1344137ff4cSJacques Vidrine 1354137ff4cSJacques Vidrine * resolve.c (dns_srv_order): don't try to return a value 1364137ff4cSJacques Vidrine 1374137ff4cSJacques Vidrine2001-09-24 Johan Danielsson <joda@pdc.kth.se> 1384137ff4cSJacques Vidrine 1394137ff4cSJacques Vidrine * snprintf.c: va_{start,end} fixes; from Thomas Klausner 1404137ff4cSJacques Vidrine 1414137ff4cSJacques Vidrine2001-09-20 Assar Westerlund <assar@sics.se> 1424137ff4cSJacques Vidrine 1434137ff4cSJacques Vidrine * resolve.c (dns_srv_order): make sure of not reading after the 1444137ff4cSJacques Vidrine array 1454137ff4cSJacques Vidrine 1464137ff4cSJacques Vidrine2001-09-17 Assar Westerlund <assar@sics.se> 1474137ff4cSJacques Vidrine 1484137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): bump to 14:4:5 1494137ff4cSJacques Vidrine * snprintf.c: rename 'struct state' -> 'struct snprintf_test' to 1504137ff4cSJacques Vidrine avoid collision with resolv.h on aix 1514137ff4cSJacques Vidrine 1524137ff4cSJacques Vidrine2001-09-04 Assar Westerlund <assar@sics.se> 1534137ff4cSJacques Vidrine 1544137ff4cSJacques Vidrine * parse_bytes-test.c, parse_bytes.c, parse_bytes.h, parse_units.c, 1554137ff4cSJacques Vidrine parse_units.h: use int instead of size_t as return values to be 1564137ff4cSJacques Vidrine compatible with snprintf 1574137ff4cSJacques Vidrine 1584137ff4cSJacques Vidrine * strftime.c (strftime): check for return values from snprintf() < 1594137ff4cSJacques Vidrine 0 1604137ff4cSJacques Vidrine 1614137ff4cSJacques Vidrine2001-09-03 Johan Danielsson <joda@pdc.kth.se> 1624137ff4cSJacques Vidrine 1634137ff4cSJacques Vidrine * socket.c: restrict is a keyword 1644137ff4cSJacques Vidrine 1654137ff4cSJacques Vidrine2001-09-03 Assar Westerlund <assar@sics.se> 1664137ff4cSJacques Vidrine 1674137ff4cSJacques Vidrine * write_pid.c: handle atexit or on_exit 1684137ff4cSJacques Vidrine 1694137ff4cSJacques Vidrine * Makefile.am (EXTRA_libroken_la_SOURCES): add vis.hin to help 1704137ff4cSJacques Vidrine solaris make 1714137ff4cSJacques Vidrine 1724137ff4cSJacques Vidrine2001-08-30 Johan Danielsson <joda@pdc.kth.se> 1734137ff4cSJacques Vidrine 1744137ff4cSJacques Vidrine * Makefile.am: use LDADD directly 1754137ff4cSJacques Vidrine 1764137ff4cSJacques Vidrine2001-08-28 Assar Westerlund <assar@sics.se> 1774137ff4cSJacques Vidrine 1784137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): set to 14:3:5 1794137ff4cSJacques Vidrine 1804137ff4cSJacques Vidrine * issuid.c (issuid): call issetugid if it exists 1814137ff4cSJacques Vidrine 1824137ff4cSJacques Vidrine2001-08-24 Assar Westerlund <assar@sics.se> 1834137ff4cSJacques Vidrine 1844137ff4cSJacques Vidrine * Makefile.am: make it play better with recent automake 1854137ff4cSJacques Vidrine 1864137ff4cSJacques Vidrine2001-08-21 Assar Westerlund <assar@sics.se> 1874137ff4cSJacques Vidrine 1884137ff4cSJacques Vidrine * glob.c: provide a fallback for ARG_MAX. from <tol@stacken.kth.se> 1894137ff4cSJacques Vidrine 1904137ff4cSJacques Vidrine * roken.h.in: remove all winsock.h 1914137ff4cSJacques Vidrine for now, it does more harm than good under cygwin and if it should be 1924137ff4cSJacques Vidrine used, the correct conditional needs to be found 1934137ff4cSJacques Vidrine from <tol@stacken.kth.se> 1944137ff4cSJacques Vidrine 1954137ff4cSJacques Vidrine2001-08-17 Johan Danielsson <joda@pdc.kth.se> 1964137ff4cSJacques Vidrine 1974137ff4cSJacques Vidrine * getaddrinfo.c: include a definition of in6addr_loopback if it 1984137ff4cSJacques Vidrine doesn't exist 1994137ff4cSJacques Vidrine 2004137ff4cSJacques Vidrine2001-08-10 Assar Westerlund <assar@sics.se> 2014137ff4cSJacques Vidrine 2024137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): update to 14:2:5 2034137ff4cSJacques Vidrine 2044137ff4cSJacques Vidrine2001-08-08 Assar Westerlund <assar@sics.se> 2054137ff4cSJacques Vidrine 2064137ff4cSJacques Vidrine * hstrerror.c: move h_errno to its own file (h_errno.c) 2074137ff4cSJacques Vidrine 2084137ff4cSJacques Vidrine2001-08-04 Assar Westerlund <assar@sics.se> 2094137ff4cSJacques Vidrine 2104137ff4cSJacques Vidrine * Makefile.am: add getarg.3 2114137ff4cSJacques Vidrine 2124137ff4cSJacques Vidrine2001-08-01 Assar Westerlund <assar@sics.se> 2134137ff4cSJacques Vidrine 2144137ff4cSJacques Vidrine * mini_inetd.c (mini_inetd): explicitly use PF_UNSPEC. be more 2154137ff4cSJacques Vidrine resilient to bind/listen failing. 2164137ff4cSJacques Vidrine 2174137ff4cSJacques Vidrine2001-07-31 Assar Westerlund <assar@sics.se> 2184137ff4cSJacques Vidrine 2194137ff4cSJacques Vidrine * getifaddrs.c (getifaddrs2): remove unused variables 2204137ff4cSJacques Vidrine 2214137ff4cSJacques Vidrine2001-07-31 Assar Westerlund <assar@sics.se> 2224137ff4cSJacques Vidrine 2234137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): update version to 14:1:5 2244137ff4cSJacques Vidrine 2254137ff4cSJacques Vidrine2001-07-23 Assar Westerlund <assar@sics.se> 2264137ff4cSJacques Vidrine 2274137ff4cSJacques Vidrine * getarg.c (arg_match_long): fix parsing of arg_counter optional 2284137ff4cSJacques Vidrine argument 2294137ff4cSJacques Vidrine 2304137ff4cSJacques Vidrine2001-07-19 Assar Westerlund <assar@sics.se> 2314137ff4cSJacques Vidrine 2324137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS): bump version to 14:0:5 2334137ff4cSJacques Vidrine 2344137ff4cSJacques Vidrine2001-07-17 Assar Westerlund <assar@sics.se> 2354137ff4cSJacques Vidrine 2364137ff4cSJacques Vidrine * snprintf-test.h: add a file with renaming of the snprintf 2374137ff4cSJacques Vidrine functions, to be used for running the tests 2384137ff4cSJacques Vidrine 2394137ff4cSJacques Vidrine2001-07-11 Assar Westerlund <assar@sics.se> 2404137ff4cSJacques Vidrine 2414137ff4cSJacques Vidrine * snprintf-test.c: add more %X tests, and long and conditional 2424137ff4cSJacques Vidrine long long tests 2434137ff4cSJacques Vidrine * snprintf.c: add support for printing long long (if available) 2444137ff4cSJacques Vidrine 2454137ff4cSJacques Vidrine2001-07-10 Assar Westerlund <assar@sics.se> 2464137ff4cSJacques Vidrine 2474137ff4cSJacques Vidrine * getaddrinfo.c (add_hostent): adapt to const hostent_find_fqdn 2484137ff4cSJacques Vidrine * hostent_find_fqdn.c (hostent_find_fqdn): const-ize 2494137ff4cSJacques Vidrine 2504137ff4cSJacques Vidrine2001-07-09 Assar Westerlund <assar@sics.se> 2514137ff4cSJacques Vidrine 2524137ff4cSJacques Vidrine * roken-common.h (hostent_find_fqdn): add 2534137ff4cSJacques Vidrine * hostent_find_fqdn.c: separate out hostent_find_fqdn 2544137ff4cSJacques Vidrine 2554137ff4cSJacques Vidrine * warnerr.c: move out getprogname, setprogname 2564137ff4cSJacques Vidrine 2574137ff4cSJacques Vidrine2001-07-03 Assar Westerlund <assar@sics.se> 2584137ff4cSJacques Vidrine 2594137ff4cSJacques Vidrine * warnerr.c (setprogname): add const cast 2604137ff4cSJacques Vidrine * vis.c (SVIS): add some (unsigned char) before calling isfoo* 2614137ff4cSJacques Vidrine * Makefile.am (libroken_la_LDFLAGS:) set version to 13:0:4 2624137ff4cSJacques Vidrine 2634137ff4cSJacques Vidrine * Makefile.am: add snprintf_test 2644137ff4cSJacques Vidrine * snprintf.c: rewrite so that it does not stop as soon as there 2654137ff4cSJacques Vidrine are no more characters to print, we need to figure out how long 2664137ff4cSJacques Vidrine the string would have to be. this also fixes snprintf(NULL, 0 2674137ff4cSJacques Vidrine 2684137ff4cSJacques Vidrine2001-06-21 Assar Westerlund <assar@sics.se> 2694137ff4cSJacques Vidrine 2704137ff4cSJacques Vidrine * simple_exec.c (pipe_execv): remove unused variable 2714137ff4cSJacques Vidrine 2724137ff4cSJacques Vidrine2001-06-20 Johan Danielsson <joda@pdc.kth.se> 2734137ff4cSJacques Vidrine 2744137ff4cSJacques Vidrine * getdtablesize.c: fix typo in obviously never used sysctl case 2754137ff4cSJacques Vidrine 2764137ff4cSJacques Vidrine * simple_exec.c: rename check_status to wait_for_process, and 2774137ff4cSJacques Vidrine export it; function pipe_execv similar to popen, but with more 2784137ff4cSJacques Vidrine control over input and output 2794137ff4cSJacques Vidrine 2804137ff4cSJacques Vidrine * roken-common.h: prototypes for wait_for_process and pipe_execv 2814137ff4cSJacques Vidrine 2824137ff4cSJacques Vidrine2001-06-17 Assar Westerlund <assar@sics.se> 2834137ff4cSJacques Vidrine 2844137ff4cSJacques Vidrine * roken-common.h: move emalloc et al to roken.h.in 2854137ff4cSJacques Vidrine * Makefile.am: make emalloc,ecalloc,erealloc,estrdup conditional 2864137ff4cSJacques Vidrine * emalloc.c, erealloc.c, estrup.c: use errx, since errno might not 2874137ff4cSJacques Vidrine be set reliably 2884137ff4cSJacques Vidrine * ecalloc.c: add for symmetry 2894137ff4cSJacques Vidrine 2904137ff4cSJacques Vidrine2001-06-09 Johan Danielsson <joda@pdc.kth.se> 2914137ff4cSJacques Vidrine 2924137ff4cSJacques Vidrine * resolve.c: dns_srv_order to order srv records 2934137ff4cSJacques Vidrine 2944137ff4cSJacques Vidrine2001-06-08 Johan Danielsson <joda@pdc.kth.se> 2954137ff4cSJacques Vidrine 2964137ff4cSJacques Vidrine * getarg.c: Grog tries to figure out if to use mdoc.old instead of 2974137ff4cSJacques Vidrine mdoc by looking at some macros that were only present in the old 2984137ff4cSJacques Vidrine version, and by looking at the number of .Oo's present. In 2994137ff4cSJacques Vidrine mdoc.old .Oo was a toggle, but in mdoc it's closed by .Oc, so if 3004137ff4cSJacques Vidrine the number of .Oo's is bigger than the number of .Oc's, it figures 3014137ff4cSJacques Vidrine it must be mdoc.old. This doesn't however account for called Oc's, 3024137ff4cSJacques Vidrine and thus grog thinks that valid pages are mdoc.old when they 3034137ff4cSJacques Vidrine infact are mdoc. So let's make sure that Oc's are not called by 3044137ff4cSJacques Vidrine other macros. 3054137ff4cSJacques Vidrine 3064137ff4cSJacques Vidrine2001-05-29 Assar Westerlund <assar@sics.se> 3074137ff4cSJacques Vidrine 3084137ff4cSJacques Vidrine * base64-test.c (main): initialize numerr 3094137ff4cSJacques Vidrine 3104137ff4cSJacques Vidrine2001-05-28 Johan Danielsson <joda@pdc.kth.se> 3114137ff4cSJacques Vidrine 3124137ff4cSJacques Vidrine * base64.c: clean up the decode mess somewhat 3134137ff4cSJacques Vidrine 3144137ff4cSJacques Vidrine * base64-test.c: base64 tests 3154137ff4cSJacques Vidrine 3164137ff4cSJacques Vidrine2001-05-18 Johan Danielsson <joda@pdc.kth.se> 3174137ff4cSJacques Vidrine 3184137ff4cSJacques Vidrine * roken.h.in: just use standard C types with bswap* 3194137ff4cSJacques Vidrine 3204137ff4cSJacques Vidrine * bswap.c: just use standard C types 3214137ff4cSJacques Vidrine 322adb0ddaeSAssar Westerlund2001-05-17 Assar Westerlund <assar@sics.se> 323adb0ddaeSAssar Westerlund 3244137ff4cSJacques Vidrine * roken.h.in: include all the headers that AC_GROK_TYPES tries for 3254137ff4cSJacques Vidrine finding u_int17_t et al 3264137ff4cSJacques Vidrine 327adb0ddaeSAssar Westerlund * Makefile.am: bump version to 12:0:3 328adb0ddaeSAssar Westerlund * roken.h.in: re-add set_progname and get_progname for backwards 329adb0ddaeSAssar Westerlund compatability 330adb0ddaeSAssar Westerlund * warnerr.c: re-add set_progname and get_progname for backwards 331adb0ddaeSAssar Westerlund compatability 332adb0ddaeSAssar Westerlund 333adb0ddaeSAssar Westerlund2001-05-12 Assar Westerlund <assar@sics.se> 334adb0ddaeSAssar Westerlund 335adb0ddaeSAssar Westerlund * glob.c: add limits.h, from <shadow@dementia.org> 336adb0ddaeSAssar Westerlund 337adb0ddaeSAssar Westerlund2001-05-11 Johan Danielsson <joda@pdc.kth.se> 338adb0ddaeSAssar Westerlund 339adb0ddaeSAssar Westerlund * Makefile.am: bswap.c 340adb0ddaeSAssar Westerlund 341adb0ddaeSAssar Westerlund * bswap.c: bswap{16,32} 342adb0ddaeSAssar Westerlund 343adb0ddaeSAssar Westerlund2001-05-08 Assar Westerlund <assar@sics.se> 344adb0ddaeSAssar Westerlund 345adb0ddaeSAssar Westerlund * freeaddrinfo.c (freeaddrinfo): also free every `struct 346adb0ddaeSAssar Westerlund addrinfo'. from <tmartin@mirapoint.com> 347adb0ddaeSAssar Westerlund 348adb0ddaeSAssar Westerlund2001-04-25 Assar Westerlund <assar@sics.se> 349adb0ddaeSAssar Westerlund 350adb0ddaeSAssar Westerlund * getarg.h (free_getarg_strings): add prototype 351adb0ddaeSAssar Westerlund * getarg.c (free_getarg_strings): add function 352adb0ddaeSAssar Westerlund 353adb0ddaeSAssar Westerlund2001-04-21 Johan Danielsson <joda@pdc.kth.se> 354adb0ddaeSAssar Westerlund 355adb0ddaeSAssar Westerlund * getarg.c: pack short flag options togther, to shorten the usage 356adb0ddaeSAssar Westerlund string 357adb0ddaeSAssar Westerlund 358adb0ddaeSAssar Westerlund2001-04-17 Johan Danielsson <joda@pdc.kth.se> 359adb0ddaeSAssar Westerlund 360adb0ddaeSAssar Westerlund * getifaddrs.c (getifaddrs2): close socket when done 361adb0ddaeSAssar Westerlund 362adb0ddaeSAssar Westerlund2001-03-26 Johan Danielsson <joda@pdc.kth.se> 363adb0ddaeSAssar Westerlund 364adb0ddaeSAssar Westerlund * roken.awk: END has to be last with Sun's awk 365adb0ddaeSAssar Westerlund 366adb0ddaeSAssar Westerlund2001-03-26 Assar Westerlund <assar@sics.se> 367adb0ddaeSAssar Westerlund 368adb0ddaeSAssar Westerlund * parse_units.c (parse_something): do not check the return value 369adb0ddaeSAssar Westerlund from strtod, it might return != 0.0 when the string has no digits. 370adb0ddaeSAssar Westerlund just testing if it consumed any characters is enough and more 371adb0ddaeSAssar Westerlund resilient 372adb0ddaeSAssar Westerlund * glob.c: add GLOB_LIMIT (from NetBSD) 373adb0ddaeSAssar Westerlund 374adb0ddaeSAssar Westerlund2001-02-20 Assar Westerlund <assar@sics.se> 375adb0ddaeSAssar Westerlund 376adb0ddaeSAssar Westerlund * warnerr.c (warnerr): do not use __progname 377adb0ddaeSAssar Westerlund * roken.h.in (setprogname, getprogname): add prototypes 378adb0ddaeSAssar Westerlund * warnerr.c (setprogname, getprogname): rename to. change all 379adb0ddaeSAssar Westerlund callers 380adb0ddaeSAssar Westerlund 381adb0ddaeSAssar Westerlund2001-02-12 Assar Westerlund <assar@sics.se> 382adb0ddaeSAssar Westerlund 383adb0ddaeSAssar Westerlund * getnameinfo_verified.c (getnameinfo_verified): do the first 384adb0ddaeSAssar Westerlund getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3 385adb0ddaeSAssar Westerlund reports on not finding the service 386adb0ddaeSAssar Westerlund (ENI_NOSERVNAME). reported by Ake Sandgren <ake@cs.umu.se> 387adb0ddaeSAssar Westerlund 388adb0ddaeSAssar Westerlund2001-02-09 Assar Westerlund <assar@sics.se> 389adb0ddaeSAssar Westerlund 390adb0ddaeSAssar Westerlund * getnameinfo.c (doit): call inet_ntop with correct af, noted by 391adb0ddaeSAssar Westerlund Ake Sandgren <ake@cs.umu.se> 392adb0ddaeSAssar Westerlund 393adb0ddaeSAssar Westerlund2001-02-08 Assar Westerlund <assar@sics.se> 394adb0ddaeSAssar Westerlund 395adb0ddaeSAssar Westerlund * getnameinfo_verified.c (getnameinfo_verified): always capture 396adb0ddaeSAssar Westerlund the service from getnameinfo so it can be sent back to getaddrinfo 397adb0ddaeSAssar Westerlund and set socktype to avoid getaddrinfo not returning any addresses 398adb0ddaeSAssar Westerlund 3995e9cd1aeSAssar Westerlund2001-01-30 Assar Westerlund <assar@sics.se> 4005e9cd1aeSAssar Westerlund 4015e9cd1aeSAssar Westerlund * Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2 4025e9cd1aeSAssar Westerlund * print_version.c (print_version): add 2001 4035e9cd1aeSAssar Westerlund 4045e9cd1aeSAssar Westerlund2001-01-29 Assar Westerlund <assar@sics.se> 4055e9cd1aeSAssar Westerlund 4065e9cd1aeSAssar Westerlund * getifaddrs.c (getifaddrs2): copy the entire sockaddr 4075e9cd1aeSAssar Westerlund 4085e9cd1aeSAssar Westerlund * roken-common.h (_PATH_BSHELL): add 4095e9cd1aeSAssar Westerlund 4105e9cd1aeSAssar Westerlund2001-01-27 Assar Westerlund <assar@sics.se> 4115e9cd1aeSAssar Westerlund 4125e9cd1aeSAssar Westerlund * roken.h.in: move __attribute__ to roken-common.h 4135e9cd1aeSAssar Westerlund 4145e9cd1aeSAssar Westerlund * esetenv.c (esetenv): cast to handle a setenv that takes a `char 4155e9cd1aeSAssar Westerlund * which is the case on Unicos 4165e9cd1aeSAssar Westerlund 4175e9cd1aeSAssar Westerlund2000-12-29 Assar Westerlund <assar@sics.se> 4185e9cd1aeSAssar Westerlund 4195e9cd1aeSAssar Westerlund * Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h -> 4205e9cd1aeSAssar Westerlund ifaddrs.hin 4215e9cd1aeSAssar Westerlund 4225e9cd1aeSAssar Westerlund2000-12-25 Assar Westerlund <assar@sics.se> 4235e9cd1aeSAssar Westerlund 4245e9cd1aeSAssar Westerlund * getarg.c (print_arg): add a case for arg_strings 4255e9cd1aeSAssar Westerlund 4265e9cd1aeSAssar Westerlund2000-12-15 Johan Danielsson <joda@pdc.kth.se> 4275e9cd1aeSAssar Westerlund 4285e9cd1aeSAssar Westerlund * snprintf.c (append_string): handle NULL strings by printing 4295e9cd1aeSAssar Westerlund `(null)' 4305e9cd1aeSAssar Westerlund 4315e9cd1aeSAssar Westerlund2000-12-12 Johan Danielsson <joda@pdc.kth.se> 4325e9cd1aeSAssar Westerlund 4335e9cd1aeSAssar Westerlund * roken-common.h: add c++ externs 4345e9cd1aeSAssar Westerlund 4355e9cd1aeSAssar Westerlund * roken.h.in: fix last commit differently 4365e9cd1aeSAssar Westerlund 4375e9cd1aeSAssar Westerlund2000-12-11 Assar Westerlund <assar@sics.se> 4385e9cd1aeSAssar Westerlund 4395e9cd1aeSAssar Westerlund * err.hin (warnerr): remove, it's not part of the err.h interface 4405e9cd1aeSAssar Westerlund * roken-common.h (warnerr): moved here from err.hin 4415e9cd1aeSAssar Westerlund * Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2 4425e9cd1aeSAssar Westerlund * vis.c: s/u_int32_t/unsigned/ for systems that do not define 4435e9cd1aeSAssar Westerlund u_int32_t 4445e9cd1aeSAssar Westerlund 4455e9cd1aeSAssar Westerlund2000-12-10 Johan Danielsson <joda@pdc.kth.se> 4465e9cd1aeSAssar Westerlund 4475e9cd1aeSAssar Westerlund * Makefile.am: rename some headers to avoid conflict with possible 4485e9cd1aeSAssar Westerlund system headers 4495e9cd1aeSAssar Westerlund 4505e9cd1aeSAssar Westerlund2000-12-06 Johan Danielsson <joda@pdc.kth.se> 4515e9cd1aeSAssar Westerlund 4525e9cd1aeSAssar Westerlund * vis.c: make sure _DIAGASSERT is defined 4535e9cd1aeSAssar Westerlund 4545e9cd1aeSAssar Westerlund * unvis.c: make sure _DIAGASSERT is defined 4555e9cd1aeSAssar Westerlund 4565e9cd1aeSAssar Westerlund * Makefile.am: unvis.c, and vis.h 4575e9cd1aeSAssar Westerlund 4585e9cd1aeSAssar Westerlund * vis.h: vis.h from NetBSD 4595e9cd1aeSAssar Westerlund 4605e9cd1aeSAssar Westerlund * unvis.c: unvis from NetBSD 4615e9cd1aeSAssar Westerlund 4625e9cd1aeSAssar Westerlund * roken.h.in: cleanup previous 4635e9cd1aeSAssar Westerlund 4645e9cd1aeSAssar Westerlund * roken-common.h: make `extern "C"' into a macro, this make emacs 4655e9cd1aeSAssar Westerlund much happier 4665e9cd1aeSAssar Westerlund 4675e9cd1aeSAssar Westerlund * vis.c: strvis implementation from NetBSD 4685e9cd1aeSAssar Westerlund 4695e9cd1aeSAssar Westerlund * roken.h.in: add prototypes for strvis* 4705e9cd1aeSAssar Westerlund 4715e9cd1aeSAssar Westerlund2000-12-05 Johan Danielsson <joda@pdc.kth.se> 4725e9cd1aeSAssar Westerlund 4735e9cd1aeSAssar Westerlund * ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr 4745e9cd1aeSAssar Westerlund macro 4755e9cd1aeSAssar Westerlund 4765e9cd1aeSAssar Westerlund * getifaddrs.c: free some memory 4775e9cd1aeSAssar Westerlund 4785e9cd1aeSAssar Westerlund2000-12-04 Johan Danielsson <joda@pdc.kth.se> 4795e9cd1aeSAssar Westerlund 4805e9cd1aeSAssar Westerlund * ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc 4815e9cd1aeSAssar Westerlund 4825e9cd1aeSAssar Westerlund * getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc 4835e9cd1aeSAssar Westerlund 4845e9cd1aeSAssar Westerlund2000-10-08 Assar Westerlund <assar@sics.se> 4855e9cd1aeSAssar Westerlund 4865e9cd1aeSAssar Westerlund * mini_inetd.c (mini_inetd): check that fds are not too large to 4875e9cd1aeSAssar Westerlund select on 4885e9cd1aeSAssar Westerlund 4895e9cd1aeSAssar Westerlund2000-09-24 Assar Westerlund <assar@sics.se> 4905e9cd1aeSAssar Westerlund 4915e9cd1aeSAssar Westerlund * esetenv.c: new file/function 4925e9cd1aeSAssar Westerlund 4935e9cd1aeSAssar Westerlund2000-08-16 Assar Westerlund <assar@sics.se> 4945e9cd1aeSAssar Westerlund 4955e9cd1aeSAssar Westerlund * Makefile.am: bump version to 10:0:1 4965e9cd1aeSAssar Westerlund 4975e9cd1aeSAssar Westerlund2000-08-10 Assar Westerlund <assar@sics.se> 4985e9cd1aeSAssar Westerlund 4995e9cd1aeSAssar Westerlund * mini_inetd.c (accept_it): type-correctness on parameters to 5005e9cd1aeSAssar Westerlund accept 5015e9cd1aeSAssar Westerlund 5025e9cd1aeSAssar Westerlund2000-08-07 Johan Danielsson <joda@pdc.kth.se> 5035e9cd1aeSAssar Westerlund 5045e9cd1aeSAssar Westerlund * roken.h.in: add proto compat for getsockname 5055e9cd1aeSAssar Westerlund 5065e9cd1aeSAssar Westerlund2000-08-04 Johan Danielsson <joda@pdc.kth.se> 5075e9cd1aeSAssar Westerlund 5085e9cd1aeSAssar Westerlund * write_pid.c: conditionalise pidfile 5095e9cd1aeSAssar Westerlund 5105e9cd1aeSAssar Westerlund * write_pid.c: add pidfile function 5115e9cd1aeSAssar Westerlund 5125e9cd1aeSAssar Westerlund2000-07-25 Johan Danielsson <joda@pdc.kth.se> 5135e9cd1aeSAssar Westerlund 5145e9cd1aeSAssar Westerlund * Makefile.am: bump version to 9:0:0 5155e9cd1aeSAssar Westerlund 5165e9cd1aeSAssar Westerlund * warnerr.c: add get_progname 5175e9cd1aeSAssar Westerlund 5185e9cd1aeSAssar Westerlund2000-07-24 Assar Westerlund <assar@sics.se> 5195e9cd1aeSAssar Westerlund 5205e9cd1aeSAssar Westerlund * getaddrinfo.c (add_hostent): if there's no fqdn in `he' try 5215e9cd1aeSAssar Westerlund reverse resolving to see if there's a fuller name there. don't 5225e9cd1aeSAssar Westerlund use just-freed memory 5235e9cd1aeSAssar Westerlund 5245e9cd1aeSAssar Westerlund2000-07-22 Assar Westerlund <assar@sics.se> 5255e9cd1aeSAssar Westerlund 5265e9cd1aeSAssar Westerlund * xdbm.h: do not define ndbm functions in terms of dbm functions 5275e9cd1aeSAssar Westerlund if we're using db 5285e9cd1aeSAssar Westerlund 5295e9cd1aeSAssar Westerlund2000-07-20 Assar Westerlund <assar@sics.se> 5305e9cd1aeSAssar Westerlund 5315e9cd1aeSAssar Westerlund * rtbl.c (rtbl_format): avoid printing an empty row at the end 5325e9cd1aeSAssar Westerlund 5335e9cd1aeSAssar Westerlund2000-07-19 Johan Danielsson <joda@pdc.kth.se> 5345e9cd1aeSAssar Westerlund 5355e9cd1aeSAssar Westerlund * Makefile.am: make this compatible with `make dist' 5365e9cd1aeSAssar Westerlund 5375e9cd1aeSAssar Westerlund * Makefile.am: revert version number for now 5385e9cd1aeSAssar Westerlund 5395e9cd1aeSAssar Westerlund2000-07-18 Johan Danielsson <joda@pdc.kth.se> 5405e9cd1aeSAssar Westerlund 5415e9cd1aeSAssar Westerlund * configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL 5425e9cd1aeSAssar Westerlund 5435e9cd1aeSAssar Westerlund2000-07-17 Johan Danielsson <joda@pdc.kth.se> 5445e9cd1aeSAssar Westerlund 5455e9cd1aeSAssar Westerlund * Makefile.am: set ACLOCAL_AMFLAGS 5465e9cd1aeSAssar Westerlund 5475e9cd1aeSAssar Westerlund2000-07-15 Johan Danielsson <joda@pdc.kth.se> 5485e9cd1aeSAssar Westerlund 5495e9cd1aeSAssar Westerlund * getaddrinfo_hostspec.c: add new function that takes socktype 5505e9cd1aeSAssar Westerlund hint as parameter 5515e9cd1aeSAssar Westerlund 5525e9cd1aeSAssar Westerlund2000-07-09 Assar Westerlund <assar@sics.se> 5535e9cd1aeSAssar Westerlund 5545e9cd1aeSAssar Westerlund * rtbl.c (rtbl_add_column): initialize `col' completely 5555e9cd1aeSAssar Westerlund 5565e9cd1aeSAssar Westerlund * configure.in: bring headers and functions more in-line with 5575e9cd1aeSAssar Westerlund what's actually being used 5585e9cd1aeSAssar Westerlund 5595e9cd1aeSAssar Westerlund2000-07-08 Johan Danielsson <joda@pdc.kth.se> 5605e9cd1aeSAssar Westerlund 5615e9cd1aeSAssar Westerlund * roken.h.in: declare ether_addr and sockaddr_dl for AIX 5625e9cd1aeSAssar Westerlund 5635e9cd1aeSAssar Westerlund * rtbl.{c,h}: simple table functions 5645e9cd1aeSAssar Westerlund 5655e9cd1aeSAssar Westerlund2000-07-08 Assar Westerlund <assar@sics.se> 5665e9cd1aeSAssar Westerlund 5675e9cd1aeSAssar Westerlund * configure.in (AM_INIT_AUTOMAKE): bump version to 10 5685e9cd1aeSAssar Westerlund * configure.in (AC_BROKEN): add strsep_copy 5695e9cd1aeSAssar Westerlund * Makefile.am (ACLOCAL): fetch files from cf 5705e9cd1aeSAssar Westerlund 5715e9cd1aeSAssar Westerlund2000-07-01 Assar Westerlund <assar@sics.se> 5725e9cd1aeSAssar Westerlund 5735e9cd1aeSAssar Westerlund * roken-common.h (pid_file_*): fix protos 5745e9cd1aeSAssar Westerlund 5755e9cd1aeSAssar Westerlund2000-06-28 Assar Westerlund <assar@sics.se> 5765e9cd1aeSAssar Westerlund 5775e9cd1aeSAssar Westerlund * getnameinfo_verified.c (getnameinfo_verified): free memory 5785e9cd1aeSAssar Westerlund returned from getaddrinfo 5795e9cd1aeSAssar Westerlund 5805e9cd1aeSAssar Westerlund2000-06-27 Assar Westerlund <assar@sics.se> 5815e9cd1aeSAssar Westerlund 5825e9cd1aeSAssar Westerlund * resolve.c: export string_to_type and type_to_string 5835e9cd1aeSAssar Westerlund * resolve.c: add key,sig,cert update test-program 5845e9cd1aeSAssar Westerlund * resolve.h: add key,sig,cert 5855e9cd1aeSAssar Westerlund 5865e9cd1aeSAssar Westerlund2000-06-21 Assar Westerlund <assar@sics.se> 5875e9cd1aeSAssar Westerlund 5885e9cd1aeSAssar Westerlund * resolve.h: add T_SIG, T_KEY 5895e9cd1aeSAssar Westerlund * resolve.c: add SIG and KEY 5905e9cd1aeSAssar Westerlund * Makefile.am (libroken_la_SOURCES): add environment.c and 5915e9cd1aeSAssar Westerlund write_pid.c 5925e9cd1aeSAssar Westerlund 5935e9cd1aeSAssar Westerlund * write_pid.c: new file for writing a pid file. 5945e9cd1aeSAssar Westerlund 5955e9cd1aeSAssar Westerlund * environment.c: new file with functionality for reading 5965e9cd1aeSAssar Westerlund /etc/environment. From Ake Sandgren <ake@cs.umu.se> 5975e9cd1aeSAssar Westerlund 5985e9cd1aeSAssar Westerlund2000-06-12 Johan Danielsson <joda@pdc.kth.se> 5995e9cd1aeSAssar Westerlund 6005e9cd1aeSAssar Westerlund * strsep_copy.c: strsep, but with const stringp so returns string 6015e9cd1aeSAssar Westerlund in separate buffer 6025e9cd1aeSAssar Westerlund 6035e9cd1aeSAssar Westerlund2000-05-23 Assar Westerlund <assar@sics.se> 6045e9cd1aeSAssar Westerlund 6055e9cd1aeSAssar Westerlund * vsyslog.c (vsyslog): calculate length of new format string 6065e9cd1aeSAssar Westerlund correctly 6075e9cd1aeSAssar Westerlund 6085e9cd1aeSAssar Westerlund2000-05-22 Johan Danielsson <joda@pdc.kth.se> 6095e9cd1aeSAssar Westerlund 6105e9cd1aeSAssar Westerlund * getusershell.c: implment the AIX version use 6115e9cd1aeSAssar Westerlund /etc/security/login.cfg 6125e9cd1aeSAssar Westerlund 6135e9cd1aeSAssar Westerlund2000-05-21 Assar Westerlund <assar@sics.se> 6145e9cd1aeSAssar Westerlund 6155e9cd1aeSAssar Westerlund * vsyslog.c (vsyslog): actually handle `%m' 6165e9cd1aeSAssar Westerlund 6175e9cd1aeSAssar Westerlund2000-05-15 Assar Westerlund <assar@sics.se> 6185e9cd1aeSAssar Westerlund 6195e9cd1aeSAssar Westerlund * Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3 6205e9cd1aeSAssar Westerlund 6215e9cd1aeSAssar Westerlund * roken-common.h: moved __attribute__ to roken.h.in 6225e9cd1aeSAssar Westerlund 6235e9cd1aeSAssar Westerlund2000-04-14 Assar Westerlund <assar@sics.se> 6245e9cd1aeSAssar Westerlund 6255e9cd1aeSAssar Westerlund * getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the 6265e9cd1aeSAssar Westerlund correct length from `hostspec'. based on a patch from Love 6275e9cd1aeSAssar Westerlund <lha@s3.kth.se> 6285e9cd1aeSAssar Westerlund 6295e9cd1aeSAssar Westerlund2000-04-09 Assar Westerlund <assar@sics.se> 6305e9cd1aeSAssar Westerlund 6315e9cd1aeSAssar Westerlund * xdbm.h: only include one of db.h and the dbm-series 6325e9cd1aeSAssar Westerlund 6335e9cd1aeSAssar Westerlund2000-04-05 Assar Westerlund <assar@sics.se> 6345e9cd1aeSAssar Westerlund 6355e9cd1aeSAssar Westerlund * resolve.c (_resolve_debug): explicitly set to zero. this moves 6365e9cd1aeSAssar Westerlund the variable from bss to data and the dynamic linker on MacOS 6375e9cd1aeSAssar Westerlund X/Darwin seems unhappy with stuff in the bss segment. 6385e9cd1aeSAssar Westerlund 6395e9cd1aeSAssar Westerlund2000-04-03 Assar Westerlund <assar@sics.se> 6405e9cd1aeSAssar Westerlund 6415e9cd1aeSAssar Westerlund * Makefile.am: set version to 8:0:3 6425e9cd1aeSAssar Westerlund 6435e9cd1aeSAssar Westerlund2000-03-11 Assar Westerlund <assar@sics.se> 6445e9cd1aeSAssar Westerlund 6455e9cd1aeSAssar Westerlund * roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable 6465e9cd1aeSAssar Westerlund expression that also works on Crays 6475e9cd1aeSAssar Westerlund 6485e9cd1aeSAssar Westerlund2000-03-09 Assar Westerlund <assar@sics.se> 6495e9cd1aeSAssar Westerlund 6505e9cd1aeSAssar Westerlund * getarg.c (arg_match_short): backup optind when there's a missing 6515e9cd1aeSAssar Westerlund argument so that the error can point at the flag and not the 6525e9cd1aeSAssar Westerlund non-existant argument 6535e9cd1aeSAssar Westerlund 6545e9cd1aeSAssar Westerlund2000-03-03 Assar Westerlund <assar@sics.se> 6555e9cd1aeSAssar Westerlund 6565e9cd1aeSAssar Westerlund * Makefile.in (SOURCES): add timeval.c 6575e9cd1aeSAssar Westerlund * Makefile.am (libroken_la_SOURCES): add timeval.c 6585e9cd1aeSAssar Westerlund * timeval.c: new file 6595e9cd1aeSAssar Westerlund 660d61f1c79SMark Murray2000-02-19 Assar Westerlund <assar@sics.se> 661d61f1c79SMark Murray 662d61f1c79SMark Murray * Makefile.am: set version to 7:1:2 663d61f1c79SMark Murray 664d61f1c79SMark Murray2000-02-16 Assar Westerlund <assar@sics.se> 665d61f1c79SMark Murray 666d61f1c79SMark Murray * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually 667d61f1c79SMark Murray transmitted as ints 668d61f1c79SMark Murray (according to the integer protomotion rules) in variable arguments 669d61f1c79SMark Murray lists. Therefore, we should not call va_arg with short but rather 670d61f1c79SMark Murray with int. See <http://www.debian.org/Bugs/db/57/57919.html> for 671d61f1c79SMark Murray original bug report 672d61f1c79SMark Murray 673283d988cSMark Murray2000-02-13 Assar Westerlund <assar@sics.se> 674283d988cSMark Murray 675283d988cSMark Murray * Makefile.am: bump version to 7:0:2 676283d988cSMark Murray 677283d988cSMark Murray * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS 678283d988cSMark Murray * getarg.c (mandoc_template): better man-stuff for negative 679283d988cSMark Murray options 680283d988cSMark Murray 68113e3f4d6SMark Murray2000-02-07 Assar Westerlund <assar@sics.se> 68213e3f4d6SMark Murray 68313e3f4d6SMark Murray * Makefile.am: set version to 6:0:1 68413e3f4d6SMark Murray 68513e3f4d6SMark Murray2000-02-06 Assar Westerlund <assar@sics.se> 68613e3f4d6SMark Murray 68713e3f4d6SMark Murray * xdbm.h: hopefully catch a few more declarations by including 68813e3f4d6SMark Murray <ndbm.h> even if <db.h> was found 68913e3f4d6SMark Murray 69013e3f4d6SMark Murray2000-01-26 Assar Westerlund <assar@sics.se> 69113e3f4d6SMark Murray 69213e3f4d6SMark Murray * mini_inetd.c (mini_inetd): separate number of allocated sockets 69313e3f4d6SMark Murray and number of actual ones 69413e3f4d6SMark Murray * mini_inetd.c (mini_inetd): count sockets properly. and fail if 69513e3f4d6SMark Murray we cannot bind any 69613e3f4d6SMark Murray * mini_inetd.c (mini_inetd): make failing to create a socket 69713e3f4d6SMark Murray non-fatal 69813e3f4d6SMark Murray 69913e3f4d6SMark Murray2000-01-09 Assar Westerlund <assar@sics.se> 70013e3f4d6SMark Murray 70113e3f4d6SMark Murray * Makefile.am(libroken_la_SOURCES): add strcollect.c 70213e3f4d6SMark Murray * Makefile.in: add strcollect.[co] 70313e3f4d6SMark Murray * simple_exec.c: use vstrcollect 70413e3f4d6SMark Murray * roken-common.h (_PATH_DEV): add 70513e3f4d6SMark Murray (strcollect, vstrcollect): add prototypes 70613e3f4d6SMark Murray * strcollect.c: new file. functions for collapsing an `va_list' 70713e3f4d6SMark Murray into an `char **' 70813e3f4d6SMark Murray 709b528cefcSMark Murray2000-01-06 Assar Westerlund <assar@sics.se> 710b528cefcSMark Murray 711b528cefcSMark Murray * Makefile.am: bump version to 5:0:0 712b528cefcSMark Murray 713b528cefcSMark Murray1999-12-30 Assar Westerlund <assar@sics.se> 714b528cefcSMark Murray 715b528cefcSMark Murray * Makefile.am (strpftime_test_SOURCES): correct source file name 716b528cefcSMark Murray 717b528cefcSMark Murray * roken.h.in (sockaddr_storage): change padding so that we have 718b528cefcSMark Murray one char[] of pad and then an unsigned long[] (for alignment and 719b528cefcSMark Murray padding). this works much better in practice. 720b528cefcSMark Murray 721b528cefcSMark Murray1999-12-22 Assar Westerlund <assar@sics.se> 722b528cefcSMark Murray 723b528cefcSMark Murray * roken.h.in (sockaddr_storage): drop leading underscore on 724b528cefcSMark Murray `public' fields. this was the consensus on the ipng mailing list 725b528cefcSMark Murray 726b528cefcSMark Murray1999-12-21 Assar Westerlund <assar@sics.se> 727b528cefcSMark Murray 728b528cefcSMark Murray * Makefile.am (strpftime-test): define sources to avoid having 729b528cefcSMark Murray '.o' 730b528cefcSMark Murray * Makefile.am (print_version.h): use $(EXEEXT) 731b528cefcSMark Murray * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin 732b528cefcSMark Murray et al 733b528cefcSMark Murray 734b528cefcSMark Murray1999-12-20 Assar Westerlund <assar@sics.se> 735b528cefcSMark Murray 736b528cefcSMark Murray * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0 737b528cefcSMark Murray 738b528cefcSMark Murray * getaddrinfo.c (get_nodes): use getipnodebyname instead of 739b528cefcSMark Murray gethostbyname(2) 740b528cefcSMark Murray 741b528cefcSMark Murray1999-12-16 Assar Westerlund <assar@sics.se> 742b528cefcSMark Murray 743b528cefcSMark Murray * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0 744b528cefcSMark Murray 745b528cefcSMark Murray * roken.h.in (struct sockaddr_storage): redefine with the example 746b528cefcSMark Murray code from rfc2553 747b528cefcSMark Murray 748b528cefcSMark Murray * getaddrinfo.c (get_null): set loopback with correct endianess 749b528cefcSMark Murray for v4. dunno about v6. 750b528cefcSMark Murray 751b528cefcSMark Murray1999-12-13 Assar Westerlund <assar@sics.se> 752b528cefcSMark Murray 753b528cefcSMark Murray * roken.h.in: add prototypes for str[pf]time 754b528cefcSMark Murray 755b528cefcSMark Murray * signal.c: macosx = rhapsody ~= nextstep also can't handle 756b528cefcSMark Murray various definitions of the same symbol. 757b528cefcSMark Murray 758b528cefcSMark Murray1999-12-12 Assar Westerlund <assar@sics.se> 759b528cefcSMark Murray 760b528cefcSMark Murray * Makefile.am: bump version to 4:1:0 761b528cefcSMark Murray 762b528cefcSMark Murray1999-12-06 Assar Westerlund <assar@sics.se> 763b528cefcSMark Murray 764b528cefcSMark Murray * Makefile.am: bump version to 4:0:0 765b528cefcSMark Murray 766b528cefcSMark Murray1999-12-05 Assar Westerlund <assar@sics.se> 767b528cefcSMark Murray 768b528cefcSMark Murray * Makefile.in: replace inaddr2str with getnameinfo_verified 769b528cefcSMark Murray 770b528cefcSMark Murray * roken-common.h (INADDR_LOOPBACK): add fallback definition 771b528cefcSMark Murray 772b528cefcSMark Murray * roken-common.h: move getnameinfo_verified to roken.h.in 773b528cefcSMark Murray * roken.h.in (inaddr2str): remove 774b528cefcSMark Murray * Makefile.am (libroken_la_SOURCES); removed inaddr2str 775b528cefcSMark Murray * roken-common.h (getnameinfo_verified): add prototype 776b528cefcSMark Murray * getnameinfo_verified.c: new file 777b528cefcSMark Murray 778b528cefcSMark Murray1999-12-04 Assar Westerlund <assar@sics.se> 779b528cefcSMark Murray 780b528cefcSMark Murray * roken-common.h: add constants for getaddrinfo, getnameinfo 781b528cefcSMark Murray * roken.h.in (socklen_t): make independent of sockaddr_storage 782b528cefcSMark Murray (AI_*, NI_*, EAI_*): move to roken-common.h 783b528cefcSMark Murray 784b528cefcSMark Murray1999-12-03 Assar Westerlund <assar@sics.se> 785b528cefcSMark Murray 786b528cefcSMark Murray * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo' 787b528cefcSMark Murray * getaddrinfo.c (const_v*): no sizeof(sizeof()) 788b528cefcSMark Murray * getaddrinfo.c (add_hostent): search for the canonical name among 789b528cefcSMark Murray all aliases 790b528cefcSMark Murray (getaddrinfo): handle AI_NUMERICHOST correctly 791b528cefcSMark Murray * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo, 792b528cefcSMark Murray getaddrinfo, getnameinfo, gai_strerror 793b528cefcSMark Murray (getaddrinfo_test): add 794b528cefcSMark Murray * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo, 795b528cefcSMark Murray getnameinfo, gai_strerror 796b528cefcSMark Murray (getaddrinfo_test): add 797b528cefcSMark Murray * roken.h.in: arpa/inet.h: include 798b528cefcSMark Murray (socklen_t): add 799b528cefcSMark Murray (struct addrinfo): add 800b528cefcSMark Murray (EAI_*): add 801b528cefcSMark Murray (NI_*): add 802b528cefcSMark Murray (AI_*): add 803b528cefcSMark Murray (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add 804b528cefcSMark Murray * getnameinfo.c: new file 805b528cefcSMark Murray * getaddrinfo-test.c: new file 806b528cefcSMark Murray * gai_strerror.c: new file 807b528cefcSMark Murray * getaddrinfo.c: new file 808b528cefcSMark Murray * freeaddrinfo.c: new file 809b528cefcSMark Murray 810b528cefcSMark Murray1999-11-25 Assar Westerlund <assar@sics.se> 811b528cefcSMark Murray 812b528cefcSMark Murray * getopt.c (getopt): return -1 instead of EOF. From 813b528cefcSMark Murray <art@stacken.kth.se> 814b528cefcSMark Murray 815b528cefcSMark Murray1999-11-13 Assar Westerlund <assar@sics.se> 816b528cefcSMark Murray 817b528cefcSMark Murray * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less 818b528cefcSMark Murray world 819b528cefcSMark Murray 820b528cefcSMark Murray * getcap.c: make sure to use db only if we have both the library 821b528cefcSMark Murray and the header file 822b528cefcSMark Murray 823b528cefcSMark Murray1999-11-12 Assar Westerlund <assar@sics.se> 824b528cefcSMark Murray 825b528cefcSMark Murray * getarg.h: add arg_counter 826b528cefcSMark Murray * getarg.c: add a new type of argument: `arg_counter' re-organize 827b528cefcSMark Murray the code somewhat 828b528cefcSMark Murray 829b528cefcSMark Murray * Makefile.am: add strptime and strpftime-test 830b528cefcSMark Murray 831b528cefcSMark Murray * snprintf.c (xyzprintf): try to do the right thing with an % at 832b528cefcSMark Murray the end of the format string 833b528cefcSMark Murray 834b528cefcSMark Murray * strptime.c (strptime): implement '%U', '%V', '%W' 835b528cefcSMark Murray * strftime.c (strftime): implement '%U', '%V', '%W', '%z' 836b528cefcSMark Murray 837b528cefcSMark Murray * strftime.c (strftime): correct %E and %O handling. do something 838b528cefcSMark Murray reasonable with "...%" 839b528cefcSMark Murray 840b528cefcSMark Murray * strftime.c: replace the BSD implementation by one of our own 841b528cefcSMark Murray coding 842b528cefcSMark Murray 843b528cefcSMark Murray * strptime.c : new file 844b528cefcSMark Murray * strpftime-test.c: new file 845b528cefcSMark Murray 846b528cefcSMark Murray1999-11-07 Assar Westerlund <assar@sics.se> 847b528cefcSMark Murray 848b528cefcSMark Murray * parse_bytes-test.c: new file 849b528cefcSMark Murray 850b528cefcSMark Murray * Makefile.am: add parse_bytes-test 851b528cefcSMark Murray 852b528cefcSMark Murray * parse_units.c (parse_something): try to handle the case of no 853b528cefcSMark Murray value specified a little bit better 854b528cefcSMark Murray 855b528cefcSMark Murray1999-11-04 Assar Westerlund <assar@sics.se> 856b528cefcSMark Murray 857b528cefcSMark Murray * Makefile.am: bump version to 3:2:0 858b528cefcSMark Murray 859b528cefcSMark Murray1999-10-30 Assar Westerlund <assar@sics.se> 860b528cefcSMark Murray 861b528cefcSMark Murray * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work 862b528cefcSMark Murray around a gcc-bug that manifests itself on Linux-PPC. From Tom 863b528cefcSMark Murray Rini <trini@kernel.crashing.org> 864b528cefcSMark Murray 865b528cefcSMark Murray1999-10-28 Assar Westerlund <assar@sics.se> 866b528cefcSMark Murray 867b528cefcSMark Murray * Makefile.am: bump version to 3:1:0 868b528cefcSMark Murray 869b528cefcSMark Murray * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid 870b528cefcSMark Murray having to have that definition. this is the easy way out instead 871b528cefcSMark Murray of getting the definition here where it's needed. flame me. 872b528cefcSMark Murray 873b528cefcSMark MurrayFri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se> 874b528cefcSMark Murray 875b528cefcSMark Murray * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even 876b528cefcSMark Murray though it should), use getspnam(). 877b528cefcSMark Murray 878b528cefcSMark Murray1999-10-20 Assar Westerlund <assar@sics.se> 879b528cefcSMark Murray 880b528cefcSMark Murray * Makefile.am: set version to 3:0:0 881b528cefcSMark Murray 882b528cefcSMark Murray1999-10-18 Johan Danielsson <joda@pdc.kth.se> 883b528cefcSMark Murray 884b528cefcSMark Murray * getarg.3: document arg_collect 885b528cefcSMark Murray 886b528cefcSMark Murray * getarg.c: change the way arg_collect works; it's still quite 887b528cefcSMark Murray horrible though 888b528cefcSMark Murray 889b528cefcSMark Murray * getarg.h: change type of the collect function 890b528cefcSMark Murray 891b528cefcSMark Murray1999-10-17 Assar Westerlund <assar@sics.se> 892b528cefcSMark Murray 893b528cefcSMark Murray * xdbm.h: undo last commit 894b528cefcSMark Murray 895b528cefcSMark Murray * xdbm.h: reorder db includes 896b528cefcSMark Murray 897b528cefcSMark Murray1999-10-10 Assar Westerlund <assar@sics.se> 898b528cefcSMark Murray 899b528cefcSMark Murray * socket.c: const-ize and comment 900b528cefcSMark Murray 901b528cefcSMark Murray * net_write.c: const-ize 902b528cefcSMark Murray 903b528cefcSMark Murray * base64.c: const-ize 904b528cefcSMark Murray 905b528cefcSMark Murray1999-10-06 Assar Westerlund <assar@sics.se> 906b528cefcSMark Murray 907b528cefcSMark Murray * getarg.c (getarg): also set optind when returning error 908b528cefcSMark Murray 909b528cefcSMark Murray1999-09-26 Assar Westerlund <assar@sics.se> 910b528cefcSMark Murray 911b528cefcSMark Murray * Makefile.am: add parse_bytes.[ch] 912b528cefcSMark Murray 913b528cefcSMark Murray1999-09-24 Johan Danielsson <joda@pdc.kth.se> 914b528cefcSMark Murray 915b528cefcSMark Murray * getarg.3: getarg manpage 916b528cefcSMark Murray 917b528cefcSMark Murray * getarg.{c,h}: add a callback type to do more complicated processing 918b528cefcSMark Murray 919b528cefcSMark Murray * getarg.{c,h}: add floating point support 920b528cefcSMark Murray 921b528cefcSMark Murray1999-09-16 Assar Westerlund <assar@sics.se> 922b528cefcSMark Murray 923b528cefcSMark Murray * strlcat.c (strlcat): call strlcpy 924b528cefcSMark Murray 925b528cefcSMark Murray * strlcpy.c: update name and prototype 926b528cefcSMark Murray 927b528cefcSMark Murray * strlcat.c: update name and prototype 928b528cefcSMark Murray 929b528cefcSMark Murray * roken.h.in: rename strc{py,at}_truncate to strlc{py,at} 930b528cefcSMark Murray 931b528cefcSMark Murray * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at} 932b528cefcSMark Murray 933b528cefcSMark Murray * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at} 934b528cefcSMark Murray 935b528cefcSMark Murray * strcpy_truncate.c (strcpy_truncate): change return value to be 936b528cefcSMark Murray the length of `src' 937b528cefcSMark Murray 938b528cefcSMark Murray1999-08-16 Assar Westerlund <assar@sics.se> 939b528cefcSMark Murray 940b528cefcSMark Murray * getcap.c: try to make this work on systems with DB 941b528cefcSMark Murray 942b528cefcSMark Murray1999-08-16 Johan Danielsson <joda@pdc.kth.se> 943b528cefcSMark Murray 944b528cefcSMark Murray * getcap.c: protect from db-less systems 945b528cefcSMark Murray 946b528cefcSMark Murray1999-08-09 Johan Danielsson <joda@pdc.kth.se> 947b528cefcSMark Murray 948b528cefcSMark Murray * simple_exec.c: add simple_exec{ve,le} 949b528cefcSMark Murray 950b528cefcSMark Murray * getcap.c: getcap from NetBSD 951b528cefcSMark Murray 952b528cefcSMark Murray1999-08-06 Assar Westerlund <assar@sics.se> 953b528cefcSMark Murray 954b528cefcSMark Murray * roken.h.in (sockaddr_storage): cater for those that have 955b528cefcSMark Murray v6-support also 956b528cefcSMark Murray 957b528cefcSMark Murray1999-08-05 Assar Westerlund <assar@sics.se> 958b528cefcSMark Murray 959b528cefcSMark Murray * inet_ntop.c (inet_ntop_v4): remember to call ntohl 960b528cefcSMark Murray 961b528cefcSMark Murray1999-08-04 Assar Westerlund <assar@sics.se> 962b528cefcSMark Murray 963b528cefcSMark Murray * roken-common.h: add shutdown constants 964b528cefcSMark Murray 965b528cefcSMark Murray * mini_inetd.c (listen_v4, listen_v6): handle the case of the 966b528cefcSMark Murray protocol not being supported 967b528cefcSMark Murray 968b528cefcSMark Murray1999-08-01 Assar Westerlund <assar@sics.se> 969b528cefcSMark Murray 970b528cefcSMark Murray * mini_inetd.c (socket_set_reuseaddr): remove duplicate 971b528cefcSMark Murray 972b528cefcSMark Murray1999-07-29 Assar Westerlund <assar@sics.se> 973b528cefcSMark Murray 974b528cefcSMark Murray * mini_inetd.c (mini_inetd): fix my stupid bugs 975b528cefcSMark Murray 976b528cefcSMark Murray1999-07-28 Assar Westerlund <assar@sics.se> 977b528cefcSMark Murray 978b528cefcSMark Murray * roken-common.h: add socket* functions 979b528cefcSMark Murray 980b528cefcSMark Murray * Makefile.am (libroken_la_SOURCES): add socket.c 981b528cefcSMark Murray 982b528cefcSMark Murray * socket.c: new file, originally from appl/ftp/common 983b528cefcSMark Murray 984b528cefcSMark Murray * Makefile.am: set version to 2:0:2 985b528cefcSMark Murray 986b528cefcSMark Murray * roken.h.in (inet_pton): add prototype 987b528cefcSMark Murray 988b528cefcSMark Murray * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton 989b528cefcSMark Murray 990b528cefcSMark Murray * inet_pton.c: new file 991b528cefcSMark Murray 992b528cefcSMark Murray * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we 993b528cefcSMark Murray have it 994b528cefcSMark Murray 995b528cefcSMark Murray1999-07-27 Assar Westerlund <assar@sics.se> 996b528cefcSMark Murray 997b528cefcSMark Murray * mini_inetd.c: support IPv6 998b528cefcSMark Murray 999b528cefcSMark Murray1999-07-26 Assar Westerlund <assar@sics.se> 1000b528cefcSMark Murray 1001b528cefcSMark Murray * Makefile.am: set version to 1:0:1 1002b528cefcSMark Murray 1003b528cefcSMark Murray * roken.h.in (inet_ntop): add prototype 1004b528cefcSMark Murray 1005b528cefcSMark Murray * roken-common.h: (INET{,6}_ADDRSTRLEN): add 1006b528cefcSMark Murray 1007b528cefcSMark Murray * inet_ntop.c: new file 1008b528cefcSMark Murray 1009b528cefcSMark Murray * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c 1010b528cefcSMark Murray 1011b528cefcSMark Murray * Makefile.am: move some files from libroken_la_SOURCES to 1012b528cefcSMark Murray EXTRA_libroken_la_SOURCES 1013b528cefcSMark Murray 1014b528cefcSMark Murray * snprintf.c: some signed vs unsigned casts 1015b528cefcSMark Murray 1016b528cefcSMark Murray1999-07-24 Assar Westerlund <assar@sics.se> 1017b528cefcSMark Murray 1018b528cefcSMark Murray * roken.h.in (struct sockaddr_storage): define it needed 1019b528cefcSMark Murray 1020b528cefcSMark Murray1999-07-19 Assar Westerlund <assar@sics.se> 1021b528cefcSMark Murray 1022b528cefcSMark Murray * Makefile.am (libroken_la_SOURCES): add copyhostent.c, 1023b528cefcSMark Murray freehostent.c, getipnodebyname.c, getipnodebyaddr.c 1024b528cefcSMark Murray 1025b528cefcSMark Murray * roken.h.in: <netdb.h>: include 1026b528cefcSMark Murray (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add 1027b528cefcSMark Murray prototypes 1028b528cefcSMark Murray 1029b528cefcSMark Murray * roken-common.h: new constants for getipnodeby* 1030b528cefcSMark Murray 1031b528cefcSMark Murray * Makefile.in (SOURCES): add freehostent, copyhostent, 1032b528cefcSMark Murray getipnodebyname, getipnodebyaddr 1033b528cefcSMark Murray 1034b528cefcSMark Murray * freehostent.c: new file 1035b528cefcSMark Murray 1036b528cefcSMark Murray * copyhostent.c: new file 1037b528cefcSMark Murray 1038b528cefcSMark Murray * getipnodebyaddr.c: new file 1039b528cefcSMark Murray 1040b528cefcSMark Murray * getipnodebyname.c: new file 1041b528cefcSMark Murray 1042b528cefcSMark Murray1999-07-13 Assar Westerlund <assar@sics.se> 1043b528cefcSMark Murray 1044b528cefcSMark Murray * roken.h.in (k_getpwnam): update prototype 1045b528cefcSMark Murray 1046b528cefcSMark Murray * k_getpwnam.c (k_getpwnam): const-ize 1047b528cefcSMark Murray 1048b528cefcSMark Murray * get_default_username.c (get_default_username): a better way of 1049b528cefcSMark Murray guessing when the user has su:ed 1050b528cefcSMark Murray 1051b528cefcSMark Murray1999-07-08 Johan Danielsson <joda@pdc.kth.se> 1052b528cefcSMark Murray 1053b528cefcSMark Murray * roken.awk: use puts, as suggested by Jeffrey Hutzelman 1054b528cefcSMark Murray <jhutz+@cmu.edu> 1055b528cefcSMark Murray 1056b528cefcSMark Murray1999-07-06 Assar Westerlund <assar@sics.se> 1057b528cefcSMark Murray 1058b528cefcSMark Murray * readv.c (readv): typo 1059b528cefcSMark Murray 1060b528cefcSMark Murray1999-07-03 Assar Westerlund <assar@sics.se> 1061b528cefcSMark Murray 1062b528cefcSMark Murray * writev.c (writev): error check malloc properly 1063b528cefcSMark Murray 1064b528cefcSMark Murray * sendmsg.c (sendmsg): error check malloc properly 1065b528cefcSMark Murray 1066b528cefcSMark Murray * resolve.c (parse_reply): error check malloc properly 1067b528cefcSMark Murray 1068b528cefcSMark Murray * recvmsg.c (recvmsg): error check malloc properly 1069b528cefcSMark Murray 1070b528cefcSMark Murray * readv.c (readv): error check malloc properly 1071b528cefcSMark Murray 1072b528cefcSMark Murray1999-06-23 Assar Westerlund <assar@sics.se> 1073b528cefcSMark Murray 1074b528cefcSMark Murray * parse_units.c (acc_units): move the special case of 0 -> 1 to 1075b528cefcSMark Murray parse_something to avoid having it happen at the end of the string 1076b528cefcSMark Murray 1077b528cefcSMark Murray1999-06-15 Assar Westerlund <assar@sics.se> 1078b528cefcSMark Murray 1079b528cefcSMark Murray * Makefile.in: add get_default_username 1080b528cefcSMark Murray 1081b528cefcSMark Murray * get_default_username.c: new file 1082b528cefcSMark Murray 1083b528cefcSMark Murray * roken.h.in (get_default_username): add prototype 1084b528cefcSMark Murray 1085b528cefcSMark Murray * Makefile.am: add get_default_username 1086b528cefcSMark Murray 1087b528cefcSMark Murray1999-05-08 Assar Westerlund <assar@sics.se> 1088b528cefcSMark Murray 1089b528cefcSMark Murray * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1 1090b528cefcSMark Murray 1091b528cefcSMark Murray * strnlen.c (strnlen): update prototype 1092b528cefcSMark Murray 1093b528cefcSMark Murray * Makefile.am: strndup.c: add 1094b528cefcSMark Murray 1095b528cefcSMark Murray * Makefile.in: strndup.c: add 1096b528cefcSMark Murray 1097b528cefcSMark Murray * roken.h.in (strndup): add 1098b528cefcSMark Murray (strnlen): update prototype 1099b528cefcSMark Murray 1100b528cefcSMark Murray * strndup.c: new file 1101b528cefcSMark Murray 1102b528cefcSMark MurrayFri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se> 1103b528cefcSMark Murray 1104b528cefcSMark Murray * roken.h.in: include strsep prototype if needed 1105b528cefcSMark Murray 1106b528cefcSMark MurrayThu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1107b528cefcSMark Murray 1108b528cefcSMark Murray * Makefile.am: make make-print-version.o depend on version.h 1109b528cefcSMark Murray 1110b528cefcSMark MurrayWed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1111b528cefcSMark Murray 1112b528cefcSMark Murray * Makefile.am: make it compile w/o krb4 1113b528cefcSMark Murray 1114b528cefcSMark MurraySat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se> 1115b528cefcSMark Murray 1116b528cefcSMark Murray * snprintf.c (vasnprintf): correct check if realloc returns NULL 1117b528cefcSMark Murray 1118b528cefcSMark MurraySat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1119b528cefcSMark Murray 1120b528cefcSMark Murray * Makefile.am: link print_version with -ldes to avoid unresolved 1121b528cefcSMark Murray references if -lkrb is shared 1122b528cefcSMark Murray 1123b528cefcSMark MurraySat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se> 1124b528cefcSMark Murray 1125b528cefcSMark Murray * roken-common.h (eread, ewrite): add 1126b528cefcSMark Murray 1127b528cefcSMark Murray * simple_exec.c: add <roken.h> 1128b528cefcSMark Murray 1129b528cefcSMark MurrayFri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se> 1130b528cefcSMark Murray 1131b528cefcSMark Murray * Makefile.in: add eread, ewrite 1132b528cefcSMark Murray 1133b528cefcSMark Murray * eread.c, ewrite.c: new files 1134b528cefcSMark Murray 1135b528cefcSMark Murray * Makefile.am (libroken_la_SOURCES): add eread and ewrite 1136b528cefcSMark Murray 1137b528cefcSMark MurrayFri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1138b528cefcSMark Murray 1139b528cefcSMark Murray * Makefile.am: add version-info 1140b528cefcSMark Murray 1141b528cefcSMark MurrayThu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1142b528cefcSMark Murray 1143b528cefcSMark Murray * Makefile.am: remove include_dir hack 1144b528cefcSMark Murray 1145b528cefcSMark Murray * Makefile.am: parse_units.h 1146b528cefcSMark Murray 1147b528cefcSMark Murray * Makefile.am: include Makefile.am.common 1148b528cefcSMark Murray 1149b528cefcSMark MurraySat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se> 1150b528cefcSMark Murray 1151b528cefcSMark Murray * Makefile.in (SOURCES): add glob.c 1152b528cefcSMark Murray 1153b528cefcSMark MurrayThu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1154b528cefcSMark Murray 1155b528cefcSMark Murray * iruserok.c: move innetgr() to separate file 1156b528cefcSMark Murray 1157b528cefcSMark Murray * innetgr.c: move innetgr() to separate file 1158b528cefcSMark Murray 1159b528cefcSMark Murray * hstrerror.c (hstrerror): add const to return type 1160b528cefcSMark Murray 1161b528cefcSMark Murray * erealloc.c: fix types in format string 1162b528cefcSMark Murray 1163b528cefcSMark Murray * emalloc.c: fix types in format string 1164b528cefcSMark Murray 1165b528cefcSMark MurrayWed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1166b528cefcSMark Murray 1167b528cefcSMark Murray * resolve.c: ugly fix for crays 1168b528cefcSMark Murray 1169b528cefcSMark MurrayMon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se> 1170b528cefcSMark Murray 1171b528cefcSMark Murray * roken.h.in: protos for {un,}setenv 1172b528cefcSMark Murray 1173b528cefcSMark Murray1999-02-16 Assar Westerlund <assar@sics.se> 1174b528cefcSMark Murray 1175b528cefcSMark Murray * Makefile.in (SOURCES): add fnmatch 1176b528cefcSMark Murray 1177b528cefcSMark Murray * roken-common.h (abs): add 1178b528cefcSMark Murray 1179b528cefcSMark MurraySat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se> 1180b528cefcSMark Murray 1181b528cefcSMark Murray * emalloc.c, erealloc.c, estrup.c: new files 1182b528cefcSMark Murray 1183b528cefcSMark Murray * roken.h.in (mkstemp, gethostname): also includes prototypes if 1184b528cefcSMark Murray they are needed. 1185b528cefcSMark Murray 1186b528cefcSMark Murray1998-12-23 Assar Westerlund <assar@sics.se> 1187b528cefcSMark Murray 1188b528cefcSMark Murray * roken.h.in: mkstemp: add prototype 1189b528cefcSMark Murray 1190b528cefcSMark Murray1998-12-20 Assar Westerlund <assar@sics.se> 1191b528cefcSMark Murray 1192b528cefcSMark Murray * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness 1193b528cefcSMark Murray 1194b528cefcSMark Murray * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO 1195b528cefcSMark Murray 1196b528cefcSMark Murray * roken-common.h: __attribute__: check for autoconf'd 1197b528cefcSMark Murray HAVE___ATTRIBUTE__ instead of GNUC 1198b528cefcSMark Murray 1199b528cefcSMark MurraySun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se> 1200b528cefcSMark Murray 1201b528cefcSMark Murray * parse_units.c (parse_something): func is called with val == 0 if 1202b528cefcSMark Murray no unit was given 1203b528cefcSMark Murray (acc_flags, acc_units): update to new standard 1204b528cefcSMark Murray 1205b528cefcSMark MurrayFri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se> 1206b528cefcSMark Murray 1207b528cefcSMark Murray * resolve.c (stot): constify 1208b528cefcSMark Murray (type_to_string): always declare 1209b528cefcSMark Murray (dns_lookup_int): correct debug output 1210b528cefcSMark Murray 1211b528cefcSMark MurrayThu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se> 1212b528cefcSMark Murray 1213b528cefcSMark Murray * resolve.c (dns_lookup_int): send rr_class to res_search 1214b528cefcSMark Murray 1215b528cefcSMark MurrayThu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se> 1216b528cefcSMark Murray 1217b528cefcSMark Murray * resolve.c: some cleanup 1218b528cefcSMark Murray 1219b528cefcSMark Murray * resolve.h: add T_NAPTR 1220b528cefcSMark Murray 1221b528cefcSMark MurraySun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se> 1222b528cefcSMark Murray 1223b528cefcSMark Murray * Makefile.in (WFLAGS): set 1224b528cefcSMark Murray 1225b528cefcSMark Murray * k_getpwnam.c (k_getpwnam): check for `struct spwd' 1226b528cefcSMark Murray 1227b528cefcSMark Murray * k_getpwuid.c (k_getpwuid): check for `struct spwd' 1228b528cefcSMark Murray 1229b528cefcSMark MurrayTue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se> 1230b528cefcSMark Murray 1231b528cefcSMark Murray * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu 1232b528cefcSMark Murray 1233b528cefcSMark MurrayFri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1234b528cefcSMark Murray 1235b528cefcSMark Murray * vsyslog.c: asprintf -> vasprintf 1236b528cefcSMark Murray 1237b528cefcSMark MurrayTue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se> 1238b528cefcSMark Murray 1239b528cefcSMark Murray * getarg.h (arg_printusage): new signature 1240b528cefcSMark Murray 1241b528cefcSMark Murray * getarg.c (arg_printusage): new parameter `progname'. NULL means 1242b528cefcSMark Murray __progname. 1243b528cefcSMark Murray 1244b528cefcSMark MurraySun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1245b528cefcSMark Murray 1246b528cefcSMark Murray * Makefile.am: net_{read,write}.c 1247b528cefcSMark Murray 1248b528cefcSMark MurrayFri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se> 1249b528cefcSMark Murray 1250b528cefcSMark Murray * simple_exec.c (simple_execvp): loop around waitpid when errno == 1251b528cefcSMark Murray EINTR 1252b528cefcSMark Murray 1253b528cefcSMark MurrayThu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1254b528cefcSMark Murray 1255b528cefcSMark Murray * Makefile.am: net_{read,write}.c 1256b528cefcSMark Murray 1257b528cefcSMark MurrayWed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se> 1258b528cefcSMark Murray 1259b528cefcSMark Murray * simple_exec.c (simple_execlp): initialize `argv' 1260b528cefcSMark Murray 1261b528cefcSMark MurrayMon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se> 1262b528cefcSMark Murray 1263b528cefcSMark Murray * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list, 1264b528cefcSMark Murray use a copy instead 1265b528cefcSMark Murray 1266b528cefcSMark MurrayFri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se> 1267b528cefcSMark Murray 1268b528cefcSMark Murray * roken.h.in (net_write, net_read): add prototypes 1269b528cefcSMark Murray 1270b528cefcSMark Murray * Makefile.in: net_{read,write}.c: add 1271b528cefcSMark Murray 1272b528cefcSMark Murray * net_{read,write}.c: new files 1273b528cefcSMark Murray 1274b528cefcSMark MurrayTue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se> 1275b528cefcSMark Murray 1276b528cefcSMark Murray * roken.h.in (issuid): add 1277b528cefcSMark Murray 1278b528cefcSMark Murray * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of 1279b528cefcSMark Murray fields 1280b528cefcSMark Murray 1281b528cefcSMark MurraySun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1282b528cefcSMark Murray 1283b528cefcSMark Murray * getarg.c (mandoc_template): Put short and long options in 1284b528cefcSMark Murray SYNOPSIS within the same [ ] pair. 1285b528cefcSMark Murray 1286b528cefcSMark MurraySat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1287b528cefcSMark Murray 1288b528cefcSMark Murray * getarg.c (arg_printusage): try to keep options shorter than 1289b528cefcSMark Murray column width 1290b528cefcSMark Murray 1291b528cefcSMark Murray * get_window_size.c (get_window_size): check COLUMNS and LINES 1292b528cefcSMark Murray 1293b528cefcSMark MurrayFri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1294b528cefcSMark Murray 1295b528cefcSMark Murray * getarg.c (mandoc_template): Put short and long options in 1296b528cefcSMark Murray DESCRIPTION on the same line. 1297b528cefcSMark Murray 1298b528cefcSMark Murray * getarg.c (arg_match_long): make sure you only get an exact match 1299b528cefcSMark Murray if the strings are the same length 1300b528cefcSMark Murray 1301b528cefcSMark MurrayThu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se> 1302b528cefcSMark Murray 1303b528cefcSMark Murray * roken.awk: stupid cray awk wants \# 1304b528cefcSMark Murray 1305b528cefcSMark MurrayFri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se> 1306b528cefcSMark Murray 1307b528cefcSMark Murray * print_version.c (print_version): according to ISO/ANSI C the 1308b528cefcSMark Murray elements of `arg' are not constant and therefore not settable at 1309b528cefcSMark Murray compile-time. Set the at run-time instead. 1310b528cefcSMark Murray 1311b528cefcSMark MurraySun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se> 1312b528cefcSMark Murray 1313b528cefcSMark Murray * roken.h.in: include paths.h 1314b528cefcSMark Murray 1315b528cefcSMark MurraySun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se> 1316b528cefcSMark Murray 1317b528cefcSMark Murray * Makefile.in (SOURCES): add roken_gethostby.c to make solaris 1318b528cefcSMark Murray make happy 1319b528cefcSMark Murray 1320b528cefcSMark MurrayThu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1321b528cefcSMark Murray 1322b528cefcSMark Murray * simple_exec.c: Simple fork+exec system() replacement. 1323b528cefcSMark Murray 1324b528cefcSMark MurrayFri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1325b528cefcSMark Murray 1326b528cefcSMark Murray * roken_gethostby.c: Make `roken_gethostby_setup' take url-like 1327b528cefcSMark Murray specification instead of split up versions. Makes it easier for 1328b528cefcSMark Murray calling applications. 1329b528cefcSMark Murray 1330b528cefcSMark Murray * roken_gethostby.c: Another miracle of the 20th century: 1331b528cefcSMark Murray gethostby* over HTTP. 1332b528cefcSMark Murray 1333b528cefcSMark MurraySat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se> 1334b528cefcSMark Murray 1335b528cefcSMark Murray * parse_time.c (unparse_time_approx): new function that calls 1336b528cefcSMark Murray `unparse_units_approx' 1337b528cefcSMark Murray 1338b528cefcSMark Murray * parse_units.c (unparse_units_approx): new function that will 1339b528cefcSMark Murray only print the first unit. 1340b528cefcSMark Murray 1341b528cefcSMark Murray * Makefile.in: include parse_{time,units} 1342b528cefcSMark Murray 1343b528cefcSMark MurrayThu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se> 1344b528cefcSMark Murray 1345b528cefcSMark Murray * parse_time.c (print_time_table): don't return a void value. 1346b528cefcSMark Murray 1347b528cefcSMark MurrayTue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1348b528cefcSMark Murray 1349b528cefcSMark Murray * getarg.c (mandoc_template): Change date format to full month 1350b528cefcSMark Murray name, and day of month without leading zero. 1351b528cefcSMark Murray 1352b528cefcSMark MurrayThu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se> 1353b528cefcSMark Murray 1354b528cefcSMark Murray * getarg.c: Fix long form of negative flags. 1355b528cefcSMark Murray 1356b528cefcSMark MurrayMon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1357b528cefcSMark Murray 1358b528cefcSMark Murray * roken.h.in: Include <err.h>, to get linux __progname. 1359b528cefcSMark Murray 1360b528cefcSMark MurraySun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se> 1361b528cefcSMark Murray 1362b528cefcSMark Murray * parse_time.c (print_time_table): new function 1363b528cefcSMark Murray 1364b528cefcSMark Murray * parse_units.c (print_flags_table, print_units_table): new 1365b528cefcSMark Murray functions. 1366b528cefcSMark Murray 1367b528cefcSMark MurrayThu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se> 1368b528cefcSMark Murray 1369b528cefcSMark Murray * iruserok.c: moved here. 1370b528cefcSMark Murray 1371b528cefcSMark Murray * snprintf.c (sn_append_char): don't write any terminating zero. 1372b528cefcSMark Murray (as_reserve): don't loop. better heuristic for how much space to 1373b528cefcSMark Murray realloc. 1374b528cefcSMark Murray (vasnprintf): simplify initializing to one. 1375b528cefcSMark Murray 1376b528cefcSMark MurraySun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1377b528cefcSMark Murray 1378b528cefcSMark Murray * getarg.c: Add mandoc help back-end to getarg. 1379b528cefcSMark Murray 1380b528cefcSMark MurrayWed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1381b528cefcSMark Murray 1382b528cefcSMark Murray * verr.c, verrx.c: Fix warnings by moving exit from. 1383b528cefcSMark Murray 1384b528cefcSMark MurrayTue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1385b528cefcSMark Murray 1386b528cefcSMark Murray * parse_units.c: Change the list of separating characters (between 1387b528cefcSMark Murray units) to comma, space, and tab, removing digits. Having digits in 1388b528cefcSMark Murray this list makes a flag like `T42 generate a parse error. This 1389b528cefcSMark Murray change makes `17m3s' an invalid time-spec (you need a space). 1390b528cefcSMark Murray 1391b528cefcSMark MurrayTue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se> 1392b528cefcSMark Murray 1393b528cefcSMark Murray * roken.h: add <sys/socket.h> 1394b528cefcSMark Murray 1395b528cefcSMark MurraySun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se> 1396b528cefcSMark Murray 1397b528cefcSMark Murray * fnmatch.c: Add fnmatch from NetBSD 1398b528cefcSMark Murray 1399b528cefcSMark MurraySun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se> 1400b528cefcSMark Murray 1401b528cefcSMark Murray * parse_units.c (parse_something): ignore white-space and ',' 1402b528cefcSMark Murray 1403b528cefcSMark MurrayMon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se> 1404b528cefcSMark Murray 1405b528cefcSMark Murray * roken.h: fclose prototype 1406b528cefcSMark Murray 1407b528cefcSMark Murray * roken.h: add prototype for vsyslog 1408b528cefcSMark Murray 1409b528cefcSMark Murray * Makefile.in: add some more source files to make soriasis make 1410b528cefcSMark Murray happy 1411b528cefcSMark Murray 1412b528cefcSMark MurraySat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se> 1413b528cefcSMark Murray 1414b528cefcSMark Murray * roken.h: include <sys/uio.h> and <errno.h>. 1415b528cefcSMark Murray prototypes for readv and writev 1416b528cefcSMark Murray 1417b528cefcSMark Murray * readv.c, writev.c: new files 1418b528cefcSMark Murray 1419b528cefcSMark MurrayWed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se> 1420b528cefcSMark Murray 1421b528cefcSMark Murray * roken.h: Add ugly macros for openlog, gethostbyname, 1422b528cefcSMark Murray gethostbyaddr, and getservbyname for the benefit of Crays. Add 1423b528cefcSMark Murray default definition of MAXPATHLEN 1424