File: ChangeLog

package info (click to toggle)
ndtpd 3.1.5-6.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 2,648 kB
  • ctags: 693
  • sloc: ansic: 8,704; sh: 7,707; perl: 655; makefile: 178
file content (1043 lines) | stat: -rw-r--r-- 37,021 bytes parent folder | download
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
2003-05-24  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.5.

	* configure.ac (AC_INIT): Set version to 3.1.5.

2003-04-29  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtp.c: Don't use the following obsolete functions of EB
	Library: eb_suspend(), eb_initialize_all_subbooks()
	eb_suspend_appendix(), and eb_initialize_all_subbooks().

2003-04-14  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/global.c: Don't include <eb/text.h>.

2002-04-05  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtp.c (protocol_main): perform `goto die' whenever an error
	occurs in the function.

2002-09-26  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac (AM_CONFIG_HEADER): Use `AC_CONFIG_HEADER' instead.
	* configure.ac (AC_CYGWIN, AC_MINGW32): Removed.
	* configure.ac (AC_INIT, AM_INIT_AUTOMAKE): Package name and version
	are set with AC_INIT, not AM_INIT_AUTOMAKE.

2002-09-17  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/ticket.c (get_ticket): Fix a serious but that it doesn't
	set lock spot when a file lock is succeeded.

2002-09-02  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.4.

	* src/book.c (delete_book): New function.
	* src/book.c (activate_book_registry): Delete unavailable book
	from `book_registry' using delete_book().
	* src/book.c (find_book): Also find unactive book.

2002-08-23  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* decomp, install-sh, mkinstalldirs, missing: Imported from
	Automake-1.6.3.

2002-06-09  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.3.

	* missing, install-sh, mkinstalldirs, depcomp, doc/mdate-sh,
	doc-ja/mdate-sh: Imported from automake-1.6.1.
	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.1.3.
	* configure.ac (AC_PREREQ): Set the required version to 2.53.

	* src/misc.c (output_version): Shorten the version info massage.

2002-05-31  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/linebuf.c: add timeout support.
	* lib/ioall.c: ditto.
	* src/ndtp.c: Do not use alarm() and SISALARM to check timeout.

	* Makefile.am: Define ACLOCAL_AMFLAGS.

2002-05-27  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac: Do not check `struct sockaddr_in6' but `struct
	sockaddr_in6' for enabling IPv6 support.

2002-05-22  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/ioall.c (write_all): Do no action for return value 0 returned
	from write().

2002-05-09  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/linebuf.h (Line_Buffer): Delete `line_length'.
	* lib/linebuf.c (read_line_buffer, binary_read_line_buffer): Likewise.

2002-04-10  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.2.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.1.2.
	* configure.ac: Fix a bug in handling of the `--enable-ipv6' option.

2002-03-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/getaddrinfo.c (getnameinfo): Return EAI_OVERFLOW not
	EAI_MEMORY if `node' or `serv' buffer doesn't have enough space.

2002-02-20  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/serverport.c, lib/hostname.c: Include "getaddrinfo.h"
	if HAVE_GETADDRINFO and/or HAVE_GETNAMEINFO are defined.

2002-02-13  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.1.

	* lib/fakelog.c (fakelog): Delete declaration of unused variables.
	* src/ndtpd.c, lib/fdset.c: Fix a bug in SHUT_RW definition.

	* lib/ioall.c (read_all, write_all): Supress warnings by
	"gcc -Wconversion".

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.1.1.

2002-02-07  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.1.
	* configure.ac: Improve checks for getaddrinfo(), getnameinfo()
	and inet_pton().

2002-02-05  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/getaddrinfo.c (getaddrinfo): Don't suppose that the 1st
	argument of gethostbyname() can be IPv4 address.

2002-01-26  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/getaddrinfo.h: Catch up with IETF draft rfc2553bis-04.
	* lib/getaddrinfo.h: Support systems which have either getaddrinfo()
	or getnameinfo, but not both.
	* configure.ac: Ditto.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.1beta1.

2002-01-22  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* config.guess: Use "2002-01-02".
	* config.sub: Use "2002-01-10".
	* depcomp, missing, mkinstalldirs: Import from Automake-1.5b.

	* libebutils/strcasecmp.c (strcasecmp, strncasecmp): Revised.

2002-01-20  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* libebutils/getopt.c, libebutils/getopt.h: Delete `optreset' support
	that is local extension to POSIX2.

2001-12-06  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* libebutils/getopt.c, libebutils/getopt.h: Delete `optreset' support
	that is local extension to POSIX2.

2002-01-19  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtpd.c (main): Stop parsing command line options when
	getopt_long() returns -1 not EOF.
	* src/ndtpcontrol.c (main): Ditto.
	* src/ndtpcheck.c (main): Ditto.
	* lib/getopt.c, lib/getopt.h, lib/getopt1.c:
	Use getopt_long() taken from NetBSD, not from GLIBC.
	* lib/Makefile.am (libebutils_a_SOURCES): Delete getopt1.c.


2001-12-31  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/fdset.c (finalize_fdset): new function.

2001-12-07  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/fakelog.c (fakelog): Delete support code for `%m'.
	* lib/daemon.c, lib/hostname.c, lib/ioall.c, lib/linebuf.c,
	lib/logpid.c, lib/makedir.c, lib/privilege.c, lib/procpipes.c,
	lib/readconf.c, lib/serverport.c, lib/ticket.c, src/ndtpd.c:
	Don't use `%m' in syslog message format.

2001-10-26  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.1beta0.

	* m4/libtool.m4, ltmain.sh: Import libtool-1.4.2.

2001-10-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac: Update with autoupdate of Autoconf 2.52.

2001-10-23  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/hookset.c (common_hooks): Delete hook to EB_HOOK_STOP_CODE.

	* src/ndtp.c (command_XS): New function.
	* src/ndtp.c (command_X): Recognize the new command `XS'.

2001-10-10  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtpstat.in: Support the syslog format which puts
	"[ID <ID> <facility>.<priority>] " behind "[<PID>]: ".

2001-10-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* m4/Makefile.am (EXTRA_DIST): Remove `ssizet.m4'.

2001-09-27  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* m4/eb3.m4: Import the latest version. 
	* m4/ssizet.m4: Removed.
	* configure.ac (AC_TYPE_SSIZE_T): Removed.  Use AC_CHECK_TYPE instead.

2001-09-20  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtpcheck.c, src/ndtpcontrol.c, src/ndtpd.c (main): Check
	return value of eb_initialize_library().

2001-08-14  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac (AC_ARG_ENABLE, AC_ARG_WITH): Use AC_HELP_STRING.
	* m4/eb3.m4: Import the latest version. 
	* configure.ac (AC_OUTPUT): Use AC_CONFIG_FILES to specify
	configuration file names.  Call AC_OUTPUT with no argument.

2001-08-06  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0.2.

	* missing: Imported from Automake 1.4j.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0.2.

	* lib/fakelog.h, lib/fakelog.c (FAKELOG_QUIET, FAKELOG_EMERG,
	FAKELOG_ALERT, FAKELOG_CRIT, FAKELOG_ERR, FAKELOG_WARNING,
	FAKELOG_NOTICE, FAKELOG_INFO, FAKELOG_DEBUG, FAKELOG_UNKNOWN):
	Move the cpp macro definitions from `lib/fakelog.h' to
	`lib/fakelog.c'.
	* lib/fakelog.c (set_fakelog_level): Fix a bug that log level
	was not set correctly.
	* src/ndtpd.c (main): Don't pass value of FAKELOG_ macro to
	set_fakelog_level().
	* src/ndtpcheck.c (main): Likewise.
	* src/ndtpcontrol.c (main): Likewise.

2001-08-05  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/getaddrinfo.c (getaddrinfo, getnameinfo): Block other threads.

2001-08-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/inet_pton.c, lib/ioall.c, lib/memchr.c, lib/memmove.c,
	lib/memset.c: Don't define VOID if it has been defined.

2001-06-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0.1.

	* lib/hostname.c, lib/inet_pton.c, lib/permission.c, lib/serverport.c:
	Always include "dummyin6.h".

2001-06-22  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0.1.

	* src/hookset.c (hook_gb2312): Fix a bug that incorrect GB 2312
	Kuten code was output.

	* m4/structin6addr.m4: Add AC_DECL_IN6ADDR_ANY and
	AC_DECL_IN6ADDR_LOOPBACK.
	* m4/sockaddrin6.m4: New file.
	* m4/Makefile.am (EXTRA_DIST): Add `m4/sockaddrin6.m4'.
	* configure.ac: Add AC_DECL_IN6ADDR_ANY, AC_DECL_IN6ADDR_LOOPBACK,
	AC_STRUCT_SOCKADDR_IN6 and AC_STRUCT_SOCKADDR_STORAGE.
	* configure.ac: Set ENABLE_IPV6 to `yes' if the system has both
	`struct sockaddr_in6' and getaddrinfo().
	* lib/dummyin6.h: Include <netinet/in.h>.
	* lib/dummyin6.h: Refer to AC_DECL_IN6ADDR_ANY,
	AC_DECL_IN6ADDR_LOOPBACK, AC_STRUCT_SOCKADDR_IN6 and
	AC_STRUCT_SOCKADDR_STORAGE.

	* lib/permission.c, lib/permission.h: Include "dummyin6.h".

2001-06-18  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/Makefile.am (noinst_HEADERS): add `dummyin6.h'.

	* ndtpd/book.c, ndtpd/config.c: Include `defs.h' at the last.
	* ndtpd/book.c, ndtpd/config.c ndtpd/global.c, ndtpd/ndtp.c,
	ndtpd/ndtpd.c: Always include `fakelog.h' 
	* ndtpd/global.c: Don't include `fakelog.h'.
	* ndtpd/ndtpd.c (main): Initialize fakelog module.

2001-06-16  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac (AC_CHECK_FUNCS): Add `setenv'.
	* src/ndtpd.c (main): Set envirnment variable `LC_ALL' and `LANGUAGE'
	to `C'.
	* src/serverport.c (set_server_ports): Bind AF_INET6 socket first.
	* src/serverport.c (set_server_ports): Avoid bug of AIX's
	getaddrinfo().
	* src/hostname.c (identify_remote_host): Delete IPv4 version of this
	function.

2001-06-12  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtpd.c: Use `SHUT_RDWR' rather than `2'.

