Aucbcory.194
NET.v7bugs
utzoo!duke!vax135!ucbvax!cory:mark
Sun Aug 24 08:27:03 1980
printf
Under certain circumstances, v7 printf prints extra leading zeros,
as in the example below.  Does anyone have a fix for this?

Script started on Fri Aug 22 20:57:20 1980
% cat foo.c
#include <STDIO.H>
main()
{
       printf("%1.1d:%02.2d\n", 3, 14);
}
% foo
03:014
%
script done on Fri Aug 22 20:57:33 1980

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.