[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.93, 1.94
From:       "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date:       2010-04-27 18:46:36
Message-ID: E1O6pno-00071e-Fn () 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-serv26970/contrib/mod_sftp

Modified Files:
	fxp.c 
Log Message:

Correct a comment.


Index: fxp.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/fxp.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- fxp.c	27 Apr 2010 18:42:47 -0000	1.93
+++ fxp.c	27 Apr 2010 18:46:34 -0000	1.94
@@ -635,9 +635,9 @@
   if (flags & SSH2_FXF_CREAT) {
     res |= O_CREAT;
 
-    /* Since the behavior of open(2) if O_EXCL is set and O_CREAT is not
-     * set, we avoid that situation, and only check for the FXF_EXCL SSH flag
-     * if the FXF_CREAT flag is set.
+    /* Since the behavior of open(2) when O_EXCL is set and O_CREAT is not
+     * set is undefined, we avoid that situation, and only check for the
+     * FXF_EXCL SSH flag if the FXF_CREAT flag is set.
      */
     if (flags & SSH2_FXF_EXCL) {
       res |= O_EXCL;


------------------------------------------------------------------------------
_______________________________________________
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