2001-06-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/memset.c: Internally convert the 2nd argument (copy
	value) to unsigned char, as ISO/IEC 9899:1990 says.
	* lib/memchr.c: Likewise.

	* m4/Makefile.am (DISTFILES): Add `herrno.h' and missing `libtool.m4'
	* m4/herrno.h: New file.
	* configure.ac: Add `AC_DECL_H_ERRNO'.
	* lib/getaddrinfo.c: Declare `h_errno' if not declared.
	* lib/getaddrinfo.c (getaddrinfo, getnameinfo): Recover `h_errno'.
	* lib/getaddrinfo.c (getaddrinfo): Return EAI_ value according with
	`h_errno' set by gethostbyname().

2001-06-09  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.ac (AC_CHECK_FUNCS): Delete `getnameinfo'.
	* configure.ac (AC_REPLACE_FUNCS): Add `getaddrinfo'.
	* configure.ac (LIBOBJS): Add `dummyin6.$ac_objext' to LIBOBJS
	if `struct in6_addr' is not defined.
	* lib/getaddrinfo.c, lib/getaddrinfo.h: New files.
	* lib/dummyin6.c, lib/dummyin6.h: New files.
	* lib/hostname.c, lib/serverport.c: Include "dummyin6.h".

2001-06-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0.

	* ndtpd/src.c: Don't include <eb/language.h>.

2001-05-12  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0beta3.

	* src/Makefile.am (ndtpcontrol_LDADD): Add $(EBCONF_INTLLIBS)

2001-05-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/Makefile.am, src/Makefile.am: Delete dependencies between *.c
	and *.o.

	* configure.ac (AM_INIT_AUTOMAKE): Set version to 3.0beta3.

	* m4/eb3.m4: Updated.

2001-04-23  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in: Renamed to `configure.ac'.

	* src/hookset.c: add superscript and subscript hooks.

2001-03-26  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/hostname.c (ser_server_ports): Use getnameinfo() rather than
	inet_ntop().

2001-03-21  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/permission.c (add_permission): Complain if mismatched
	address/netmask is given.
	* src/config.c (cf_hosts, cf_book_hosts): Fix error messages.

2001-03-16  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/hostname.c (identify_remote_host) Don't set AI_V4MAPPED flag
	for hints to getaddrinfo().  getaddrinfo() on FreeBSD 4.2R returns
	the error code EAI_BADFLAGS.

2001-03-14  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/serverport.c (set_server_ports): Use initialize_fdset() and
	add_fd_to_fdset() in IPv4 version of set_server_ports().

2001-03-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0beta2.

	* lib/fdset.c: Delete copy_fdset().
	* lib/serverport.c (wait_server_ports): Use memcpy instead of
	copy_fdset().
	* lib/fdset.c (Add add_fd_to_fdset): New function.

2001-03-09  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/fdset.c: Include <fcntl.h> or <sys/file.h>.
	* lib/fdset.c: Include <sys/socket.h>.

	* lib/permission.c: check HAVE_STRCHR and HAVE_INET_PTON.

	* lib/confutil.c: Add LOG_AUTHPRIV and LOG_FTP to the acceptable
	syslog facility list.

2001-03-04  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in (AC_PROG_CC, AC_AIX, AC_MINIX, AC_PROG_LIBTOOL):
	Check AC_PROG_CC, (AC_AIX + AC_MINIX) and AC_PROG_LIBTOOL in that
	order.

	* src/ndtpd.c (output_help): Add `Optional feature' section.
	* src/ndtpd.c (output_help): Change the format of `Default value
	used in configuration file' section.
	* src/ndtpcheck.c (output_help): Likewise.
	* src/ndtpcontrol.c (output_help): Likewise.

	* src/fdset.c: Include <time.h>, <sys/time.h> or both.
	* src/fdset.c (initialize_fdset): Fix typo.

2001-03-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/hostname.c: Add option NI_WITHSCOPEID to getnameinfo() when
	getting an address string from a socket address.
	* lib/hostname.c: Add option NI_NAMEREQD to getnameinfo() when
	getting a host name from a socket address.
	* lib/hostname.c: Add flag AI_DEFAULT to hints passed to getaddrinfo()
	when verify a client host name.
	* lib/hostname.c: Set ai_family in hints to AF_UNSPEC when it
	verifies a client host name by getaddrinfo().

2001-02-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/Makefile.am (libcommon_a_SOURCES): Add `fdset.c'.
	* lib/Makefile.am (noinst_HEADERS): Add `fdset.h'.

	* src/global.c: Include <time.h>, <sys/time.h> or both, according
	with TIME_WITH_SYS_TIME.
	* src/global.c (listening_fds): Renamed to listening_files.
	* src/global.c (max_fd): Renamed to `max_listening_file'.

	* lib/fdset.c (initialize_fdset): New function.
	* lib/defs.h.in (client_sockaddr): Removed.

	* lib/permission.c: Support IPv6 scoped address.
	* lib/permission.h (Permission_Struct): Add the member `scope_name'.

	* lib/daemon.c, lib/hostname.c, lib/logpid.c, lib/makedir.c,
	lib/readconf.c, lib/serverport.c, lib/ticket.c: Use `failed to'
	instead of `cannot' in syslog messages.
	* src/ndtpd.c: Likewise.

	* lib/fdset.c: Include "fdset.h".
	* lib/fdset.h: Include <sys/types.h> and <unistd.h>.
	
	* lib/serverport.c (set_server_port_fds): Renamed to
	set_server_ports().
	* lib/serverport.c (wait_server_port_fds): Renamed to
	wait_server_ports().

	* lib/serverport.c (set_server_ports): Call initialize_fdset()
	to initialize `listening_files' and `max_file'.
	* lib/serverport.c (set_server_ports): also output error reason
	to syslog if getaddrinfo() fails.
	* lib/serverport.c (set_server_ports): also output presentation
	formed address, when bind() or listen() on that address fails.
	* lib/serverport.c (set_server_ports): Ignore server ports with
	unknown address family (AF_INET nor AF_INET6).

	* lib/hostname.c (identify_remote_host): also error reason is
	output to syslog if getnameinfo() or getaddrinfo() fails.
	* lib/hostname.c (identify_my_host): Deleted.
	* lib/hostname.c (identify_remote_host): Delete the argument
	`clinet_sockaddr'.
	* lib/serverport.c (set_server_ports): Ignore unknown address
	family (AF_INET nor AF_INET6).

	* lib/hostname.c (identify_remote_host): Add `NI_WITHSCOPEID' to
	option to getnameinfo(), when getting the presentation address.

