diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-06-06 10:27:59 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-06-06 10:27:59 +0000 |
commit | c369014146eb1fb32c3dd5566a71bdd084220d2a (patch) | |
tree | 02d97750a74bf2321aaaa2c6184eb021a07f8736 /gdb/source.c | |
parent | 3ffd33cf59cb308d57b1778cd6ec8ed27cdf2f51 (diff) | |
download | gdb-c369014146eb1fb32c3dd5566a71bdd084220d2a.zip gdb-c369014146eb1fb32c3dd5566a71bdd084220d2a.tar.gz gdb-c369014146eb1fb32c3dd5566a71bdd084220d2a.tar.bz2 |
* source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
* completer.c: Ditto.
* cli/cli-cmds.c (cd_command): Ditto.
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/source.c b/gdb/source.c index fdb6859..ebc82dc 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -332,7 +332,7 @@ mod_path (char *dirname, char **which_path) } if (!(IS_DIR_SEPARATOR (*name) && p <= name + 1) /* "/" */ -#if HAVE_DOS_BASED_FILE_SYSTEM +#ifdef HAVE_DOS_BASED_FILE_SYSTEM /* On MS-DOS and MS-Windows, h:\ is different from h: */ && !(p == name + 3 && name[1] == ':') /* "d:/" */ #endif @@ -371,7 +371,7 @@ mod_path (char *dirname, char **which_path) if (name[0] == '~') name = tilde_expand (name); -#if HAVE_DOS_BASED_FILE_SYSTEM +#ifdef HAVE_DOS_BASED_FILE_SYSTEM else if (IS_ABSOLUTE_PATH (name) && p == name + 2) /* "d:" => "d:." */ name = concat (name, ".", NULL); #endif |