[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.2,
From:       "TJ Saunders" <castaglia () users ! sourceforge ! net>
Date:       2010-04-27 18:46:41
Message-ID: E1O6pnt-000724-6a () 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-serv26983/contrib/mod_sftp

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

Correct a comment.


Index: fxp.c
===================================================================
RCS file: /cvsroot/proftp/proftpd/contrib/mod_sftp/fxp.c,v
retrieving revision 1.88.2.2
retrieving revision 1.88.2.3
diff -u -r1.88.2.2 -r1.88.2.3
--- fxp.c	27 Apr 2010 18:43:04 -0000	1.88.2.2
+++ fxp.c	27 Apr 2010 18:46:39 -0000	1.88.2.3
@@ -634,9 +634,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