This is the mail archive of the libc-alpha@sourceware.org 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] Fix the manual for old texinfo


Installing the manual fails with texinfo 4.13:

/S/manual/maint.texi:288: Unknown command `lbracechar'.
/S/manual/maint.texi:288: Misplaced {.
/S/manual/maint.texi:288: Misplaced }.
/S/manual/maint.texi:290: Unknown command `rbracechar'.
/S/manual/maint.texi:290: Misplaced {.
/S/manual/maint.texi:290: Misplaced }.
/S/manual/maint.texi:302: Unknown command `lbracechar'.
/S/manual/maint.texi:302: Misplaced {.
/S/manual/maint.texi:302: Misplaced }.
/S/manual/maint.texi:305: Unknown command `rbracechar'.
/S/manual/maint.texi:305: Misplaced {.
/S/manual/maint.texi:305: Misplaced }.
makeinfo: Removing output file `/B/manual/libc.info' due to errors; use --force to preserve.
make[2]: *** [Makefile:142: /B/manual/libc.info] Error 1

OK for master?

2019-01-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* manual/maint.texi: Use @{ and @}.
diff --git a/manual/maint.texi b/manual/maint.texi
index a1b8f62d14..ec234e15d7 100644
--- a/manual/maint.texi
+++ b/manual/maint.texi
@@ -285,9 +285,9 @@ and is compiled for both dual-time and single-time configuration classes.
 @smallexample
 struct tm *
 __localtime64 (const __time64_t *t)
-@lbracechar{}
+@{
   return __tz_convert (*t, 1, &_tmbuf);
-@rbracechar{}
+@}
 libc_hidden_def (__localtime64)
 @end smallexample
 
@@ -299,10 +299,10 @@ dual-time configurations:
 
 struct tm *
 localtime (const time_t *t)
-@lbracechar{}
+@{
   __time64_t t64 = *t;
   return __localtime64 (&t64);
-@rbracechar{}
+@}
 libc_hidden_def (localtime)
 
 #endif

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