[comp.mail.elm] Error on flock

tom@wave4.dg.com (Tom Jordahl) (05/02/89)

I just installed elm 2.2 today at my site.

Configuration went faily well, I am running a Data General MV10000 using
DG/UX 4.02.  This is a Sys V r3 based system with *all* of the Berkeley
system calls (except maybe 2-3, there are so minor I don't remeber what they
are).

   In the module newmail.c, on line 193 there is an exit() without a parameter,
made my compiler get upset.  Should probably fix that.  ( I just stuck a 0 
in there)

   In the module hdrconfg.c on line 117, my system wants the two masks:
      IOERR == IO_ERR   and
      IOEOF == IO_EOF  
I'm not sure if this is dg/ux wierdness.  I think our stdio is proprietary.


   These were just the minor compile concerns.  This is my real problem:

   Unfortunately, if a user has mail in their system mailbox (/usr/mail/<user>)
Elm will clear the screen and report:

      Error encountered while attempting to flock mailbox /usr/mail/tom;
      ** EBADF - Bad file number.**

  Which is a real bummer.  Any help? Ideas?   Reading the mail file with
mailx or mailx works fine.

Thanks in advance.



-- 
                            -->Tom Jordahl<--
-----------------------------------------------------------------------------
Data General Corp.                         tom@wave4.dg.com 
Unix Development Westboro                  tom@dg-rtp.dg.com   
Westboro, MA                               UUCP: ..!mcnc!rti!xyzzy!wave4!tom
"... until then, any action will be like trying to herd cats." -Gene Spafford