[net.micro.mac] macsend and xbin

darin@tmq.UUCP (Darin Adler) (05/03/85)

The new macsend is GREAT, however it only works properly if the .info and .data
and .rsrc extensions are complete, i.e. the filenames are short on the mac
format files.  xbin creates files that can be long, but the are limited so that
the last 2 characters form the extension (at least .i .d and .r).  Instead of
modifying macsend, I have a local copy of xbin that guarantees all 5 of the
characters in the extension.  If it was desired, this could be made into an
option, but for my purposes this was unnecessary.  The following are the mods
to xbin.c:

231,232c231,232
< 	if (n > FNAMELEN - 2)
< 		n = FNAMELEN - 2;
---
> 	if (n > FNAMELEN - 5)
> 		n = FNAMELEN - 5;

Darin Adler
ihnp4!tmq!darin