stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r292347 - /incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg
Date Wed, 28 Sep 2005 23:30:45 GMT
Author: sebor
Date: Wed Sep 28 16:30:42 2005
New Revision: 292347

URL: http://svn.apache.org/viewcvs?rev=292347&view=rev
Log:
2005-09-28  Martin Sebor  <sebor@roguewave.com>

	* GNUmakefile.cfg: Used printf instead of echo to append test output
	to the config header in case the output contains embedded escape
	sequences such as "\n" etc.


Modified:
    incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg

Modified: incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg?rev=292347&r1=292346&r2=292347&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg (original)
+++ incubator/stdcxx/trunk/etc/config/GNUmakefile.cfg Wed Sep 28 16:30:42 2005
@@ -176,7 +176,9 @@
               grep "$$symbol$$" config.h ;                               \
               if [ $$? -ne 0 ] ; then                                    \
                   echo "$$symbol" >>$$output;                            \
-                  [ "$$text" != "" ] && echo "$$text" >>$$output;        \
+                  if [ "$$text" != "" ]; then                            \
+                      printf "%s\n" "$$text" >>$$output;                 \
+                  fi;                                                    \
               fi;                                                        \
           done;                                                          \
           exit 0)



Mime
View raw message