This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fixinc bugfix for alpha-osf



  In message <19990610210831.20302.qmail@egcs.cygnus.com>you write:
  > 
  > 
  > This fix is slightly broken.  When the string quotes were changed from
  > single quotes to double, the string formation rules change as well.
  > Double quoted strings follow C syntax rules.  Single quoted strings
  > are pretty close to shell single quoted strings.  (I added this exception:
  > 
  >     backslash escapes are honored (processed) before these _THREE_
  >     characters _ONLY_:  \ ' #
  > 
  > The new syntax causes the four backslashes to disappear from the
  > result string.  The test string should appear as:
  > 
  >     test   = '-z "`echo ${file} | egrep \'(CC|cxx|\+\+)/\'`"';
  > 
  > retaining the single outer quotes.  The first and last backslashes
  > will disappear during string formation, the middle two (before the
  > pluses) will appear in the result string.
Then please fix it for both the mainline and the branch. 

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]