Search
j0ke.net Open Build Service
>
Projects
>
server:ftp
:
rebuild
>
pure-ftpd
> pureftpd-utime.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File pureftpd-utime.patch of Package pure-ftpd
--- src/ftpd.c.orig 2009-02-26 14:02:28.000000000 +0100 +++ src/ftpd.c 2009-02-26 14:03:07.000000000 +0100 @@ -2541,7 +2541,7 @@ tm.tm_mon--; tm.tm_year -= 1900; if (tm.tm_mon < 0 || tm.tm_year <= 0 || - (ts = mktime(&tm)) == (time_t) -1) { + (ts = timegm(&tm)) == (time_t) -1) { addreply_noformat(501, MSG_TIMESTAMP_FAILURE); return; }