Remove GNO-specific hack for defining a buffer size.

I’m not sure why this was needed originally, but at any rate it doesn't seem to be necessary with current GNO and ORCA/C versions.
This commit is contained in:
Stephen Heumann 2017-05-14 20:50:16 -05:00
parent 6e5dafe039
commit f6ce72346a
1 changed files with 1 additions and 9 deletions

View File

@ -394,16 +394,8 @@ Epilog(int ret_code)
PUBLIC char *
Get_current_dir(void)
{
#if defined (GNO)
#define PATH_MAX2 66
#if ((PATH_MAX + 2) != PATH_MAX2 )
#error "sysintf.c: ensure PATH_MAX2 is same as PATH_MAX + 2"
#endif
static char buf[PATH_MAX2]; /* must be identical to PATH_MAX + 2 */
#else
static char buf[PATH_MAX+2];
#endif
return(getcwd(buf, sizeof(buf)));
}