projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40f9bad
)
libitize
author
Jim Meyering
<jim@meyering.net>
Mon, 4 Nov 1996 18:07:38 +0000
(18:07 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 4 Nov 1996 18:07:38 +0000
(18:07 +0000)
lib/stpcpy.c
patch
|
blob
|
history
lib/xgetcwd.c
patch
|
blob
|
history
diff --git
a/lib/stpcpy.c
b/lib/stpcpy.c
index
e7a95a4
..
6369661
100644
(file)
--- a/
lib/stpcpy.c
+++ b/
lib/stpcpy.c
@@
-15,8
+15,8
@@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#if
def
HAVE_CONFIG_H
-#include <config.h>
+#if HAVE_CONFIG_H
+#
include <config.h>
#endif
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
#endif
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
diff --git
a/lib/xgetcwd.c
b/lib/xgetcwd.c
index
3615161
..
7ab2204
100644
(file)
--- a/
lib/xgetcwd.c
+++ b/
lib/xgetcwd.c
@@
-17,7
+17,7
@@
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
-#if
def
HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
# include <config.h>
#endif
@@
-26,14
+26,15
@@
#ifndef errno
extern int errno;
#endif
#ifndef errno
extern int errno;
#endif
+
#include <sys/types.h>
#include "pathmax.h"
#include <sys/types.h>
#include "pathmax.h"
-#ifndef HAVE_GETCWD
-char *getwd ();
-# define getcwd(buf, max) getwd (buf)
-#else
+#if HAVE_GETCWD
char *getcwd ();
char *getcwd ();
+#else
+char *getwd ();
+# define getcwd(Buf, Max) getwd (Buf)
#endif
/* Amount to increase buffer size by in each try. */
#endif
/* Amount to increase buffer size by in each try. */