1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
|
2001-05-17 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 12:0:3
* roken.h.in: re-add set_progname and get_progname for backwards
compatability
* warnerr.c: re-add set_progname and get_progname for backwards
compatability
2001-05-12 Assar Westerlund <assar@sics.se>
* glob.c: add limits.h, from <shadow@dementia.org>
2001-05-11 Johan Danielsson <joda@pdc.kth.se>
* Makefile.am: bswap.c
* bswap.c: bswap{16,32}
2001-05-08 Assar Westerlund <assar@sics.se>
* freeaddrinfo.c (freeaddrinfo): also free every `struct
addrinfo'. from <tmartin@mirapoint.com>
2001-04-25 Assar Westerlund <assar@sics.se>
* getarg.h (free_getarg_strings): add prototype
* getarg.c (free_getarg_strings): add function
2001-04-21 Johan Danielsson <joda@pdc.kth.se>
* getarg.c: pack short flag options togther, to shorten the usage
string
2001-04-17 Johan Danielsson <joda@pdc.kth.se>
* getifaddrs.c (getifaddrs2): close socket when done
2001-03-26 Johan Danielsson <joda@pdc.kth.se>
* roken.awk: END has to be last with Sun's awk
2001-03-26 Assar Westerlund <assar@sics.se>
* parse_units.c (parse_something): do not check the return value
from strtod, it might return != 0.0 when the string has no digits.
just testing if it consumed any characters is enough and more
resilient
* glob.c: add GLOB_LIMIT (from NetBSD)
2001-02-20 Assar Westerlund <assar@sics.se>
* warnerr.c (warnerr): do not use __progname
* roken.h.in (setprogname, getprogname): add prototypes
* warnerr.c (setprogname, getprogname): rename to. change all
callers
2001-02-12 Assar Westerlund <assar@sics.se>
* getnameinfo_verified.c (getnameinfo_verified): do the first
getnameinfo with NI_NUMERICSERV to avoid the error that bind 8.2.3
reports on not finding the service
(ENI_NOSERVNAME). reported by Ake Sandgren <ake@cs.umu.se>
2001-02-09 Assar Westerlund <assar@sics.se>
* getnameinfo.c (doit): call inet_ntop with correct af, noted by
Ake Sandgren <ake@cs.umu.se>
2001-02-08 Assar Westerlund <assar@sics.se>
* getnameinfo_verified.c (getnameinfo_verified): always capture
the service from getnameinfo so it can be sent back to getaddrinfo
and set socktype to avoid getaddrinfo not returning any addresses
2001-01-30 Assar Westerlund <assar@sics.se>
* Makefile.am (libroken_la_LDFLAGS): bump version to 11:1:2
* print_version.c (print_version): add 2001
2001-01-29 Assar Westerlund <assar@sics.se>
* getifaddrs.c (getifaddrs2): copy the entire sockaddr
* roken-common.h (_PATH_BSHELL): add
2001-01-27 Assar Westerlund <assar@sics.se>
* roken.h.in: move __attribute__ to roken-common.h
* esetenv.c (esetenv): cast to handle a setenv that takes a `char
* which is the case on Unicos
2000-12-29 Assar Westerlund <assar@sics.se>
* Makefile.am (EXTRA_libroken_la_SOURCES): ifaddrs.h ->
ifaddrs.hin
2000-12-25 Assar Westerlund <assar@sics.se>
* getarg.c (print_arg): add a case for arg_strings
2000-12-15 Johan Danielsson <joda@pdc.kth.se>
* snprintf.c (append_string): handle NULL strings by printing
`(null)'
2000-12-12 Johan Danielsson <joda@pdc.kth.se>
* roken-common.h: add c++ externs
* roken.h.in: fix last commit differently
2000-12-11 Assar Westerlund <assar@sics.se>
* err.hin (warnerr): remove, it's not part of the err.h interface
* roken-common.h (warnerr): moved here from err.hin
* Makefile.am (libroken_la_LDFLAGS): set version to 11:0:2
* vis.c: s/u_int32_t/unsigned/ for systems that do not define
u_int32_t
2000-12-10 Johan Danielsson <joda@pdc.kth.se>
* Makefile.am: rename some headers to avoid conflict with possible
system headers
2000-12-06 Johan Danielsson <joda@pdc.kth.se>
* vis.c: make sure _DIAGASSERT is defined
* unvis.c: make sure _DIAGASSERT is defined
* Makefile.am: unvis.c, and vis.h
* vis.h: vis.h from NetBSD
* unvis.c: unvis from NetBSD
* roken.h.in: cleanup previous
* roken-common.h: make `extern "C"' into a macro, this make emacs
much happier
* vis.c: strvis implementation from NetBSD
* roken.h.in: add prototypes for strvis*
2000-12-05 Johan Danielsson <joda@pdc.kth.se>
* ifaddrs.h: fix freeifaddrs prototype, and add ifa_broadaddr
macro
* getifaddrs.c: free some memory
2000-12-04 Johan Danielsson <joda@pdc.kth.se>
* ifaddrs.h: getifaddrs implementation using SIOCGIFCONFIG etc
* getifaddrs.c: getifaddrs implementation using SIOCGIFCONFIG etc
2000-10-08 Assar Westerlund <assar@sics.se>
* mini_inetd.c (mini_inetd): check that fds are not too large to
select on
2000-09-24 Assar Westerlund <assar@sics.se>
* esetenv.c: new file/function
2000-08-16 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 10:0:1
2000-08-10 Assar Westerlund <assar@sics.se>
* mini_inetd.c (accept_it): type-correctness on parameters to
accept
2000-08-07 Johan Danielsson <joda@pdc.kth.se>
* roken.h.in: add proto compat for getsockname
2000-08-04 Johan Danielsson <joda@pdc.kth.se>
* write_pid.c: conditionalise pidfile
* write_pid.c: add pidfile function
2000-07-25 Johan Danielsson <joda@pdc.kth.se>
* Makefile.am: bump version to 9:0:0
* warnerr.c: add get_progname
2000-07-24 Assar Westerlund <assar@sics.se>
* getaddrinfo.c (add_hostent): if there's no fqdn in `he' try
reverse resolving to see if there's a fuller name there. don't
use just-freed memory
2000-07-22 Assar Westerlund <assar@sics.se>
* xdbm.h: do not define ndbm functions in terms of dbm functions
if we're using db
2000-07-20 Assar Westerlund <assar@sics.se>
* rtbl.c (rtbl_format): avoid printing an empty row at the end
2000-07-19 Johan Danielsson <joda@pdc.kth.se>
* Makefile.am: make this compatible with `make dist'
* Makefile.am: revert version number for now
2000-07-18 Johan Danielsson <joda@pdc.kth.se>
* configure.in: AM_PROG_LIBTOOL -> AC_PROG_LIBTOOL
2000-07-17 Johan Danielsson <joda@pdc.kth.se>
* Makefile.am: set ACLOCAL_AMFLAGS
2000-07-15 Johan Danielsson <joda@pdc.kth.se>
* getaddrinfo_hostspec.c: add new function that takes socktype
hint as parameter
2000-07-09 Assar Westerlund <assar@sics.se>
* rtbl.c (rtbl_add_column): initialize `col' completely
* configure.in: bring headers and functions more in-line with
what's actually being used
2000-07-08 Johan Danielsson <joda@pdc.kth.se>
* roken.h.in: declare ether_addr and sockaddr_dl for AIX
* rtbl.{c,h}: simple table functions
2000-07-08 Assar Westerlund <assar@sics.se>
* configure.in (AM_INIT_AUTOMAKE): bump version to 10
* configure.in (AC_BROKEN): add strsep_copy
* Makefile.am (ACLOCAL): fetch files from cf
2000-07-01 Assar Westerlund <assar@sics.se>
* roken-common.h (pid_file_*): fix protos
2000-06-28 Assar Westerlund <assar@sics.se>
* getnameinfo_verified.c (getnameinfo_verified): free memory
returned from getaddrinfo
2000-06-27 Assar Westerlund <assar@sics.se>
* resolve.c: export string_to_type and type_to_string
* resolve.c: add key,sig,cert update test-program
* resolve.h: add key,sig,cert
2000-06-21 Assar Westerlund <assar@sics.se>
* resolve.h: add T_SIG, T_KEY
* resolve.c: add SIG and KEY
* Makefile.am (libroken_la_SOURCES): add environment.c and
write_pid.c
* write_pid.c: new file for writing a pid file.
* environment.c: new file with functionality for reading
/etc/environment. From Ake Sandgren <ake@cs.umu.se>
2000-06-12 Johan Danielsson <joda@pdc.kth.se>
* strsep_copy.c: strsep, but with const stringp so returns string
in separate buffer
2000-05-23 Assar Westerlund <assar@sics.se>
* vsyslog.c (vsyslog): calculate length of new format string
correctly
2000-05-22 Johan Danielsson <joda@pdc.kth.se>
* getusershell.c: implment the AIX version use
/etc/security/login.cfg
2000-05-21 Assar Westerlund <assar@sics.se>
* vsyslog.c (vsyslog): actually handle `%m'
2000-05-15 Assar Westerlund <assar@sics.se>
* Makefile.am (libroken_la_LDFLAGS): set version to 8:1:3
* roken-common.h: moved __attribute__ to roken.h.in
2000-04-14 Assar Westerlund <assar@sics.se>
* getaddrinfo_hostspec.c (roken_getaddrinfo_hostspec): copy the
correct length from `hostspec'. based on a patch from Love
<lha@s3.kth.se>
2000-04-09 Assar Westerlund <assar@sics.se>
* xdbm.h: only include one of db.h and the dbm-series
2000-04-05 Assar Westerlund <assar@sics.se>
* resolve.c (_resolve_debug): explicitly set to zero. this moves
the variable from bss to data and the dynamic linker on MacOS
X/Darwin seems unhappy with stuff in the bss segment.
2000-04-03 Assar Westerlund <assar@sics.se>
* Makefile.am: set version to 8:0:3
2000-03-11 Assar Westerlund <assar@sics.se>
* roken.h.in (_SS_PAD1SIZE): try to write an inpenetrable
expression that also works on Crays
2000-03-09 Assar Westerlund <assar@sics.se>
* getarg.c (arg_match_short): backup optind when there's a missing
argument so that the error can point at the flag and not the
non-existant argument
2000-03-03 Assar Westerlund <assar@sics.se>
* Makefile.in (SOURCES): add timeval.c
* Makefile.am (libroken_la_SOURCES): add timeval.c
* timeval.c: new file
2000-02-19 Assar Westerlund <assar@sics.se>
* Makefile.am: set version to 7:1:2
2000-02-16 Assar Westerlund <assar@sics.se>
* snprintf.c (PARSE_INT_FORMAT): note that shorts are actually
transmitted as ints
(according to the integer protomotion rules) in variable arguments
lists. Therefore, we should not call va_arg with short but rather
with int. See <http://www.debian.org/Bugs/db/57/57919.html> for
original bug report
2000-02-13 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 7:0:2
* getarg.c (mandoc_template): also fix no- prefix in .Sh OPTIONS
* getarg.c (mandoc_template): better man-stuff for negative
options
2000-02-07 Assar Westerlund <assar@sics.se>
* Makefile.am: set version to 6:0:1
2000-02-06 Assar Westerlund <assar@sics.se>
* xdbm.h: hopefully catch a few more declarations by including
<ndbm.h> even if <db.h> was found
2000-01-26 Assar Westerlund <assar@sics.se>
* mini_inetd.c (mini_inetd): separate number of allocated sockets
and number of actual ones
* mini_inetd.c (mini_inetd): count sockets properly. and fail if
we cannot bind any
* mini_inetd.c (mini_inetd): make failing to create a socket
non-fatal
2000-01-09 Assar Westerlund <assar@sics.se>
* Makefile.am(libroken_la_SOURCES): add strcollect.c
* Makefile.in: add strcollect.[co]
* simple_exec.c: use vstrcollect
* roken-common.h (_PATH_DEV): add
(strcollect, vstrcollect): add prototypes
* strcollect.c: new file. functions for collapsing an `va_list'
into an `char **'
2000-01-06 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 5:0:0
1999-12-30 Assar Westerlund <assar@sics.se>
* Makefile.am (strpftime_test_SOURCES): correct source file name
* roken.h.in (sockaddr_storage): change padding so that we have
one char[] of pad and then an unsigned long[] (for alignment and
padding). this works much better in practice.
1999-12-22 Assar Westerlund <assar@sics.se>
* roken.h.in (sockaddr_storage): drop leading underscore on
`public' fields. this was the consensus on the ipng mailing list
1999-12-21 Assar Westerlund <assar@sics.se>
* Makefile.am (strpftime-test): define sources to avoid having
'.o'
* Makefile.am (print_version.h): use $(EXEEXT)
* Makefile.am (roken.h): add $(EXEEXT) to make this work on cygwin
et al
1999-12-20 Assar Westerlund <assar@sics.se>
* Makefile.am (libroken_la_LDFLAGS): bump version to 4:3:0
* getaddrinfo.c (get_nodes): use getipnodebyname instead of
gethostbyname(2)
1999-12-16 Assar Westerlund <assar@sics.se>
* Makefile.am (libroken_la_LDFLAGS): bump version to 4:2:0
* roken.h.in (struct sockaddr_storage): redefine with the example
code from rfc2553
* getaddrinfo.c (get_null): set loopback with correct endianess
for v4. dunno about v6.
1999-12-13 Assar Westerlund <assar@sics.se>
* roken.h.in: add prototypes for str[pf]time
* signal.c: macosx = rhapsody ~= nextstep also can't handle
various definitions of the same symbol.
1999-12-12 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 4:1:0
1999-12-06 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 4:0:0
1999-12-05 Assar Westerlund <assar@sics.se>
* Makefile.in: replace inaddr2str with getnameinfo_verified
* roken-common.h (INADDR_LOOPBACK): add fallback definition
* roken-common.h: move getnameinfo_verified to roken.h.in
* roken.h.in (inaddr2str): remove
* Makefile.am (libroken_la_SOURCES); removed inaddr2str
* roken-common.h (getnameinfo_verified): add prototype
* getnameinfo_verified.c: new file
1999-12-04 Assar Westerlund <assar@sics.se>
* roken-common.h: add constants for getaddrinfo, getnameinfo
* roken.h.in (socklen_t): make independent of sockaddr_storage
(AI_*, NI_*, EAI_*): move to roken-common.h
1999-12-03 Assar Westerlund <assar@sics.se>
* mini_inetd.c (mini_inted): rewrite to use `getaddrinfo'
* getaddrinfo.c (const_v*): no sizeof(sizeof())
* getaddrinfo.c (add_hostent): search for the canonical name among
all aliases
(getaddrinfo): handle AI_NUMERICHOST correctly
* Makefile.am (EXTRA_libroken_la_SOURCES): add freeaddinfo,
getaddrinfo, getnameinfo, gai_strerror
(getaddrinfo_test): add
* Makefile.in (SOURCES): add freeaddinfo, getaddrinfo,
getnameinfo, gai_strerror
(getaddrinfo_test): add
* roken.h.in: arpa/inet.h: include
(socklen_t): add
(struct addrinfo): add
(EAI_*): add
(NI_*): add
(AI_*): add
(getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror): add
* getnameinfo.c: new file
* getaddrinfo-test.c: new file
* gai_strerror.c: new file
* getaddrinfo.c: new file
* freeaddrinfo.c: new file
1999-11-25 Assar Westerlund <assar@sics.se>
* getopt.c (getopt): return -1 instead of EOF. From
<art@stacken.kth.se>
1999-11-13 Assar Westerlund <assar@sics.se>
* strftime.c (strftime): handle `%z' and `%Z' in a tm_gmtoff-less
world
* getcap.c: make sure to use db only if we have both the library
and the header file
1999-11-12 Assar Westerlund <assar@sics.se>
* getarg.h: add arg_counter
* getarg.c: add a new type of argument: `arg_counter' re-organize
the code somewhat
* Makefile.am: add strptime and strpftime-test
* snprintf.c (xyzprintf): try to do the right thing with an % at
the end of the format string
* strptime.c (strptime): implement '%U', '%V', '%W'
* strftime.c (strftime): implement '%U', '%V', '%W', '%z'
* strftime.c (strftime): correct %E and %O handling. do something
reasonable with "...%"
* strftime.c: replace the BSD implementation by one of our own
coding
* strptime.c : new file
* strpftime-test.c: new file
1999-11-07 Assar Westerlund <assar@sics.se>
* parse_bytes-test.c: new file
* Makefile.am: add parse_bytes-test
* parse_units.c (parse_something): try to handle the case of no
value specified a little bit better
1999-11-04 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 3:2:0
1999-10-30 Assar Westerlund <assar@sics.se>
* snprintf.c (PARSE_INT_FORMAT): add redundant casts to work
around a gcc-bug that manifests itself on Linux-PPC. From Tom
Rini <trini@kernel.crashing.org>
1999-10-28 Assar Westerlund <assar@sics.se>
* Makefile.am: bump version to 3:1:0
* roken.h.in: use `unsigned char' instead of `u_int8_t' to avoid
having to have that definition. this is the easy way out instead
of getting the definition here where it's needed. flame me.
Fri Oct 22 15:39:31 1999 Bjoern Groenvall <bg@sics.se>
* k_getpwuid.c (k_getpwuid): getspuid() does not exist (even
though it should), use getspnam().
1999-10-20 Assar Westerlund <assar@sics.se>
* Makefile.am: set version to 3:0:0
1999-10-18 Johan Danielsson <joda@pdc.kth.se>
* getarg.3: document arg_collect
* getarg.c: change the way arg_collect works; it's still quite
horrible though
* getarg.h: change type of the collect function
1999-10-17 Assar Westerlund <assar@sics.se>
* xdbm.h: undo last commit
* xdbm.h: reorder db includes
1999-10-10 Assar Westerlund <assar@sics.se>
* socket.c: const-ize and comment
* net_write.c: const-ize
* base64.c: const-ize
1999-10-06 Assar Westerlund <assar@sics.se>
* getarg.c (getarg): also set optind when returning error
1999-09-26 Assar Westerlund <assar@sics.se>
* Makefile.am: add parse_bytes.[ch]
1999-09-24 Johan Danielsson <joda@pdc.kth.se>
* getarg.3: getarg manpage
* getarg.{c,h}: add a callback type to do more complicated processing
* getarg.{c,h}: add floating point support
1999-09-16 Assar Westerlund <assar@sics.se>
* strlcat.c (strlcat): call strlcpy
* strlcpy.c: update name and prototype
* strlcat.c: update name and prototype
* roken.h.in: rename strc{py,at}_truncate to strlc{py,at}
* Makefile.am: rename strc{py,at}_truncate -> strlc{py,at}
* Makefile.in: rename strc{py,at}_truncate -> strlc{py,at}
* strcpy_truncate.c (strcpy_truncate): change return value to be
the length of `src'
1999-08-16 Assar Westerlund <assar@sics.se>
* getcap.c: try to make this work on systems with DB
1999-08-16 Johan Danielsson <joda@pdc.kth.se>
* getcap.c: protect from db-less systems
1999-08-09 Johan Danielsson <joda@pdc.kth.se>
* simple_exec.c: add simple_exec{ve,le}
* getcap.c: getcap from NetBSD
1999-08-06 Assar Westerlund <assar@sics.se>
* roken.h.in (sockaddr_storage): cater for those that have
v6-support also
1999-08-05 Assar Westerlund <assar@sics.se>
* inet_ntop.c (inet_ntop_v4): remember to call ntohl
1999-08-04 Assar Westerlund <assar@sics.se>
* roken-common.h: add shutdown constants
* mini_inetd.c (listen_v4, listen_v6): handle the case of the
protocol not being supported
1999-08-01 Assar Westerlund <assar@sics.se>
* mini_inetd.c (socket_set_reuseaddr): remove duplicate
1999-07-29 Assar Westerlund <assar@sics.se>
* mini_inetd.c (mini_inetd): fix my stupid bugs
1999-07-28 Assar Westerlund <assar@sics.se>
* roken-common.h: add socket* functions
* Makefile.am (libroken_la_SOURCES): add socket.c
* socket.c: new file, originally from appl/ftp/common
* Makefile.am: set version to 2:0:2
* roken.h.in (inet_pton): add prototype
* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_pton
* inet_pton.c: new file
* getipnodebyname.c (getipnodebyname): try gethostbyname2 if we
have it
1999-07-27 Assar Westerlund <assar@sics.se>
* mini_inetd.c: support IPv6
1999-07-26 Assar Westerlund <assar@sics.se>
* Makefile.am: set version to 1:0:1
* roken.h.in (inet_ntop): add prototype
* roken-common.h: (INET{,6}_ADDRSTRLEN): add
* inet_ntop.c: new file
* Makefile.am (EXTRA_libroken_la_SOURCES): add inet_ntop.c
* Makefile.am: move some files from libroken_la_SOURCES to
EXTRA_libroken_la_SOURCES
* snprintf.c: some signed vs unsigned casts
1999-07-24 Assar Westerlund <assar@sics.se>
* roken.h.in (struct sockaddr_storage): define it needed
1999-07-19 Assar Westerlund <assar@sics.se>
* Makefile.am (libroken_la_SOURCES): add copyhostent.c,
freehostent.c, getipnodebyname.c, getipnodebyaddr.c
* roken.h.in: <netdb.h>: include
(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
prototypes
* roken-common.h: new constants for getipnodeby*
* Makefile.in (SOURCES): add freehostent, copyhostent,
getipnodebyname, getipnodebyaddr
* freehostent.c: new file
* copyhostent.c: new file
* getipnodebyaddr.c: new file
* getipnodebyname.c: new file
1999-07-13 Assar Westerlund <assar@sics.se>
* roken.h.in (k_getpwnam): update prototype
* k_getpwnam.c (k_getpwnam): const-ize
* get_default_username.c (get_default_username): a better way of
guessing when the user has su:ed
1999-07-08 Johan Danielsson <joda@pdc.kth.se>
* roken.awk: use puts, as suggested by Jeffrey Hutzelman
<jhutz+@cmu.edu>
1999-07-06 Assar Westerlund <assar@sics.se>
* readv.c (readv): typo
1999-07-03 Assar Westerlund <assar@sics.se>
* writev.c (writev): error check malloc properly
* sendmsg.c (sendmsg): error check malloc properly
* resolve.c (parse_reply): error check malloc properly
* recvmsg.c (recvmsg): error check malloc properly
* readv.c (readv): error check malloc properly
1999-06-23 Assar Westerlund <assar@sics.se>
* parse_units.c (acc_units): move the special case of 0 -> 1 to
parse_something to avoid having it happen at the end of the string
1999-06-15 Assar Westerlund <assar@sics.se>
* Makefile.in: add get_default_username
* get_default_username.c: new file
* roken.h.in (get_default_username): add prototype
* Makefile.am: add get_default_username
1999-05-08 Assar Westerlund <assar@sics.se>
* xdbm.h: also try <db.h> with DB_DBM_HSEARCH == 1
* strnlen.c (strnlen): update prototype
* Makefile.am: strndup.c: add
* Makefile.in: strndup.c: add
* roken.h.in (strndup): add
(strnlen): update prototype
* strndup.c: new file
Fri Apr 16 17:59:30 1999 Assar Westerlund <assar@sics.se>
* roken.h.in: include strsep prototype if needed
Thu Apr 15 14:04:03 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* Makefile.am: make make-print-version.o depend on version.h
Wed Apr 7 14:11:00 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* Makefile.am: make it compile w/o krb4
Sat Mar 27 17:33:03 1999 Johan Danielsson <joda@blubb.pdc.kth.se>
* snprintf.c (vasnprintf): correct check if realloc returns NULL
Sat Mar 27 12:37:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* Makefile.am: link print_version with -ldes to avoid unresolved
references if -lkrb is shared
Sat Mar 20 03:42:30 1999 Assar Westerlund <assar@sics.se>
* roken-common.h (eread, ewrite): add
* simple_exec.c: add <roken.h>
Fri Mar 19 21:29:58 1999 Assar Westerlund <assar@sics.se>
* Makefile.in: add eread, ewrite
* eread.c, ewrite.c: new files
* Makefile.am (libroken_la_SOURCES): add eread and ewrite
Fri Mar 19 14:52:57 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* Makefile.am: add version-info
Thu Mar 18 12:53:32 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* Makefile.am: remove include_dir hack
* Makefile.am: parse_units.h
* Makefile.am: include Makefile.am.common
Sat Mar 13 23:31:35 1999 Assar Westerlund <assar@sics.se>
* Makefile.in (SOURCES): add glob.c
Thu Mar 11 15:02:21 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* iruserok.c: move innetgr() to separate file
* innetgr.c: move innetgr() to separate file
* hstrerror.c (hstrerror): add const to return type
* erealloc.c: fix types in format string
* emalloc.c: fix types in format string
Wed Mar 10 16:36:55 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* resolve.c: ugly fix for crays
Mon Mar 8 11:52:20 1999 Johan Danielsson <joda@hella.pdc.kth.se>
* roken.h.in: protos for {un,}setenv
1999-02-16 Assar Westerlund <assar@sics.se>
* Makefile.in (SOURCES): add fnmatch
* roken-common.h (abs): add
Sat Feb 13 17:12:53 1999 Assar Westerlund <assar@sics.se>
* emalloc.c, erealloc.c, estrup.c: new files
* roken.h.in (mkstemp, gethostname): also includes prototypes if
they are needed.
1998-12-23 Assar Westerlund <assar@sics.se>
* roken.h.in: mkstemp: add prototype
1998-12-20 Assar Westerlund <assar@sics.se>
* snprintf.c, iruserok.c, parse-units.c: unsigned char-correctness
* roken.h.in (inet_aton): also chedk NEED_INET_ATON_PROTO
* roken-common.h: __attribute__: check for autoconf'd
HAVE___ATTRIBUTE__ instead of GNUC
Sun Dec 6 19:53:21 1998 Assar Westerlund <assar@sics.se>
* parse_units.c (parse_something): func is called with val == 0 if
no unit was given
(acc_flags, acc_units): update to new standard
Fri Nov 27 03:09:42 1998 Assar Westerlund <assar@sics.se>
* resolve.c (stot): constify
(type_to_string): always declare
(dns_lookup_int): correct debug output
Thu Nov 26 23:43:55 1998 Assar Westerlund <assar@sics.se>
* resolve.c (dns_lookup_int): send rr_class to res_search
Thu Nov 26 17:09:47 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* resolve.c: some cleanup
* resolve.h: add T_NAPTR
Sun Nov 22 10:23:07 1998 Assar Westerlund <assar@sics.se>
* Makefile.in (WFLAGS): set
* k_getpwnam.c (k_getpwnam): check for `struct spwd'
* k_getpwuid.c (k_getpwuid): check for `struct spwd'
Tue Sep 8 05:18:31 1998 Assar Westerlund <assar@sics.se>
* recvmsg.c (recvmsg): patch from bpreece@unity.ncsu.edu
Fri Sep 4 16:29:27 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* vsyslog.c: asprintf -> vasprintf
Tue Aug 18 22:25:52 1998 Assar Westerlund <assar@sics.se>
* getarg.h (arg_printusage): new signature
* getarg.c (arg_printusage): new parameter `progname'. NULL means
__progname.
Sun Aug 9 14:53:44 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* Makefile.am: net_{read,write}.c
Fri Jul 24 21:56:02 1998 Assar Westerlund <assar@sics.se>
* simple_exec.c (simple_execvp): loop around waitpid when errno ==
EINTR
Thu Jul 23 20:24:35 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* Makefile.am: net_{read,write}.c
Wed Jul 22 21:38:35 1998 Assar Westerlund <assar@sics.se>
* simple_exec.c (simple_execlp): initialize `argv'
Mon Jul 13 23:01:22 1998 Assar Westerlund <assar@sics.se>
* inaddr2str.c (inaddr2str): don't advance hostent->h_addr_list,
use a copy instead
Fri Jul 10 01:20:08 1998 Assar Westerlund <assar@sics.se>
* roken.h.in (net_write, net_read): add prototypes
* Makefile.in: net_{read,write}.c: add
* net_{read,write}.c: new files
Tue Jun 30 17:29:09 1998 Assar Westerlund <assar@sics.se>
* roken.h.in (issuid): add
* get_window_size.c: fix misspelling of TIOCGWINSZ and bad use of
fields
Sun May 31 03:24:34 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c (mandoc_template): Put short and long options in
SYNOPSIS within the same [ ] pair.
Sat May 30 00:13:01 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c (arg_printusage): try to keep options shorter than
column width
* get_window_size.c (get_window_size): check COLUMNS and LINES
Fri May 29 00:05:04 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c (mandoc_template): Put short and long options in
DESCRIPTION on the same line.
* getarg.c (arg_match_long): make sure you only get an exact match
if the strings are the same length
Thu May 14 02:23:40 1998 Assar Westerlund <assar@sics.se>
* roken.awk: stupid cray awk wants \#
Fri May 1 01:29:36 1998 Assar Westerlund <assar@sics.se>
* print_version.c (print_version): according to ISO/ANSI C the
elements of `arg' are not constant and therefore not settable at
compile-time. Set the at run-time instead.
Sun Apr 19 10:00:06 1998 Assar Westerlund <assar@sics.se>
* roken.h.in: include paths.h
Sun Apr 5 12:30:49 1998 Assar Westerlund <assar@sics.se>
* Makefile.in (SOURCES): add roken_gethostby.c to make solaris
make happy
Thu Mar 19 20:41:25 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* simple_exec.c: Simple fork+exec system() replacement.
Fri Mar 6 00:21:53 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* roken_gethostby.c: Make `roken_gethostby_setup' take url-like
specification instead of split up versions. Makes it easier for
calling applications.
* roken_gethostby.c: Another miracle of the 20th century:
gethostby* over HTTP.
Sat Feb 21 15:18:36 1998 assar westerlund <assar@sics.se>
* parse_time.c (unparse_time_approx): new function that calls
`unparse_units_approx'
* parse_units.c (unparse_units_approx): new function that will
only print the first unit.
* Makefile.in: include parse_{time,units}
Thu Feb 12 03:30:08 1998 Assar Westerlund <assar@sics.se>
* parse_time.c (print_time_table): don't return a void value.
Tue Feb 3 11:06:24 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c (mandoc_template): Change date format to full month
name, and day of month without leading zero.
Thu Jan 22 21:23:23 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c: Fix long form of negative flags.
Mon Dec 29 23:31:10 1997 Johan Danielsson <joda@emma.pdc.kth.se>
* roken.h.in: Include <err.h>, to get linux __progname.
Sun Dec 21 09:45:18 1997 Assar Westerlund <assar@sics.se>
* parse_time.c (print_time_table): new function
* parse_units.c (print_flags_table, print_units_table): new
functions.
Thu Dec 4 02:51:46 1997 Assar Westerlund <assar@sics.se>
* iruserok.c: moved here.
* snprintf.c (sn_append_char): don't write any terminating zero.
(as_reserve): don't loop. better heuristic for how much space to
realloc.
(vasnprintf): simplify initializing to one.
Sun Nov 30 14:56:59 1997 Johan Danielsson <joda@emma.pdc.kth.se>
* getarg.c: Add mandoc help back-end to getarg.
Wed Nov 12 01:09:17 1997 Johan Danielsson <joda@emma.pdc.kth.se>
* verr.c, verrx.c: Fix warnings by moving exit from.
Tue Nov 11 21:12:09 1997 Johan Danielsson <joda@emma.pdc.kth.se>
* parse_units.c: Change the list of separating characters (between
units) to comma, space, and tab, removing digits. Having digits in
this list makes a flag like `T42 generate a parse error. This
change makes `17m3s' an invalid time-spec (you need a space).
Tue Nov 11 02:38:44 1997 Assar Westerlund <assar@sics.se>
* roken.h: add <sys/socket.h>
Sun Nov 9 04:48:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
* fnmatch.c: Add fnmatch from NetBSD
Sun Nov 9 02:00:08 1997 Assar Westerlund <assar@sics.se>
* parse_units.c (parse_something): ignore white-space and ','
Mon Nov 3 22:38:32 1997 Assar Westerlund <assar@sics.se>
* roken.h: fclose prototype
* roken.h: add prototype for vsyslog
* Makefile.in: add some more source files to make soriasis make
happy
Sat Nov 1 00:19:21 1997 Assar Westerlund <assar@sics.se>
* roken.h: include <sys/uio.h> and <errno.h>.
prototypes for readv and writev
* readv.c, writev.c: new files
Wed Oct 29 02:21:38 1997 Assar Westerlund <assar@sics.se>
* roken.h: Add ugly macros for openlog, gethostbyname,
gethostbyaddr, and getservbyname for the benefit of Crays. Add
default definition of MAXPATHLEN
|