This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] use @dots{} in texinfo pages
- From: Andreas Schwab <schwab at suse dot de>
- To: Art Haas <ahaas at neosoft dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 22 Jun 2002 22:01:17 +0200
- Subject: Re: [PATCH] use @dots{} in texinfo pages
- References: <20020622192819.GA10774@debian>
Art Haas <ahaas@neosoft.com> writes:
|> Hi.
|>
|> Here's a patch that replaces occurances of "..." with
|> the @dots{} texinfo command. The patch is against the
|> current mainline.
The following occurences should not be replaced:
|> Index: math.texi
|> ===================================================================
|> RCS file: /cvs/glibc/libc/manual/math.texi,v
|> retrieving revision 1.67
|> diff -u -r1.67 math.texi
|> --- math.texi 28 Aug 2001 08:05:40 -0000 1.67
|> +++ math.texi 22 Jun 2002 19:20:13 -0000
|> @@ -1220,7 +1220,7 @@
|> @end tex
|> @ifnottex
|> @smallexample
|> -|d.d...d - (z / 2^e)| / 2^(p - 1)
|> +|d.d@dots{}d - (z / 2^e)| / 2^(p - 1)
|> @end smallexample
|> @end ifnottex
|>
|> Index: resource.texi
|> ===================================================================
|> RCS file: /cvs/glibc/libc/manual/resource.texi,v
|> retrieving revision 1.11
|> diff -u -r1.11 resource.texi
|> --- resource.texi 5 Jun 2001 06:20:59 -0000 1.11
|> +++ resource.texi 22 Jun 2002 19:20:32 -0000
|> @@ -436,7 +436,7 @@
|>
|> @comment ulimit.h
|> @comment BSD
|> -@deftypefun int ulimit (int @var{cmd}, ...)
|> +@deftypefun int ulimit (int @var{cmd}, @dots{})
|>
|> @code{ulimit} gets the current limit or sets the current and maximum
|> limit for a particular resource for the calling process according to the
|> Index: startup.texi
|> ===================================================================
|> RCS file: /cvs/glibc/libc/manual/startup.texi,v
|> retrieving revision 1.47
|> diff -u -r1.47 startup.texi
|> --- startup.texi 27 May 2001 06:53:41 -0000 1.47
|> +++ startup.texi 22 Jun 2002 19:20:37 -0000
|> @@ -625,7 +625,7 @@
|>
|> @comment unistd.h
|> @comment ???
|> -@deftypefun {long int} syscall (long int @var{sysno}, ...)
|> +@deftypefun {long int} syscall (long int @var{sysno}, @dots{})
|>
|> @code{syscall} performs a generic system call.
|>
|> Index: stdio.texi
|> ===================================================================
|> RCS file: /cvs/glibc/libc/manual/stdio.texi,v
|> retrieving revision 1.132
|> diff -u -r1.132 stdio.texi
|> --- stdio.texi 22 Apr 2002 19:42:10 -0000 1.132
|> +++ stdio.texi 22 Jun 2002 19:21:03 -0000
|> @@ -2449,8 +2449,8 @@
|> For example:
|>
|> @smallexample
|> -#define myprintf(a, b, c, d, e, rest...) \
|> - printf (mytemplate , ## rest...)
|> +#define myprintf(a, b, c, d, e, rest@dots{}) \
|> + printf (mytemplate , ## rest@dots{})
|> @end smallexample
|>
|> @noindent
|> @@ -2565,7 +2565,7 @@
|> #include <stdarg.h>
|>
|> void
|> -eprintf (const char *template, ...)
|> +eprintf (const char *template, @dots{})
|> @{
|> va_list ap;
|> extern char *program_invocation_short_name;
|> @@ -2592,7 +2592,7 @@
|> For example, take this declaration of @code{eprintf}:
|>
|> @smallexample
|> -void eprintf (const char *template, ...)
|> +void eprintf (const char *template, @dots{})
|> __attribute__ ((format (printf, 1, 2)));
|> @end smallexample
|>
|> Index: syslog.texi
|> ===================================================================
|> RCS file: /cvs/glibc/libc/manual/syslog.texi,v
|> retrieving revision 1.4
|> diff -u -r1.4 syslog.texi
|> --- syslog.texi 18 Jan 2002 05:39:18 -0000 1.4
|> +++ syslog.texi 22 Jun 2002 19:21:05 -0000
|> @@ -275,7 +275,7 @@
|> @c syslog() is implemented as a call to vsyslog().
|> @comment syslog.h
|> @comment BSD
|> -@deftypefun void syslog (int @var{facility_priority}, char *@var{format}, ...)
|> +@deftypefun void syslog (int @var{facility_priority}, char *@var{format}, @dots{})
|>
|> @code{syslog} submits a message to the Syslog facility. It does this by
|> writing to the Unix domain socket @code{/dev/log}.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."