2001-02-27  UMENO Takashi  <umeno@rr.iij4u.or.jp>

	* lib/hostname.c, lib/servport.c, src/defs.h.in, src/global.c,
	src/ndtpd.c: Support IPv6.
	* lib/fdset.c, lib/fdset.h: New files for IPv6 support.

2001-02-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* m4/eb3.m4 (AC_ARG_WITH): Fix typo.

	* m4/socklent.m4, m4/unionwait.m4, m4/utimbuf.m4: Rename variable
	prefix from `ax_cv' to `ac_cv'.

	* m4/Makefile.am (EXTRA_DIST): add `structin6addr.m4'.
	* m4/structin6addr.m4: New file.
	* configure.in: add `--enable-ipv6' option.
	* configure.in (AC_CHECK_FUNCS): add `getnameinfo'.
	* configure.in (AC_REPLACE_FUNCS): add `inet_pton'.
	* configure.in (AC_STRUCT_IN6_ADDR): Added.
	* lib/inet_pton.c: New file.

	* lib/permission.c, lib/permission.h: Support IPv6.

2001-02-01  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0beta1.

2001-01-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/strcasecmp.c (strncasecmp): Fix a bug that the function returns
	wrong result when comparison length is 0.

2000-12-30  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/Makefile.am (EXTRA_DIST): Removed.  Automake recognizes C
	source files for LIBOBJS as files to be distributed.

2000-12-29  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* m4/socklent.m4 (AX_TYPE_SOCKEN_T): Renamed to `AC_TYPE_SOCKLEN_T'.
	* m4/ssizet.m4 (AX_TYPE_SSIZE_T): Renamed to `AC_TYPE_SSIZE_T'.
	* m4/unionwait.m4 (AX_UNION_WAIT): Renamed to `AC_UNION_WAIT'.
	* m4/utimbuf.m4 (AX_HAVE_STRUCT_UTIMBUF): Renamed to
	`AC_STRUCT_UTIMBUF'.
	* configure.in: Use new macro names described above.

	* m4/eb.m4: Updated.

2000-12-23  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Use autoconf 2.49b, automake 1.4b, and libtool 1.3c (checkout
	2000-12-18).

	* m4/Makefile.am, m4/eb3.m4, m4/socklent.m4, ssizet.m4,
	unionwait.m4, utimbuf.m4: New files.
	* configure.in (AC_OUTPUT): Add `m4/Makefile.in'.
	* Makefile.am (SUBDIRS): Add `m4'.

	* lib/Makefile.am, src/Makefile.am: Remove dependencies between *.c
	and *.o.  Use `depcomp' instead.
	* depcomp: New file.

	* acconfig.h, acinclude.m4: Removed.

	* lib/Makefile.am, src/Makefile.am, doc/Makefile.am,
	doc-ja/Makefile.am: Remove @MAKE_SET@.

	* lib/fakelog.c (fakelog): Use memcpy() instead of strcpy() to
	expand `%m'.

2000-12-20  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/defs.h.in (SOFTWARE_NAME, SERVER_PROGRAM_NAME,
	CHECK_PROGRAM_NAME, CONTROL_PROGRAM_NAME): Define the cpp macros.
	* src/misc.c (output_version): Don't use `#ifdef' to switch the
	software name according with the package name.
	* src/ndtpd.c, src/ndtpcheck.c, src/ndtpcontrol.c: Don't use `#ifdef'
	to switch the program name according with the package name.

2000-12-15  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/hookset.c (hook_wide_font_text): Fix a bug that return value
	from eb_wide_alt_character_text() was evaluated in EB Library 2.x API.

2000-12-06  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0beta0.

	* src/Makefile.am (noinst_HEADERS): Add `ndtp.h'.

2000-12-02  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/global.c (accepted_file): Split it into `accepted_in_file'
	and `accepted_out_file'.
	* src/ndtpd.c (standalone_main, inetd_main, terminate_child):
	Don't call close(accepted_in_file) explictly, just before exit
	or abort.

2000-11-28  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/config.c (cf_book_name, cf_book_alias_eiwa, cf_book_alias_waei,
	cf_book_alias_kojien): Represent book name with lower letters.
	* src/ndtpupgrade.in: Likewise.

2000-11-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/hookset.c (common_hooks): Add CANDIDATE_GROUP hook.

2000-11-18  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/permission.c (parse_address, parse_address_net_mask):
	Don't allow an octet with 4 or more digits.
	* lib/permission.c (parse_address_net_mask): netmask must be an
	integer which represents netmask length.

2000-11-17  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/Makefile.am (sbin_SCRIPTS): Add `ndtpupgrade'.
	* src/Makefile.am (EXTRA_DIST): Add `ndtpupgrade.in'.
	* src/Makefile.am (CLEANFILES): Add `ndtpupgrade' and `ndtpupgrade.tmp'
	* src/Makefile.am (ndtpupgrade): New target.
	* src/ndtpupgrade.in: New file.

