[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-committers
Subject:    [ProFTPD-committers] CVS: proftpd/contrib/mod_sftp fxp.c, 1.88.2.3,
From:       "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date:       2010-04-28 0:12:18
Message-ID: E1O6ut0-0005tM-AF () sfp-cvsdas-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/proftp/proftpd/contrib/mod_sftp
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22635/contrib/mod_sftp

Modified Files:
      Tag: B1_3_3
	fxp.c 
Log Message:

Backport of fix for Bug#3450 to the 1.3.3 branch.


Index: fxp.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/fxp.c,v
retrieving revision 1.88.2.3
retrieving revision 1.88.2.4
diff -u -r1.88.2.3 -r1.88.2.4
--- fxp.c	27 Apr 2010 18:46:39 -0000	1.88.2.3
+++ fxp.c	28 Apr 2010 00:12:16 -0000	1.88.2.4
@@ -629,6 +629,12 @@
       res |= O_APPEND;
     }
 #endif
+
+  } else if (flags & SSH2_FXF_APPEND) {
+    /* Assume FXF_WRITE, since the client didn't explicitly provide either
+     * FXF_READ or FXF_WRITE.
+     */
+    res = O_WRONLY|O_APPEND;
   }
 
   if (flags & SSH2_FXF_CREAT) {


------------------------------------------------------------------------------
_______________________________________________
ProFTPD Committers Mailing List
proftpd-committers@proftpd.org
https://lists.sourceforge.net/lists/listinfo/proftp-committers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic