FreeBSD Bugzilla – Attachment 93678 Details for
Bug 131645
[UPDATE] ftp/pure-ftpd 1.0.21_2 to portrevision 3 - fix UTIME bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.29 KB, created by
Yarodin
on 2009-02-13 15:30:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yarodin
Created:
2009-02-13 15:30:02 UTC
Size:
1.29 KB
patch
obsolete
>diff -ruN pure-ftpd.orig/Makefile pure-ftpd/Makefile >--- pure-ftpd.orig/Makefile 2008-02-16 08:57:37.000000000 +0300 >+++ pure-ftpd/Makefile 2009-02-13 17:59:31.000000000 +0300 >@@ -7,7 +7,7 @@ > > PORTNAME= pure-ftpd > PORTVERSION= 1.0.21 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= ftp ipv6 > MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \ > ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \ >diff -ruN pure-ftpd.orig/files/patch-src_ftpd.c pure-ftpd/files/patch-src_ftpd.c >--- pure-ftpd.orig/files/patch-src_ftpd.c 2008-02-14 14:55:22.000000000 +0300 >+++ pure-ftpd/files/patch-src_ftpd.c 2009-02-13 17:56:30.000000000 +0300 >@@ -1,6 +1,15 @@ >---- src/ftpd.c 2006-02-21 14:14:49.000000000 +0100 >-+++ src/ftpd.c 2007-12-20 14:53:56.000000000 +0100 >-@@ -3439,14 +3439,14 @@ void dofeat(void) >+--- src/ftpd.c.orig 2006-02-21 16:14:49.000000000 +0300 >++++ src/ftpd.c 2009-02-13 17:55:48.000000000 +0300 >+@@ -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; >+ } >+@@ -3439,14 +3439,14 @@ > # define FEAT_UTF8 "" > #endif > >@@ -17,5 +26,3 @@ > } > #endif > addreply_noformat(0, feat); >- >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131645
: 93678