From 82e0636e788f131d46451805f6c46e2d4f8496a9 Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Wed, 26 Feb 2014 00:36:01 +0100 Subject: Delete local function strerror and USE_GETCWD define. Both are useless after porting mch_dirname to libuv. --- src/os_unix.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/os_unix.h') diff --git a/src/os_unix.h b/src/os_unix.h index 5ae7c38f88..3eb79e9a25 100644 --- a/src/os_unix.h +++ b/src/os_unix.h @@ -42,16 +42,6 @@ * Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE */ -/* - * Using getcwd() is preferred, because it checks for a buffer overflow. - * Don't use getcwd() on systems do use system("sh -c pwd"). There is an - * autoconf check for this. - * Use getcwd() anyway if getwd() isn't present. - */ -#if defined(HAVE_GETCWD) && !(defined(BAD_GETCWD) && defined(HAVE_GETWD)) -# define USE_GETCWD -#endif - #ifndef __ARGS /* The AIX VisualAge cc compiler defines __EXTENDED__ instead of __STDC__ * because it includes pre-ansi features. */ -- cgit