This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Fix concat example in manual
- From: Andreas Jaeger <aj at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Cc: David C.Rankin <drankinatty at suddenlinkmail dot com>
- Date: Mon, 14 May 2012 15:31:02 +0200
- Subject: Fix concat example in manual
David mentioned on an openSUSE mailing list the following omission, I've
committed the change below as obvious to fix it.
Andreas
2012-05-14 Andreas Jaeger <aj@suse.de>
* manual/string.texi (Copying and Concatenation): Add missing
variable in concat example.
Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
diff --git a/manual/string.texi b/manual/string.texi
index af21bcc..5051f54 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -886,6 +886,7 @@ concat (const char *str, @dots{})
@{
char *newp;
char *wp;
+ const char *s;
va_start (ap, str);
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix ImendÃrffer,HRB16746 (AG NÃrnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126