diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-12-19 21:59:22 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-12-19 21:59:22 +0000 |
| commit | 6a93659f247754c9811e7ee1aa6c432f27f5971b (patch) | |
| tree | 635a666636305a10975dfaba3945c44c531a0469 /lib | |
| parent | b86be9d1f7ecb9c852297ab3063bdc303d409652 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/stdio/vfprintf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 61dba479b8bb..105d7fec6fea 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: vfprintf.c,v 1.12 1997/02/22 15:02:40 peter Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -284,7 +284,7 @@ static int exponent __P((char *, int, int)); #define ALT 0x001 /* alternate form */ #define HEXPREFIX 0x002 /* add 0x or 0X prefix */ #define LADJUST 0x004 /* left adjustment */ -#define LONGDBL 0x008 /* long double; unimplemented */ +#define LONGDBL 0x008 /* long double */ #define LONGINT 0x010 /* long integer */ #define QUADINT 0x020 /* quad integer */ #define SHORTINT 0x040 /* short integer */ @@ -591,6 +591,7 @@ reswitch: switch (ch) { fp_begin: if (prec == -1) prec = DEFPREC; if (flags & LONGDBL) + /* XXX this loses precision. */ _double = (double)GETARG(long double); else _double = GETARG(double); |
