summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f596157)
raw | patch | inline | side by side (parent: f596157)
author | Dennis Stosberg <dennis@stosberg.net> | |
Mon, 2 Oct 2006 17:23:53 +0000 (19:23 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 2 Oct 2006 18:49:45 +0000 (11:49 -0700) |
lock_ref_sha1_basic relies on errno beeing set to EISDIR by the
call to read() in resolve_ref() to detect directories. But calling
read() on a directory under NetBSD returns EPERM, and even succeeds
for local filesystems on FreeBSD.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
call to read() in resolve_ref() to detect directories. But calling
read() on a directory under NetBSD returns EPERM, and even succeeds
for local filesystems on FreeBSD.
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | patch | blob | history |