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

List:       kde-commits
Subject:    kdenonbeta/icecream/icecream/client
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-09-06 6:00:39
Message-ID: 20040906060039.D46461690 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

fixing the default output name for -S calls


  M +5 -1      arg.cpp   1.25


--- kdenonbeta/icecream/icecream/client/arg.cpp  #1.24:1.25
@@ -288,5 +288,9 @@ bool analyse_argv( const char * const *a
 
             if ( !always_local && ofile.empty() ) {
-                ofile = ifile.substr( 0, dot_index ) + ".o";
+                ofile = ifile.substr( 0, dot_index );
+                if ( seen_s )
+                    ofile += ".s";
+                else
+                    ofile += ".o";
                 string::size_type slash = ofile.find_last_of( '/' );
                 if ( slash != string::npos )


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

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