]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(remove_entry) [ROOT_CAN_UNLINK_DIRS && HAVE_STRUCT_DIRENT_D_TYPE]: If a file
authorJim Meyering <jim@meyering.net>
Tue, 21 Jan 2003 18:49:49 +0000 (18:49 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 21 Jan 2003 18:49:49 +0000 (18:49 +0000)
commitc59a8e2d32e25ab8807335dbb2d34f19b23e2825
tree4f93165a71359be7281714151a76f3fb0ca0bcce
parent2b2a4a83def56950e5febd5498a8b13f8982cda1
(remove_entry) [ROOT_CAN_UNLINK_DIRS && HAVE_STRUCT_DIRENT_D_TYPE]: If a file
has d_type == DT_UNKNOWN it may still be a directory -- or not (e.g., with
FreeBSD on an NFS-mounted file system), so resort to calling lstat to find out.
src/remove.c