1 diff -u -r ../mlocate-0.26/src/updatedb.c ./src/updatedb.c
2 --- ../mlocate-0.26/src/updatedb.c 2012-03-23 19:00:48.000000000 +0100
3 +++ ./src/updatedb.c 2014-07-02 03:23:18.000000000 +0200
6 filesystem_is_excluded (const char *path)
11 static char *type; /* = NULL; */
12 static size_t type_size; /* = 0; */
15 /* This is debuging output, don't mark anything for translation */
16 fprintf (stderr, "...done\n");
21 \f /* Filesystem scanning */
23 if (fwriteerror (new_db))
24 error (EXIT_FAILURE, errno, _("I/O error while writing to `%s'"),
27 new_db_setup_permissions ();
29 if (rename (new_db_filename, conf_output) != 0)
30 error (EXIT_FAILURE, errno, _("error replacing `%s'"), conf_output);
31 /* There is really no race condition in removing other files now: unlink ()