summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-26 11:23:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:31 -0500
commit4bd40183afd6d423ccbe5f43dac83bd299f86c50 (patch)
treec87afb16ec738f8fb658b6cd9129e3bd45a62974 /source4/lib/util
parent509fd041aa748f4376405fb424117a85dafbbb28 (diff)
downloadsamba-4bd40183afd6d423ccbe5f43dac83bd299f86c50.tar.gz
samba-4bd40183afd6d423ccbe5f43dac83bd299f86c50.tar.bz2
samba-4bd40183afd6d423ccbe5f43dac83bd299f86c50.zip
r16516: Get rid of file_exists() as there already is a file_exist().
(This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421)
Diffstat (limited to 'source4/lib/util')
-rw-r--r--source4/lib/util/util_file.c9
1 files changed, 0 insertions, 9 deletions
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;