Re: Problems compiling Citadel/UX
On Sun, Aug 15, 1999 at 11:43:27PM -0500,
Michael Merten <email@example.com> wrote:
> Encode or decode file as MIME base64 (RFC 1341)
> by John Walker
> This program is in the public domain.
> #define REVDATE "11th August 1997"
> #include <stdio.h>
> #include <stdlib.h>
> #include <ctype.h>
> #include <string.h>
> #define TRUE 1
> #define FALSE 0
> #define LINELEN 72 /* Encoded line length (max 76) */
> typedef unsigned char byte; /* Byte type */
> static FILE *fi = stdin; /* Input file */
> static FILE *fo = stdout; /* Output file */
The problem is in the previous two lines. fi and fo are being initialized
with a variable, which isn't legal. They should be set in main(), not
Eric Gillespie, Jr. <*> firstname.lastname@example.org
"Man is a rope, tied between beast and overman--a rope over an abyss.
A dangerous across, a dangerous on-the-way, a dangerous looking-back,
a dangerous shuddering and stopping."