🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: NET.v7bugs
Article #14

uux bug

#14
From: ucbvaxmark
Date: Tue, 27 May 1980 23:39
12 lines
667 bytes
A bug in uux prevents the - option from working with binary files.
To fix it, in uux.c, search for "fputs".  (It's in an if (pipein) {.)
replace the fgets/fputs loop by
		while ((c = getc(stdin)) != EOF)
			putc(c, fpd);
and declare c somewhere to be an int.  (I put the line
		register int c;
right after the if (pipein).)

Fixing this bug will allow the new uusend program, which will be released
shortly, to work, allowing the transfer of binary files across indirect
uucp links.
Technical Details
Message-ID: <anews.Aucbvax.117>
Path: arc1-ca.pugleaf.net!utzoo!duke!vax135!ucbvax!mark

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!duke!vax135!ucbvax!mark
From: ucbvax!mark
Newsgroups: NET.v7bugs
Subject: uux bug
Date: Tue, 27 May 1980 23:39:00 +0000
Message-ID: <anews.Aucbvax.117>