/[emacs]/emacs/src/sysdep.c
ViewVC logotype

Diff of /emacs/src/sysdep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.267 by eliz, Sat Sep 10 11:29:15 2005 UTC revision 1.268 by eliz, Sat Sep 10 12:19:14 2005 UTC
# Line 187  extern int quit_char; Line 187  extern int quit_char;
187  #define _P_WAIT 0  #define _P_WAIT 0
188  int _CRTAPI1 _spawnlp (int, const char *, const char *, ...);  int _CRTAPI1 _spawnlp (int, const char *, const char *, ...);
189  int _CRTAPI1 _getpid (void);  int _CRTAPI1 _getpid (void);
190    extern char *getwd (char *);
191  #endif  #endif
192    
193  #ifdef NONSYSTEM_DIR_LIBRARY  #ifdef NONSYSTEM_DIR_LIBRARY
# Line 261  SIGMASKTYPE sigprocmask_set; Line 262  SIGMASKTYPE sigprocmask_set;
262    
263  #ifndef HAVE_CURRENT_DIR_NAME  #ifndef HAVE_CURRENT_DIR_NAME
264    
265  /* Return the current working directory.  Returns NULL on errors.  /* Return the current working directory.  Returns NULL on errors.
266     Any other returned value must be freed with free. This is used     Any other returned value must be freed with free. This is used
267     only when get_current_dir_name is not defined on the system.  */     only when get_current_dir_name is not defined on the system.  */
268  char*  char*
# Line 293  get_current_dir_name () Line 294  get_current_dir_name ()
294    else    else
295      {      {
296        size_t buf_size = 1024;        size_t buf_size = 1024;
297        buf = (char *) malloc (buf_size);        buf = (char *) malloc (buf_size);
298        if (!buf)        if (!buf)
299          return NULL;          return NULL;
300        for (;;)        for (;;)

Legend:
Removed from v.1.267  
changed lines
  Added in v.1.268

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26