ChangeLog revision 57422
1239278Sgonzo2000-02-19 Assar Westerlund <assar@sics.se> 2239278Sgonzo 3239278Sgonzo * Makefile.am: set version to 7:1:2 4239278Sgonzo 5239278Sgonzo2000-02-16 Assar Westerlund <assar@sics.se> 6239278Sgonzo 7239278Sgonzo * snprintf.c (PARSE_INT_FORMAT): note that shorts are actually 8239278Sgonzo transmitted as ints 9239278Sgonzo (according to the integer protomotion rules) in variable arguments 10239278Sgonzo lists. Therefore, we should not call va_arg with short but rather 11239278Sgonzo with int. See <http://www.debian.org/Bugs/db/57/57919.html> for 12239278Sgonzo original bug report 13239278Sgonzo 14239278Sgonzo2000-02-13 Assar Westerlund <assar@sics.se> 15239278Sgonzo 16239278Sgonzo * Makefile.am: bump version to 7:0:2 17239278Sgonzo 18239278Sgonzo * getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS 19239278Sgonzo * getarg.c (mandoc_template): better man-stuff for negative 20239278Sgonzo options 21239278Sgonzo 22239278Sgonzo2000-02-07 Assar Westerlund <assar@sics.se> 23239278Sgonzo 24239278Sgonzo * Makefile.am: set version to 6:0:1 25239278Sgonzo 26239278Sgonzo2000-02-06 Assar Westerlund <assar@sics.se> 27239278Sgonzo 28239278Sgonzo * xdbm.h: hopefully catch a few more declarations by including 29239278Sgonzo <ndbm.h> even if <db.h> was found 30239278Sgonzo 31239278Sgonzo2000-01-26 Assar Westerlund <assar@sics.se> 32239278Sgonzo 33239278Sgonzo * mini_inetd.c (mini_inetd): separate number of allocated sockets 34239278Sgonzo and number of actual ones 35239278Sgonzo * mini_inetd.c (mini_inetd): count sockets properly. and fail if 36242692Skevlo we cannot bind any 37239278Sgonzo * mini_inetd.c (mini_inetd): make failing to create a socket 38239278Sgonzo non-fatal 39239278Sgonzo 40239278Sgonzo2000-01-09 Assar Westerlund <assar@sics.se> 41239278Sgonzo 42239278Sgonzo * Makefile.am(libroken_la_SOURCES): add strcollect.c 43239278Sgonzo * Makefile.in: add strcollect.[co] 44239278Sgonzo * simple_exec.c: use vstrcollect 45239278Sgonzo * roken-common.h (_PATH_DEV): add 46239278Sgonzo (strcollect, vstrcollect): add prototypes 47239278Sgonzo * strcollect.c: new file. functions for collapsing an `va_list' 48239278Sgonzo into an `char **' 49239278Sgonzo 50239278Sgonzo2000-01-06 Assar Westerlund <assar@sics.se> 51239278Sgonzo 52239278Sgonzo * Makefile.am: bump version to 5:0:0 53239278Sgonzo 54239278Sgonzo1999-12-30 Assar Westerlund <assar@sics.se> 55239278Sgonzo 56239278Sgonzo * Makefile.am (strpftime_test_SOURCES): correct source file name 57239278Sgonzo 58239278Sgonzo * roken.h.in (sockaddr_storage): change padding so that we have 59239278Sgonzo one char[] of pad and then an unsigned long[] (for alignment and 60239278Sgonzo padding). this works much better in practice. 61239278Sgonzo 62239278Sgonzo1999-12-22 Assar Westerlund <assar@sics.se> 63239278Sgonzo 64239278Sgonzo * roken.h.in (sockaddr_storage): drop leading underscore on 65239278Sgonzo `public' fields. this was the consensus on the ipng mailing list 66239278Sgonzo 67239278Sgonzo1999-12-21 Assar Westerlund <assar@sics.se> 68239278Sgonzo 69239278Sgonzo * Makefile.am (strpftime-test): define sources to avoid having 70239278Sgonzo '.o' 71239278Sgonzo * Makefile.am (print_version.h): use $(EXEEXT) 72239278Sgonzo * Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin 73239278Sgonzo et al 74239278Sgonzo 75239278Sgonzo1999-12-20 Assar Westerlund <assar@sics.se> 76239278Sgonzo 77239278Sgonzo * Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0 78239278Sgonzo 79239278Sgonzo * getaddrinfo.c (get_nodes): use getipnodebyname instead of 80239278Sgonzo gethostbyname(2) 81239278Sgonzo 82277996Sloos1999-12-16 Assar Westerlund <assar@sics.se> 83239278Sgonzo 84239278Sgonzo * Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0 85239278Sgonzo 86239278Sgonzo * roken.h.in (struct sockaddr_storage): redefine with the example 87239278Sgonzo code from rfc2553 88239278Sgonzo 89239278Sgonzo * getaddrinfo.c (get_null): set loopback with correct endianess 90239278Sgonzo for v4. dunno about v6. 91239278Sgonzo 92239278Sgonzo1999-12-13 Assar Westerlund <assar@sics.se> 93239278Sgonzo 94277996Sloos * roken.h.in: add prototypes for str[pf]time 95239278Sgonzo 96239278Sgonzo * signal.c: macosx = rhapsody ~= nextstep also can't handle 97239278Sgonzo various definitions of the same symbol. 98239278Sgonzo 99239278Sgonzo1999-12-12 Assar Westerlund <assar@sics.se> 100239278Sgonzo 101239278Sgonzo * Makefile.am: bump version to 4:1:0 102239278Sgonzo 103239278Sgonzo1999-12-06 Assar Westerlund <assar@sics.se> 104239278Sgonzo 105239278Sgonzo * Makefile.am: bump version to 4:0:0 106239278Sgonzo 107239278Sgonzo1999-12-05 Assar Westerlund <assar@sics.se> 108239278Sgonzo 109239278Sgonzo * Makefile.in: replace inaddr2str with getnameinfo_verified 110239278Sgonzo 111239278Sgonzo * roken-common.h (INADDR_LOOPBACK): add fallback definition 112239278Sgonzo 113239278Sgonzo * roken-common.h: move getnameinfo_verified to roken.h.in 114239278Sgonzo * roken.h.in (inaddr2str): remove 115239278Sgonzo * Makefile.am (libroken_la_SOURCES); removed inaddr2str 116239278Sgonzo * roken-common.h (getnameinfo_verified): add prototype 117239278Sgonzo * getnameinfo_verified.c: new file 118239278Sgonzo 119239278Sgonzo1999-12-04 Assar Westerlund <assar@sics.se> 120239278Sgonzo 121239278Sgonzo * roken-common.h: add constants for getaddrinfo, getnameinfo 122239278Sgonzo * roken.h.in (socklen_t): make independent of sockaddr_storage 123239278Sgonzo (AI_*, NI_*, EAI_*): move to roken-common.h 124239278Sgonzo 125239278Sgonzo1999-12-03 Assar Westerlund <assar@sics.se> 126239278Sgonzo 127239278Sgonzo * mini_inetd.c (mini_inted): rewrite to use `getaddrinfo' 128239278Sgonzo * getaddrinfo.c (const_v*): no sizeof(sizeof()) 129239278Sgonzo * getaddrinfo.c (add_hostent): search for the canonical name among 130239278Sgonzo all aliases 131239278Sgonzo (getaddrinfo): handle AI_NUMERICHOST correctly 132239278Sgonzo * Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo, 133239278Sgonzo getaddrinfo, getnameinfo, gai_strerror 134239278Sgonzo (getaddrinfo_test): add 135239278Sgonzo * Makefile.in (SOURCES): add freeaddinfo, getaddrinfo, 136239278Sgonzo getnameinfo, gai_strerror 137239278Sgonzo (getaddrinfo_test): add 138239278Sgonzo * roken.h.in: arpa/inet.h: include 139239278Sgonzo (socklen_t): add 140277996Sloos (struct addrinfo): add 141239278Sgonzo (EAI_*): add 142239278Sgonzo (NI_*): add 143239278Sgonzo (AI_*): add 144239278Sgonzo (getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add 145239278Sgonzo * getnameinfo.c: new file 146239278Sgonzo * getaddrinfo-test.c: new file 147239278Sgonzo * gai_strerror.c: new file 148239278Sgonzo * getaddrinfo.c: new file 149239278Sgonzo * freeaddrinfo.c: new file 150239278Sgonzo 151239278Sgonzo1999-11-25 Assar Westerlund <assar@sics.se> 152239278Sgonzo 153239278Sgonzo * getopt.c (getopt): return -1 instead of EOF. From 154239278Sgonzo <art@stacken.kth.se> 155239278Sgonzo 156239278Sgonzo1999-11-13 Assar Westerlund <assar@sics.se> 157239278Sgonzo 158239278Sgonzo * strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less 159239278Sgonzo world 160239278Sgonzo 161239278Sgonzo * getcap.c: make sure to use db only if we have both the library 162239278Sgonzo and the header file 163239278Sgonzo 164239278Sgonzo1999-11-12 Assar Westerlund <assar@sics.se> 165239278Sgonzo 166261410Sian * getarg.h: add arg_counter 167261410Sian * getarg.c: add a new type of argument: `arg_counter' re-organize 168261410Sian the code somewhat 169261410Sian 170239278Sgonzo * Makefile.am: add strptime and strpftime-test 171239278Sgonzo 172239278Sgonzo * snprintf.c (xyzprintf): try to do the right thing with an % at 173239278Sgonzo the end of the format string 174239278Sgonzo 175239278Sgonzo * strptime.c (strptime): implement '%U', '%V', '%W' 176239278Sgonzo * strftime.c (strftime): implement '%U', '%V', '%W', '%z' 177239278Sgonzo 178239278Sgonzo * strftime.c (strftime): correct %E and %O handling. do something 179239278Sgonzo reasonable with "...%" 180239278Sgonzo 181239278Sgonzo * strftime.c: replace the BSD implementation by one of our own 182239278Sgonzo coding 183239278Sgonzo 184239278Sgonzo * strptime.c : new file 185239278Sgonzo * strpftime-test.c: new file 186239278Sgonzo 187239278Sgonzo1999-11-07 Assar Westerlund <assar@sics.se> 188239278Sgonzo 189239278Sgonzo * parse_bytes-test.c: new file 190239278Sgonzo 191239278Sgonzo * Makefile.am: add parse_bytes-test 192239278Sgonzo 193239278Sgonzo * parse_units.c (parse_something): try to handle the case of no 194239278Sgonzo value specified a little bit better 195239278Sgonzo 196239278Sgonzo1999-11-04 Assar Westerlund <assar@sics.se> 197239278Sgonzo 198277996Sloos * Makefile.am: bump version to 3:2:0 199277996Sloos 200277996Sloos1999-10-30 Assar Westerlund <assar@sics.se> 201277996Sloos 202277996Sloos * snprintf.c (PARSE_INT_FORMAT): add redundant casts to work 203239278Sgonzo around a gcc-bug that manifests itself on Linux-PPC. From Tom 204277996Sloos Rini <trini@kernel.crashing.org> 205239278Sgonzo 206239278Sgonzo1999-10-28 Assar Westerlund <assar@sics.se> 207239278Sgonzo 208239278Sgonzo * Makefile.am: bump version to 3:1:0 209239278Sgonzo 210239278Sgonzo * roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid 211239278Sgonzo having to have that definition. this is the easy way out instead 212239278Sgonzo of getting the definition here where it's needed. flame me. 213277996Sloos 214277996SloosFri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se> 215277996Sloos 216277996Sloos * k_getpwuid.c (k_getpwuid): getspuid() does not exist (even 217277996Sloos though it should), use getspnam(). 218277996Sloos 219277996Sloos1999-10-20 Assar Westerlund <assar@sics.se> 220277996Sloos 221277996Sloos * Makefile.am: set version to 3:0:0 222277996Sloos 223239278Sgonzo1999-10-18 Johan Danielsson <joda@pdc.kth.se> 224239278Sgonzo 225239278Sgonzo * getarg.3: document arg_collect 226239278Sgonzo 227239278Sgonzo * getarg.c: change the way arg_collect works; it's still quite 228239278Sgonzo horrible though 229239278Sgonzo 230239278Sgonzo * getarg.h: change type of the collect function 231239278Sgonzo 232239278Sgonzo1999-10-17 Assar Westerlund <assar@sics.se> 233239278Sgonzo 234239278Sgonzo * xdbm.h: undo last commit 235239278Sgonzo 236239278Sgonzo * xdbm.h: reorder db includes 237239278Sgonzo 238239278Sgonzo1999-10-10 Assar Westerlund <assar@sics.se> 239239278Sgonzo 240239278Sgonzo * socket.c: const-ize and comment 241239278Sgonzo 242239278Sgonzo * net_write.c: const-ize 243239278Sgonzo 244239278Sgonzo * base64.c: const-ize 245239278Sgonzo 246239278Sgonzo1999-10-06 Assar Westerlund <assar@sics.se> 247239278Sgonzo 248239278Sgonzo * getarg.c (getarg): also set optind when returning error 249239278Sgonzo 250239278Sgonzo1999-09-26 Assar Westerlund <assar@sics.se> 251239278Sgonzo 252239278Sgonzo * Makefile.am: add parse_bytes.[ch] 253239278Sgonzo 254239278Sgonzo1999-09-24 Johan Danielsson <joda@pdc.kth.se> 255239278Sgonzo 256239278Sgonzo * getarg.3: getarg manpage 257239278Sgonzo 258239278Sgonzo * getarg.{c,h}: add a callback type to do more complicated processing 259239278Sgonzo 260239278Sgonzo * getarg.{c,h}: add floating point support 261239278Sgonzo 262239278Sgonzo1999-09-16 Assar Westerlund <assar@sics.se> 263239278Sgonzo 264239278Sgonzo * strlcat.c (strlcat): call strlcpy 265239278Sgonzo 266239278Sgonzo * strlcpy.c: update name and prototype 267239278Sgonzo 268239278Sgonzo * strlcat.c: update name and prototype 269239278Sgonzo 270239278Sgonzo * roken.h.in: rename strc{py,at}_truncate to strlc{py,at} 271239278Sgonzo 272239278Sgonzo * Makefile.am: rename strc{py,at}_truncate -> strlc{py,at} 273239278Sgonzo 274239278Sgonzo * Makefile.in: rename strc{py,at}_truncate -> strlc{py,at} 275239278Sgonzo 276239278Sgonzo * strcpy_truncate.c (strcpy_truncate): change return value to be 277239278Sgonzo the length of `src' 278239278Sgonzo 279239278Sgonzo1999-08-16 Assar Westerlund <assar@sics.se> 280239278Sgonzo 281239278Sgonzo * getcap.c: try to make this work on systems with DB 282239278Sgonzo 283239278Sgonzo1999-08-16 Johan Danielsson <joda@pdc.kth.se> 284239278Sgonzo 285239278Sgonzo * getcap.c: protect from db-less systems 286239278Sgonzo 287239278Sgonzo1999-08-09 Johan Danielsson <joda@pdc.kth.se> 288239278Sgonzo 289239278Sgonzo * simple_exec.c: add simple_exec{ve,le} 290239278Sgonzo 291239278Sgonzo * getcap.c: getcap from NetBSD 292239278Sgonzo 293239278Sgonzo1999-08-06 Assar Westerlund <assar@sics.se> 294239278Sgonzo 295239278Sgonzo * roken.h.in (sockaddr_storage): cater for those that have 296239278Sgonzo v6-support also 297239278Sgonzo 298239278Sgonzo1999-08-05 Assar Westerlund <assar@sics.se> 299239278Sgonzo 300239278Sgonzo * inet_ntop.c (inet_ntop_v4): remember to call ntohl 301239278Sgonzo 302239278Sgonzo1999-08-04 Assar Westerlund <assar@sics.se> 303239278Sgonzo 304239278Sgonzo * roken-common.h: add shutdown constants 305239278Sgonzo 306239278Sgonzo * mini_inetd.c (listen_v4, listen_v6): handle the case of the 307239278Sgonzo protocol not being supported 308239278Sgonzo 309239278Sgonzo1999-08-01 Assar Westerlund <assar@sics.se> 310239278Sgonzo 311239278Sgonzo * mini_inetd.c (socket_set_reuseaddr): remove duplicate 312239278Sgonzo 313239278Sgonzo1999-07-29 Assar Westerlund <assar@sics.se> 314239278Sgonzo 315239278Sgonzo * mini_inetd.c (mini_inetd): fix my stupid bugs 316239278Sgonzo 317239278Sgonzo1999-07-28 Assar Westerlund <assar@sics.se> 318239278Sgonzo 319239278Sgonzo * roken-common.h: add socket* functions 320239278Sgonzo 321239278Sgonzo * Makefile.am (libroken_la_SOURCES): add socket.c 322239278Sgonzo 323239278Sgonzo * socket.c: new file, originally from appl/ftp/common 324239278Sgonzo 325239278Sgonzo * Makefile.am: set version to 2:0:2 326239278Sgonzo 327239278Sgonzo * roken.h.in (inet_pton): add prototype 328239278Sgonzo 329239278Sgonzo * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton 330239278Sgonzo 331239278Sgonzo * inet_pton.c: new file 332239278Sgonzo 333239278Sgonzo * getipnodebyname.c (getipnodebyname): try gethostbyname2 if we 334239278Sgonzo have it 335239278Sgonzo 336239278Sgonzo1999-07-27 Assar Westerlund <assar@sics.se> 337239278Sgonzo 338239278Sgonzo * mini_inetd.c: support IPv6 339239278Sgonzo 340239278Sgonzo1999-07-26 Assar Westerlund <assar@sics.se> 341239278Sgonzo 342239278Sgonzo * Makefile.am: set version to 1:0:1 343239278Sgonzo 344239278Sgonzo * roken.h.in (inet_ntop): add prototype 345239278Sgonzo 346239278Sgonzo * roken-common.h: (INET{,6}_ADDRSTRLEN): add 347239278Sgonzo 348239278Sgonzo * inet_ntop.c: new file 349239278Sgonzo 350239278Sgonzo * Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c 351239278Sgonzo 352239278Sgonzo * Makefile.am: move some files from libroken_la_SOURCES to 353239278Sgonzo EXTRA_libroken_la_SOURCES 354239278Sgonzo 355239278Sgonzo * snprintf.c: some signed vs unsigned casts 356239278Sgonzo 357239278Sgonzo1999-07-24 Assar Westerlund <assar@sics.se> 358239278Sgonzo 359239278Sgonzo * roken.h.in (struct sockaddr_storage): define it needed 360239278Sgonzo 361239278Sgonzo1999-07-19 Assar Westerlund <assar@sics.se> 362239278Sgonzo 363239278Sgonzo * Makefile.am (libroken_la_SOURCES): add copyhostent.c, 364239278Sgonzo freehostent.c, getipnodebyname.c, getipnodebyaddr.c 365239278Sgonzo 366239278Sgonzo * roken.h.in: <netdb.h>: include 367239278Sgonzo (copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add 368239278Sgonzo prototypes 369239278Sgonzo 370239278Sgonzo * roken-common.h: new constants for getipnodeby* 371239278Sgonzo 372239278Sgonzo * Makefile.in (SOURCES): add freehostent, copyhostent, 373239278Sgonzo getipnodebyname, getipnodebyaddr 374239278Sgonzo 375239278Sgonzo * freehostent.c: new file 376239278Sgonzo 377239278Sgonzo * copyhostent.c: new file 378239278Sgonzo 379239278Sgonzo * getipnodebyaddr.c: new file 380239278Sgonzo 381239278Sgonzo * getipnodebyname.c: new file 382239278Sgonzo 383239278Sgonzo1999-07-13 Assar Westerlund <assar@sics.se> 384239278Sgonzo 385239278Sgonzo * roken.h.in (k_getpwnam): update prototype 386239278Sgonzo 387239278Sgonzo * k_getpwnam.c (k_getpwnam): const-ize 388239278Sgonzo 389239278Sgonzo * get_default_username.c (get_default_username): a better way of 390239278Sgonzo guessing when the user has su:ed 391239278Sgonzo 392239278Sgonzo1999-07-08 Johan Danielsson <joda@pdc.kth.se> 393239278Sgonzo 394239278Sgonzo * roken.awk: use puts, as suggested by Jeffrey Hutzelman 395239278Sgonzo <jhutz+@cmu.edu> 396239278Sgonzo 397239278Sgonzo1999-07-06 Assar Westerlund <assar@sics.se> 398239278Sgonzo 399239278Sgonzo * readv.c (readv): typo 400239278Sgonzo 401239278Sgonzo1999-07-03 Assar Westerlund <assar@sics.se> 402239278Sgonzo 403239278Sgonzo * writev.c (writev): error check malloc properly 404239278Sgonzo 405239278Sgonzo * sendmsg.c (sendmsg): error check malloc properly 406239278Sgonzo 407239278Sgonzo * resolve.c (parse_reply): error check malloc properly 408239278Sgonzo 409239278Sgonzo * recvmsg.c (recvmsg): error check malloc properly 410239278Sgonzo 411239278Sgonzo * readv.c (readv): error check malloc properly 412239278Sgonzo 413239278Sgonzo1999-06-23 Assar Westerlund <assar@sics.se> 414239278Sgonzo 415239278Sgonzo * parse_units.c (acc_units): move the special case of 0 -> 1 to 416239278Sgonzo parse_something to avoid having it happen at the end of the string 417239278Sgonzo 418239278Sgonzo1999-06-15 Assar Westerlund <assar@sics.se> 419239278Sgonzo 420239278Sgonzo * Makefile.in: add get_default_username 421239278Sgonzo 422239278Sgonzo * get_default_username.c: new file 423239278Sgonzo 424239278Sgonzo * roken.h.in (get_default_username): add prototype 425239278Sgonzo 426239278Sgonzo * Makefile.am: add get_default_username 427239278Sgonzo 428239278Sgonzo1999-05-08 Assar Westerlund <assar@sics.se> 429239278Sgonzo 430239278Sgonzo * xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1 431239278Sgonzo 432239278Sgonzo * strnlen.c (strnlen): update prototype 433239278Sgonzo 434239278Sgonzo * Makefile.am: strndup.c: add 435239278Sgonzo 436239278Sgonzo * Makefile.in: strndup.c: add 437239278Sgonzo 438239278Sgonzo * roken.h.in (strndup): add 439239278Sgonzo (strnlen): update prototype 440239278Sgonzo 441239278Sgonzo * strndup.c: new file 442239278Sgonzo 443239278SgonzoFri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se> 444239278Sgonzo 445239278Sgonzo * roken.h.in: include strsep prototype if needed 446239278Sgonzo 447239278SgonzoThu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se> 448239278Sgonzo 449239278Sgonzo * Makefile.am: make make-print-version.o depend on version.h 450239278Sgonzo 451239278SgonzoWed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se> 452239278Sgonzo 453239278Sgonzo * Makefile.am: make it compile w/o krb4 454239278Sgonzo 455239278SgonzoSat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se> 456239278Sgonzo 457239278Sgonzo * snprintf.c (vasnprintf): correct check if realloc returns NULL 458239278Sgonzo 459239278SgonzoSat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 460239278Sgonzo 461239278Sgonzo * Makefile.am: link print_version with -ldes to avoid unresolved 462239278Sgonzo references if -lkrb is shared 463239278Sgonzo 464239278SgonzoSat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se> 465239278Sgonzo 466239278Sgonzo * roken-common.h (eread, ewrite): add 467239278Sgonzo 468239278Sgonzo * simple_exec.c: add <roken.h> 469239278Sgonzo 470239278SgonzoFri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se> 471239278Sgonzo 472239278Sgonzo * Makefile.in: add eread, ewrite 473239278Sgonzo 474239278Sgonzo * eread.c, ewrite.c: new files 475239278Sgonzo 476239278Sgonzo * Makefile.am (libroken_la_SOURCES): add eread and ewrite 477239278Sgonzo 478239278SgonzoFri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se> 479239278Sgonzo 480239278Sgonzo * Makefile.am: add version-info 481239278Sgonzo 482239278SgonzoThu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se> 483239278Sgonzo 484239278Sgonzo * Makefile.am: remove include_dir hack 485239278Sgonzo 486239278Sgonzo * Makefile.am: parse_units.h 487239278Sgonzo 488239278Sgonzo * Makefile.am: include Makefile.am.common 489239278Sgonzo 490239278SgonzoSat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se> 491239278Sgonzo 492239278Sgonzo * Makefile.in (SOURCES): add glob.c 493239278Sgonzo 494239278SgonzoThu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se> 495239278Sgonzo 496239278Sgonzo * iruserok.c: move innetgr() to separate file 497239278Sgonzo 498239278Sgonzo * innetgr.c: move innetgr() to separate file 499239278Sgonzo 500239278Sgonzo * hstrerror.c (hstrerror): add const to return type 501239278Sgonzo 502239278Sgonzo * erealloc.c: fix types in format string 503239278Sgonzo 504239278Sgonzo * emalloc.c: fix types in format string 505239278Sgonzo 506239278SgonzoWed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se> 507239278Sgonzo 508239278Sgonzo * resolve.c: ugly fix for crays 509239278Sgonzo 510239278SgonzoMon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se> 511239278Sgonzo 512239278Sgonzo * roken.h.in: protos for {un,}setenv 513239278Sgonzo 514239278Sgonzo1999-02-16 Assar Westerlund <assar@sics.se> 515239278Sgonzo 516239278Sgonzo * Makefile.in (SOURCES): add fnmatch 517239278Sgonzo 518239278Sgonzo * roken-common.h (abs): add 519239278Sgonzo 520239278SgonzoSat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se> 521239278Sgonzo 522239278Sgonzo * emalloc.c, erealloc.c, estrup.c: new files 523265858Sandrew 524239278Sgonzo * roken.h.in (mkstemp, gethostname): also includes prototypes if 525260326Sian they are needed. 526260326Sian 527260326Sian1998-12-23 Assar Westerlund <assar@sics.se> 528260326Sian 529260326Sian * roken.h.in: mkstemp: add prototype 530239278Sgonzo 531260326Sian1998-12-20 Assar Westerlund <assar@sics.se> 532260326Sian 533239278Sgonzo * snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness 534239278Sgonzo 535239278Sgonzo * roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO 536260326Sian 537239278Sgonzo * roken-common.h: __attribute__: check for autoconf'd 538239278Sgonzo HAVE___ATTRIBUTE__ instead of GNUC 539239278Sgonzo 540239278SgonzoSun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se> 541239278Sgonzo 542239278Sgonzo * parse_units.c (parse_something): func is called with val == 0 if 543239278Sgonzo no unit was given 544239278Sgonzo (acc_flags, acc_units): update to new standard 545239278Sgonzo 546277996SloosFri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se> 547239278Sgonzo 548239278Sgonzo * resolve.c (stot): constify 549239278Sgonzo (type_to_string): always declare 550239278Sgonzo (dns_lookup_int): correct debug output 551239278Sgonzo 552239278SgonzoThu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se> 553239278Sgonzo 554239278Sgonzo * resolve.c (dns_lookup_int): send rr_class to res_search 555239278Sgonzo 556239278SgonzoThu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se> 557239278Sgonzo 558239278Sgonzo * resolve.c: some cleanup 559239278Sgonzo 560239278Sgonzo * resolve.h: add T_NAPTR 561239278Sgonzo 562239278SgonzoSun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se> 563239278Sgonzo 564239278Sgonzo * Makefile.in (WFLAGS): set 565239278Sgonzo 566239278Sgonzo * k_getpwnam.c (k_getpwnam): check for `struct spwd' 567239278Sgonzo 568239278Sgonzo * k_getpwuid.c (k_getpwuid): check for `struct spwd' 569239278Sgonzo 570239278SgonzoTue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se> 571239278Sgonzo 572239278Sgonzo * recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu 573239278Sgonzo 574Fri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se> 575 576 * vsyslog.c: asprintf -> vasprintf 577 578Tue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se> 579 580 * getarg.h (arg_printusage): new signature 581 582 * getarg.c (arg_printusage): new parameter `progname'. NULL means 583 __progname. 584 585Sun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se> 586 587 * Makefile.am: net_{read,write}.c 588 589Fri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se> 590 591 * simple_exec.c (simple_execvp): loop around waitpid when errno == 592 EINTR 593 594Thu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se> 595 596 * Makefile.am: net_{read,write}.c 597 598Wed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se> 599 600 * simple_exec.c (simple_execlp): initialize `argv' 601 602Mon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se> 603 604 * inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list, 605 use a copy instead 606 607Fri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se> 608 609 * roken.h.in (net_write, net_read): add prototypes 610 611 * Makefile.in: net_{read,write}.c: add 612 613 * net_{read,write}.c: new files 614 615Tue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se> 616 617 * roken.h.in (issuid): add 618 619 * get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of 620 fields 621 622Sun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se> 623 624 * getarg.c (mandoc_template): Put short and long options in 625 SYNOPSIS within the same [ ] pair. 626 627Sat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se> 628 629 * getarg.c (arg_printusage): try to keep options shorter than 630 column width 631 632 * get_window_size.c (get_window_size): check COLUMNS and LINES 633 634Fri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se> 635 636 * getarg.c (mandoc_template): Put short and long options in 637 DESCRIPTION on the same line. 638 639 * getarg.c (arg_match_long): make sure you only get an exact match 640 if the strings are the same length 641 642Thu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se> 643 644 * roken.awk: stupid cray awk wants \# 645 646Fri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se> 647 648 * print_version.c (print_version): according to ISO/ANSI C the 649 elements of `arg' are not constant and therefore not settable at 650 compile-time. Set the at run-time instead. 651 652Sun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se> 653 654 * roken.h.in: include paths.h 655 656Sun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se> 657 658 * Makefile.in (SOURCES): add roken_gethostby.c to make solaris 659 make happy 660 661Thu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se> 662 663 * simple_exec.c: Simple fork+exec system() replacement. 664 665Fri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se> 666 667 * roken_gethostby.c: Make `roken_gethostby_setup' take url-like 668 specification instead of split up versions. Makes it easier for 669 calling applications. 670 671 * roken_gethostby.c: Another miracle of the 20th century: 672 gethostby* over HTTP. 673 674Sat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se> 675 676 * parse_time.c (unparse_time_approx): new function that calls 677 `unparse_units_approx' 678 679 * parse_units.c (unparse_units_approx): new function that will 680 only print the first unit. 681 682 * Makefile.in: include parse_{time,units} 683 684Thu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se> 685 686 * parse_time.c (print_time_table): don't return a void value. 687 688Tue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se> 689 690 * getarg.c (mandoc_template): Change date format to full month 691 name, and day of month without leading zero. 692 693Thu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se> 694 695 * getarg.c: Fix long form of negative flags. 696 697Mon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se> 698 699 * roken.h.in: Include <err.h>, to get linux __progname. 700 701Sun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se> 702 703 * parse_time.c (print_time_table): new function 704 705 * parse_units.c (print_flags_table, print_units_table): new 706 functions. 707 708Thu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se> 709 710 * iruserok.c: moved here. 711 712 * snprintf.c (sn_append_char): don't write any terminating zero. 713 (as_reserve): don't loop. better heuristic for how much space to 714 realloc. 715 (vasnprintf): simplify initializing to one. 716 717Sun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se> 718 719 * getarg.c: Add mandoc help back-end to getarg. 720 721Wed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se> 722 723 * verr.c, verrx.c: Fix warnings by moving exit from. 724 725Tue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se> 726 727 * parse_units.c: Change the list of separating characters (between 728 units) to comma, space, and tab, removing digits. Having digits in 729 this list makes a flag like `T42 generate a parse error. This 730 change makes `17m3s' an invalid time-spec (you need a space). 731 732Tue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se> 733 734 * roken.h: add <sys/socket.h> 735 736Sun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se> 737 738 * fnmatch.c: Add fnmatch from NetBSD 739 740Sun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se> 741 742 * parse_units.c (parse_something): ignore white-space and ',' 743 744Mon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se> 745 746 * roken.h: fclose prototype 747 748 * roken.h: add prototype for vsyslog 749 750 * Makefile.in: add some more source files to make soriasis make 751 happy 752 753Sat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se> 754 755 * roken.h: include <sys/uio.h> and <errno.h>. 756 prototypes for readv and writev 757 758 * readv.c, writev.c: new files 759 760Wed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se> 761 762 * roken.h: Add ugly macros for openlog, gethostbyname, 763 gethostbyaddr, and getservbyname for the benefit of Crays. Add 764 default definition of MAXPATHLEN 765