diff options
31 files changed, 213 insertions, 123 deletions
@@ -1,3 +1,46 @@ +1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r + weak alias. + * sysdeps/i386/strtok_r.c: Likewise. + + * sysdeps/libm-i387/i686/s_fdim.S: Make it really work. + * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. + * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. + * sysdeps/libm-i387/i686/s_fmin.S: Likewise. + * sysdeps/libm-i387/i686/s_fminf.S: Likewise. + * sysdeps/libm-i387/i686/s_fminl.S: Likewise. + +1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> + + * intl/localealias.c: Remove unneeded define for strdup. + +1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com> + + * manual/argp.texi: Adjust for better TeX output. + * manual/arith.texi: Likewise. + * manual/conf.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/header.texi: Likewise. + * manual/lgpl.texinfo: Likewise. + * manual/math.texi: Likewise. + * manual/message.texi: Likewise. + * manual/pattern.texi: Likewise. + * manual/process.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/terminal.texi: Likewise. + * manual/examples/rprintf.c: Likewise. + * manual/examples/testopt.c: Likewise. + Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>. + +1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk> + + * posix/wordexp.c (parse_param): Don't immediately stop parsing a + parameter name after seeing a digit if it's enclosed in braces. + 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/memory.texi (Heap Consistency Checking): Document diff --git a/intl/localealias.c b/intl/localealias.c index 58ed2708ae..d6ddf0c2c6 100644 --- a/intl/localealias.c +++ b/intl/localealias.c @@ -1,5 +1,5 @@ /* Handle aliases for locale names. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. @@ -82,12 +82,11 @@ void free (); because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define strcasecmp __strcasecmp -# define strdup __strdup # define mempcpy __mempcpy # define HAVE_MEMPCPY 1 -/* We need locking here since we can be called from different palces. */ +/* We need locking here since we can be called from different places. */ # include <bits/libc-lock.h> __libc_lock_define_initialized (static, lock); diff --git a/manual/.cvsignore b/manual/.cvsignore index 7c305176da..92494696db 100644 --- a/manual/.cvsignore +++ b/manual/.cvsignore @@ -9,4 +9,4 @@ glibc-* *.cp *.cps *.fn *.fns *.vr *.vrs *.tp *.tps *.ky *.kys *.pg *.pgs chapters chapters-incl1 chapters-incl2 summary.texi stamp-* -distinfo dir-add.texi +distinfo dir-add.texinfo diff --git a/manual/argp.texi b/manual/argp.texi index 84b131f36a..4b72ebe5a7 100644 --- a/manual/argp.texi +++ b/manual/argp.texi @@ -480,7 +480,8 @@ case ARGP_KEY_ARG: /* First argument */ first_arg = @var{arg}; else - return ARGP_KEY_UNKNOWN; /* Let the next case parse it. */ + /* Let the next case parse it. */ + return ARGP_KEY_UNKNOWN; break; case ARGP_KEY_ARGS: remaining_args = @var{state}->argv + @var{state}->next; diff --git a/manual/arith.texi b/manual/arith.texi index 0d62e419b0..9db50cf05e 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -1,4 +1,6 @@ @c We need some definitions here. +@c No we don't, they were done by math.texi. -zw +@ignore @ifclear cdot @ifhtml @set cdot · @@ -19,6 +21,7 @@ x @end macro @end ifclear @end ifclear +@end ignore @node Arithmetic, Date and Time, Mathematics, Top @chapter Low-Level Arithmetic Functions diff --git a/manual/conf.texi b/manual/conf.texi index 86e29a8e04..34554bc35f 100644 --- a/manual/conf.texi +++ b/manual/conf.texi @@ -315,6 +315,10 @@ Here are the symbolic constants for use as the @var{parameter} argument to @code{sysconf}. The values are all integer constants (more specifically, enumeration type values). +@c This table runs a bit wide. +@iftex +@indexfonts +@end iftex @table @code @comment unistd.h @comment POSIX.1 @@ -604,7 +608,7 @@ Inquire about the parameter corresponding to @code{_POSIX_TTY_NAME_MAX}. @comment POSIX.1 @item _SC_THREAD_DESTRUCTOR_ITERATIONS Inquire about the parameter corresponding to -@code{_POSIX_THREAD_DESTRUCTOR_ITERATIONS}. +@code{_POSIX_THREAD_DESTRUCTOR_@*ITERATIONS}. @comment unistd.h @comment POSIX.1 @@ -960,6 +964,9 @@ Inquire about the parameter corresponding to @code{NL_SETMAX}. @item _SC_NL_TEXTMAX Inquire about the parameter corresponding to @code{NL_TEXTMAX}. @end table +@iftex +@textfonts +@end iftex @node Examples of Sysconf @subsection Examples of @code{sysconf} diff --git a/manual/errno.texi b/manual/errno.texi index 86b4c74e7a..5eb6eae3f5 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -977,19 +977,19 @@ They are not yet documented.} @end deftypevr @comment errno.h -@comment Linux???: Level 2 not synchronized +@comment Obsolete: Level 2 not synchronized @deftypevr Macro int EL2NSYNC @comment errno ???/45 @end deftypevr @comment errno.h -@comment Linux???: Level 3 halted +@comment Obsolete: Level 3 halted @deftypevr Macro int EL3HLT @comment errno ???/46 @end deftypevr @comment errno.h -@comment Linux???: Level 3 reset +@comment Obsolete: Level 3 reset @deftypevr Macro int EL3RST @comment errno ???/47 @end deftypevr @@ -1013,7 +1013,7 @@ They are not yet documented.} @end deftypevr @comment errno.h -@comment Linux???: Level 2 halted +@comment Obsolete: Level 2 halted @deftypevr Macro int EL2HLT @comment errno ???/51 @end deftypevr diff --git a/manual/examples/rprintf.c b/manual/examples/rprintf.c index 723b3a3ef0..bac17b49e5 100644 --- a/manual/examples/rprintf.c +++ b/manual/examples/rprintf.c @@ -10,7 +10,9 @@ typedef struct /*@end group*/ int -print_widget (FILE *stream, const struct printf_info *info, va_list *app) +print_widget (FILE *stream, + const struct printf_info *info, + va_list *app) { Widget *w; char *buffer; diff --git a/manual/examples/testopt.c b/manual/examples/testopt.c index 8ebc9b6f7a..94baf4db55 100644 --- a/manual/examples/testopt.c +++ b/manual/examples/testopt.c @@ -41,7 +41,8 @@ main (int argc, char **argv) /*@end group*/ /*@group*/ - printf ("aflag = %d, bflag = %d, cvalue = %s\n", aflag, bflag, cvalue); + printf ("aflag = %d, bflag = %d, cvalue = %s\n", + aflag, bflag, cvalue); for (index = optind; index < argc; index++) printf ("Non-option argument %s\n", argv[index]); diff --git a/manual/filesys.texi b/manual/filesys.texi index 951ae7956c..6e4baa5673 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -86,7 +86,7 @@ Permission to read or search a component of the file name was denied. @end table @end deftypefun -Here is an example showing how you could implement the behavior of GNU's +Here is an example showing how you could implement the behavior of GNU's@* @w{@code{getcwd (NULL, 0)}} using only the standard behavior of @code{getcwd}: @@ -230,17 +230,18 @@ A character device. A block device. @end table -This member is a BSD extension. Each value except DT_UNKNOWN +This member is a BSD extension. On systems where it is used, it corresponds to the file type bits in the @code{st_mode} member of -@code{struct statbuf}. These two macros convert between @code{d_type} -values and @code{st_mode} values: +@code{struct statbuf}. On other systems it will always be DT_UNKNOWN. +These two macros convert between @code{d_type} values and @code{st_mode} +values: @deftypefun int IFTODT (mode_t @var{mode}) This returns the @code{d_type} value corresponding to @var{mode}. @end deftypefun -@deftypefun mode_t DTTOIF (int @var{dirtype}) -This returns the @code{st_mode} value corresponding to @var{dirtype}. +@deftypefun mode_t DTTOIF (int @var{dtype}) +This returns the @code{st_mode} value corresponding to @var{dtype}. @end deftypefun @end table diff --git a/manual/header.texi b/manual/header.texi index 066fdbf1aa..b6ca60ee96 100644 --- a/manual/header.texi +++ b/manual/header.texi @@ -7,8 +7,15 @@ standard or other source from which each facility is derived, and tells you where in the manual you can find more information about how to use it. +@c This table runs wide. Shrink fonts. +@iftex +@indexfonts @rm +@end iftex @table @code @comment summary.texi is generated from the other Texinfo files. @comment See the Makefile and summary.awk for the details. @include summary.texi @end table +@iftex +@textfonts @rm +@end iftex diff --git a/manual/lgpl.texinfo b/manual/lgpl.texinfo index f5d97a8d3d..6bb32205ba 100644 --- a/manual/lgpl.texinfo +++ b/manual/lgpl.texinfo @@ -112,7 +112,7 @@ works together with the library. General Public License rather than by this special one. @iftex -@unnumberedsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +@unnumberedsec TERMS AND CONDITIONS FOR COPYING,@*DISTRIBUTION AND MODIFICATION @end iftex @ifinfo @center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION diff --git a/manual/math.texi b/manual/math.texi index b784afe52b..28cc4a59be 100644 --- a/manual/math.texi +++ b/manual/math.texi @@ -1,24 +1,16 @@ @c We need some definitions here. -@ifclear cdot @ifhtml -@set cdot · -@macro mul -· -@end macro +@set mult · @end ifhtml @iftex -@set cdot · -@macro mul -@cdot -@end macro +@set mult @cdot @end iftex -@ifclear cdot -@set cdot x +@ifclear mult +@set mult x +@end ifclear @macro mul -x +@value{mult} @end macro -@end ifclear -@end ifclear @iftex @set infty @infty @end iftex @@ -443,7 +435,7 @@ Another possibility which is useful in several situations is @deftypefun int feholdexcept (fenv_t *@var{envp}) Store the current floating-point environment in the object pointed to by @var{envp}. Afterwards, all exception flags are cleared and if -available a mode is installed which continues on all exception and does +available a mode is installed which continues on all exceptions and does not cause a trap to occur. In this case a nonzero value is returned. If the floating-point implementation does not support such a non-stop @@ -455,8 +447,8 @@ restored can take two kinds of arguments: @itemize @bullet @item -Pointed to objects which previously were initialized by a call to -@code{fegetenv} or @code{feholdexcept}. +Pointers to @code{fenv_t} objects which were initialized previously by a +call to @code{fegetenv} or @code{feholdexcept}. @item @vindex FE_DFL_ENV The special macro @code{FE_DFL_ENV} which represents the floating-point @@ -466,10 +458,11 @@ Implementation defined macros with names starting with @code{FE_}. @vindex FE_NOMASK_ENV If possible, the GNU C Library defines a macro @code{FE_NOMASK_ENV} -which represents an environment where no exception is masked and so each -raised exception causes a trap to occur. Whether this macro is available can easily be tested using @code{#ifdef}. +which represents an environment where no exceptions are masked, so every +exception raised causes a trap to occur. You can test for this macro +using @code{#ifdef}. -Some platforms might define further predefined environments. +Some platforms might define other predefined environments. @end itemize @noindent diff --git a/manual/message.texi b/manual/message.texi index a292b78531..3c8650fb20 100644 --- a/manual/message.texi +++ b/manual/message.texi @@ -673,7 +673,8 @@ int main (void) @{ nl_catd catdesc = catopen ("hello.cat", NL_CAT_LOCALE); - printf (catgets (catdesc, SetMainSet, SetMainHello, "Hello, world!\n")); + printf (catgets (catdesc, SetMainSet, SetMainHello, + "Hello, world!\n")); catclose (catdesc); return 0; @} diff --git a/manual/pattern.texi b/manual/pattern.texi index bd5658dd67..90529bace6 100644 --- a/manual/pattern.texi +++ b/manual/pattern.texi @@ -196,8 +196,8 @@ This is a GNU extension. The address of an alternative implementation of the @code{lstat} function to get information about an object in the filesystems, not following symbolic links. It is used if the @code{GLOB_ALTDIRFUNC} bit -is set in the flag parameter. The type of this field is @w{@code{int -(*) (const char *, struct stat *)}}. +is set in the flag parameter. The type of this field is @code{@w{int +(*) (const char *,} @w{struct stat *)}}. This is a GNU extension. @end table @@ -847,13 +847,16 @@ actually matches is near the end of the first word. But it is @code{regexec} reports nonuse of the ``na'' subexpression. Another place where this rule applies is when the regular expression -@w{@samp{\(ba\(na\)*s \|nefer\(ti\)* \)*}} matches @samp{bananas nefertiti}. -The ``na'' subexpression does match in the first word, but it doesn't -match in the second word because the other alternative is used there. -Once again, the second repetition of the outer subexpression overrides -the first, and within that second repetition, the ``na'' subexpression -is not used. So @code{regexec} reports nonuse of the ``na'' -subexpression. +@smallexample +\(ba\(na\)*s \|nefer\(ti\)* \)* +@end smallexample +@noindent +matches @samp{bananas nefertiti}. The ``na'' subexpression does match +in the first word, but it doesn't match in the second word because the +other alternative is used there. Once again, the second repetition of +the outer subexpression overrides the first, and within that second +repetition, the ``na'' subexpression is not used. So @code{regexec} +reports nonuse of the ``na'' subexpression. @node Regexp Cleanup @subsection POSIX Regexp Matching Cleanup diff --git a/manual/process.texi b/manual/process.texi index 71fc707f9a..b1f5ef469a 100644 --- a/manual/process.texi +++ b/manual/process.texi @@ -709,19 +709,19 @@ the following members: @table @code @item int w_termsig -The value of this member is the same as the result of the +The value of this member is the same as that of the @code{WTERMSIG} macro. @item int w_coredump -The value of this member is the same as the result of the +The value of this member is the same as that of the @code{WCOREDUMP} macro. @item int w_retcode -The value of this member is the same as the result of the +The value of this member is the same as that of the @code{WEXITSTATUS} macro. @item int w_stopsig -The value of this member is the same as the result of the +The value of this member is the same as that of the @code{WSTOPSIG} macro. @end table diff --git a/manual/signal.texi b/manual/signal.texi index 177b3b98c0..dd1666c3af 100644 --- a/manual/signal.texi +++ b/manual/signal.texi @@ -2285,12 +2285,12 @@ for some special system processes. Otherwise, send the signal to all processes with the same effective user ID. @end table -A process can send a signal @var{signum} to itself with a call like -@w{@code{kill (getpid(), @var{signum})}}. If @code{kill} is used by a -process to send a signal to itself, and the signal is not blocked, then -@code{kill} delivers at least one signal (which might be some other -pending unblocked signal instead of the signal @var{signum}) to that -process before it returns. +A process can send a signal to itself with a call like @w{@code{kill +(getpid(), @var{signum})}}. If @code{kill} is used by a process to send +a signal to itself, and the signal is not blocked, then @code{kill} +delivers at least one signal (which might be some other pending +unblocked signal instead of the signal @var{signum}) to that process +before it returns. The return value from @code{kill} is zero if the signal can be sent successfully. Otherwise, no signal is sent, and a value of @code{-1} is diff --git a/manual/socket.texi b/manual/socket.texi index 1135230cb0..dcd288b12c 100644 --- a/manual/socket.texi +++ b/manual/socket.texi @@ -792,7 +792,7 @@ be better if the usage were made consistent, but it is not hard to extract |
