Re: cvs: php4(PHP_4_3) /main main.c

From: Date: Tue, 06 May 2003 22:35:07 +0000
Subject: Re: cvs: php4(PHP_4_3) /main main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20755@lists.php.net to get a copy of this message
Is there some reason you're not committing these changes to HEAD? (php5) --Jani On Tue, 6 May 2003, Sascha Schumann wrote: >sas Tue May 6 09:06:53 2003 EDT > > Modified files: (Branch: PHP_4_3) > /php4/main main.c > Log: > When HAVE_BROKEN_GETCWD is in effect, open() will be called, so we need > to include unistd.h. > > >Index: php4/main/main.c >diff -u php4/main/main.c:1.512.2.25 php4/main/main.c:1.512.2.26 >--- php4/main/main.c:1.512.2.25 Mon Apr 28 17:00:41 2003 >+++ php4/main/main.c Tue May 6 09:06:53 2003 >@@ -18,7 +18,7 @@ > +----------------------------------------------------------------------+ > */ > >-/* $Id: main.c,v 1.512.2.25 2003/04/28 21:00:41 sniper Exp $ */ >+/* $Id: main.c,v 1.512.2.26 2003/05/06 13:06:53 sas Exp $ */ > > /* {{{ includes > */ >@@ -1551,6 +1551,12 @@ > return 0; > } > /* }}} */ >+ >+#ifdef HAVE_BROKEN_GETCWD >+# ifdef HAVE_UNISTD_H >+# include <unistd.h> >+# endif >+#endif > > /* {{{ php_execute_script > */ > > > > -- <- For Sale! ->

« previous php.cvs (#20755) next »