Subject: RE: uudecode?
From: [email-masked] (Bernard Dautrevaux)

19 Jan 1999 18:18:17 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
To: "'John Cooper'" <[email-masked]>, [email-masked]
Cc: [email-masked]

> -----Message d'origine-----
> De:	John Cooper [SMTP:[email-masked]]
> Date:	lundi 18 janvier 1999 11:33
> À:	[email-masked]
> Cc:	[email-masked]
> Objet:	Re: uudecode?
> 
> [email-masked] (Michael Hirmke) writes:
> 
>  > >Can anyone point me to a reliable version of the command line
>  > >uudecode.exe/uuencode.exe utilities for NT 4.0?
>  > 
>  > Don't know, what you mean by reliable, but you can get the
> sharutils-4.2c
>  > package, which contains uuencode/uudecode among other utilities
> 
> These just don't work at all:
> 
>   $ cp c:/WINNT/NOTEPAD.EXE n.exe
>   $ ./n.exe      # works fine!
>   $ uuencode n.exe n.exe > n.uu
>   $ rm n.exe
>   $ ls n.*
>   n.uu
>   $ uudecode n.uu
>   $ ls n.*
>   n.exe*  n.uu
>   $ ./n.exe
>   zsh: exec format error: .\n.exe
>   $
>   $ ls -l n.exe
>   -rwxrwxrwx   1 JCooper          Domain_Users      594 Jan 18 10:37
> n.exe*
>   $
> 
> Any ideas what's wrong with it?
> 
I'm  not sure, but I'll bet that you have to sligthly change the
uudecode source code to ensure that the open of the output file is done
in binary mode : open(... O_BINARY) or fopen(..., "wb")). Your problem
is most surely this infamous text!=binary feature :-( of Losedows...

Regards,

		Bernard
>  
------------------------------------------------------------------------
------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	[email-masked]
	[email-masked]
------------------------------------------------------------------------
------
>  
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".