Mercurial > hg > octave-avbm
changeset 1804:793ce4135de7
[project @ 1996-01-29 06:45:38 by jwe]
author | jwe |
---|---|
date | Mon, 29 Jan 1996 06:45:38 +0000 |
parents | 3a16afafc2ee |
children | ba9c62430202 |
files | src/dirfns.cc |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -28,7 +28,7 @@ Free Software Foundation, Inc. polite_directory_format absolute_pathname - absolute_program base_pathname + base_pathname make_absolute pathname_backup change_to_directory get_working_directory @@ -147,16 +147,6 @@ return 0; } -// Return 1 if STRING is an absolute program name; it is absolute if -// it contains any slashes. This is used to decide whether or not to -// look up through $PATH. - -static int -absolute_program (const string& s) -{ - return (s.find ('/') != NPOS); -} - // Return the `basename' of the pathname in STRING (the stuff after // the last '/'). If STRING is not a full pathname, simply return it.