2000-11-16  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in (AC_CHECK_FUNCS): Add `setlocale'.
	* configure.in (AC_CHECK_HEADERS): Add `locale.h'.
	* acinclude.m4 (AX_TYPE_SOCKLEN_T): Use `type_socklen_t.m4' in
	the GNU autoconf macro archive.

	* src/ndtpd.c: Include `locale.h'.
	* src/ndtpcheck.c: Ditto.
	* src/ndtpcontrol.c: Ditto.
	* src/ndtpd.c (main): Call setlocale(LC_ALL, "C").
	* src/ndtpcheck.c: Ditto.
	* src/ndtpcontrol.c: Ditto.

2000-11-07  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/hookset.c (common_hooks): Remove END_MENU hook.

	* src/ndtp.c (command_P): Terminate the string `heading' by itself.
	* src/ndtp.c (command_P): Skip a hit entry when eb_read_heading()
	returns an error code.

2000-11-06  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/hookset.c (hook_narrow_font_text, hook_wide_font_text): Return
	EB_SUCCESS in case of success.
	* src/hookset.c (hook_narrow_font_bitmap, hook_wide_font_bitmap):
	Ditto.
	* src/hookset.c (hook_reference, hook_gb2312):  Ditto.

	* src/ndtp.h: New file.
	* src/Makefile.am (ndtpd_SOURCES): Add `ndtp.h'.
	* src/hookset.c: Include "ndtp.h", not "defs.h".
	* src/ndtp.c: Include "ndtp.h".

	* src/ndtp.c (NDTP_MAX_LINE_LENGTH): Moved to `ndtp.h'.
	* src/ndtp.c (SHORT_BUFFER_LENGTH): Renamed to
	`NDTP_SHORT_BUFFER_LENGTH' and moved to `ndtp.h'.
	* src/hookset.c (MAX_TAG_LENGTH): Renamed to `NDTP_MAX_TAG_LENGTH'
	and moved to `ndtp.h'.
	* src/hookset.c (set_generic_hooks): Renamed to `set_common_hooks'.
	* src/hookset.c (generic_hooks): Renamed to `common_hooks'.
	* src/hookset.c (text_hookset): Renamed to `ndtp_hookset'.

	* src/defs.h.in: Remove declaration of set_generic_hooks(),
	set_bitmap_hooks() and set_text_hooks().

	* src/hookset.c, src/ndtp.c: Don't include EB headers.

2000-11-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtp.c (command_P, command_S): Catch up with the new hook
	mechanism of EB Library 3.0alpha.
	* src/hookset.c: Likewise.

	* src/hookset.c (hook_newline): Removed.  Use eb_hook_newline()
	instead.

2000-10-27  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/filename.c (canonicalize_path_name): Don't expand `/./'
	and `/../' in the given path name.

2000-10-18  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in (CPPFLAGS, CFLAGS, LDFLAGS): Fix a bug that
	flags for pthread support are added twice.
	* configure.in (INTLINCS, INTLLIBS): Din't modify these variables
	even when EBCONF_ENABLE_NLS is `no'.

	* lib/ioall.c: Include fakelog.h.

2000-09-02  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0alpha2.

	* src/ndtp.c (NDTP_Command): The type of the member `function'
	is changed from `int (*)(char *, char *)' to
	`int (*)(const char *, const char *)'.
	* src/ndtp.c (command_L, command_Q, command_A, command_u, command_P,
	command_F, command_S, command_I, command_v, command_I, command_X,  
	command_XL, command_XI, command_XB, command_Xb): The type of
	srguments is changed from `const char *' to `char *'.

	* src/ndtp.c (command_P): Experimental keyword search support.

2000-08-25  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/linebuf.c (read_line_buffer, binary_read_line_buffer):
	Return -1 when EOF is received and no cache data is remained.

	* defs.h.in (MAX_STRING_LENGTH): Extended to 511.

	* src/ndtp.c (command_Xb): The size of XBM data buffer must be
	EB_SIZE_WIDE_FONT_48_XBM or larger.

2000-07-31  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0alpha1.

	* acinclude.m4 (AX_TYPE_SOCKLEN_T): Defined.
	* configure.in (AX_TYPE_SOCKLEN_T): Added.
	* lib/hostname.c (identify_remote_host): Use `(socklen_t *)'
	for 3rd argument of getpeername().
	* src/main.c (standalone_main): Use `(socklen_t *)' for 3rd
	argument of accept().

	* lib/linebuf.c (bind_file_to_line_buffer): Call
	initialize_line_buffer() if an object has been bound to a file.
	* lib/linebuf.c (bind_file_to_line_buffer, initialize_line_buffer): 
	The prototype declaration is changed.  It returns no value.
	* configure.in: Refer to $ac_default_prefix when ${prefix} is NONE.

