Mercurial > hg > octave-max
changeset 3112:92394a9e4784
[project @ 1997-11-27 02:02:27 by jwe]
author | jwe |
---|---|
date | Thu, 27 Nov 1997 02:02:32 +0000 |
parents | fe6f9bd9d0e6 |
children | 61bb314b2c3d |
files | liboctave/ChangeLog liboctave/lo-sysdep.cc |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. + Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> Changes to make support egcs snapshots that implement explicit
--- a/liboctave/lo-sysdep.cc +++ b/liboctave/lo-sysdep.cc @@ -61,10 +61,10 @@ #if defined (__EMX__) tmp = _getcwd2 (buf, MAXPATHLEN); +#elif defined (HAVE_GETCWD) + tmp = getcwd (buf, MAXPATHLEN); #elif defined (HAVE_GETWD) tmp = getwd (buf); -#elif defined (HAVE_GETCWD) - tmp = getcwd (buf, MAXPATHLEN); #endif if (tmp)