-GNU C Library NEWS -- history of user-visible changes. 26 January 1995
+GNU C Library NEWS -- history of user-visible changes. 17 February 1995
Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
See the end for copying conditions.
symbols where available. The ELF object file format supports weak
symbols; GNU ld also supports weak symbols in the a.out format. (There
is also now support for other GNU ld extensions in ELF. Use the
- `--with-elf' option to configure to indicate you have elf, and
- `--with-gnu-ld' if using GNU ld.) This changed resulted in the deletion
+ `--with-elf' option to configure to indicate you have ELF, and
+ `--with-gnu-ld' if using GNU ld.) This change resulted in the deletion
of many files which contained only symbol aliases, reducing the size of
the source and the compiled library; many other files were renamed to
less cryptic names previously occupied by the symbol alias files.
strings, like `strtol' and `strtoul', but they return `long long int' and
`unsigned long long int' values, respectively (64-bit quantities).
+* The new functions `strtof' and `strtold' parse floating-point values from
+ strings, like `strtod', but they return `float' and `long double' values,
+ respectively (on some machines `double' and `long double' are the same).
+
* There is a new malloc debugging hook `__memalign_hook'.
* There are new typedefs `ushort' for `unsigned short int' and `uint' for
* The `-lmcheck' library to enable standard malloc debugging hooks is now
done differently, so that it works even without GNU ld.
+
+* Ulrich Drepper has contributed new implementations of the floating-point
+ printing and reading code used in the `printf' family of functions and
+ `strtod', `strtof', and `strtold'. These new functions are perfectly
+ accurate, and much faster than the old ones.
+
+* The `printf' family of functions now understand a new formatting flag
+ for numeric conversions: the ' flag (e.g. %'d or %'f) says to group
+ numbers as indicated by the locale. In the default "C" locale, numbers
+ are not grouped; but locales for specific countries will define the
+ usual conventions (i.e. separate thousands with `,' in the US locale).
\f
Version 1.09
/* BSD-compatible versions of functions where BSD and POSIX.1 conflict.
-Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#define _BSD_SOURCE
-
-#include <ansidecl.h>
#include <sys/types.h>
-#include <unistd.h>
-#include <gnu-stabs.h>
-#include <limits.h>
-#include <setjmp.h>
-
-#undef getpgrp
-function_alias(getpgrp, __getpgrp, pid_t, (pid),
- DEFUN(getpgrp, (pid), pid_t pid))
-
-/* These entry points allow for things compiled for another C library
- that want the BSD-compatible definitions. (Of course, their jmp_buf
- must be big enough.) */
-#undef longjmp
-#ifdef __STDC__
-#define void __NORETURN void
-#endif
-function_alias_void(longjmp, siglongjmp, (env, val),
- DEFUN(longjmp, (env, val), CONST jmp_buf env AND int val))
+/* Don't include unistd.h because it declares a conflicting
+ prototype for the POSIX.1 `getpgrp' function. */
+extern pid_t __getpgid __P ((pid_t));
-#undef setjmp
-int
-DEFUN(setjmp, (env), jmp_buf env)
+pid_t
+getpgrp (pid)
+ pid_t pid;
{
- return sigsetjmp (env, 1);
+ return __getpgid (pid);
}