tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Re: libc.a bug under OSF/1 1.3
@ 1995-03-09 16:02 Brad Daniels
  0 siblings, 0 replies; 3+ messages in thread
From: Brad Daniels @ 1995-03-09 16:02 UTC (permalink / raw)
  To: tru64-unix-managers

It's definitely fixed in V2.1, so I'd assume it's fixed in V3.2...  BTW -
you probably know this, but the "0" flag is ignored if the "-" flag is also
specified...

- Brad

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: libc.a bug under OSF/1 1.3
@ 1995-03-09  9:55 Pier Luigi RATTO
  0 siblings, 0 replies; 3+ messages in thread
From: Pier Luigi RATTO @ 1995-03-09  9:55 UTC (permalink / raw)
  To: tru64-unix-managers

>>>>> "Roddy" == Roddy McColl <roddy@visual-ra.swmed.edu> writes:

    Roddy> The following program does not work using cc on OSF/1 v1.3

    Roddy> main() { double d = 100212.19707;


    Roddy>     printf("%0-15.5f\n", d);

    Roddy>     exit(0); }

    Roddy> The result is

    Roddy> -15.5f

    Roddy> Has this been fixed on v3.0 ? I know that gcc (2.6.3) with
    Roddy> libio.a (0.66) does not demonstrate this bug.

    Roddy> Roddy McColl UT Southwestern


I compiled and ran it on my OSF/1 v3.0 (DEC cc compiler) and it
worked correctly !

Regards

-- 
Pier Luigi RATTO				Ansaldo Trasporti SPA
E-mail	pier@gepf44.atr.ansaldo.it		Via dei Pescatori 35
tel.	039-10-5732138				16129 Genova, Italy
fax	039-10-5732384

				
				

^ permalink raw reply	[flat|nested] 3+ messages in thread
* libc.a bug under OSF/1 1.3
@ 1995-03-08 18:26 roddy
  0 siblings, 0 replies; 3+ messages in thread
From: roddy @ 1995-03-08 18:26 UTC (permalink / raw)
  To: tru64-unix-managers


The following program does not work using cc on OSF/1 v1.3

main()
{
    double d = 100212.19707;


    printf("%0-15.5f\n", d);

    exit(0);
}

The result is

-15.5f

Has this been fixed on v3.0 ? I know that gcc (2.6.3) with libio.a
(0.66) does not demonstrate this bug.

Roddy McColl
UT Southwestern

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-03-09 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-09 16:02 libc.a bug under OSF/1 1.3 Brad Daniels
  -- strict thread matches above, loose matches on Subject: below --
1995-03-09  9:55 Pier Luigi RATTO
1995-03-08 18:26 roddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox