/[man-db]/man-db/src/check_mandirs.c
ViewVC logotype

Diff of /man-db/src/check_mandirs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by cjwatson, Tue Apr 22 18:50:01 2003 UTC revision 1.41 by cjwatson, Tue Apr 22 18:54:15 2003 UTC
# Line 109  static void gripe_rwopen_failed (const c Line 109  static void gripe_rwopen_failed (const c
109                          fprintf (stderr, "database %s is read-only\n",                          fprintf (stderr, "database %s is read-only\n",
110                                   database);                                   database);
111          } else {          } else {
112    #ifdef MAN_DB_UPDATES
113                  if (!quiet)                  if (!quiet)
114    #endif /* MAN_DB_UPDATES */
115                          error (0, errno, _("can't update index cache %s"),                          error (0, errno, _("can't update index cache %s"),
116                                 database);                                 database);
117          }          }
# Line 440  void update_db_time (void) Line 442  void update_db_time (void)
442          /* we know that this should succeed because we just updated the db! */          /* we know that this should succeed because we just updated the db! */
443          dbf = MYDBM_RWOPEN (database);          dbf = MYDBM_RWOPEN (database);
444          if (dbf == NULL) {          if (dbf == NULL) {
445    #ifdef MAN_DB_UPDATES
446                  if (!quiet)                  if (!quiet)
447    #endif /* MAN_DB_UPDATES */
448                          error (0, errno, _("can't update index cache %s"),                          error (0, errno, _("can't update index cache %s"),
449                                 database);                                 database);
450                  free (content.dptr);                  free (content.dptr);

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26