Date: Sun, 9 Oct 2005 04:40:56 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/lockf lockf.c Message-ID: <200510090440.j994euDq034838@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2005-10-09 04:40:56 UTC
FreeBSD src repository
Modified files:
usr.bin/lockf lockf.c
Log:
Woops, in my previous commit, I actually committed some style changes with
a functional change. I know this is a big no no, so this is a forced commit
to note the functional changes from my previous revision:
@@ -196,7 +176,7 @@ wait_for_lock(const char *name, int flag
int fd;
if ((fd = open(name, O_CREAT|O_RDONLY|O_EXLOCK|flags, 0666)) == -1) {
- if (errno == ENOENT || errno == EINTR || errno == EAGAIN)
+ if (errno == EINTR || errno == EAGAIN)
return (-1);
err(EX_CANTCREAT, "cannot open %s", name);
}
Revision Changes Path
1.15 +0 -0 src/usr.bin/lockf/lockf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510090440.j994euDq034838>
