Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37799025
en ru br
ALT Linux repos
S:4.4.0-alt2
5.0: 3.81-alt2
4.1: 3.81-alt2
4.0: 3.81-alt2
3.0: 3.81beta3-alt4

Group :: Development/Other
RPM: make

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: make-3.82-cvs-23.patch
Download


2012-09-09  Eli Zaretskii  <eliz@gnu.org>
	* read.c (unescape_char): Fix a thinko in the last change.
--- a/read.c
+++ b/read.c
@@ -2242,16 +2242,19 @@ unescape_char (char *string, int c)
           l = e - s;
 
           if (*e != c || l%2 == 0)
-            /* It's not; just take it all without unescaping.  */
-            memcpy (p, s, l);
+	    {
+	      /* It's not; just take it all without unescaping.  */
+	      memcpy (p, s, l);
+	      p += l;
+	    }
           else if (l > 1)
             {
               /* It is, and there's >1 backslash.  Take half of them.  */
               l /= 2;
               memcpy (p, s, l);
+	      p += l;
             }
           s = e;
-          p += l;
         }
 
       *(p++) = *(s++);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin