projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a49497
)
Oops, don't edit a file when your checkin hasn't finished
author
J.T. Conklin
<jtc@acorntoolworks.com>
Mon, 31 Jul 1995 22:50:21 +0000
(22:50 +0000)
committer
J.T. Conklin
<jtc@acorntoolworks.com>
Mon, 31 Jul 1995 22:50:21 +0000
(22:50 +0000)
gdb/source.c
patch
|
blob
|
history
diff --git
a/gdb/source.c
b/gdb/source.c
index b2c4a5628c0afe7d912858c170b77e6f1d0931e8..7b7aead22e1581f7e14d14e01813d2010b8ab0ec 100644
(file)
--- a/
gdb/source.c
+++ b/
gdb/source.c
@@
-364,7
+364,7
@@
mod_path (dirname, which_path)
fprintf_unfiltered (gdb_stderr, "Warning: ");
print_sys_errmsg (name, save_errno);
}
- else if (
!S_ISDIR(st.st_mode)
)
+ else if (
(st.st_mode & S_IFMT) != S_IFDIR
)
warning ("%s is not a directory.", name);
}