2000-07-08  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/strcasecmp.c: Include `sys/type.h'.

2000-07-01  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/global.c (line_buffer): Move the deinition to ndtp.c,
	and declare as static.
	* src/global.c (text_hookset): Likewise.
	* src/hookset.c (set_generic_hooks, set_text_hooks, set_bitmap_hooks):
	Take an argument with type (EB_Hookset *), and don't refer to
	`text_hookset'.

	* src/ndtpd.c (terminate_parent): Do not call 
	finalize_global_variables() or eb_finalize_library().
	* src/ndtpd.c (terminate_parent, terminate_child): Use _exit()
	rather than exit().

2000-06-24  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/ndtp.c (command_P): Don't refer to `n' before initialize it.

	* src/ndtpcontrol.c (get_subcommand): Initialize `candidate' as
	NULL.

	* src/ndtp.c (command_T, command_t): Assume character code of the
	current book is JIS X 0208 when eb_character_code() is failed.

2000-06-17  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/permission.c (parse_address): Change type of the second
	argument `address' to `unsinged long'.
	* lib/permission.c (parse_address_netmask): Change type of
	arguments `address' and `netmask' to `unsinged long.
	* lib/permission.h (Permission_Struct): Change type of
	struct members `address' and `netmask' to `unsinged long'.

	* src/book.c (activate_book_directory): Fix a bug.
	Not `book->name' but `&book->name' was used as a book name.

	* src/global.c, src/defs.h.in, src/ndtpd.h (current_book,
	current_subbook_name, current_font_height): Change linkage.
	Now there are static variables defined in src/ndtpd.h.
	* src/ndtp.c (protocol_main): Initialize current_subbook_name,
	current_font_height.
	* src/book.c (add_book): Return `(Book *)' instead of `int'.
	* src/book.c (find_subbook, find_appendix_subbook): Add the
	arguemnt. Take (Book *) as 1st arguemnt.

	* src/defs.h.in (ndtp_main): The declaration of the obsolete function
	is removed.  The declaration of `protocl_main' is added, instead.

	* src/ndtpd.c (standalone_main, test_main): Don't record `user=...'
	to syslog.

2000-06-11  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/global.c, src/defs.h.in (server_name): Removed.
	* src/config.c (configuration_table): Remove the `server-name' 
	directive.
	* src/config.c (cf_server_name): Removed.
	* src/ndtp.c (command_v): Don't output server name.
	* src/config.c (cf_begin): Don't call identify_my_host().
	
	* configure.in (CFLAGS): Fix typo, reported by Takashi NEMOTO.

	* src/book.c (find_subbook, find_appendix_subbook): Use
	EB_SUBBOOK_INVALID.  Don't use -1.

2000-05-24  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Version 3.0alpha0.

	* src/misc.c: New file.
	* src/Makefile.am (ndtpd_SOURCES, ndtpcheck_SOURCES,
	ndtpcontrol_SOURCES): Add 'misc.c'.
	* src/ndtpd.c, src/ndtpcheck.c, src/ndtpcontrol.c (output_version,
	output_try_help): Move to `src/ntdpd.c'.

2000-05-22  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in: Remove the `--enable-ja-doc' option.
	* Makefile.am: Remvoe ENABLE_JA_DOC condition.

	* configure.in (DEPENDENCIES_FOR_LIBZ): Renamed to `ZLIBDEPS'.
	* configure.in (LDADD_FOR_LIBZ): Renamed to `ZLIBLIBS'.
	* configure.in (INCLUDES_FOR_LIBZ): Renamed to `ZLIBINCS'.

2000-05-16  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/global.c (identications, identification_timeout): Removed.
	* src/defs.h.in (DEFAULT_IDENT_TIMEOUT): Removed.
	* src/global.c, ndtpd.c: Don't include `ident.h'.
	* src/config.c (configuration_table): Remove `ident-hosts' and
	`ident-timeout'.
	* src/config.c (cf_ident_hosts, cf_ident_timeout): Removed.
	* src/ndtpd.c, src/ndtp.c: Don't write user name to syslog.
	* lib/Makefile.am (libcommon_a_SOURCES): Remove ident.c
	* lib/Makefile.am (noinst_HEADERS): Remove ident.h

