Author Topic: mod_fsync proftpd 1.3.6  (Read 373 times)

Offline dims

  • New user
  • *
  • Posts: 1
    • View Profile
mod_fsync proftpd 1.3.6
« on: April 20, 2017, 07:17:03 am »
Hello
mod_fsync doesnt compile with provtpd 1.3.6
mod_fsync.c: In function 'fsync_write':
mod_fsync.c:143: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'off_t'
mod_fsync.c: In function 'set_fsyncengine':
mod_fsync.c:184: warning: implicit declaration of function 'HANDLED'
mod_fsync.c:184: warning: return makes pointer from integer without a cast
mod_fsync.c: In function 'set_fsynclog':
mod_fsync.c:196: warning: return makes pointer from integer without a cast
mod_fsync.c: In function 'set_fsyncthreshold':
mod_fsync.c:224: warning: return makes pointer from integer without a cast
mod_fsync.c: In function 'fsync_postparse_ev':
mod_fsync.c:269: error: 'LOG_SYMLINK' undeclared (first use in this function)
mod_fsync.c:269: error: (Each undeclared identifier is reported only once
mod_fsync.c:269: error: for each function it appears in.)
mod_fsync.c:274: error: 'LOG_WRITEABLE_DIR' undeclared (first use in this function)
make[1]: *** [mod_fsync.o] Error 1

Offline castaglia

  • Administrator
  • Support Hero
  • *****
  • Posts: 5373
    • View Profile
    • http://www.castaglia.org/
Re: mod_fsync proftpd 1.3.6
« Reply #1 on: April 21, 2017, 02:57:56 pm »
This should now be fixed; I moved that module to a GitHub repo, and hooked up Travis CI to prevent such bitrotting in the future.  See:

  https://github.com/Castaglia/proftpd-mod_fsync/releases/tag/v0.3

Thanks!