From 4bd40183afd6d423ccbe5f43dac83bd299f86c50 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 26 Jun 2006 11:23:06 +0000 Subject: r16516: Get rid of file_exists() as there already is a file_exist(). (This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421) --- source4/lib/util/util_file.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source4/lib/util/util_file.c') diff --git a/source4/lib/util/util_file.c b/source4/lib/util/util_file.c index 8d8e7c6ec9..99432ad8bb 100644 --- a/source4/lib/util/util_file.c +++ b/source4/lib/util/util_file.c @@ -356,15 +356,6 @@ _PUBLIC_ BOOL file_save(const char *fname, const void *packet, size_t length) return True; } -/** - see if a file exists -*/ -_PUBLIC_ BOOL file_exists(const char *path) -{ - struct stat st; - return (stat(path, &st) == 0); -} - _PUBLIC_ int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0) { char *p; -- cgit