2000-05-07  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* src/Makefile.am (ndtpd_DEPENDENCIES, ndtpcheck_DEPENDENCIES,
	ndtpcontrol_DEPENDENCIES): Remove @DEPENDENCIES_FOR_LIBEB@ and
	@DEPENDENCIES_FOR_LIBZ@

	* lib/linebuf.h (LINEBUF_BUFFER_SIZE): Defined.
	* lib/linebuf.h (Line_Buffer): the type of `buffer' is changed
	from (char *) to char[LINEBUF_BUFFER_SIZE].
	* lib/linebuf.c (initialize_line_buffer): Remove the 2nd argument.
	* lib/linebuf.c (read_line_buffer): Add the 3rd argument
	`max_line_length'.
	* lib/linebuf.c (line_buffer_size): Removed.
	* lib/linebuf.c (reset_line_buffer): Renamed to
	`discard_cache_in_line_buffer'.

	* src/hookset.c (initialize_hookset, finalize_hookset): Removed.
	* src/hookset.c (hook_initialize): Removed.
	* src/hookset.c (set_generic_hooks, set_text_hooks, set_bitmap_hooks):
	New function.
	* src/ndtp.c (protocol_main): Call set_generic_hooks().
	* src/ndtp.c (command_L): Call set_text_hooks().
	* src/ndtp.c (command_XB): Call set_text_hooks() if font size 0 is
	specified, and call set_bitmap_hooks() otherwise.

2000-05-05  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd: The directory `ndtpd' is renamed to `src'.
	* Makefile.am (SUBDIRS): Likewise.
	* configure.in (AC_OUTPUT): Likewise.

	* src/ndtpd.c, src/ndtpcheck.c, src/ndtpcontrol.c (PROGRAM_NAME):
	Set different value between the cases of NDTPD and EBHTTPD.
	* src/ndtpd.c, src/ndtpcheck.c, src/ndtpcontrol.c
	(output_version): Output different package names in cases of
	NDTPD and EBHTTPD.

	* src/defs.h.in, src/ndtpd.h: `ndtpd.h' is merged to `defs.h.in'.
	* src/Makefile.am (noinst_HEADERS): Remove `ndtpd.h'.
	* src/book.c, src/config.c, src/global.c, src/hookset.c, src/ndtp.c,
	src/ndtpcheck.c, src/ndtpcontrol.c, src/ndtpd.c: Include `defs.h',
	instead of `ndtpd.h'.

	* src/ndtp.c (ndtp_main): Renamed to `protocol_main'.

	* src/ndtpd.h.in (NDTPD_LOCK_BASE_NAME): Renamed to `LOCK_BASE_NAME'.

	* lib/Makefile.am (noinst_LIBRARIES): Rename `libndtpd.a' to 
	`libcommon.a'.
	* lib/Makefile.am (libndtpd_a_SOURCES, libndtpd_a_LIBADD): Renamed to
	`libcommon_a_SOURCES' and `libcommon_a_LIBADD'.
	* src/Makefile.am (LIBNDTPD): Rename `libndtpd.a' to `libcommon.a',
	and rename LIBNDTPD to LIBCOMMON.

	* src/defs.h.in (SERVER_PROGRAM_NAME, CHECK_PROGRAM_NAME,
	CONTROL_PROGRAM_NAME, DEFAULT_CONFIGURATION_FILE_NAME, LOCK_BASE_NAME,
	DEFAULT_PORT): Set different value between the cases of NDTPD and
	EBHTTPD.

	* acconfig.h (USE_FAKELOG): Remove the definition.
	* lib/Makefile.am (INCLUDES): Defined as `-DUSE_FAKELOG'.
	* src/Makefile.am (INCLUDES): Add `-DUSE_FAKELOG'.
	* src/Makefile.am (INCLUDES): Add `-DNDTPD'.

2000-05-04  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/config.c (conf_begin, conf_end, conf_server_name,
	conf_ndtp_port, conf_user, conf_group, conf_max_clients, conf_hosts,
	conf_timeout, conf_ident_hosts, conf_ident_timeout, conf_work_path,
	conf_max_hits, conf_max_text_size, conf_syslog_facility,
	conf_begin_book, conf_end_book, conf_book_name, conf_book_title,
	conf_book_path, conf_appendix_path, conf_book_max_clients,
	conf_book_hosts, conf_book_alias_eiwa, conf_book_alias_waei,
	conf_book_alias_kojien): Rename conf_ to cf_.

	* ndtpd/config.c (cf_http_port): New function.
	* ndtpd/config.c (configuration_table): Add `http-port' directive.

2000-05-03  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in (AC_PATH_PROG): Continue running even when `compress'
	is not found.
	* ndtpd/ndtpdaily.in: The default compressor is `none'.
	* ndtpd/ndtpdaily.in: Add the `--no-mail' (-n) option.

2000-04-26  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/ndtpd.h (Book_Struct): Delete `height' and `subbook_name'.
	* ndtpd/global.c (current_subbook_name, current_font_height): Added.
	* ndtpd/book.c (initialize_book_registry, finalize_book_registry):
	Initialize or finalize `height' and `subbook_name'.

2000-04-21  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/ioall.c (write_string_all): New function.

2000-04-08  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/linebuf.h (Line_Buffer): Add the member `file'.
	* lib/linebuf.c (bind_file_to_line_buffer, file_bound_to_line_buffer):
	New functions.
	* lib/linebuf.c (read_line_buffer, skip_line_buffer): Remove the
	argument `file'.
	* lib/linebuf.c (binary_read_line_buffer): New function.

	* ndtpd/ndtp.c (ndtp_main): Call `bind_file_to_line_buffer'.
	Don't call `reset_line_buffer'.

2000-03-29  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* configure.in: Remove `--with-eb' and `--with-zlib' options.
	* configure.in: Check for EB Library.
	* configure.in: Remove DEPENDENCIES_FOR_EB and DEPENDENCIES_FOR_ZLIB.
	* ndtpd/Makefile.am (ndtpd_DEPENDENCIES, ndtpcheck_DEPENDENCIES,
	ndtpcontrol_DEPENDENCIES): Likewise.
	* Makefile.am: Remove WITH_EB and EB_SUBDIR.

	* configure.in (AC_CONFIG_SUBDIRS): Removed.

	* ndtpd/hookset.c (finalize_hookset): New function.

	* ndtpd/global.c, ndtpd/ndtpd.h (initialize_global_variables,
	finalize_global_variables): New function.
	* ndtpd/config.c (conf_begin): Don't initialize global variables.
	* ndtpd/ndtpd.c (main): Call initialize_global_variables().
	* ndtpd/ndtpd.c (standalone_main, inetd_main, test_main, 
	terminate_parent, terminate_child): Call finalize_global_variables().

	* lib/hostname.c: Don't include `ctype.h'.  Define compatible
	character test and letter conversion macros.
	* lib/logpid.c: Likewise.
	* ndtpd/config.c: Likewise.
	* ndtpd/ndtp.c: Likewise.

	* ndtpd/Makefile.am (ndtpcheck_SOURCES): Add `hookset.c'.
	* ndtpd/Makefile.am (ndtpcontrol_SOURCES): Add `hookset.c'.

