ChangeLog revision 55682
155682Smarkm2000-01-06  Assar Westerlund  <assar@sics.se>
255682Smarkm
355682Smarkm	* Makefile.am: bump version to 5:0:0
455682Smarkm
555682Smarkm1999-12-30  Assar Westerlund  <assar@sics.se>
655682Smarkm
755682Smarkm	* Makefile.am (strpftime_test_SOURCES): correct source file name
855682Smarkm
955682Smarkm	* roken.h.in (sockaddr_storage): change padding so that we have
1055682Smarkm 	one char[] of pad and then an unsigned long[] (for alignment and
1155682Smarkm 	padding).  this works much better in practice.
1255682Smarkm
1355682Smarkm1999-12-22  Assar Westerlund  <assar@sics.se>
1455682Smarkm
1555682Smarkm	* roken.h.in (sockaddr_storage): drop leading underscore on
1655682Smarkm 	`public' fields.  this was the consensus on the ipng mailing list
1755682Smarkm
1855682Smarkm1999-12-21  Assar Westerlund  <assar@sics.se>
1955682Smarkm
2055682Smarkm	* Makefile.am (strpftime-test): define sources to avoid having
2155682Smarkm 	'.o'
2255682Smarkm	* Makefile.am (print_version.h): use $(EXEEXT)
2355682Smarkm	* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
2455682Smarkm 	et al
2555682Smarkm
2655682Smarkm1999-12-20  Assar Westerlund  <assar@sics.se>
2755682Smarkm
2855682Smarkm	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
2955682Smarkm
3055682Smarkm	* getaddrinfo.c (get_nodes): use getipnodebyname instead of
3155682Smarkm	gethostbyname(2)
3255682Smarkm
3355682Smarkm1999-12-16  Assar Westerlund  <assar@sics.se>
3455682Smarkm
3555682Smarkm	* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
3655682Smarkm
3755682Smarkm	* roken.h.in (struct sockaddr_storage): redefine with the example
3855682Smarkm 	code from rfc2553
3955682Smarkm
4055682Smarkm	* getaddrinfo.c (get_null): set loopback with correct endianess
4155682Smarkm	for v4.  dunno about v6.
4255682Smarkm
4355682Smarkm1999-12-13  Assar Westerlund  <assar@sics.se>
4455682Smarkm
4555682Smarkm	* roken.h.in: add prototypes for str[pf]time
4655682Smarkm
4755682Smarkm	* signal.c: macosx = rhapsody ~= nextstep also can't handle
4855682Smarkm 	various definitions of the same symbol.
4955682Smarkm
5055682Smarkm1999-12-12  Assar Westerlund  <assar@sics.se>
5155682Smarkm
5255682Smarkm	* Makefile.am: bump version to 4:1:0
5355682Smarkm
5455682Smarkm1999-12-06  Assar Westerlund  <assar@sics.se>
5555682Smarkm
5655682Smarkm	* Makefile.am: bump version to 4:0:0
5755682Smarkm
5855682Smarkm1999-12-05  Assar Westerlund  <assar@sics.se>
5955682Smarkm
6055682Smarkm	* Makefile.in: replace inaddr2str with getnameinfo_verified
6155682Smarkm
6255682Smarkm	* roken-common.h (INADDR_LOOPBACK): add fallback definition
6355682Smarkm
6455682Smarkm	* roken-common.h: move getnameinfo_verified to roken.h.in
6555682Smarkm	* roken.h.in (inaddr2str): remove
6655682Smarkm	* Makefile.am (libroken_la_SOURCES); removed inaddr2str
6755682Smarkm	* roken-common.h (getnameinfo_verified): add prototype
6855682Smarkm	* getnameinfo_verified.c: new file
6955682Smarkm
7055682Smarkm1999-12-04  Assar Westerlund  <assar@sics.se>
7155682Smarkm
7255682Smarkm	* roken-common.h: add constants for getaddrinfo, getnameinfo
7355682Smarkm	* roken.h.in (socklen_t): make independent of sockaddr_storage
7455682Smarkm	(AI_*, NI_*, EAI_*): move to roken-common.h
7555682Smarkm
7655682Smarkm1999-12-03  Assar Westerlund  <assar@sics.se>
7755682Smarkm
7855682Smarkm	* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
7955682Smarkm	* getaddrinfo.c (const_v*): no sizeof(sizeof())
8055682Smarkm	* getaddrinfo.c (add_hostent): search for the canonical name among
8155682Smarkm	all aliases
8255682Smarkm	(getaddrinfo): handle AI_NUMERICHOST correctly
8355682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
8455682Smarkm	getaddrinfo, getnameinfo, gai_strerror
8555682Smarkm	(getaddrinfo_test): add
8655682Smarkm	* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
8755682Smarkm	getnameinfo, gai_strerror
8855682Smarkm	(getaddrinfo_test): add
8955682Smarkm	* roken.h.in: arpa/inet.h: include
9055682Smarkm	(socklen_t): add
9155682Smarkm	(struct addrinfo): add
9255682Smarkm	(EAI_*): add
9355682Smarkm	(NI_*): add
9455682Smarkm	(AI_*): add
9555682Smarkm	(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
9655682Smarkm	* getnameinfo.c: new file
9755682Smarkm	* getaddrinfo-test.c: new file
9855682Smarkm	* gai_strerror.c: new file
9955682Smarkm	* getaddrinfo.c: new file
10055682Smarkm	* freeaddrinfo.c: new file
10155682Smarkm
10255682Smarkm1999-11-25  Assar Westerlund  <assar@sics.se>
10355682Smarkm
10455682Smarkm	* getopt.c (getopt): return -1 instead of EOF.  From
10555682Smarkm	<art@stacken.kth.se>
10655682Smarkm
10755682Smarkm1999-11-13  Assar Westerlund  <assar@sics.se>
10855682Smarkm
10955682Smarkm	* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
11055682Smarkm	world
11155682Smarkm
11255682Smarkm	* getcap.c: make sure to use db only if we have both the library
11355682Smarkm	and the header file
11455682Smarkm	
11555682Smarkm1999-11-12  Assar Westerlund  <assar@sics.se>
11655682Smarkm
11755682Smarkm	* getarg.h: add arg_counter
11855682Smarkm	* getarg.c: add a new type of argument: `arg_counter' re-organize
11955682Smarkm	the code somewhat
12055682Smarkm	
12155682Smarkm	* Makefile.am: add strptime and strpftime-test
12255682Smarkm	
12355682Smarkm	* snprintf.c (xyzprintf): try to do the right thing with an % at
12455682Smarkm	the end of the format string
12555682Smarkm	
12655682Smarkm	* strptime.c (strptime): implement '%U', '%V', '%W'
12755682Smarkm	* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
12855682Smarkm	
12955682Smarkm	* strftime.c (strftime): correct %E and %O handling.  do something
13055682Smarkm 	reasonable with "...%"
13155682Smarkm
13255682Smarkm	* strftime.c: replace the BSD implementation by one of our own
13355682Smarkm	coding
13455682Smarkm
13555682Smarkm	* strptime.c : new file
13655682Smarkm	* strpftime-test.c: new file
13755682Smarkm
13855682Smarkm1999-11-07  Assar Westerlund  <assar@sics.se>
13955682Smarkm
14055682Smarkm	* parse_bytes-test.c: new file
14155682Smarkm
14255682Smarkm	* Makefile.am: add parse_bytes-test
14355682Smarkm
14455682Smarkm	* parse_units.c (parse_something): try to handle the case of no
14555682Smarkm 	value specified a little bit better
14655682Smarkm
14755682Smarkm1999-11-04  Assar Westerlund  <assar@sics.se>
14855682Smarkm
14955682Smarkm	* Makefile.am: bump version to 3:2:0
15055682Smarkm
15155682Smarkm1999-10-30  Assar Westerlund  <assar@sics.se>
15255682Smarkm
15355682Smarkm	* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
15455682Smarkm 	around a gcc-bug that manifests itself on Linux-PPC.  From Tom
15555682Smarkm 	Rini <trini@kernel.crashing.org>
15655682Smarkm
15755682Smarkm1999-10-28  Assar Westerlund  <assar@sics.se>
15855682Smarkm
15955682Smarkm	* Makefile.am: bump version to 3:1:0
16055682Smarkm
16155682Smarkm	* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
16255682Smarkm 	having to have that definition.  this is the easy way out instead
16355682Smarkm 	of getting the definition here where it's needed.  flame me.
16455682Smarkm
16555682SmarkmFri Oct 22 15:39:31 1999  Bjoern Groenvall  <bg@sics.se>
16655682Smarkm
16755682Smarkm	* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
16855682Smarkm 	though it should), use getspnam().
16955682Smarkm
17055682Smarkm1999-10-20  Assar Westerlund  <assar@sics.se>
17155682Smarkm
17255682Smarkm	* Makefile.am: set version to 3:0:0
17355682Smarkm
17455682Smarkm1999-10-18  Johan Danielsson  <joda@pdc.kth.se>
17555682Smarkm
17655682Smarkm	* getarg.3: document arg_collect
17755682Smarkm
17855682Smarkm	* getarg.c: change the way arg_collect works; it's still quite
17955682Smarkm	horrible though
18055682Smarkm
18155682Smarkm	* getarg.h: change type of the collect function
18255682Smarkm
18355682Smarkm1999-10-17  Assar Westerlund  <assar@sics.se>
18455682Smarkm
18555682Smarkm	* xdbm.h: undo last commit
18655682Smarkm
18755682Smarkm	* xdbm.h: reorder db includes
18855682Smarkm
18955682Smarkm1999-10-10  Assar Westerlund  <assar@sics.se>
19055682Smarkm
19155682Smarkm	* socket.c: const-ize and comment
19255682Smarkm
19355682Smarkm	* net_write.c: const-ize
19455682Smarkm
19555682Smarkm	* base64.c: const-ize
19655682Smarkm
19755682Smarkm1999-10-06  Assar Westerlund  <assar@sics.se>
19855682Smarkm
19955682Smarkm	* getarg.c (getarg): also set optind when returning error
20055682Smarkm
20155682Smarkm1999-09-26  Assar Westerlund  <assar@sics.se>
20255682Smarkm
20355682Smarkm	* Makefile.am: add parse_bytes.[ch]
20455682Smarkm
20555682Smarkm1999-09-24  Johan Danielsson  <joda@pdc.kth.se>
20655682Smarkm
20755682Smarkm	* getarg.3: getarg manpage
20855682Smarkm
20955682Smarkm	* getarg.{c,h}: add a callback type to do more complicated processing
21055682Smarkm
21155682Smarkm	* getarg.{c,h}: add floating point support
21255682Smarkm
21355682Smarkm1999-09-16  Assar Westerlund  <assar@sics.se>
21455682Smarkm
21555682Smarkm	* strlcat.c (strlcat): call strlcpy
21655682Smarkm
21755682Smarkm	* strlcpy.c: update name and prototype
21855682Smarkm
21955682Smarkm	* strlcat.c: update name and prototype
22055682Smarkm
22155682Smarkm	* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
22255682Smarkm
22355682Smarkm	* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
22455682Smarkm
22555682Smarkm	* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
22655682Smarkm
22755682Smarkm 	* strcpy_truncate.c (strcpy_truncate): change return value to be
22855682Smarkm 	the length of `src'
22955682Smarkm
23055682Smarkm1999-08-16  Assar Westerlund  <assar@sics.se>
23155682Smarkm
23255682Smarkm	* getcap.c: try to make this work on systems with DB
23355682Smarkm
23455682Smarkm1999-08-16  Johan Danielsson  <joda@pdc.kth.se>
23555682Smarkm
23655682Smarkm	* getcap.c: protect from db-less systems
23755682Smarkm
23855682Smarkm1999-08-09  Johan Danielsson  <joda@pdc.kth.se>
23955682Smarkm
24055682Smarkm	* simple_exec.c: add simple_exec{ve,le}
24155682Smarkm
24255682Smarkm	* getcap.c: getcap from NetBSD
24355682Smarkm
24455682Smarkm1999-08-06  Assar Westerlund  <assar@sics.se>
24555682Smarkm
24655682Smarkm	* roken.h.in (sockaddr_storage): cater for those that have
24755682Smarkm 	v6-support also
24855682Smarkm
24955682Smarkm1999-08-05  Assar Westerlund  <assar@sics.se>
25055682Smarkm
25155682Smarkm	* inet_ntop.c (inet_ntop_v4): remember to call ntohl
25255682Smarkm
25355682Smarkm1999-08-04  Assar Westerlund  <assar@sics.se>
25455682Smarkm
25555682Smarkm	* roken-common.h: add shutdown constants
25655682Smarkm
25755682Smarkm	* mini_inetd.c (listen_v4, listen_v6): handle the case of the
25855682Smarkm 	protocol not being supported
25955682Smarkm
26055682Smarkm1999-08-01  Assar Westerlund  <assar@sics.se>
26155682Smarkm
26255682Smarkm	* mini_inetd.c (socket_set_reuseaddr): remove duplicate
26355682Smarkm
26455682Smarkm1999-07-29  Assar Westerlund  <assar@sics.se>
26555682Smarkm
26655682Smarkm	* mini_inetd.c (mini_inetd): fix my stupid bugs
26755682Smarkm
26855682Smarkm1999-07-28  Assar Westerlund  <assar@sics.se>
26955682Smarkm
27055682Smarkm	* roken-common.h: add socket* functions
27155682Smarkm
27255682Smarkm	* Makefile.am (libroken_la_SOURCES): add socket.c
27355682Smarkm
27455682Smarkm	* socket.c: new file, originally from appl/ftp/common
27555682Smarkm
27655682Smarkm	* Makefile.am: set version to 2:0:2
27755682Smarkm
27855682Smarkm	* roken.h.in (inet_pton): add prototype
27955682Smarkm
28055682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
28155682Smarkm
28255682Smarkm	* inet_pton.c: new file
28355682Smarkm
28455682Smarkm	* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
28555682Smarkm 	have it
28655682Smarkm
28755682Smarkm1999-07-27  Assar Westerlund  <assar@sics.se>
28855682Smarkm
28955682Smarkm	* mini_inetd.c: support IPv6
29055682Smarkm
29155682Smarkm1999-07-26  Assar Westerlund  <assar@sics.se>
29255682Smarkm
29355682Smarkm	* Makefile.am: set version to 1:0:1
29455682Smarkm
29555682Smarkm	* roken.h.in (inet_ntop): add prototype
29655682Smarkm
29755682Smarkm 	* roken-common.h: (INET{,6}_ADDRSTRLEN): add
29855682Smarkm
29955682Smarkm	* inet_ntop.c: new file
30055682Smarkm
30155682Smarkm	* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
30255682Smarkm
30355682Smarkm	* Makefile.am: move some files from libroken_la_SOURCES to
30455682Smarkm 	EXTRA_libroken_la_SOURCES
30555682Smarkm
30655682Smarkm	* snprintf.c: some signed vs unsigned casts
30755682Smarkm	
30855682Smarkm1999-07-24  Assar Westerlund  <assar@sics.se>
30955682Smarkm
31055682Smarkm	* roken.h.in (struct sockaddr_storage): define it needed
31155682Smarkm
31255682Smarkm1999-07-19  Assar Westerlund  <assar@sics.se>
31355682Smarkm
31455682Smarkm	* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
31555682Smarkm 	freehostent.c, getipnodebyname.c, getipnodebyaddr.c
31655682Smarkm	
31755682Smarkm	* roken.h.in: <netdb.h>: include
31855682Smarkm	(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
31955682Smarkm	prototypes
32055682Smarkm
32155682Smarkm	* roken-common.h: new constants for getipnodeby*
32255682Smarkm
32355682Smarkm	* Makefile.in (SOURCES): add freehostent, copyhostent,
32455682Smarkm 	getipnodebyname, getipnodebyaddr
32555682Smarkm
32655682Smarkm	* freehostent.c: new file
32755682Smarkm
32855682Smarkm	* copyhostent.c: new file
32955682Smarkm
33055682Smarkm	* getipnodebyaddr.c: new file
33155682Smarkm
33255682Smarkm	* getipnodebyname.c: new file
33355682Smarkm
33455682Smarkm1999-07-13  Assar Westerlund  <assar@sics.se>
33555682Smarkm
33655682Smarkm	* roken.h.in (k_getpwnam): update prototype
33755682Smarkm
33855682Smarkm	* k_getpwnam.c (k_getpwnam): const-ize
33955682Smarkm
34055682Smarkm	* get_default_username.c (get_default_username): a better way of
34155682Smarkm 	guessing when the user has su:ed
34255682Smarkm
34355682Smarkm1999-07-08  Johan Danielsson  <joda@pdc.kth.se>
34455682Smarkm
34555682Smarkm	* roken.awk: use puts, as suggested by Jeffrey Hutzelman
34655682Smarkm	<jhutz+@cmu.edu>
34755682Smarkm
34855682Smarkm1999-07-06  Assar Westerlund  <assar@sics.se>
34955682Smarkm
35055682Smarkm	* readv.c (readv): typo
35155682Smarkm
35255682Smarkm1999-07-03  Assar Westerlund  <assar@sics.se>
35355682Smarkm
35455682Smarkm	* writev.c (writev): error check malloc properly
35555682Smarkm
35655682Smarkm	* sendmsg.c (sendmsg): error check malloc properly
35755682Smarkm
35855682Smarkm	* resolve.c (parse_reply): error check malloc properly
35955682Smarkm
36055682Smarkm	* recvmsg.c (recvmsg): error check malloc properly
36155682Smarkm
36255682Smarkm	* readv.c (readv): error check malloc properly
36355682Smarkm
36455682Smarkm1999-06-23  Assar Westerlund  <assar@sics.se>
36555682Smarkm
36655682Smarkm	* parse_units.c (acc_units): move the special case of 0 -> 1 to
36755682Smarkm 	parse_something to avoid having it happen at the end of the string
36855682Smarkm
36955682Smarkm1999-06-15  Assar Westerlund  <assar@sics.se>
37055682Smarkm
37155682Smarkm	* Makefile.in: add get_default_username
37255682Smarkm
37355682Smarkm	* get_default_username.c: new file
37455682Smarkm
37555682Smarkm	* roken.h.in (get_default_username): add prototype
37655682Smarkm
37755682Smarkm	* Makefile.am: add get_default_username
37855682Smarkm
37955682Smarkm1999-05-08  Assar Westerlund  <assar@sics.se>
38055682Smarkm
38155682Smarkm	* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
38255682Smarkm
38355682Smarkm	* strnlen.c (strnlen): update prototype
38455682Smarkm
38555682Smarkm	* Makefile.am: strndup.c: add
38655682Smarkm
38755682Smarkm	* Makefile.in: strndup.c: add
38855682Smarkm
38955682Smarkm	* roken.h.in (strndup): add
39055682Smarkm	(strnlen): update prototype
39155682Smarkm
39255682Smarkm	* strndup.c: new file
39355682Smarkm
39455682SmarkmFri Apr 16 17:59:30 1999  Assar Westerlund  <assar@sics.se>
39555682Smarkm
39655682Smarkm	* roken.h.in: include strsep prototype if needed
39755682Smarkm
39855682SmarkmThu Apr 15 14:04:03 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
39955682Smarkm
40055682Smarkm	* Makefile.am: make make-print-version.o depend on version.h
40155682Smarkm
40255682SmarkmWed Apr  7 14:11:00 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
40355682Smarkm
40455682Smarkm	* Makefile.am: make it compile w/o krb4
40555682Smarkm
40655682SmarkmSat Mar 27 17:33:03 1999  Johan Danielsson  <joda@blubb.pdc.kth.se>
40755682Smarkm
40855682Smarkm	* snprintf.c (vasnprintf): correct check if realloc returns NULL
40955682Smarkm
41055682SmarkmSat Mar 27 12:37:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
41155682Smarkm
41255682Smarkm	* Makefile.am: link print_version with -ldes to avoid unresolved
41355682Smarkm 	references if -lkrb is shared
41455682Smarkm
41555682SmarkmSat Mar 20 03:42:30 1999  Assar Westerlund  <assar@sics.se>
41655682Smarkm
41755682Smarkm	* roken-common.h (eread, ewrite): add
41855682Smarkm
41955682Smarkm	* simple_exec.c: add <roken.h>
42055682Smarkm
42155682SmarkmFri Mar 19 21:29:58 1999  Assar Westerlund  <assar@sics.se>
42255682Smarkm
42355682Smarkm	* Makefile.in: add eread, ewrite
42455682Smarkm
42555682Smarkm	* eread.c, ewrite.c: new files
42655682Smarkm
42755682Smarkm	* Makefile.am (libroken_la_SOURCES): add eread and ewrite
42855682Smarkm
42955682SmarkmFri Mar 19 14:52:57 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
43055682Smarkm
43155682Smarkm	* Makefile.am: add version-info
43255682Smarkm
43355682SmarkmThu Mar 18 12:53:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
43455682Smarkm
43555682Smarkm	* Makefile.am: remove include_dir hack
43655682Smarkm
43755682Smarkm	* Makefile.am: parse_units.h
43855682Smarkm
43955682Smarkm	* Makefile.am: include Makefile.am.common
44055682Smarkm
44155682SmarkmSat Mar 13 23:31:35 1999  Assar Westerlund  <assar@sics.se>
44255682Smarkm
44355682Smarkm	* Makefile.in (SOURCES): add glob.c
44455682Smarkm
44555682SmarkmThu Mar 11 15:02:21 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
44655682Smarkm
44755682Smarkm	* iruserok.c: move innetgr() to separate file
44855682Smarkm
44955682Smarkm	* innetgr.c: move innetgr() to separate file
45055682Smarkm
45155682Smarkm	* hstrerror.c (hstrerror): add const to return type
45255682Smarkm
45355682Smarkm	* erealloc.c: fix types in format string
45455682Smarkm
45555682Smarkm	* emalloc.c: fix types in format string
45655682Smarkm
45755682SmarkmWed Mar 10 16:36:55 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
45855682Smarkm
45955682Smarkm	* resolve.c: ugly fix for crays
46055682Smarkm
46155682SmarkmMon Mar  8 11:52:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
46255682Smarkm
46355682Smarkm	* roken.h.in: protos for {un,}setenv
46455682Smarkm
46555682Smarkm1999-02-16  Assar Westerlund  <assar@sics.se>
46655682Smarkm
46755682Smarkm	* Makefile.in (SOURCES): add fnmatch
46855682Smarkm
46955682Smarkm	* roken-common.h (abs): add
47055682Smarkm
47155682SmarkmSat Feb 13 17:12:53 1999  Assar Westerlund  <assar@sics.se>
47255682Smarkm
47355682Smarkm	* emalloc.c, erealloc.c, estrup.c: new files
47455682Smarkm
47555682Smarkm	* roken.h.in (mkstemp, gethostname): also includes prototypes if
47655682Smarkm 	they are needed.
47755682Smarkm
47855682Smarkm1998-12-23  Assar Westerlund  <assar@sics.se>
47955682Smarkm
48055682Smarkm	* roken.h.in: mkstemp: add prototype
48155682Smarkm
48255682Smarkm1998-12-20  Assar Westerlund  <assar@sics.se>
48355682Smarkm
48455682Smarkm	* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
48555682Smarkm
48655682Smarkm	* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
48755682Smarkm
48855682Smarkm	* roken-common.h: __attribute__: check for autoconf'd
48955682Smarkm	HAVE___ATTRIBUTE__ instead of GNUC
49055682Smarkm
49155682SmarkmSun Dec  6 19:53:21 1998  Assar Westerlund  <assar@sics.se>
49255682Smarkm
49355682Smarkm	* parse_units.c (parse_something): func is called with val == 0 if
49455682Smarkm 	no unit was given
49555682Smarkm	(acc_flags, acc_units): update to new standard
49655682Smarkm
49755682SmarkmFri Nov 27 03:09:42 1998  Assar Westerlund  <assar@sics.se>
49855682Smarkm
49955682Smarkm	* resolve.c (stot): constify
50055682Smarkm	(type_to_string): always declare
50155682Smarkm	(dns_lookup_int): correct debug output
50255682Smarkm
50355682SmarkmThu Nov 26 23:43:55 1998  Assar Westerlund  <assar@sics.se>
50455682Smarkm
50555682Smarkm	* resolve.c (dns_lookup_int): send rr_class to res_search
50655682Smarkm
50755682SmarkmThu Nov 26 17:09:47 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
50855682Smarkm
50955682Smarkm	* resolve.c: some cleanup
51055682Smarkm
51155682Smarkm	* resolve.h: add T_NAPTR
51255682Smarkm
51355682SmarkmSun Nov 22 10:23:07 1998  Assar Westerlund  <assar@sics.se>
51455682Smarkm
51555682Smarkm	* Makefile.in (WFLAGS): set
51655682Smarkm
51755682Smarkm	* k_getpwnam.c (k_getpwnam): check for `struct spwd'
51855682Smarkm
51955682Smarkm	* k_getpwuid.c (k_getpwuid): check for `struct spwd'
52055682Smarkm
52155682SmarkmTue Sep  8 05:18:31 1998  Assar Westerlund  <assar@sics.se>
52255682Smarkm
52355682Smarkm	* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
52455682Smarkm
52555682SmarkmFri Sep  4 16:29:27 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
52655682Smarkm
52755682Smarkm	* vsyslog.c: asprintf -> vasprintf
52855682Smarkm
52955682SmarkmTue Aug 18 22:25:52 1998  Assar Westerlund  <assar@sics.se>
53055682Smarkm
53155682Smarkm	* getarg.h (arg_printusage): new signature
53255682Smarkm
53355682Smarkm	* getarg.c (arg_printusage): new parameter `progname'.  NULL means
53455682Smarkm 	__progname.
53555682Smarkm
53655682SmarkmSun Aug  9 14:53:44 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
53755682Smarkm
53855682Smarkm	* Makefile.am: net_{read,write}.c
53955682Smarkm
54055682SmarkmFri Jul 24 21:56:02 1998  Assar Westerlund  <assar@sics.se>
54155682Smarkm
54255682Smarkm	* simple_exec.c (simple_execvp): loop around waitpid when errno ==
54355682Smarkm 	EINTR
54455682Smarkm
54555682SmarkmThu Jul 23 20:24:35 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
54655682Smarkm
54755682Smarkm	* Makefile.am: net_{read,write}.c
54855682Smarkm
54955682SmarkmWed Jul 22 21:38:35 1998  Assar Westerlund  <assar@sics.se>
55055682Smarkm
55155682Smarkm	* simple_exec.c (simple_execlp): initialize `argv'
55255682Smarkm
55355682SmarkmMon Jul 13 23:01:22 1998  Assar Westerlund  <assar@sics.se>
55455682Smarkm
55555682Smarkm	* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
55655682Smarkm 	use a copy instead
55755682Smarkm
55855682SmarkmFri Jul 10 01:20:08 1998  Assar Westerlund  <assar@sics.se>
55955682Smarkm
56055682Smarkm	* roken.h.in (net_write, net_read): add prototypes
56155682Smarkm
56255682Smarkm	* Makefile.in: net_{read,write}.c: add
56355682Smarkm
56455682Smarkm	* net_{read,write}.c: new files
56555682Smarkm
56655682SmarkmTue Jun 30 17:29:09 1998  Assar Westerlund  <assar@sics.se>
56755682Smarkm
56855682Smarkm	* roken.h.in (issuid): add
56955682Smarkm
57055682Smarkm	* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
57155682Smarkm 	fields
57255682Smarkm
57355682SmarkmSun May 31 03:24:34 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
57455682Smarkm
57555682Smarkm	* getarg.c (mandoc_template): Put short and long options in
57655682Smarkm 	SYNOPSIS within the same [ ] pair.
57755682Smarkm
57855682SmarkmSat May 30 00:13:01 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
57955682Smarkm
58055682Smarkm	* getarg.c (arg_printusage): try to keep options shorter than
58155682Smarkm 	column width
58255682Smarkm
58355682Smarkm	* get_window_size.c (get_window_size): check COLUMNS and LINES
58455682Smarkm
58555682SmarkmFri May 29 00:05:04 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
58655682Smarkm
58755682Smarkm	* getarg.c (mandoc_template): Put short and long options in
58855682Smarkm 	DESCRIPTION on the same line.
58955682Smarkm
59055682Smarkm	* getarg.c (arg_match_long): make sure you only get an exact match
59155682Smarkm 	if the strings are the same length
59255682Smarkm
59355682SmarkmThu May 14 02:23:40 1998  Assar Westerlund  <assar@sics.se>
59455682Smarkm
59555682Smarkm	* roken.awk: stupid cray awk wants \#
59655682Smarkm
59755682SmarkmFri May  1 01:29:36 1998  Assar Westerlund  <assar@sics.se>
59855682Smarkm
59955682Smarkm	* print_version.c (print_version): according to ISO/ANSI C the
60055682Smarkm 	elements of `arg' are not constant and therefore not settable at
60155682Smarkm 	compile-time.  Set the at run-time instead.
60255682Smarkm
60355682SmarkmSun Apr 19 10:00:06 1998  Assar Westerlund  <assar@sics.se>
60455682Smarkm
60555682Smarkm	* roken.h.in: include paths.h
60655682Smarkm
60755682SmarkmSun Apr  5 12:30:49 1998  Assar Westerlund  <assar@sics.se>
60855682Smarkm
60955682Smarkm	* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
61055682Smarkm 	make happy
61155682Smarkm
61255682SmarkmThu Mar 19 20:41:25 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
61355682Smarkm
61455682Smarkm	* simple_exec.c: Simple fork+exec system() replacement.
61555682Smarkm
61655682SmarkmFri Mar  6 00:21:53 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
61755682Smarkm
61855682Smarkm	* roken_gethostby.c: Make `roken_gethostby_setup' take url-like
61955682Smarkm 	specification instead of split up versions. Makes it easier for
62055682Smarkm 	calling applications.
62155682Smarkm
62255682Smarkm	* roken_gethostby.c: Another miracle of the 20th century:
62355682Smarkm 	gethostby* over HTTP.
62455682Smarkm
62555682SmarkmSat Feb 21 15:18:36 1998  assar westerlund  <assar@sics.se>
62655682Smarkm
62755682Smarkm	* parse_time.c (unparse_time_approx): new function that calls
62855682Smarkm 	`unparse_units_approx'
62955682Smarkm
63055682Smarkm	* parse_units.c (unparse_units_approx): new function that will
63155682Smarkm 	only print the first unit.
63255682Smarkm
63355682Smarkm	* Makefile.in: include parse_{time,units}
63455682Smarkm
63555682SmarkmThu Feb 12 03:30:08 1998  Assar Westerlund  <assar@sics.se>
63655682Smarkm
63755682Smarkm	* parse_time.c (print_time_table): don't return a void value.
63855682Smarkm
63955682SmarkmTue Feb  3 11:06:24 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
64055682Smarkm
64155682Smarkm	* getarg.c (mandoc_template): Change date format to full month
64255682Smarkm 	name, and day of month without leading zero.
64355682Smarkm
64455682SmarkmThu Jan 22 21:23:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
64555682Smarkm
64655682Smarkm	* getarg.c: Fix long form of negative flags.
64755682Smarkm
64855682SmarkmMon Dec 29 23:31:10 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
64955682Smarkm
65055682Smarkm	* roken.h.in: Include <err.h>, to get linux __progname.
65155682Smarkm
65255682SmarkmSun Dec 21 09:45:18 1997  Assar Westerlund  <assar@sics.se>
65355682Smarkm
65455682Smarkm	* parse_time.c (print_time_table): new function
65555682Smarkm
65655682Smarkm	* parse_units.c (print_flags_table, print_units_table): new
65755682Smarkm 	functions.
65855682Smarkm
65955682SmarkmThu Dec  4 02:51:46 1997  Assar Westerlund  <assar@sics.se>
66055682Smarkm
66155682Smarkm	* iruserok.c: moved here.
66255682Smarkm
66355682Smarkm	* snprintf.c (sn_append_char): don't write any terminating zero.
66455682Smarkm	(as_reserve): don't loop.  better heuristic for how much space to
66555682Smarkm 	realloc.
66655682Smarkm	(vasnprintf): simplify initializing to one.
66755682Smarkm
66855682SmarkmSun Nov 30 14:56:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
66955682Smarkm
67055682Smarkm	* getarg.c: Add mandoc help back-end to getarg.
67155682Smarkm
67255682SmarkmWed Nov 12 01:09:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
67355682Smarkm
67455682Smarkm	* verr.c, verrx.c: Fix warnings by moving exit from.
67555682Smarkm
67655682SmarkmTue Nov 11 21:12:09 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
67755682Smarkm
67855682Smarkm	* parse_units.c: Change the list of separating characters (between
67955682Smarkm 	units) to comma, space, and tab, removing digits. Having digits in
68055682Smarkm 	this list makes a flag like `T42 generate a parse error. This
68155682Smarkm 	change makes `17m3s' an invalid time-spec (you need a space).
68255682Smarkm
68355682SmarkmTue Nov 11 02:38:44 1997  Assar Westerlund  <assar@sics.se>
68455682Smarkm
68555682Smarkm	* roken.h: add <sys/socket.h>
68655682Smarkm
68755682SmarkmSun Nov  9 04:48:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
68855682Smarkm
68955682Smarkm	* fnmatch.c: Add fnmatch from NetBSD
69055682Smarkm
69155682SmarkmSun Nov  9 02:00:08 1997  Assar Westerlund  <assar@sics.se>
69255682Smarkm
69355682Smarkm	* parse_units.c (parse_something): ignore white-space and ','
69455682Smarkm
69555682SmarkmMon Nov  3 22:38:32 1997  Assar Westerlund  <assar@sics.se>
69655682Smarkm	
69755682Smarkm	* roken.h: fclose prototype
69855682Smarkm
69955682Smarkm	* roken.h: add prototype for vsyslog
70055682Smarkm
70155682Smarkm	* Makefile.in: add some more source files to make soriasis make
70255682Smarkm 	happy
70355682Smarkm
70455682SmarkmSat Nov  1 00:19:21 1997  Assar Westerlund  <assar@sics.se>
70555682Smarkm
70655682Smarkm	* roken.h: include <sys/uio.h> and <errno.h>.
70755682Smarkm	prototypes for readv and writev
70855682Smarkm
70955682Smarkm	* readv.c, writev.c: new files
71055682Smarkm
71155682SmarkmWed Oct 29 02:21:38 1997  Assar Westerlund  <assar@sics.se>
71255682Smarkm
71355682Smarkm	* roken.h: Add ugly macros for openlog, gethostbyname,
71455682Smarkm 	gethostbyaddr, and getservbyname for the benefit of Crays.  Add
71555682Smarkm 	default definition of MAXPATHLEN
716