1 diff -urN pure-ftpd-1.0.16c/src/ftpd.c pure-ftpd-1.0.17/src/ftpd.c
2 --- pure-ftpd-1.0.16c/src/ftpd.c 2003-10-19 20:05:08.000000000 +0200
3 +++ pure-ftpd-1.0.17/src/ftpd.c 2003-11-11 22:09:02.000000000 +0100
9 -# ifdef USE_CAPABILITIES
15 if (authresult.uid > (uid_t) 0) {
17 @@ -1193,10 +1187,8 @@
22 -# ifdef USE_CAPABILITIES
23 +#ifdef USE_CAPABILITIES
30 die(421, LOG_ERR, MSG_CHROOT_FAILED);
33 -# ifdef USE_CAPABILITIES
36 if (setuid(authresult.uid) != 0 || seteuid(authresult.uid) != 0) {
43 +#ifdef USE_CAPABILITIES
48 if (ratio_for_non_anon == 0) {
49 @@ -1718,13 +1710,8 @@
51 addreply(230, MSG_CURRENT_DIR_IS, wd);
54 -# ifdef USE_CAPABILITIES
58 logfile(LOG_INFO, MSG_IS_NOW_LOGGED_IN, account);
61 if (shm_data_cur != NULL) {
63 strncpy(shm_data_cur->account, account,
66 state_needs_update = 1;
71 if (getcwd(wd, sizeof wd - (size_t) 1U) == NULL) {