This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] use @dots{} in texinfo pages


Hi.

Here's a patch that replaces occurances of "..." with
the @dots{} texinfo command. The patch is against the
current mainline.

Thanks.

Art Haas

Index: argp.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/argp.texi,v
retrieving revision 2.16
diff -u -r2.16 argp.texi
--- argp.texi	6 Jul 2001 09:21:19 -0000	2.16
+++ argp.texi	22 Jun 2002 19:19:15 -0000
@@ -467,7 +467,7 @@
 
 
 @smallexample
-...
+@dots{}
 case ARGP_KEY_ARG:
   if (@var{state}->arg_num == 0)
     /* First argument */
Index: arith.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/arith.texi,v
retrieving revision 1.73
diff -u -r1.73 arith.texi
--- arith.texi	19 Jul 2001 14:19:39 -0000	1.73
+++ arith.texi	22 Jun 2002 19:19:24 -0000
@@ -755,9 +755,9 @@
   feclearexcept (FE_ALL_EXCEPT);
   f = compute ();
   raised = fetestexcept (FE_OVERFLOW | FE_INVALID);
-  if (raised & FE_OVERFLOW) @{ /* ... */ @}
-  if (raised & FE_INVALID) @{ /* ... */ @}
-  /* ... */
+  if (raised & FE_OVERFLOW) @{ /* @dots{} */ @}
+  if (raised & FE_INVALID) @{ /* @dots{} */ @}
+  /* @dots{} */
 @}
 @end smallexample
 
@@ -2396,8 +2396,8 @@
 doesn't support infinities.  You can prepend a @code{"+"} or @code{"-"}
 to specify the sign.  Case is ignored when scanning these strings.
 
-The strings @code{"nan"} and @code{"nan(@var{chars...})"} are converted
-to NaN.  Again, case is ignored.  If @var{chars...} are provided, they
+The strings @code{"nan"} and @code{"nan(@var{chars@dots{}})"} are converted
+to NaN.  Again, case is ignored.  If @var{chars@dots{}} are provided, they
 are used in some unspecified fashion to select a particular
 representation of NaN (there can be several).
 
Index: charset.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/charset.texi,v
retrieving revision 1.36
diff -u -r1.36 charset.texi
--- charset.texi	7 Nov 2001 07:19:59 -0000	1.36
+++ charset.texi	22 Jun 2002 19:19:40 -0000
@@ -177,9 +177,9 @@
 @smallexample
 @{
   int c;
-  ...
+  @dots{}
   while ((c = getc (fp)) < 0)
-    ...
+    @dots{}
 @}
 @end smallexample
 
@@ -190,9 +190,9 @@
 @smallexample
 @{
   wint_t c;
-  ...
+  @dots{}
   while ((c = wgetc (fp)) != WEOF)
-    ...
+    @dots{}
 @}
 @end smallexample
 
@@ -437,7 +437,7 @@
   while (! feof (fp))
     @{
       fread (&buf[len], 1, MB_CUR_MAX - len, fp);
-      /* @r{... process} buf */
+      /* @r{@dots{} process} buf */
       len -= used;
     @}
 @}
@@ -491,7 +491,7 @@
   mbstate_t state;
   memset (&state, '\0', sizeof (state));
   /* @r{from now on @var{state} can be used.}  */
-  ...
+  @dots{}
 @}
 @end smallexample
 
@@ -523,7 +523,7 @@
   mbstate_t state;
   memset (&state, '\0', sizeof (state));
   /* @r{Use @var{state}.}  */
-  ...
+  @dots{}
   if (! mbsinit (&state))
     @{
       /* @r{Emit code to return to initial state.}  */
@@ -531,7 +531,7 @@
       const wchar_t *srcp = empty;
       wcsrtombs (outbuf, &srcp, outbuflen, &state);
     @}
-  ...
+  @dots{}
 @}
 @end smallexample
 
@@ -911,7 +911,7 @@
 solution.
 
 @smallexample
-  ...
+  @dots{}
   if (len < MB_CUR_LEN)
     @{
       mbstate_t temp_state;
@@ -925,7 +925,7 @@
           return NULL;
         @}
     @}
-  ...
+  @dots{}
 @end smallexample
 
 Here we perform the conversion that might overflow the buffer so that
@@ -2395,7 +2395,7 @@
 if (!data->__internal_use
      && data->__invocation_counter == 0)
   /* @r{Emit prolog.}  */
-  ...
+  @dots{}
 @end smallexample
 
 This element must never be modified.
@@ -2708,7 +2708,7 @@
 @{
   struct __gconv_step *next_step = step + 1;
   struct __gconv_step_data *next_data = data + 1;
-  ...
+  @dots{}
 @end smallexample
 
 The @code{next_step} pointer references the next step information and
Index: ctype.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/ctype.texi,v
retrieving revision 1.25
diff -u -r1.25 ctype.texi
--- ctype.texi	27 May 2001 06:53:41 -0000	1.25
+++ ctype.texi	22 Jun 2002 19:19:42 -0000
@@ -625,7 +625,7 @@
     return isalpha (c);
   if (strcmp (class, "cntrl") == 0)
     return iscntrl (c);
-  ...
+  @dots{}
   return 0;
 @}
 @end smallexample