2000-03-28  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/defs.h.in (DEFAULT_CONFIG_FILENAME): Renamed to
	DEFAULT_CONFIGURATION_FILE_NAME.
	* ndtpd/defs.h.in (PID_BASENAME): Renamed to PID_BASENAME
	* ndtpd/defs.h.in (NDTPD_LOCK_BASE_NAME): Renamed to
	NDTPD_LOCK_BASENAME.
	* ndtpd/defs.h.in (MAXLEN_STRING): Renamed to MAX_STRING_LENGTH.
	* ndtpd/defs.h.in (MAXLEN_BOOKNAME): Renamed to MAX_BOOK_NAME_LENGTH.
	* ndtpd/defs.h.in (MAXLEN_BOOK_TITLE): Renamed to
	MAX_BOOK_TITLE_LENGTH.
	* ndtpd/defs.h.in (MAXLEN_NDTP_LINE): Renamed to MAX_NDTP_LINE_LENGTH.
	* ndtpd/defs.h.in (MAXLEN_WORK_PATH_BASENAME): Renamed to
	MAX_WORK_PATH_BASE_NAME_LENGTH.

	* ndtpd/global.c (pid_filename): Renamed to `pid_file_name'.
	* ndtpd/global.c (old_pid_filename): Renamed to `old_pid_file_name'.
	* ndtpd/global.c (connection_lock_filename): Renamed to
	`connection_lock_file_name'.
	* ndtpd/global.c (client_hostname): Renamed to `client_host_name'.

	* lib/ticket.h (Ticket_Stock): Rename the member `filename' to
	`file_name'.

	* lib/filename.c, lib/filename.h (canonicalize_filename):
	Renamed to canonicalize_file_name().

	* ndtpd/ndtpcontrol.c (get_subcommand): Renamed to get_sub_command().

2000-01-29  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* acconfig.h (MAILING_ADDRESS, PACKAGE, VERSION, RETSIGTYPE_VOID,
	HAVE_STRUCT_UTIMBUF, WITH_SYMBOL_UNDERSCORE, HAVE_UNION_WAIT):
	Removed.
	* acinclude.m4 (HAVE_STRUCT_UTIMBUF, HAVE_UNION_WAIT): Specify the
	third argument of AC_DEFINE.
	* acinclude.m4 (HAVE_STRUCT_UTIMBUF): Likewise.
	* cofigure.in (RETSIGTYPE_VOID): Likewise.

	* lib/permission.c (parse_address): Change type of the second
	argument `address' to `unsinged int'.
	* lib/permission.c (parse_address_netmask): Change type of
	arguments `address' and `netmask' to `unsinged int.
	* lib/permission.h (Permission_Struct): Change type of
	struct members `address' and `netmask' to `unsinged int'.

2000-01-23  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/ndtpd.c (terminate_child): Output log message with the
	priority LOG_INFO if the received signal SIGALRM.

	* ndtpd/ndtpd.c (standalone_main, inetd_main, terminate_parent, 
	terminate_child): Call close() after shutdown().

2000-01-22  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/ndtpd.h (Book): Rename the member `permflag' and `subname'
	to `permission_flag' and `subbook_name'.

2000-01-18  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/ndtpdaily.in ($copyright): Defined.  Use it when
	`ndtpdaily --version'.
	* ndtpd/ndtpstat.in ($copyright): Defined.  Use it when
	`ndtpstat --version'.

2000-01-10  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/linebuf.h (Line_Buffer): Rename the members `current',
	`bufsize' and `restsize' to `current_point', `buffer_size' and
	`rest_size'.

	* lib/linebuf.c, lib/linebuf.h (clear_line_buffer): Renamed to
	finalize_line_buffer().
	* lib/permission.c, lib/permission.h (clear_permission): Renamed to
	finalize_permission().
	* lib/ticket.c, lib/ticket.h (clear_ticket_stock): Renamed to
	finalize_ticket_stock().
	* ndtpd/book.c ndtpd/book.h (clear_book_registry): Renamed to
	finalize_book_registry().
	
	* lib/ticket.c (finalize_ticket_stock): Also reset the members
	`count' and `lock_spot'.
	* lib/linebuf.c (finalize_line_buffer): Dispose `buffer' only
	when it is non-NULL.

2000-01-08  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* ndtpd/ndtp.c (command_XB, command_Xb): Don't take care
	of failure on eb_bitmap_to_xbm().

2000-01-07  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* Makefile.am (EXTRA_DIST): Add `ChangeLog.0'.

2000-01-05  Motoyuki Kasahara  <m-kasahr@sra.co.jp>

	* lib/memchr.c (memchr): Type of return value is `VOID *',
	not `void *'.
	* lib/memmove.c (memmove): Likewise.
	* lib/memset.c (memset): Likewise.