summaryrefslogtreecommitdiff
path: root/main/safe_mode.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-06 18:07:23 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-06 18:07:23 +0000
commit78e2e69b23a6811f148f68fcabe41dedc9e29005 (patch)
treebc116c046cc48cf100fbb467826bde9064a31b19 /main/safe_mode.c
parent3037b35b31a55d4a693a7ace1aa7138bccb524a3 (diff)
downloadphp-git-78e2e69b23a6811f148f68fcabe41dedc9e29005.tar.gz
Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch also resolves bug #18868.
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r--main/safe_mode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c
index 6a0f733eb5..fe19761ae8 100644
--- a/main/safe_mode.c
+++ b/main/safe_mode.c
@@ -31,10 +31,6 @@
#include "SAPI.h"
#include "php_globals.h"
-#ifdef __BEOS__
-#define realpath(x,y) strcpy(y,x)
-#endif
-
/*
* php_checkuid
*