[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/sysdep.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/sysdep.c |
Date: |
Sat, 10 Sep 2005 08:19:14 -0400 |
Index: emacs/src/sysdep.c
diff -c emacs/src/sysdep.c:1.267 emacs/src/sysdep.c:1.268
*** emacs/src/sysdep.c:1.267 Sat Sep 10 11:29:15 2005
--- emacs/src/sysdep.c Sat Sep 10 12:19:14 2005
***************
*** 187,192 ****
--- 187,193 ----
#define _P_WAIT 0
int _CRTAPI1 _spawnlp (int, const char *, const char *, ...);
int _CRTAPI1 _getpid (void);
+ extern char *getwd (char *);
#endif
#ifdef NONSYSTEM_DIR_LIBRARY
***************
*** 261,267 ****
#ifndef HAVE_CURRENT_DIR_NAME
! /* Return the current working directory. Returns NULL on errors.
Any other returned value must be freed with free. This is used
only when get_current_dir_name is not defined on the system. */
char*
--- 262,268 ----
#ifndef HAVE_CURRENT_DIR_NAME
! /* Return the current working directory. Returns NULL on errors.
Any other returned value must be freed with free. This is used
only when get_current_dir_name is not defined on the system. */
char*
***************
*** 293,299 ****
else
{
size_t buf_size = 1024;
! buf = (char *) malloc (buf_size);
if (!buf)
return NULL;
for (;;)
--- 294,300 ----
else
{
size_t buf_size = 1024;
! buf = (char *) malloc (buf_size);
if (!buf)
return NULL;
for (;;)