comparison src/sysdep.c @ 65657:c6e45e9a83bf

* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define BROKEN_GET_CURRENT_DIR_NAME. * sysdep.c (get_current_dir_name): Also define if BROKEN_GET_CURRENT_DIR_NAME. * m/ibmrs6000.h: Test for USG5, not USG5_4.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 23 Sep 2005 17:06:03 +0000
parents 52cdcffb8710
children 6345e0814501 2a679c81f552 ee12d75eb214
comparison
equal deleted inserted replaced
65656:55fcf5165d97 65657:c6e45e9a83bf
254 /* Temporary used by `sigblock' when defined in terms of signprocmask. */ 254 /* Temporary used by `sigblock' when defined in terms of signprocmask. */
255 255
256 SIGMASKTYPE sigprocmask_set; 256 SIGMASKTYPE sigprocmask_set;
257 257
258 258
259 #ifndef HAVE_GET_CURRENT_DIR_NAME 259 #if !defined (HAVE_GET_CURRENT_DIR_NAME) || defined (BROKEN_GET_CURRENT_DIR_NAME)
260 260
261 /* Return the current working directory. Returns NULL on errors. 261 /* Return the current working directory. Returns NULL on errors.
262 Any other returned value must be freed with free. This is used 262 Any other returned value must be freed with free. This is used
263 only when get_current_dir_name is not defined on the system. */ 263 only when get_current_dir_name is not defined on the system. */
264 char* 264 char*