Index: filesys.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/filesys.texi,v
retrieving revision 1.91
diff -u -r1.91 filesys.texi
--- filesys.texi	24 May 2002 08:10:21 -0000	1.91
+++ filesys.texi	22 Jun 2002 19:19:56 -0000
@@ -453,7 +453,7 @@
   @} u;
 
   if (readdir_r (dir, &u.d, &res) == 0)
-    ...
+    @dots{}
 @end smallexample
 @end deftypefun
 
@@ -1501,7 +1501,7 @@
                                  and what their values mean.
 * Reading Attributes::          How to read the attributes of a file.
 * Testing File Type::           Distinguishing ordinary files,
-                                 directories, links...
+                                 directories, links@dots{}
 * File Owner::                  How ownership for new files is determined,
 			         and how to change it.
 * Permission Bits::             How information about a file's access
Index: install.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/install.texi,v
retrieving revision 1.58
diff -u -r1.58 install.texi
--- install.texi	3 Apr 2002 09:07:20 -0000	1.58
+++ install.texi	22 Jun 2002 19:20:00 -0000
@@ -54,7 +54,7 @@
 at the top level of the source tree.  In the scenario above, you'd type
 
 @smallexample
-$ ../glibc-2.2.0/configure @var{args...}
+$ ../glibc-2.2.0/configure @var{args@dots{}}
 @end smallexample
 
 Please note that even if you're building in a separate build directory,
Index: locale.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/locale.texi,v
retrieving revision 1.44
diff -u -r1.44 locale.texi
--- locale.texi	7 Aug 2001 06:14:20 -0000	1.44
+++ locale.texi	22 Jun 2002 19:20:06 -0000
@@ -1201,7 +1201,7 @@
 This function would normally be used like this:
 
 @smallexample
-  ...
+  @dots{}
   /* @r{Use a safe default.}  */
   _Bool doit = false;
 
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: memory.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/memory.texi,v
retrieving revision 1.74
diff -u -r1.74 memory.texi
--- memory.texi	24 Mar 2002 12:58:23 -0000	1.74
+++ memory.texi	22 Jun 2002 19:20:26 -0000
@@ -751,7 +751,7 @@
 >call mcheck(0)
 >continue
 >end
-(gdb) ...
+(gdb) @dots{}
 @end smallexample
 
 This will however only work if no initialization function of any object
@@ -1003,7 +1003,7 @@
 
 main ()
 @{
-  ...
+  @dots{}
 @}
 @end smallexample
 
@@ -2769,7 +2769,7 @@
 
 
 @ignore
-@comment No longer available...
+@comment No longer available@dots{}
 
 @comment @node Memory Warnings
 @comment @section Memory Usage Warnings
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
@@ -546,7 +546,7 @@
 the information.
 
 The functions described in this section are all defined by the POSIX.1
-and POSIX.1b standards (the @code{sched...} functions are POSIX.1b).
+and POSIX.1b standards (the @code{sched@dots{}} functions are POSIX.1b).
 However, POSIX does not define any semantics for the values that these
 functions get and set.  In this chapter, the semantics are based on the
 Linux kernel's implementation of the POSIX standard.  As you will see,
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.
 
@@ -657,7 +657,7 @@
 #include <sys/syscall.h>
 #include <errno.h>
 
-...
+@dots{}
 
 int rc;
 
@@ -677,7 +677,7 @@
 #include <sys/stat.h>
 #include <errno.h>
 
-...
+@dots{}
 
 int rc;
 
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
@@ -497,7 +497,7 @@
 @smallexample
 FILE *fp;
 @{
-   ...
+   @dots{}
    flockfile (fp);
    fputs ("This is test number ", fp);
    fprintf (fp, "%d\n", test);
@@ -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
 
@@ -5295,7 +5295,7 @@
 the first time:
 
 @smallexample
-MSGVERB=@var{keyword}[:@var{keyword}[:...]]
+MSGVERB=@var{keyword}[:@var{keyword}[:@dots{}]]
 @end smallexample
 
 Valid @var{keyword}s are @code{label}, @code{severity}, @code{text},
@@ -5314,7 +5314,7 @@
 If the user puts @code{SEV_LEVEL} with a format like
 
 @smallexample
-SEV_LEVEL=[@var{description}[:@var{description}[:...]]]
+SEV_LEVEL=[@var{description}[:@var{description}[:@dots{}]]]
 @end smallexample
 
 @noindent
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}.
Index: time.texi
===================================================================
RCS file: /cvs/glibc/libc/manual/time.texi,v
retrieving revision 1.90
diff -u -r1.90 time.texi
--- time.texi	14 Mar 2002 20:30:03 -0000	1.90
+++ time.texi	22 Jun 2002 19:21:17 -0000
@@ -1431,7 +1431,7 @@
 Also the format string @var{template} is a wide character string.  Since
 all characters needed to specify the format string are in the basic
 character set it is portably possible to write format strings in the C
-source code using the @code{L"..."} notation.  The parameter
+source code using the @code{L"@dots{}"} notation.  The parameter
 @var{brokentime} has the same meaning as in the @code{strftime} call.
 
 The @code{wcsftime} function supports the same flags, modifiers, and
-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]