Changeset 268 for trunk


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

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

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r267 r268  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 2.6.1)
     14AM_INIT_AUTOMAKE(samhain, 2.6.1a)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
  • trunk/docs/Changelog

    r265 r268  
     12.6.1a (22-12-2009):
     2        * fix typo in code for older inotify versions without
     3          inotify_init1(), reported by Forll
     4
    152.6.1 (21-12-2009):
    26        * add a routine to log monitoring module to guess the proper year
  • 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.