SOURCES: apr-bug-46425.patch - initialize flags first

arekm arekm at pld-linux.org
Sun Feb 22 01:08:52 CET 2009


Author: arekm                        Date: Sun Feb 22 00:08:52 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initialize flags first

---- Files affected:
SOURCES:
   apr-bug-46425.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/apr-bug-46425.patch
diff -u SOURCES/apr-bug-46425.patch:1.1 SOURCES/apr-bug-46425.patch:1.2
--- SOURCES/apr-bug-46425.patch:1.1	Sun Feb 22 00:53:23 2009
+++ SOURCES/apr-bug-46425.patch	Sun Feb 22 01:08:46 2009
@@ -7,7 +7,7 @@
                                 int protocol, apr_pool_t *cont)
  {
 -    int family = ofamily;
-+    int family = ofamily, flags;
++    int family = ofamily, flags = 0;
 +
 +#ifdef SOCK_CLOEXEC
 +    flags |= SOCK_CLOEXEC;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apr-bug-46425.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list