A little problem when receiving FAXes from CompuServe ...

Gert Doering (gert@greenie.muc.de)
Tue, 15 Mar 1994 17:35:27 +0100


Hi,

HAL9000 wrote:
 ^^^^ huh?

> I just discovered a little problem when receiving FAXes created
> by a CompuServe user. It seems that the CompuServe "Sender ID"
> garbles the filename creation for the spooled G3 fax files:
[..]
> > A fax has arrived:
> > Sender ID:       CompuServe/FAX 
>                              ^
>                              +-- this "/" seems to be the problem

Yuck!

> >   /tmp/FAXnab8a.01
> >   /tmp/FAXnab8a.02
> >   /tmp/FAXnab8a.03
>     ^^^^^^^^^^^^^^^^-- these should've gone to
>                        /usr/local/lib/fax/incoming in my setup...

That's a "final fallback" - if creating the file with the normal name
doesn't work, a minimal file name is used and the file is stored in /tmp.
Thus, even in that case, no faxes are lost.

> Any idea why this happened, and how I can fix this?

faxrec.c, fax_receive_page(), check the filename-creation logic (search
for SHORT_FILENAMES), make sure that not only '"' but also '/' gets
changed / ignored.

> (No, I haven't had the chance to check the source so far. I'm out for
>  training the whole week ;-)

I'll try to work it in before leaving for CeBit tomorrow.

gert
-- 
Ok, Ihr habt gewonnen, hier ist eine neue signature...

Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3243328                         gert.doering@physik.tu-muenchen.de