delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/20/09:06:31

From: ruia AT paul DOT rutgers DOT edu (Anil K Ruia)
Subject: Re: uudecode?
20 Jan 1999 09:06:31 -0800 :
Message-ID: <36A5773E.B8A96D1F.cygnus.gnu-win32@paul.rutgers.edu>
References: <8135911A809AD211AF6300A02480D1750348C6 AT IIS000 DOT microdata DOT fr>
Mime-Version: 1.0
To: John Cooper <John DOT Cooper AT citrix DOT com>
Cc: Bernard Dautrevaux <DAUTREVAUX AT microprocess DOT com>, mh AT mike DOT franken DOT de,
gnu-win32 AT cygnus DOT com

I think uudecode should open its input in text rather than binary mode.
- Anil

> 4 lines matching "open" in buffer uudecode.c.
>     9:    FILE *out, *in = fopen(fname, "rb");
>    11:        fprintf(stderr,"Impossible to open %s\n",fname);
>    33:    out = fopen(outname, "wb");
>    35:        fprintf(stderr,"Impossible to open %s\n",outname);
> 
> 1 line matching "open" in buffer uuencode.c.
>    10:    if ((in = fopen(nom, "rb")) == NULL)
> 
>     --- John
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019