This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Fwd: Re: patch v2 add restrict to string.h methods
- From: Freddie Chopin <freddie_chopin at op dot pl>
- To: newlib at sourceware dot org
- Date: Thu, 08 Aug 2013 17:04:38 +0200
- Subject: Fwd: Re: patch v2 add restrict to string.h methods
- References: <51FCC5BC dot 3020400 at op dot pl>
Ping (;
-- TreÅÄ oryginalnej wiadomoÅci --
Temat: Re: patch v2 add restrict to string.h methods
Data: Sat, 03 Aug 2013 10:56:28 +0200
Nadawca: Freddie Chopin <freddie_chopin@op.pl>
Adresat: newlib@sourceware.org
W dniu 19.07.2013 16:17, Joel Sherrill pisze:
Attached is v3. OK this time?
Here's a patch that fixes building pdfs. With current code it fails with
"missing endgroup or stray {" or sth like that (sorry, don't have the
exact message right now).
Regards,
FCh
diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c
index d31a030..2f5a061 100644
--- a/newlib/libc/string/strncat.c
+++ b/newlib/libc/string/strncat.c
@@ -7,7 +7,7 @@ INDEX
ANSI_SYNOPSIS
#include <string.h>
- char *strncat(char *<restrict [dst]>, const char *<restrict [src]>,
+ char *strncat(char *restrict <[dst]>, const char *restrict <[src]>,
size_t <[length]>);
TRAD_SYNOPSIS