-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathChangeLog
More file actions
7799 lines (5524 loc) · 277 KB
/
ChangeLog
File metadata and controls
7799 lines (5524 loc) · 277 KB
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
2009-05-16 James Youngman <jay@gnu.org>
Apply typo fix from <petrosyan@gmail.com> (tiny change).
* doc/find.texi (Single File): Fix a typo (-exec should be
-execdir).
2009-05-12 Eric Blake <ebb9@byu.net>
xargs: avoid compiler warning
* xargs/xargs.c (get_char_oct_or_hex_escape): Pass correct type to
ctype macro.
2009-05-12 James Youngman <jay@gnu.org>
* po/sl.po: Updated Slovenian translation.
* NEWS: Mention this change.
#26537: find -prune now makes sure it has valid stat() information.
* NEWS: Added Savannah bug number for Colin's bugfix.
2009-05-07 Colin Watson <cjwatson@ubuntu.com>
* find/parser.c (parse_prune): -prune needs stat information if
-depth is not in use.
* find/pred.c (pred_prune): Assert that stat information is
available if needed.
* find/testsuite/find.posix/prune-stat.exp: New test.
* find/testsuite/find.posix/prune-stat.xo: New test.
* find/testsuite/Makefile.am (EXTRA_DIST_EXP, EXTRA_DIST_XO): Added
prune-stat.exp, prune-stat.xo.
* NEWS: Mention this bugfix.
2009-04-25 James Youngman <jay@gnu.org>
* AUTHORS: Add Andreas Metzler.
2009-04-25 Andreas Metzler <gnu@downhill.at.eu.org> (tiny change)
Correct a typo "diagnositcs".
* doc/find.texi (Environment Variables): Correct a typo.
2009-04-24 A. Costa <agcosta@gis.net> (tiny change)
Correct a typo "diagnositcs".
* find/find.1 (POSIXLY_CORRECT): Correct a typo.
2009-04-24 James Youngman <jay@gnu.org>
* configure.ac (AC_INIT): Move on from relase 4.4.1 to 4.4.2-git.
* NEWS: Likewise.
2009-04-21 James Youngman <jay@gnu.org>
Prepare for the release of findutils 4.4.1.
* configure.ac: Update the version number to 4.4.1.
* NEWS: Likewise. Also mention the bugfix for bug #22662 just
once.
2009-04-10 Thien-Thi Nguyen <ttn@gnuvola.org>
Backport a fix from 4.5.x.
find: Fix -regexptype parse specification bug: declare as POSOPT.
* find/parser.c (parse_table): Parse -regextype as POSOPT.
2009-04-10 Jim Meyering <meyering@redhat.com>
Backport a fix from 4.5.x.
find: avoid warning about unused local, remove unnecessary include.
* find/pred.c (scan_for_digit_differences): Remove declaration of
unused local, "ok".
(do_time_format): Remove decl of "done"; replace sole use with a
constant, "true". Initialize "i" and "n".
* lib/dircallback.c: Don't include unistd.h. Not needed.
Backport a fix from 4.5.x.
* README-CVS: tiny typo fix (s/fileutils/findutils/).
2009-04-10 James Youngman <jay@gnu.org>
Remove unused Debian files; the Debian package doesn't use them.
* debian.rules: Delete.
* debian/README.debian: Delete.
* debian/TODO: Delete.
* debian/changelog: Delete.
* debian/conffiles: Delete.
* debian/control: Delete.
* debian/copyright: Delete.
* debian/cron.find: Delete.
* debian/doc-base: Delete.
* debian/postinst: Delete.
* debian/preinst: Delete.
* debian/prerm: Delete.
* debian/rules: Delete.
* debian/substvars: Delete.
* debian/updatedb.conf: Delete.
* debian/.cvsignore: Delete.
* debian/.gitignore: Delete.
Change suffix for non-release versions from -CVS to -git.
* configure.ac(AC_INIT): Change the suffix used to indicate that
the version number doesn't correspond to a source release from
-CVS to -git.
* NEWS: Likewise.
Backport fix from 4.5. for Savannah bug #25764, duplicate entry for proc in PRUNEFS.
* locate/updatedb.sh (PRUNEFS): Remove duplicate entry for proc.
* locate/Makefile.am (updatedb): add dependency on Makefile, and
add a comment explaining why updatedb is generated by make, not
configure.
* NEWS: Mention this bugfix.
* NEWS: Moved some of the bug fix comments for the 4.4.1 release
out of "Documentation Enhancements" into "Bug Fixes". They'd
ended up in the wrong section when I resolved an earlier merge
conflict.
Provide more detailed help on how to work with the git sources.
* README-CVS: Rename to README-hacking.
* README-hacking: Add more specific information about using topic
branches, test cases, documentation, coding standards and how to
submit patches. Much of this is adapted from the files
README-hacking and HACKING in the coreutils source tree.
* Makefile.am: Generate tool-versions.txt, which is a list of the
--version outputs of the tools that the maintainer used to build a
release.
* NEWS: Mention these improvements.
2009-04-10 Stepan Kasal <skasal@redhat.com>
Backport a fix from 4.5.x.
* doc/find.texi (Cleaning Up): Move the note about -depth up.
2009-04-10 James Youngman <jay@gnu.org>
Backport fix for Savannah bug #23996 (integer overflow when parsing "-used 3").
* find/parser.c (get_relative_timestamp): Check for overflow after
the fact by comparing the relative sizes of the result and the
operands. This prevents an incorrect diagnosis of overflow when
the resulting tv_sec is correctly negative (as is normally the
case for -used).
Backport fix for Savannah bug #23663, crash in some locales for %AX.
* find/pred.c (do_time_format): Fix off-by-one error in handling
of the buffer used to print timestamps. This caused a crash in
some locales when handling the %AX format specifier.
* NEWS: Mention this bugfix.
Fix bug #22662 (backport from 4.5.x)
* find/pred.c (scan_for_digit_differences): Remember that we saw
the first differing digit and also get the order of the
subtractionoperands right.
(do_time_format): Off by one error on checking for a nondigit
after the sequence of changed digits.
* NEWS: Mention this change.
2008-12-23 James Youngman <jay@gnu.org>
Fix Savannah bug #25154: Failure to compile with GCC-2.95.4
* find/parser.c (do_parse_xmin): Move declaration of struct
timespec origin before the statements; declarations after
statements are a GCC extension we were accidentally relying on.
2008-12-21 James Youngman <jay@gnu.org>
Fix Savannah bug #25144: Misleading message for find -user unknown.
* find/parser.c (parse_user): If there is no known group for the
specified user (and it does not appear to be a uid), issue a
fatal error message instead of returning false, because the error
message that results from a return of false is "invalid argument",
which is misleading in this case. Similarly for a missing or an
empty argument.
2008-12-01 James Youngman <jay@gnu.org>
* po/fr.po: Updated French translation.
* po/id.po: Updated Indonesian translation.
2008-12-01 Geoff Gole <geoffgole@gmail.com>
* xargs/xargs.1 (STANDARDS CONFORMANCE): Fix typo.
2008-08-31 James Youngman <jay@gnu.org>
Fix Savannah bug #24169 (-neweraa without following arg coredumps).
* find/parser.c (parse_newerXY): Issue a fatal error message if
there is no following argument.
* find/testsuite/find.gnu/sv-bug-24169.exp: Test case for this
bug.
* find/testsuite/Makefile.am (EXTRA_DIST_EXP): Also distribute
this new test file.
* NEWS: Mention this change.
2008-08-04 James Youngman <jay@gnu.org>
* find/find.1: correct typo seach->seach (reported by Bobby
R. Ward).
* locate/updatedb.1: correct typo Any -> any (reported by Reuben
Thomas).
* po/lt.po: New Lithuanian translation.
* NEWS: Mention this.
2008-06-21 RB <aoz.syn@gmail.com>
* doc/find.texi (Finding the Shallowest Instance): Add worked
example explaining how to efficiently locate the shallowest
instances of '.svn' or 'CVS' in a forest of project trees.
* find/find.1 (EXAMPLES): Add the same example here (with slightly
briefer wording).
2008-06-19 Per Starbäck <starback@stp.lingfil.uu.se> (tiny change)
* doc/find.texi (Unusual characters in filenames): Directory
separator is the slash, not the backslash.
2008-06-19 James Youngman <jay@gnu.org>
* po/lt.po: New Lithuanian translation.
* configure.ac: Add "lt" to ALL_LINGUAS.
* po/zh_CN.po: Updated Chinese (simplified) translation.
* NEWS: Mention these changes.
2008-05-18 James Youngman <jay@gnu.org>
Update gnulib.
* import-gnulib.config (gnulib_version): Update to current head
version of gnulib.
Document effect of gnulib update, mainly on yesno().
* doc/find.texi (Unusual Characters in File Names): Explain that
the LC_CTYPE variable affects which characters are considered to
be printable by -printf %p, -print and -fprint.
(Querying): Explain in more detail how environment variables
affect the interpretation of the response to -ok and -okdir.
(Regular Expressions): Indicate that the locale configuration
affects the interpretation of regular expressions.
(Environment Variables): Describe how LC_COLLATE and LC_CTYPE
affect the interpretation of regular expressions. Indicate that
LC_MESSAGES affects the interpretation of the response to -ok.
* find/find.1 (-ok): Describe the effect of POSIXLY_CORRECT,
LC_CTYPE and LC_COLLATE.
(-okdir): Likewise.
(UNUSUAL FILENAMES): Describe how LC_CTYPE affects -printf %p,
-print, -fprint.
(STANDARDS CONFORMANCE): -ok and -okdir now obey the system's
defintion of yes/no if POSIXLY_CORRECT is set. In any case,
LC_CTYPE and LC_COLLATE may have some effect. Point out that
the setting of LC_MESSAGES deternmines what pattern is used to
interpret the user's response to -ok/-okdir.
* find/parser.c: Remove definition of ISUPPER, which we no longer
need.
* NEWS: mention these changes.
2008-03-21 James Youngman <jay@gnu.org>
* find/testsuite/find.gnu/xtype-symlink.exp: Removed unnecessary
test code which created a insecure tempfile.
* NEWS: Update version number to 4.4.1-CVS now that the CVS rep no
longer matches the last release.
2008-03-15 James Youngman <jay@gnu.org>
Prepare to release 4.4.0.
* configure.ac: Bump version number to 4.4.0.
* NEWS: Listed changes between 4.2.33 (the previous stable
release) and 4.4.0 (the current one).
* README-alpha: delete, since the 4.4.x branch is not a
development branch.
2008-03-10 Justin Pryzby <justinpryzby@users.sourceforge.net> (tiny change)
* doc/find.texi: Various typo corrections.
2008-03-10 Eric Blake <ebb9@byu.net>
Don't truncate printed ino values. Fixes Savannah bug #15472.
* find/find.c (wd_sanity_check): Use PRIuMAX for platforms with
64-bit ino_t.
* NEWS: Document this.
2008-03-10 Jim Meyering <meyering@redhat.com>
Rename local and member "dirfd" to avoid shadowing the function.
This avoids many warnings from gcc -Wshadow:
* lib/buildcmd.h (struct buildcmd_state) [dir_fd]: Rename member
from dirfd.
* find/defs.h (struct exec_val) [dir_fd]: Likewise.
Rename parameter in prototype.
* find/ftsfind.c (inside_dir): Rename parameter: s/dirfd/dir_fd/
* find/parser.c (new_insert_exec_ok, insert_exec_ok): Likewise.
* find/pred.c (new_impl_pred_exec, prep_child_for_exec, launch):
s/dirfd/dir_fd/
* find/util.c (do_complete_pending_execdirs): Likewise.
(complete_pending_execdirs): Likewise
* lib/buildcmd.c (bc_init_state, bc_clear_args): Likewise.
* lib/dircallback.c (run_in_dir): Likewise.
* lib/dircallback.h (DIRCALLBACK_H): Likewise.
* lib/listfile.c (list_file, get_link_name_at): Likewise.
* lib/listfile.h (LISTFILE_H): Likewise.
Avoid link failure with -fno-common.
* locate/code.c (program_name): Declare "extern".
2008-03-09 James Youngman <jay@gnu.org>
Fix (documentation) bug #20873, / and . in file names for -path.
* doc/find.texi (Full Name Patterns): Mention that * in the "find
-path" pattern will match both / and leading dots.
2008-03-08 Jim Meyering <meyering@redhat.com>
Fix doc typos.
* doc/find-maint.texi (Security): s/ongest/longest/
(Making Releases): s/the the/the/
Avoid link failure with gcc -fno-common.
* find.c (program_name, starting_desc): Declare "extern".
2008-02-15 Eric Blake <ebb9@byu.net>
Avoid compiler warnings.
* find/pred.c (pred_name_common): Remove unused variable.
* locate/locate.c (print_stats): Avoid undefined format string.
2008-02-15 James Youngman <jay@gnu.org>
* README-CVS: Explain how to update the translations from the
translation project.
* NEWS, configure.ac: Change release number to 4.3.14-CVS.
2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* import-gnulib.config: Add progname.
* lib/Makefile.am (LDADD): Use @LIBINTL@ instead of @INTLLIBS@.
* xargs/xargs.1: Fix a couple of typos.
2008-02-12 James Youngman <jay@gnu.org>
Updated translations: German, Irish, Dutch, Polish, Vietnamese.
* po/de.po, po/ga.po, po/nl.po, po/pl.po, po/vi.po: Updated from
the Translation Project.
Fix Savannah bug #22056, -Xtime tests are off by one second.
* find/defs.h (struct options): Change cur_day_start from time_t
to strct timespec.
* find/util.c (set_option_defaults): Likewise.
* find/parser.c (get_relative_timestamp): Change the origin
argument from time_t to struct timespec.
(estimate_timestamp_success_rate): Ignore the nanoseconds field of
the timestamp when estimating the probable success rate.
(parse_daystart): Handle the nanoseconds field too.
(do_parse_xmin): The origin argument to get_relative_timestamp()
is of type struct timespec, not time_t.
(parse_used): Likewise.
(parse_time): Likewise.
* find/pred.c (pred_timewindow): in the COMP_EQ case, accept times
exactly at the end of the window and do not accept times exactly
at the start (reversing the previous treatment of the bounds).
* find/testsuite/Makefile.am (EXTRA_DIST_EXP): Added test for
-mtime 0; find.posix/mtime0.{exp,xo}.
* NEWS: mention this bugfix.
2008-02-09 James Youngman <jay@gnu.org>
* doc/find.texi (xargs options): Moved documentation of xargs'
options into this new section.
(Invoking the shell from xargs): New section providing examples
about "xargs sh -c '...'".
* xargs/xargs.1: Indicate that the "sh -c" trick with xargs
achieves the same thing as BSD's "xargs -o", but in a more
flexible way.
* locate/updatedb.sh: Actually rename the old database to the new
one atomically, instead of just claiming the rename is atomic in a
comment :) This fixes Savannah bug #22057.
* find/find.c (ngettext): Introduce a new macro to help with
internationalising plurals. Use it to allow better
translations of format strings.
* locate/locate.c: Likewise.
2008-01-07 James Youngman <jay@gnu.org>
* xargs/xargs.c: (main): Standardise on "Warning" instead of
"warning" in messages.
* xargs/xargs.c: (add_proc): Use x2nrealloc to extend the pids
array, rather than doubling the size of the buffer (since the old
aproach was vulnerable to overflow).
Reap all available child processes before every fork. This fixes
Savannah bug #21960.
* xargs/xargs.c: (proc_max): since this is a non-negative
quantity, make it unsigned.
(procs_executing): Likewise.
(pids_alloc): Likewise (using size_t).
(procs_executed): In order to prevent possible overflow, make this
a boolean, not a count. We only cared if the previous counter was
zero or not, anwyay.
(add_proc): Set procs_executed to true rather than incrementing it.
(wait_for_proc): When called, always reap all available children.
Add an extra argument which is the minimum number of children we
must reap before returning.
(wait_for_proc_all): Pass the new extra argument.
(xargs_do_exec): Call wait_for_proc() to reap all available
children before forking a new child. Modify other calls to
wait_for_proc to pass the new extra argument.
* NEWS: Mention this change.
2007-12-20 James Youngman <jay@gnu.org>
* find/fstype.c, find/ftsfind.c, find/parser.c, find/pred.c,
find/tree.c, lib/regextype.c, locate/locate.c, xargs/xargs.c,
find.c: Backed out positional paremeter change, as the use of
positional parameters was over-complex and unnecessary. We'll
re-apply the pluralisation support change soon, but without the
positional parameters.
2007-12-20 Jakub Bogusz <qboosh@pld-linux.org> (tiny change)
* xargs/xargs.c (parse_num): Corrected typo in format string
message.
2007-12-20 Clytie Siddall <clytie@riverland.net.au> (tiny change)
* find/find.c (wd_sanity_check): Corrected typo in the format
string for an error message, which might cause a crash in
"oldfind" if a directory we moved into turned out to be a symbolic
link that moved while we were trying to change directory.
2007-12-20 James Youngman <jay@gnu.org>
* configure.ac: Advance the version number, as we are moving on
from 4.3.12.
* NEWS: Likewise
2007-12-19 James Youngman <jay@gnu.org>
* find/find.c (ngettext): Introduce a new macro to help with
internationalising plurals. Use it with positional parameters in
order to allow better translations of format strings.
* find/fstype.c, find/ftsfind.c, find/parser.c, find/pred.c,
find/tree.c, lib/regextype.c, locate/locate.c, xargs/xargs.c: Likewise.
2007-12-19 Benno Schulenberg <coordinator@translationproject.org> (tiny change)
* find/find.1: Corrected two typos.
2007-12-19 James Youngman <jay@gnu.org>
* po/nl.po: Updated Dutch translation from the Translation project.
* po/pl.po: Likewise for the Polish translation.
* po/sv.po: Likewise for the Swedish translation.
* po/vi.po: Likewise for the Vietnamese translation.
2007-12-13 Eric Blake <ebb9@byu.net>
Allow bootstrapping with autoconf 2.61a.
* configure.ac (AC_AIX, AC_ISC_POSIX): Delete, now that gnulib
takes care of this.
(jy_AC_TYPE_INTMAX_T): Delete, now that gnulib stdint module takes
care of this.
2007-12-09 James Youngman <jay@gnu.org>
* doc/perm.texi: Updated from the upstream source.
* po/nl.po, po/pt.po: Updated from the Translation Project.
2007-12-08 James Youngman <jay@gnu.org>
* xargs/xargs.1: Added examples on stdin handling and more
efficient core file deletion.
* NEWS: Mention this.
* doc/.cvsignore: Ignore regexprops-generic.texi.
* doc/.gitignore: ditto
2007-12-04 James Youngman <jay@gnu.org>
Fix Savannah bug #15384, find misbehaves when parent directory is
not readable.
* find/testsuite/find.posix/parent.exp: New test
* find/testsuite/find.posix/parent.xo: New test
* find/testsuite/Makefile.am (EXTRA_DIST_EXP, EXTRA_DIST_XO):
Added parent.exp, parent.xo.
* find/find.c (safely_chdir): If safely_chdir_nofollow fails with
SafeChdirFailDestUnreadable, fall back on safely_chdir_lstat.
* find/find.1: Formatting fixes; options should be in bold.
2007-12-02 James Youngman <jay@gnu.org>
Fix Savannah bug #20802, find -delete anomalies
* find/pred.c (pred_delete): Set find's exit status to nonzero if
-delete fails.
* find/find.1 (-delete): Document this.
* doc/find.texi (Delete Files): Document this.
* NEWS: Mention the fix.
2007-11-30 James Youngman <jay@gnu.org>
Fix Savannah bug #20865 (-prune -delete without an explicit
-depth is now an error).
* find/parser.c (check_option_combinations): Diagnose the
situation where -delete and -prune are both used, because -delete
turns on -depth and -depth makes -prune do nothing.
* find/tree.c (build_expression_tree): call
check_option_combinations().
* find/defs.h (struct options): Add new boolean field
explicit_depth.
Also declare check_option_combinations.
* find/util.c (set_option_defaults): Initialise explicit_depth.
* NEWS: Mention this fix.
2007-11-29 James Youngman <jay@gnu.org>
Support the generation of regexprops-generic.texi.
* lib/regextype.h (get_regex_type_context): Used to indicate if a
particular type of regular expression is of interest for
regexprops.texi (which is findutils-specific) or
regexprops-generic.texi (which is not). The "context" is simply
a flag set in a word.
* lib/regextype.c (get_regex_type_context): Implement this.
(regex_map): Assign a context to each regular expression type.
* lib/regexprops.c: Use the context information from regextype.c
to decide which regular expression types to docuemnt in the
output. The selection is indicated on the command line; "generic"
and "findutils" are supported.
(copying): New function, which emits a copyright header into the
output.
(comment): New function for emitting a comment.
(ignore): New function which returns nonzero when the indicated
type of regular expression is not of interest for this version of
the document.
(menu): Miss out the non-interesteing regex types.
(get_next): Returns the regex type name for the "next" pointer,
taking into account which regex types are ignored.
(describe_all): Take into account which regex types are ignored,
and emit a copying header also. Include a comment indicating
which "context" was of interest when generating the output.
* doc/Makefile.am: Add regexprops-generic.texi. Generate this
file from regexprops.c.
Check gnulib out with native git, rather than git-cvspserver.
This fixes Savannah bug #21568, for the second time.
* import-gnulib.config (gnulib_version): Switch to using a git
commit id and native git, since git-cvspserver silently fails to
support "cvs update -D".
* import-gnulib.sh (do_checkout): Check gnulib out with git rather
than CVS.
(main): Require 'git' to be available.
(move_cvsdir): Remove any pre-existing gnulib-cvs directory.
* doc/find-maint.texi (Using the GNU Portability Library): Desribe
how we now obtain gnulib. Update the instructions on how we patch
gnulib.
* .gitignore: Ignore gnulib-git, not gnulib-cvs
* .cvsignore: Ditto
* Makefile.am (findutils-check-smells): Change from gnulib-cvs to
gnulib-git.
* README-CVS: Mention the extra dependency on git.
* NEWS: Mention this change.
Add test case for Savannah bug #20803 (-prune return value).
* find/testsuite/find.posix/prune-result.exp: New test for
Savannah bug #20803.
* find/testsuite/find.posix/prune-result.xo: Expected otuput for
new test prune-result.exp.
* find/testsuite/Makefile.am (EXTRA_DIST_EXP): Added
find.posix/prune-result.exp
(EXTRA_DIST_XO): Added find.posix/prune-result.xo
2007-11-27 James Youngman <jay@gnu.org>
* find/pred.c (pred_prune): Always return true. This fixes
Savannah bug #20803.
* doc/find.texi (Directories): Document the change to -prune.
* find/find.1: Document the change.
* NEWS: Mention the fix.
2007-11-26 James Youngman <jay@gnu.org>
Fix Savannah bug #20970, handling of trailing slashes with -name.
* find/pred.c (pred_name_common): Strip trailing slashes from the
pathname before applying fnmatch() to it. This fixes Savannah bug
#20970.
* find/testsuite/find.posix/nameslash.exp: Test case for bug #20970.
* find/testsuite/find.posix/nameslash.xo: Expected output file for
same.
* find/testsuite/Makefile.am (EXTRA_DIST_EXP): Added nameslash.exp.
(EXTRA_DIST_XO): Added nameslash.xo.
Fix Savannah bug #21634, No copy of FDL1.2 included in source
code.
* doc/find.texi: Change license to the GNU Free Documentation
License 1.2.
(GNU Free Documentation License): Include fdl.texi
* doc/find-maint.texi (GNU Free Documentation License): Include a
copy of the FDL (it was already under this license).
* doc/Makefile.am (find_maint_TEXINFOS): Include fdl.texi
(find_TEXINFOS): Include fdl.texi
* import-gnulib.config (modules): Include gpl-3.0 and fdl.
* doc/perm.texi: Added copyright license, following the license of
the original source document (perm.texi from coreutils).
2007-11-25 James Youngman <jay@gnu.org>
* Makefile.am (jy-regex-fix): Comment that the regex.c fix needs
to stay until we no longer support Automate-1.9.
* doc/perm.texi (Mode Structure): Fix setgid/setuid typo.
2007-11-24 James Youngman <jay@gnu.org>
* doc/find.texi (Mode Bits): Correct the warning about the change
in behaviour of -perm /000 to indicate that the change has
happened now. This fixes Savannah bug #21628.
* NEWS: Mention this.
2007-11-22 James Youngman <jay@gnu.org>
POSIXLY_CORRECT turns off warnings.
* find/defs.h (struct options): Added member posixly_correct.
This is set when the POSIXLY_CORRECT environment variable is set.
* find/util.c (set_option_defaults): Set options.posixly_correct
if the POSIXLY_CORRECT environment variable is set.
(set_option_defaults): Turn off warnings when POSIXLY_CORRECT is
in force.
* find/find.1: Document this.
(Environment Variables): Likewise.
(Warning Messages): Likewise.
Non-POSIX compliant arguments to -perm generate an error when
POSIXLY_CORRECT is set.
* find/parser.c (parse_table): Indicate which primaries are
defined by POSIX.
(non_posix_mode): New function; issues an error message when a
non-POSIX-compliant argument to -perm is used (and POSIXLY_CORRECT
is in force).
(parse_perm): Call non_posix_mode when a non-POSIX-compliant mode
argument is seen.
* find/testsuite/find.gnu/posix-perminvalid.exp: New file; tests
invalid arguments to -perm.
* find/testsuite/Makefile.am (EXTRA_DIST_EXP): Add
posix-perminvalid.exp.
* find/find.1: Document this.
* doc/find.texi (Mode Bits): Likewise
(Environment Variables): Likewise
* xargs/xargs.1: Options should be bold, not italic; filenames
should also be italic. OPTIONS should be a section, not a
subsection. In the description of --max-lines, "max-args" was
corrected to "max-lines". Turn off hyphenation in the SYNOPSIS
section. This fixes Savannah bug #21270.
2007-11-13 James Youngman <jay@gnu.org>
* NEWS, configure.ac: Prepare for the release of findutils-4.3.10.
* import-gnulib.sh (usage): If the existing CVS working tree for
gnulib in the source tree does not yet point at the
git-cvs-pserver repository, move the old gnulib working tree out
of the way and do a fresh checkout. This fixes Savannah bug
#21568.
2007-11-11 James Youngman <jay@gnu.org>
* configure.ac: Prepared for release of findutils-4.3.9.
* NEWS: Likewise.
* po/POTFILES.in: Use gnulib/lib/getdate.y rather than
gnulib/lib/getdate.c, because the former is the source file, and
because without this change the update-po target of po/Makefile
fails.
* import-gnulib.config (gnulib_version): Move to gnulib
2007-11-10.
* po/hu.po, po/nl.po: Updated from Translation Project.
2007-09-08 James Youngman <jay@gnu.org>
Better documentation on $PATH security checks.
* doc/find.texi (Single File): Better explanation of what makes
certain values of $PATH insecure. This fixes Savannah bug
#20951.
* find/find.1 (-execdir): Likewise.
Document interaction of -depth/-delete/-prune.
* doc/find.texi (Directories): Mention that "-prune ... -delete"
will not do what you want and will cause the deletion of more
files than you probably intended.
(Delete Files): Likewise, suggest using "-depth" when testing
command lines you plan to eventually add "-delete" to.
(Cleaning Up): Add -depth explicitly to an example which uses
-delete.
* find/find.1 (-depth): Mention that -delete also implies -depth.
(-delete): Warn against putting -delete first.
(-prune): Also warn against -prune ... -delete.
NEWS: Mention these changes.
2007-08-23 Eric Blake <ebb9@byu.net>
Pick up gnulib change to getline module.
* import-gnulib.config (gnulib_version): Bump date.
* locate/bigram.c: Use <stdio.h>, not getline.h.
* locate/code.c: Likewise.
* locate/frcode.c: Likewise.
* locate/locate.c: Likewise.
* po/ChangeLog: Delete, merge into this file.
2007-08-23 James Youngman <jay@gnu.org>
* po/nl.po: Updated from Translation Project
* find/parser.c (check_path_safety): Assume the path is safe is
$PATH is not set. This avoids a segfault in that situation
and thus fixes Savannah bug #20834.
2007-08-22 James Youngman <jay@gnu.org>
* find/parser.c (parse_path): This is the 'canonical' name once
again.
(parse_wholename): This is not.
(parse_ipath): No longer deprecated.
* NEWS: Mention this.
2007-08-22 Eric Blake <ebb9@byu.net>
Fix Savannah bug #20871.
* find/find.c (main): Remove bogus assertion.
* NEWS: Document the fix.
Update to recent gnulib addition of idcache.h.
* lib/listfile.c (getuser, getgroup): Use header rather than
declaring things ourself.
* po/POTFILES.in (locate/frcode.c): Add missing file.
2007-08-21 Eric Blake <ebb9@byu.net>
Fix for Savannah bug #20273, find -ok with seekable stdin.
* find/find.c (main): Use close_stdin, not close_stdout.
* import-gnulib.config (gnulib_version): Pick up yesno tests.
* NEWS: Document the change.
* build-aux/.cvsignore: Ignore compile.
2007-08-20 Paul Eggert <eggert@cs.ucla.edu>
and Eric Blake <ebb9@byu.net>
Improve translation of xstrtol messages.
* import-gnulib.config (destdir): Upgrade gnulib to 2007-08-11.
* locate/locate.c (dolocate): Adjust to API change of xstrtol
gnulib module.
* po/POTFILES.in: Likewise.
* NEWS: Document the enhancement.
2007-08-20 James Youngman <jay@gnu.org>
* doc/find.texi (Directories): Clarify that built commands which
have not been executed yet will be executed before find quits,
even with -quit. Also clarify the difference between -prune and
-quit.
2007-08-18 Eric Blake <ebb9@byu.net>
Fix Savannah bug #20751.
* lib/listfile.c (list_file): Accomodate gnulib change of 3 Jul
2006.
* NEWS: Document this.
Reported by Nigel Stepp.
* THANKS: Sort and update.
* AUTHORS: Add myself.
2007-08-05 Eric Blake <ebb9@byu.net>
Fix Savannah bugs #20662, #20688.
* find/find.c (at_top): Avoid memory leak.
* find/pred.c (do_fprintf, pred_iname, pred_name): Likewise.
(pred_name_common): New function, factored from pred_iname and
pred_name.
* find/parser.c (check_name_arg): Let -nowarn silence -name /.
* locate/locate.c (visit_basename): Avoid memory leak.
* NEWS: Document the changes.
* doc/find.texi (Warning Messages): Document -nowarn's effect on
-name and -iname.
* find/testsuite/find.gnu/name-slash.exp: New test, to ensure
20662 doesn't regress on '-name /', and that 20688 silences the
warning.
* find/testsuite/find.gnu/printf-slash.exp: Likewise.
* find/testsuite/find.gnu/name-slash.xo: Expected results.
* find/testsuite/find.gnu/printf-slash.xo: Likewise.
* find/testsuite/Makefile.am (EXTRA_DIST_XO, EXTRA_DIST_EXP):
Distribute new tests.
2007-07-31 Eric Blake <ebb9@byu.net>
Allow choice of default arg size, Savannah bug #20594.
* configure.ac (DEFAULT_ARG_SIZE): Check environment for a default
size override.
* lib/buildcmd.c (bc_use_sensible_arg_max): Use default size from
configure, if requested.
* README (DEFAULT_ARG_SIZE): Mention the ability to tune this at
configure time.
* NEWS: Document the change.
2007-07-29 James Youngman <jay@gnu.org>
* po/tr.po: Updated from Translation Project.
2007-07-26 Eric Blake <ebb9@byu.net>
* doc/.cvsignore: Ignore more generated documentation.
2007-07-23 Eric Blake <ebb9@byu.net>
* find/parser.c (parse_version): Avoid compiler warning.
* locate/code.c (includes): Likewise.
2007-07-22 Eric Blake <ebb9@byu.net>
* po/POTFILES.in: Add lib/findutils-version.c.
2007-07-22 James Youngman <jay@gnu.org>
* find/find.1: Corrected a number of typos and fixed up the
alphabetical section ordering. This fixes Savannah bug #20552.
Version banners now comply with the GNU coding standard.
* find/parser.c (parse_version): Use display_findutils_version()
instead of printing the information manually. Don't include
gnulib-version.h since we no longer directly use that header.
* lib/findutils-version.c: Added
* lib/findutils-version.h: Added
* import-gnulib.config (modules): Added version-etc and
version-etc-fsf.
* lib/Makefile.am (libfind_a_SOURCES): added findutils-version.c.
* find/version.c: Removed
* find/Makefile.am: Remove version.c
* locate/Makefile.am: Don't link ../find/version.o
* xargs/Makefile.am: Ditto
* xargs/xargs.c (main): Use display_findutils_version()
* locate/code.c (main): Ditto
* locate/frcode.c (main): Ditto
* locate/locate.c (dolocate): Ditto
* locate/updatedb.sh (version): Display copyright information in
the right format. Also ensure that we exit with a nonzero status
if there was an output error for --help and --version.
* find/testsuite/config/unix.exp (find_version): Adjust for
--version format change
* locate/testsuite/config/unix.exp (locate_version): Ditto
* xargs/testsuite/config/unix.exp (xargs_version): Ditto
* NEWS: Mention the change
2007-07-19 Eric Blake <ebb9@byu.net>
* po/POTFILES.in: Update to reflect current location of
translatable strings.
2007-07-17 Eric Blake <ebb9@byu.net>
Ensure 'make distcheck' can pass on cygwin.
* configure.in: Rename...
* configure.ac: ...to this, to match automake recommendations.
* NEWS: Add release dates.
* doc/find-maint.texi: Remove trailing whitespace.
(Documentation): Document where release dates are usefully
recorded.
* locate/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Be
aware of .exe.
* .cvsignore: Ignore 'make dist' files.
* po/.cvsignore: Ignore remove-potcdate.sed.
2007-07-14 Eric Blake <ebb9@byu.net>
* import-gnulib.config (gnulib_version): Bump date, to pick
up fix in canonicalize module testing.
2007-07-06 James Youngman <jay@gnu.org>
* po/uk.po, po/nl.po, po/vi.po: Updated from Translation Project.
2007-07-04 James Youngman <jay@gnu.org>
* NEWS: Fixed typos in description of bugfix for bug #20310.
2007-07-03 James Youngman <jay@gnu.org>
Fix Savannah bug #20310.
* m4/nullsort.m4: If we are cross compiling, assume "sort -z" does
not work on the target.
Manpage improvements.
* find/find.1: More consistent use of quotation marks.
* locate/locate.1 (HISTORY): New section.
2007-07-02 James Youngman <jay@gnu.org>
* import-gnulib.sh: (run_gnulib_tool): Don't pass --gpl3 to
gnulib-tool, since the program does not have that option (that was
a local change which proved not to be necessary).
GPL3 migration.
* COPYING: Migrate to version 3 of the GNU General Public license.
* Makefile.am: ditto
* build-aux/check-testfiles.sh: ditto
* build-aux/src-sniff.py: ditto
* debian/copyright: ditto
* doc/find-maint.texi: ditto
* find/defs.h: ditto
* find/find.c: ditto
* find/finddata.c: ditto
* find/fstype.c: ditto
* find/ftsfind.c: ditto
* find/parser.c: ditto
* find/pred.c: ditto
* find/testsuite/config/unix.exp: ditto
* find/tree.c: ditto
* find/util.c: ditto
* import-gnulib.config: ditto
* import-gnulib.sh: ditto
* lib/buildcmd.c: ditto
* lib/buildcmd.h: ditto
* lib/dircallback.c: ditto
* lib/dircallback.h: ditto
* lib/extendbuf.c: ditto
* lib/extendbuf.h: ditto
* lib/forcefindlib.c: ditto
* lib/gnulib-version.h: ditto
* lib/listfile.c: ditto
* lib/listfile.h: ditto
* lib/modetype.h: ditto
* lib/nextelem.c: ditto
* lib/nextelem.h: ditto
* lib/printquoted.c: ditto
* lib/printquoted.h: ditto
* lib/qmark.c: ditto
* lib/regexprops.c: ditto
* lib/regextype.c: ditto
* lib/regextype.h: ditto
* lib/savedirinfo.c: ditto
* lib/savedirinfo.h: ditto
* lib/strspn.c: ditto
* lib/wait.h: ditto
* lib/waitpid.c: ditto
* locate/bigram.c: ditto
* locate/code.c: ditto
* locate/frcode.c: ditto
* locate/locate.c: ditto
* locate/locatedb.h: ditto
* locate/testsuite/config/unix.exp: ditto
* locate/updatedb.sh: ditto
* locate/word_io.c: ditto
* po/fetch-po-files: ditto
* xargs/testsuite/config/unix.exp: ditto
* xargs/xargs.c: ditto
Typo fixes.
* doc/find.texi (Deleting Files): Fixed a typo.
(Deleting Files): Likewise.
New worked example for find.
* doc/find.texi (Copying A Subset of Files): Added a new worked
example.
* doc/find.texi (Updating A Timestamp File): Indicate that %A@ now
includes a sub-second part on many systems.
Include <fcntl.h> unconditionally.
* import-gnulib.config (modules): Also use the fcntl module.
* find/find.c: #include <fcntl.h> unconditionally, since
gnulib provides it if it is absent.
* find/fstype.c: Likewise.
* find/ftsfind.c: Likewise.
* find/parser.c: Likewise.
* find/util.c: Likewise.
* locate/locate.c: Likewise.
2007-06-30 Eric Blake <ebb9@byu.net>
* find/pred.c (pred_timewindow): Avoid gcc warnings.
(format_date): Likewise.
* find/tree.c (calculate_derived_rates): Likewise.
* locate/word_io.c (getword): Likewise.
2007-06-30 James Youngman <jay@gnu.org>
* find/find.1 (EXAMPLES): Added an example of using find and cpio -p
to copy a directory tree, with pruning and omitted files.
* find/pred.c (format_date): Use verify_true for constant