🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by ucbvaxcorymark Sun, 24 Aug 1980 08:27
printf
#9
Author: ucbvaxcorymark
Date: Sun, 24 Aug 1980 08:27
14 lines
498 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads