Subject: CVS commit: src/sys/compat/linux/common
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 08/13/2004 21:27:32
Module Name: src
Committed By: jdolecek
Date: Fri Aug 13 21:27:32 UTC 2004
Modified Files:
src/sys/compat/linux/common: linux_file.c
Log Message:
on Linux, unlink() fails with EISDIR if the target is directory,
rather than EPERM; to emulate this properly, translate the error to EISDIR
if the target patch exists and points to a directory
this fixes the 'ant clean' problem reported by Marc Recht on current-users@
with SuSE 9.1 libraries
To generate a diff of this commit:
cvs rdiff -r1.62 -r1.63 src/sys/compat/linux/common/linux_file.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.