[pkg-eucalyptus-commits] r192 - axis2c/trunk/debian/patches

Brian Thomason iamfuzz-guest at alioth.debian.org
Mon Apr 2 21:42:59 UTC 2012


Author: iamfuzz-guest
Date: 2012-04-02 21:42:59 +0000 (Mon, 02 Apr 2012)
New Revision: 192

Added:
   axis2c/trunk/debian/patches/10-use-chdir-retval.diff
Modified:
   axis2c/trunk/debian/patches/series
Log:
Added patch which allows for the use of the retval on chdir calls, otherwise compilation fails


Added: axis2c/trunk/debian/patches/10-use-chdir-retval.diff
===================================================================
--- axis2c/trunk/debian/patches/10-use-chdir-retval.diff	                        (rev 0)
+++ axis2c/trunk/debian/patches/10-use-chdir-retval.diff	2012-04-02 21:42:59 UTC (rev 192)
@@ -0,0 +1,23 @@
+--- util/src/dir_handler.c	2009-04-06 04:49:04.000000000 +0000
++++ ../../build-area/axis2c-1.6.0/util/src/dir_handler.c	2012-04-02 19:13:33.695826943 +0000
+@@ -206,12 +206,20 @@
+ 
+     /* pathname is path of services directory or modules directory. */
+     chdir_result =  AXIS2_CHDIR(pathname);
++    if (chdir_result != 0)
++    {
++      /* Should probably exit here if chdir call fails? */
++    }
+ #ifdef AXIS2_ARCHIVE_ENABLED
+     axis2_archive_extract();
+ #endif
+ 
+     count = AXIS2_SCANDIR(pathname, &files, dir_select, AXIS2_ALPHASORT);
+     chdir_result = AXIS2_CHDIR(cwd);
++    if (chdir_result != 0)
++    {
++      /* Should probably exit here if chdir call fails? */
++    }
+ 
+     /* If no files found, make a non-selectable menu item */
+     if (count <= 0)

Modified: axis2c/trunk/debian/patches/series
===================================================================
--- axis2c/trunk/debian/patches/series	2012-04-02 18:39:07 UTC (rev 191)
+++ axis2c/trunk/debian/patches/series	2012-04-02 21:42:59 UTC (rev 192)
@@ -6,3 +6,4 @@
 07-ssl-method-cast.patch
 08-uri-use-after-free.patch
 09-fix-gcc-4.6.patch
+10-use-chdir-retval.diff




More information about the pkg-eucalyptus-commits mailing list