cvs commit: src/usr.bin/lockf lockf.c

Christian S.J. Peron csjp at FreeBSD.org
Sat Oct 8 21:40:57 PDT 2005


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


More information about the cvs-all mailing list