Changeset 268 for trunk/src/sh_inotify.c


Ignore:
Timestamp:
Dec 22, 2009, 12:28:00 PM (15 years ago)
Author:
katerina
Message:

Fix for typo in alternative inotify code (ticket #186).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_inotify.c

    r265 r268  
    147147          long sflags;
    148148
    149           sflags = retry_fcntl(FIL__, __LINE__, fd, F_GETFD, 0);
    150           retry_fcntl(FIL__, __LINE__, fd, F_SETFD, sflags|FD_CLOEXEC);
     149          sflags = retry_fcntl(FIL__, __LINE__, ifd, F_GETFD, 0);
     150          retry_fcntl(FIL__, __LINE__, ifd, F_SETFD, sflags|FD_CLOEXEC);
    151151        }
    152152#endif
Note: See TracChangeset for help on using the changeset viewer.