Author: vasi
Date: Thu Oct  5 04:08:53 2006
New Revision: 86

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=86&repname=user%3a+vasi>
Log:
don't leave turds sitting around

Modified:
    ccache-multiarch/trunk/ccache.c

Modified: ccache-multiarch/trunk/ccache.c
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/ccache-multiarch/trunk/ccache.c&rev=86&repname=user%3a+vasi>
==============================================================================
--- ccache-multiarch/trunk/ccache.c (original)
+++ ccache-multiarch/trunk/ccache.c Thu Oct  5 04:08:53 2006
@@ -978,7 +978,7 @@
 {
        ARGS *lipo_args;
        const char *lipo;
-       int i;
+       int i, status;
        
        if (!arches) {
                exit(0); // we're not needed
@@ -1008,7 +1008,8 @@
        
        /* run it, and exit */
        unlink(final_out);
-       exit(execv(lipo, lipo_args->argv));
+       status = execute(lipo_args->argv, NULL, NULL);
+       safe_exit(status);
 }
 
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to