🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by dukeswd Thu, 10 Jul 1980 10:42
mkconf bug
#2
Author: dukeswd
Date: Thu, 10 Jul 1980 10:42
14 lines
619 bytes
Some time ago a bug was reported in scanf relating to
scanning the format string "%d%c".  (This bug is fixed
in the duke version of stdio.)
It seems that mkconf.c REQUIRES this bug in order to work.
Thus we suggest the following fix to mkconf.c:

diff mkconf.c.good mkconf.c.original
107c107
< 	"	trap; br7+10.		/ 11/70 parity\n",
---
> 	"	trap; br7+7.		/ 11/70 parity\n",
739,740d738
< 	if (n == 0)
< 		n = sscanf(line, "%s%s%ld", keyw, dev, &num);
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