Fix backslash expression in here string

[[Split portion of a mixed commit.]]

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r99322.2
This commit is contained in:
Bruce Korb 2005-05-06 16:33:18 +00:00 committed by Bruce Korb
parent 1bc5f355d9
commit 7673b71ce9
3 changed files with 22 additions and 16 deletions

View File

@ -1,3 +1,9 @@
2005-05-06 Bruce Korb <bkorb@gnu.org>
Joseph S. Myers <joseph@codesourcery.com>
* fixinc/inclhack.def: Correct backslashes
* fixinc/fixincl.x: regen
2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h (fopen, fdopen, freopen): Define these to the unlocked

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Monday March 21, 2005 at 05:22:01 PM CET
* It has been AutoGen-ed Friday May 6, 2005 at 09:31:52 AM PDT
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT CVS-MERGE THIS FILE, EITHER Mon Mar 21 17:22:01 CET 2005
/* DO NOT CVS-MERGE THIS FILE, EITHER Fri May 6 09:31:52 PDT 2005
*
* You must regenerate it. Use the ./genfixes script.
*
@ -124,13 +124,13 @@ static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
#include_next <gnu/types.h>\n\n\
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
#undef __FD_ZERO\n\
# define __FD_ZERO(fdsetp) \\\\\n\
do { \\\\\n\
int __d0, __d1; \\\\\n\
__asm__ __volatile__(\"cld ; rep ; stosl\" \\\\\n\
\t: \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\\\n\
\"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\\\n\
# define __FD_ZERO(fdsetp) \\\n\
do { \\\n\
int __d0, __d1; \\\n\
__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
\"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
} while (0)\n\
#endif\n\n\
#define _TYPES_H_WRAPPER\n\

View File

@ -82,13 +82,13 @@ fix = {
#if defined(__FD_ZERO) && !defined(__GLIBC__)
#undef __FD_ZERO
# define __FD_ZERO(fdsetp) \\
do { \\
int __d0, __d1; \\
__asm__ __volatile__("cld ; rep ; stosl" \\
: "=&c" (__d0), "=&D" (__d1) \\
: "a" (0), "0" (__FDSET_LONGS), \\
"1" ((__fd_set *) (fdsetp)) :"memory"); \\
# define __FD_ZERO(fdsetp) \
do { \
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "0" (__FDSET_LONGS), \
"1" ((__fd_set *) (fdsetp)) :"memory"); \
} while (0)
#endif