mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
Oops, don't edit a file when your checkin hasn't finished
This commit is contained in:
parent
1a49497348
commit
19f5d8f164
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user