File: ChangeLog

package info (click to toggle)
mlocate 0.26-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,116 kB
  • sloc: ansic: 10,201; sh: 9,895; makefile: 80; sed: 16
file content (721 lines) | stat: -rw-r--r-- 24,504 bytes parent folder | download | duplicates (3)
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
2012-09-22  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Relase 0.26.
	* NEWS: Update.
	* po/*: Update.

	* src/locate.c (conf_match_all_patterns): New variable.
	(string_matches_pattern): Implement conf_match_all_patterns.
	(help): Document -A.
	(parse_options): Set conf_match_all_patterns based on -A, --all.
	Based on a patch by Carlos J. G. Duarte <carlos.j.g.duarte@gmail.com>.
	* tests/locate.at (locate: -A): Test -A.
	* doc/locate.1.in: Document -A.

2012-06-25  Miloslav Trmač  <mitr@redhat.com>

	* Makefile.am (installcheck-local): Make sure the test suite is
	up-to-date before running it.

2012-06-03  Miloslav Trmač  <mitr@redhat.com>

	* tests/bind-mount.at (bind-mount: Empty mountinfo): Fix the test
	when run in (make installcheck).

2012-03-23  Miloslav Trmač  <mitr@redhat.com>

	* src/bind-mount.c (MOUNTINFO_PATH): Move to bind-mount.h.
	(mountinfo_path): New variable.  All users changed to use the variable.
	(bind_mount_init): New parameter mountinfo.  Initialize mountinfo_path.
	* src/bind-mount.h (MOUNTINFO_PATH): Moved from bind-mount.c.
	(bind_mount_init): Update declaration.
	* src/updatedb.c (main): Update for changed bind_mount_init ().
	* tests/bind-mount.at
	* tests/bind-mount-helper.c: New files.
	* tests/testsuite.at: Include bind-mount.at.
	* configure.ac: Add tests to PATH.
	* Makefile.am (check_PROGRAMS, tests_bind_mount_helper_LDADD): New
	definitions.
	(TESTFILES): Add tests/bind-mount.at.
	(src_updatedb_SOURCES): Move src/bind-mount.c src/bind-mount.h ...
	(src_liblib_a_SOURCES): ... here.

	* src/updatedb.c (time_is_current): Use "struct time" as input.  Add
	>3 seconds margin to account for low timestamp precision on FAT and for
	Linux kernel races.
	(scan): Check whether the timestamp needs invalidating even if the
	nanosecond field is non-zero.
	* tests/config.at (config: -v): Wait longer than the timestamp
	margin in time_is_current ().

	* tests/updatedb.at (updatedb: Concurrent modification): Use `wait'
	instead of `sleep', removing a race and making the test suite faster.

2012-03-03  Miloslav Trmač  <mitr@redhat.com>

	* COPYING: Update (new FSF address, s/Library GPL/Lesser GPL/).

	* configure.ac: Release 0.25.
	* NEWS: Update.
	* po/*: Update.
	* po/LINGUAS: Update.

2012-02-10  Miloslav Trmač  <mitr@redhat.com>

	* po/mlocate.pot: Update for Transifex.

2011-12-12  Miloslav Trmač  <mitr@redhat.com>

	* src/conf.c (prepend_cwd): Don't use PATH_MAX, it may not be defined.
	* src/updatedb.c (filesystem_is_excluded): Don't use PATH_MAX, it
	may not be defined.  canonicalize_file_name() allocates memory, so
	it is more costly, but Linux is unaffected.

2011-11-16  Miloslav Trmač  <mitr@redhat.com>

	* src/updatedb.c (scan_cwd): Don't trust the kernel to never return
	a zero-length file name, it unfortunately does happen.  In such a case,
	instead of aborting, report it to stderr, including the path, and
	continue.

2011-08-24  Miloslav Trmač  <mitr@redhat.com>

	* src/updatedb.c (main): Remove a debugging fprintf ().

	* doc/locate.1.in: Document that parent directories must exist for
	permission checking.  Suggested by Alexandre Oberlin <alxobr@yahoo.fr>.

2011-05-30  Miloslav Trmač  <mitr@redhat.com>

	* Makefile.am (installcheck-local): Fix AUTOTEST_PATH.

2011-04-28  Miloslav Trmač  <mitr@redhat.com>

	* src/lib.c (db_refill): Use the correct type for return value of
	safe_read ().

	* src/bind-mount.c (read_mount_entry): Fix an EOF check.

2011-03-31  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release 0.24.
	* NEWS: Update.
	* po/*: Update.
	* po/LINGUAS: Update.

	* src/bind-mount.c (read_mount_line): Remove an unused variable.

	* src/bind-mount.c (add_bind_mount_path): Fold it into the caller again.

	* src/bind-mount.c: Update copyright year.

	* src/bind-mount.c: Note that tmpwatch uses a related implementation.

	* src/bind-mount.c (MOUNTINFO_PATH, struct mount, mount_entries)
	(num_mount_entries, mount_data_obstack, mount_data_mark)
	(mount_string_obstack, mount_string_mark, mount_list_obstack)
	(mountinfo_line_obstack, init_mount_entries, read_mount_line)
	(parse_mount_string, read_mount_entry, read_mount_entries): New
	definitions, reading /proc/self/mountinfo.
	(mountinfo_fd): New variable.
	(last_path_mounted_mtime): Removed variable.
	(add_bind_mount_path, cmp_ints, cmp_mount_entry_pointers)
	(cmp_id_mount_entry): New functions.
	(rebuild_bind_mount_paths, is_bind_mount, bind_mount_init): Use data
	from /proc/self/mountinfo.

2011-03-30  Miloslav Trmač  <mitr@redhat.com>

	* src/bind-mount.c (bind_mount_paths, bind_mount_paths_index)
	(last_path_mounted_mtime, bind_mount_paths_obstack)
	(bind_mount_paths_mark, rebuild_bind_mount_paths, is_bind_mount): Move
	from ...
	* src/updatedb.c: ... here.
	* src/bind-mount.c (bind_mount_init): Rename and move from ...
	* src/updatedb.c (init_bind_mount_paths): ... here, and move
	conf_prune_bind_mounts handling to the caller.
	* src/bind-mount.h: New file.
	* Makefile.am (src_updatedb_SOURCES): Add src/bind-mount.c and
	src/bind-mount.h.

	* src/lib.c (string_list_contains_dir_path): Rename and move from...
	* src/updatedb.c (path_is_in_list): ... here.  All callers updated.
	* src/lib.h (string_list_contains_dir_path): New declaration.

2011-03-10  Miloslav Trmač  <mitr@redhat.com>

	* doc/updatedb.8.in: Fix a typo.

2011-03-04  Miloslav Trmač  <mitr@redhat.com>

	* .tx/config: New file.
	* po/libuser.pot: Add to prepare for Transifex.

2011-02-04  John Bradshaw  <john@johnbradshaw.org>

	* doc/locate.1.in: Fix a typo.

2010-09-14  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release version 0.23.1.
	* NEWS: Update.
	* po/LINGUAS: Update.

2010-08-30  Miloslav Trmač  <mitr@redhat.com>

	* HACKING: New file.

2010-08-26  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release version 0.23.
	* NEWS: Update.
	* po/LINGUAS: Update.

2010-06-12  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Define PACKAGE_URL.
	* Makefile.am (tests/package.m4): Define AT_PACKAGE_URL.

	* tests/locate.at (locate: -r, locate: --regex): Replace `(' by a
	quadrigraph to avoid m4 quoting problems.

2010-05-25  Christian Faulhammer  <fauli@gentoo.org>

	* po/de.po: Misc. fixes and updates.

2010-03-30  Miloslav Trmač  <mitr@redhat.com>

	* src/updatedb.c (rebuild_bind_mount_paths): Ignore no-op bind mounts.
	* doc/updatedb.conf.5.in (PRUNE_BIND_MOUNTS): Document that no-op bind
	mounts are not skipped.

2010-03-26  Miloslav Trmač  <mitr@redhat.com>

	* gnulib/lib/stat-time.h (get_stat_birthtime_ns)
	(get_stat_birthtime): Fix a warning.

	* configure.ac: Release version 0.22.4.
	* NEWS: Update.
	* po/LINGUAS: Update.

2010-03-04  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release version 0.22.3.
	* NEWS: Update.
	* po/LINGUAS: Update.

	* configure.ac: Use xz for compresssing the distribution tarball.

2009-10-02  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release version 0.22.2.
	* NEWS: Update.
	* po/LINGUAS: Update.

2009-09-15  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release version 0.22.1.
	* NEWS: Update.
	* po/LINGUAS: Update.

2009-07-20  Tomas Zellerin  <zellerin@gmail.com>

	* doc/mlocate.db.5: Document directory header padding.

2009-06-14  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Update to gettext 0.17.

2009-04-14  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Version 0.22.
	* NEWS: Update.
	* po/LINGUAS: Update.

	* po/hu.po: Fix errors.

	* tests/locate.at (locate: Invalid source database): Update error
	message.

	* doc/updatedb.8.in: Document that --require-visibility only applies
	if the database is privileged.

	* src/locate.c (handle_db): Document new parameter, beautify.
	(handle_dbpath_entry): Rename variable keep_gid to privileged_db.

2009-04-14  Peter Cordes  <peter@cordes.ca>

	* src/locate.c (handle_db, handle_dbpath_entry): Only verify directory
	read permissions for privileged databases.

2008-11-17  Miloslav Trmač  <mitr@redhat.com>

	* src/locate.c (drop_setgid): Split from handle_dbpath_entry ().
	(handle_dbpath_entry): Check a database is privileged before opening it
	as well, in order to consistently fail to open unprivileged databases in
	$(dbdir).

2008-10-31  Miloslav Trmač  <mitr@redhat.com>

	* src/lib.c (db_skip): Add an explicit cast to avoid a warning on
	platforms with sizeof (size_t) >= sizeof (off_t).

2008-10-28  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Version 0.21.1
	* NEWS: Update.
	* po/LINGUAS: Update.

2008-09-08  Miloslav Trmač  <mitr@redhat.com>

	* doc/updatedb.conf.5.in: Clarify wording.

2008-06-30  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Version 0.21.
	* NEWS: Update.
	* po/LINGUAS: Update.

	* po/cs.po: Update Czech translation.

	* src/updatedb.c (main): Modify an error message to use capitalization
	consistent with the others.

	* src/lib.c (db_open): Don't close fd on error.
	* src/locate.c (handle_db): Update for db_open change.
	* src/updatedb.c (old_db_is_closed): New variable.
	(old_db_close): Set old_db_is_closed instead of closing old_db.
	(old_dir_next_header, copy_old_dir): Check old_db_is_closed instead of
	old_db.fd.
	(old_db_open): Set old_db.fd = -1 if old_db is not initialized.  Set
	old_db_is_closed instead of closing old_db.  Open conf_output with
	O_RDWR.  Return the open file descriptor.
	(new_db_setup_permissions): Split from main ().
	(main): Exclusively lock the file at conf_output if present.  Close
	old_db or lock_file_fd before exiting.

2008-06-29  Miloslav Trmač  <mitr@redhat.com>

	* doc/updatedb.conf.5.in: Document PRUNENAMES.
	* doc/updatedb.8.in: Document --add-prunenames and --prunenames.
	* src/conf.h (conf_prunenames): New declaration.
	* src/conf.c (conf_prunenames, prunenames_var): New variables.
	(UCT_PRUNENAMES): New constant.
	(uc_lex): Recognize PRUNENAMES.
	(parse_updatedb_conf): Handle PRUNENAMES.
	(help): Document --add-prunenames and --prunenames.
	(parse_arguments): Handle --add-prunenames and --prunenames.
	(gen_conf_block): Store "prunenames".
	(conf_prepare): Handle prunenames_var and create sorted conf_prunenames.
	* src/updatedb.c (scan): Handle conf_prunenames.
	* tests/config.at (config: -h): Update.
	(config: -n, config: --prunenames): New tests.

2008-06-28  Miloslav Trmač  <mitr@redhat.com>

	* src/conf.c (conf_prepare): Sort conf_prunefs correctly and remove
	all duplicates.  Resolves ticket:4.

2008-06-27  Miloslav Trmač  <mitr@redhat.com>

	* src/updatedb.c (unlink_init): Unlink unlink_path on SIGABRT as well.
	Only list the handled signals once.

2008-06-09  Miloslav Trmač  <mitr@redhat.com>

	* src/lib.c (dir_path_cmp_init): Use the correct character value
	mapping instead of its inversion.  Resolves ticket:3.
	* tests/updatedb.at (updatedb: Path sorting): New test.

2008-04-09  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Version 0.20.
	* NEWS: Update.

	* po/LINGUAS: Add "bg" (by Alexander Todorov <atodorov@redhat.com>),
	"fr" (by Robert-André Mauchin <zebob.m@pengzone.org> and Thomas Canniot
	<mrtom@fedoraproject.org>), "it" (by Silvio Pierro
	<perplesso82@gmail.com> and Gianluca Busiello
	<busiello@ceinge.unina.it>), "pt_BR" (by Diego Búrigo Zacarão
	<diegobz@projetofedora.org>), "sr" and "sr@latin" (by Nikola Pajtić
	<salgeras@gmail.com> and Miloš Komarčević <kmilos@gmail.com>).

2008-03-16  Miloslav Trmač  <mitr@redhat.com>

	* doc/updatedb.8.in: Fix a typo.  Patch by Adeodato Simó
	<dato@net.com.org.es>.

	* doc/updatedb.8.in: Fix a typo, and stop using some non-words.

	* doc/updatedb.conf.5.in: Use \(dq instead of a quote in a comment to
	satisfy emacs.

2008-03-04  Miloslav Trmač  <mitr@redhat.com>

	* po/LINGUAS: Add "de" (by Fabian Affolter <fab@fedoraproject.org>) and
	"pl" (by Piotr Drąg <piotrdrag@gmail.com>).

	* tests/updatedb.at (updatedb: Permissions)
	(updatedb: Output creation): Expect the tests to fail if running as
	root.

2008-03-03  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Version 0.19.
	* NEWS: Update.

	* src/conf.h (conf_debug_pruning): New declaration.
	* src/updatedb.c (rebuild_bind_mount_paths)
	(filesystem_is_excluded, scan): Print detailed information about pruning
	decisions to stderr if conf_debug_pruning.
	* src/conf.c (conf_debug_pruning): New variable.
	(parse_arguments): Handle --debug-pruning.
	(conf_prepare): Print conf_block to stderr if conf_debug_pruning.
	* doc/updatedb.8.in: Document --debug-pruning.
	* tests/config.at (config: --debug-pruning): Add a M_CONF_UNTESTED note.

	* po/Makevars (MSGID_BUGS_ADDRESS): Update.  (This makes
	(intltool-update -p) work, and should fix Transifex.)

2008-03-02  Miloslav Trmač  <mitr@redhat.com>

	* tests/locate.at (locate: LOCATE_PATH): Don't assume the our full
	path doesn't contain "/f".

	* README: Point to the new home page.

2008-02-12  Miloslav Trmač  <mitr@redhat.com>

	* doc/locate.1.in
	* doc/updatedb.8.in: Fix typos.  Patch by A. Costa <agcosta@gis.net>.

2007-12-13  Miloslav Trmač  <mitr@redhat.com>

	* src/updatedb.c (main): Report what group we were trying to reassign
	the file to on failure.

2007-10-16  Miloslav Trmač  <mitr@redhat.com>

	* gnulib/m4/gnulib-cache.m4 (gl_MODULES): Use module gettext-h.
	* src/lib.h: #include "gettext.h" instead of <libintl.h>.
	(gettext, ngettext): Remove macros.  gettext.h provides them along with
	bindtextdomain() and textdomain().

	* tests/locate.at (locate: -S): Don't rely on GNU sed's \?.  Patch by
	Steve Edwards <sgedward@korime.demon.co.uk>.

	* src/lib.c (htonll, dir_path_cmp, db_open, db_refill)
	* src/updatedb.c (copy_old_dir, new_db_open): Move verify () among
	declarations in a block, it is implemented as an extern declaration.

	* src/updatedb.c (scan_subdirs): Remove useless duplicate "const".
	Patch by Steve Edwards <sgedward@korime.demon.co.uk>.

2007-08-25  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac: Release 0.18.
	* NEWS: Update.

2007-08-15  Miloslav Trmač  <mitr@redhat.com>

	* src/locate.c (handle_dbpath_entry): Fix uninitialized memory access
	when handling "-" in dbpath.

2007-07-02  Miloslav Trmač  <mitr@redhat.com>

	* doc/updatedb.8.in: Add an example of running updatedb as an
	unprivileged user.

2007-06-18  Miloslav Trmač  <mitr@redhat.com>

	* configure.ac
	* tests/testsuite.at: Use new features of autoconf-2.60.
	* Makefile.am: Use new features of automake-1.10.

2007-05-16  Miloslav Trmač  <mitr@redhat.com>

	* doc/locate.1.in: Add an example of using \ to avoid the implicit
	'*' operators around patterns.  Note which command-line options are
	opposites.

2007-04-25  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Release 0.17.
	* NEWS: Update.

	* src/updatedb.c (filesystem_is_excluded): Don't call realpath () on
	paths from /proc/self/mounts to avoid hangs on unavailable NFS
	filesystems.

2007-03-18  Miloslav Trmac  <mitr@redhat.com>

	* src/conf.c
	* src/conf.h
	* src/lib.c
	* src/lib.h
	* src/locate.c
	* src/updatedb.c: #include <stdbool.h>.  Use "bool" instead of "_Bool",
	use "true" and "false" where the constants are used as "bool" values.

2007-03-06  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Release 0.16.
	* NEWS: Update.

2007-03-02  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2.

	* src/conf.c
	* src/lib.c
	* src/lib.h
	* src/locate.c
	* src/updatedb.c: Revert header files order to the original: config.h,
	SUSv3 headers, library headers, mlocate headers.

2007-03-01  Miloslav Trmac  <mitr@redhat.com>

	* src/lib.h (struct string_list): New member "allocated".
	(cmp_dir_path_pointers): Remove declaration.
	(string_list_append, string_list_dir_path_sort): New declarations.
	* src/lib.c (string_list_append, string_list_dir_path_sort): New
	functions.
	(cmp_dir_path_pointers): Make static.
	* src/conf.c (struct var): Remove member "pointers", assume usage with
	an associated struct string_list.
	(var_init, var_add_values, var_clear, var_finish): Explicitly refer
	to the associated struct string_list, don't use an obstack for entry
	pointers.  All users updated.
	(uc_lex_buf, uc_lex_buf_size): New variables, replacing uc_obstack.
	(uc_lex_buf_append): New function.
	(uc_lex): Implicitly return string data in uc_lex_buf.
	* src/locate.c (conf_dbpath): Grow directly instead of using
	db_obstack.
	All users changed.
	(conf_patterns): Only store the original patterns.  Use a struct
	string_list.  Grow directly instead of using pattern_obstack.  All
	users changed.
	(conf_regex_patterns): New variable, used instead of conf_patterns. All
	users changed.
	(check_directory_perms): Use a manually managed buffer instead of
	check_obstack.
	(check_obstack, db_obstack, pattern_obstack): Remove variables.
	* src/updatedb.c (bind_mount_paths): Grow directly instead of using
	bind_mount_pointers_obstack.  All users changed.
	(bind_mount_pointers_obstack): Remove variable.
	(filesystem_is_excluded, scan_subdirs): Use a manually managed buffer
	instead of an obstack.

	* doc/mlocate.db.5: Document the prune_bind_mounts variable.
	* doc/updatedb.8.in: Document that --database-root does not have to be
	absolute, but will always be canonicalized.  Doclument
	--prune-bind-mounts.  Fix typos in font directives.
	* doc/updatedb.conf.5.in: Document PRUNE_BIND_MOUNTS.  Fix typos.

	* gnulib/m4/gnulib-cache.m4 (gl_MODULES): Use modules canonicalize-lgpl
	and timespec.
	* src/lib.h (struct string_list, cmp_dir_path_pointers): New
	declarations.
	* src/lib.c (cmp_dir_path_pointers): Move from ...
	* src/conf.c (cmp_dir_path_pointers): ... here.
	(conf_prunefs, conf_prunepaths): Use struct string_list, replaces
	conf_prunefs_len and conf_prunepaths_len.  All users updated.
	(conf_prune_bind_mounts): New variable.
	(parse_bool): New function, split from parse_arguments ().
	(var_finish): Directly update a struct string_list.  All users changed.
	(UCT_PRUNE_BIND_MOUNTS, UCT_PRUNEFS, UCT_PRUNEPATHS): New enum values.
	(uc_lex): Return specific values for known identifiers.
	(parse_updatedb_conf): Handle PRUNE_BIND_MOUNTS.
	(help): Document --prune-bind-mounts.  Generalize the text about default
	values.
	(parse_arguments): Add --prune-bind-mounts.  Don't require
	--database-root to be absolute, canonicalize it automatically.
	(gen_conf_block_string_list): New function, split from
	gen_conf_block ().
	(gen_conf_block): Add prune_bind_mounts.
	* src/conf.h (conf_prunefs, conf_prunepaths): Update declarations.
	(conf_prunefs_len, conf_prunepaths_len): Remove declarations.
	(conf_prune_bind_mounts): New declaration.
	* src/locate.c (conf_dbpath): Use struct string_list.  Replaces
	conf_dbpath_len.  All users updated.
	* src/updatedb.c (path_is_in_list): Split from scan ().
	(bind_mount_paths, bind_mount_paths_index, last_path_mounted_mtime)
	(bind_mount_paths_obstack, bind_mount_paths_mark)
	(bind_mount_pointers_obstack): New variables.
	(rebuild_bind_mount_paths, is_bind_mount, init_bind_mount_paths): New
	functions.
	(filesystem_is_excluded): Assume the input path is canonical.
	(scan): Exclude bind mounts if so configured.  Move did_chdir closer
	to its users.
	(main): Initialize bind mount list.
	* tests/config.at (config: -h): Update for new text.
	(config: -U): Update for new semantics.  Verify --database-root is
	canonicalized.
	(config: ---prune-bind-mounts): New test.

2007-02-27  Miloslav Trmac  <mitr@redhat.com>

	* src/updatedb.c (opendir_noatime): New function.
	(scan_cwd): Use opendir_noatime ().  This shaves a few seconds from
	first-time updatedb runs.
	* configure.ac: Check whether fdopendir () is available.

2007-02-26  Miloslav Trmac  <mitr@redhat.com>

	* src/conf.c (prepend_cwd): Use x2realloc ().

	* gnulib/m4/gnulib-cache.m4 (gl_MODULES): Use module mbsstr.
	* configure.ac: Don't use -Wcast-qual, gnulib's mbsstr doesn't compile
	with it.
	* src/locate.c (string_matches_pattern): Use mbsstr () instead of
	strstr () to handle multibyte encodings with non-unique start bytes
	correctly.

	* src/locate.c (write_quoted): Show only one question mark if the
	input string ends with an incomplete multibyte character.

	* src/locate.c (check_directory_perms): Reorganize to make the handling
	of "/" and top-level directories more clear.

	* doc/locate.1.in (DESCRIPTION): Fix punctuation.
	(NOTES): Note that locate may reorder the database path arbitrarily.

	* tests/config.at (config: -V)
	* tests/locate.at (locate: -V): Update for new copyright year.

	* gnulib/m4/gnulib-cache.m4 (gl_MODULES): Remove fwriterror (a typo).
	Remove timespec (a dependency of stat-time which mlocate doesn't use
	directly).

2007-02-21  Miloslav Trmac  <mitr@redhat.com>

	* README: Replace details by an unspecific promise.

	* configure.ac: Drop -Wnested-externs and -Wundef, gnulib's code can't
	handle them.

	* src/lib.c (htonll, ntohll, dir_path_cmp, db_open, db_refill)
	* src/updatedb.c (scan_subdirs, copy_old_dir, new_db_open): Use
	verify () instead of assert ().

	* src/lib.c (xmalloc, xrealloc): Remove in favor of gnulib's
	implementation.
	* src/lib.h (xmalloc, xrealloc): Remove declarations.

	* src/lib.c (db_refill): Use safe_read ().
	(db_read): Use mempcpy ().
	* src/locate.c (parse_dbpath): Use strchrnul () and mempcpy ().
	(parse_arguments, finish_dbpath): Use XNMALLOC ().
	* src/updatedb.c (time_get_ctime, time_get_mtime): Use
	get_stat_ctime_ns () and get_stat_mtime_ns ().

	* src/locate.c (main)
	* src/updatedb.c (main): Call set_program_name ().  Use fwriteerror ().

	* Makefile.am (ACLOCAL_AMFLAGS, AM_CPPFLAGS, SUBDIRS, src_locate_LDADD)
	(src_updatedb_LDADD)
	* configure.ac
	* src/conf.c
	* src/lib.c
	* src/lib.h
	* src/locate.c
	* src/updatedb.c
	* gnulib/m4/gnulib-cache.m4: Use gnulib, don't assume glibc.

2007-02-12  Miloslav Trmac  <mitr@redhat.com>

	* doc/locate.1.in: Fix a typo.

2007-01-29  Miloslav Trmac  <mitr@redhat.com>

	* doc/mlocate.db.5: Fix a pasto.

2007-01-16  Miloslav Trmac  <mitr@redhat.com>

	* doc/locate.1.in: Fix a typo in font change command.  (Reported by
	<esr@thyrsus.com>).

2006-11-16  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.14.6.

2006-11-16  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Version 0.15.
	* NEWS: Update.

	* configure.ac (PROC_MOUNTS_PATH): New test.
	* src/updatedb.c (MOUNT_TABLE_PATH): New macro, using PROC_MOUNTS_PATH.
	(filesystem_is_excluded): Use MOUNT_TABLE_PATH.

2006-03-15  Miloslav Trmac  <mitr@redhat.com>

	* src/conf.c (help): Add missing closing paren.
	(parse_arguments): Fix error message.

	* Makefile.am (DISTCLEANFILES, EXTRA_DIST, TESTFILES, clean-local)
	(check-local, installcheck-local, tests/package.m4, tests/testsuite)
	* configure.ac: Add test suite.
	* tests/config.at
	* tests/locate.at
	* tests/testsuite.at
	* tests/updatedb.at: New files.

2006-02-19  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Version 0.14.
	* NEWS: Update.

	* README: Mention FNM_CASEFOLD requirement.

	* src/locate.c (_GNU_SOURCE): Define to get FNM_CASEFOLD.
	(conf_have_simple_pattern, conf_uppercase_patterns): New variables.
	(uppercase_string): Return a wide character string.
	(string_matches_pattern): Use FNM_CASEFOLD.  Use wcsstr () for
	case-insensitive simple pattern comparison.
	(parse_arguments): Leave conf_patterns in original case.  Set up
	conf_have_simple_pattern and conf_uppercase_patterns.
	(main): Leave uc_obstack with default alignment.

2006-02-15  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Version 0.13.
	* NEWS: Update.

	* README: Describe what the "mlocate" group is for.

2006-02-14  Miloslav Trmac  <mitr@redhat.com>

	* Makefile.am (install-exec-hook): Make locate, not updatedb SGID.
	Oops.
	(install-exec-local): Make the database directory accessible by the
	mlocate group.

2005-12-31  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Version 0.12.
	* NEWS: Update.

	* src/updatedb.c (time_get_ctime, time_get_mtime): Handle invalid
	nanosecond times returned by Captive NTFS.

2005-11-10  Miloslav Trmac  <mitr@redhat.com>

	* configure.ac: Version 0.11.
	* NEWS: Update.

	* Makefile.am (bin_PROGRAMS, libexec_PROGRAMS, install-exec-hook): Move
	updatedb to $(bindir).

2005-10-23  Miloslav Trmac  <mitr@redhat.com>

	* src/locate.c (parse_options): Actually set got_follow to 1 when
	necessary.

2005-08-04  Miloslav Trmac  <mitr@redhat.com>

	* src/locate.c (conf_output_quote): New variable.
	(write_quoted): New function.
	(parse_options): Set conf_output_quote if writing to stdout without
	--null.
	(handle_path): Implement conf_output_quote.