makewhatis.c | 117 static const char *whatisdb_new = _PATH_WHATIS ".new"; variable in typeref:typename:const char * 339 * whatisdb_new exists and is more than (arbitrarily) sixteen 360 if (stat(whatisdb_new, &st_before) == 0) { 363 if (unlink(whatisdb_new) == -1 && errno != ENOENT) { 365 whatisdb_new); 367 warnx("Removed stale `%s'", whatisdb_new); 371 "-- am I already running?", whatisdb_new); 375 err(EXIT_FAILURE, "Cannot stat `%s'", whatisdb_new); 378 outfd = open(whatisdb_new, O_WRONLY|O_CREAT|O_EXCL, 381 err(EXIT_FAILURE, "Cannot open `%s'", whatisdb_new); [all...] |