Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!xanth!mcnc!rti!xyzzy!wave4!tom From: tom@wave4.dg.com (Tom Jordahl) Newsgroups: comp.mail.elm Subject: Error on flock() of mail files Summary: Elm can't read my mailbox if I have mail Message-ID: <17@wave4.dg.com> Date: 1 May 89 22:06:54 GMT Reply-To: tom@wave4.dg.com (Tom Jordahl) Organization: Data General Corporation, Westborough, MA Lines: 37 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/) 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