[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Dirk Mueller <mueller () kde ! org>
Date:       2006-03-17 14:24:33
Message-ID: 1142605473.987723.9290.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 519567 by mueller:

fix segmentation fault upon "gcc -o"


 M  +2 -1      arg.cpp  


--- trunk/icecream/client/arg.cpp #519566:519567
@@ -158,7 +158,8 @@
             } else if (str_startswith("-o", a)) {
                 if (!strcmp(a, "-o")) {
                     /* Whatever follows must be the output */
-                    ofile = argv[++i];
+		    if ( argv[i+1] )
+                      ofile = argv[++i];
                 } else {
                     a += 2;
                     ofile = a;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic