forked from KolibriOS/kolibrios
binutils: build objcopy.
git-svn-id: svn://kolibrios.org@5217 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -64,9 +64,9 @@ unlink_if_ordinary (const char *name)
|
||||
{
|
||||
struct stat st;
|
||||
|
||||
// if (lstat (name, &st) == 0
|
||||
// && (S_ISREG (st.st_mode) || S_ISLNK (st.st_mode)))
|
||||
// return unlink (name);
|
||||
if (lstat (name, &st) == 0
|
||||
&& (S_ISREG (st.st_mode) || S_ISLNK (st.st_mode)))
|
||||
return unlink (name);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user