Date: Mon, 16 Feb 2009 11:26:01 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/ftp/pure-ftpd Makefile ports/ftp/pure-ftpd/files patch-src_ftpd.c Message-ID: <200902161126.n1GBQ1LN063945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
garga 2009-02-16 11:26:01 UTC
FreeBSD ports repository
Modified files:
ftp/pure-ftpd Makefile
ftp/pure-ftpd/files patch-src_ftpd.c
Log:
Fix following problem:
Pure-ftpd supports the "SITE UTIME" command, which allows the client to set the
modification time of a file to a particular timestamp, expressed in UTC.
However, pure-ftpd passes the UTC timestamp directly to the operating system's
utime() function, which is a bug, because utime() requires that the timestamp be
in local time instead of UTC.
For example for server with MSK localtime:
> ---> MDTM cuba2008_1.mpeg.stat
> <--- 213 20090106074437
> ---> SITE UTIME cuba2008_1.mpeg.stat 20090106104437 20090106104437 20090106104437 UTC
> <--- 250 UTIME OK
PR: ports/131645
Submitted by: Yar Odin <yarodin@gmai.com>
Revision Changes Path
1.61 +1 -1 ports/ftp/pure-ftpd/Makefile
1.2 +12 -5 ports/ftp/pure-ftpd/files/patch-src_ftpd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902161126.n1GBQ1LN063945>
