mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* stdio-common/printf-parse.h (parse_one_spec): Add support for a and A format.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
1999-06-10 Ulrich Drepper <drepper@cygnus.com>
|
1999-06-10 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/printf-parse.h (parse_one_spec): Add support for a
|
||||||
|
and A format.
|
||||||
|
|
||||||
* shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
|
* shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
|
||||||
returning after last entry.
|
returning after last entry.
|
||||||
* pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
|
* pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Internal header for parsing printf format strings.
|
/* Internal header for parsing printf format strings.
|
||||||
Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of th GNU C Library.
|
This file is part of th GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -358,6 +358,8 @@ parse_one_spec (const UCHAR_T *format, size_t posn, struct printf_spec *spec,
|
|||||||
case L'f':
|
case L'f':
|
||||||
case L'g':
|
case L'g':
|
||||||
case L'G':
|
case L'G':
|
||||||
|
case L'a':
|
||||||
|
case L'A':
|
||||||
if (spec->info.is_long_double)
|
if (spec->info.is_long_double)
|
||||||
spec->data_arg_type = PA_DOUBLE|PA_FLAG_LONG_DOUBLE;
|
spec->data_arg_type = PA_DOUBLE|PA_FLAG_LONG_DOUBLE;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user