home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / elm / 2368 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.7 KB  |  59 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!spool.mu.edu!caen!batcomputer!ghost.dsi.unimi.it!ipgaix!peppe
  3. From: peppe@ipgaix.unipg.it (G. Vitillaro)
  4. Subject: ELM 2.4devPL17
  5. Message-ID: <1992Sep15.085009.175363@ipgaix.unipg.it>
  6. Organization: Universita' di Perugia
  7. Date: Tue, 15 Sep 1992 08:50:09 GMT
  8. Lines: 49
  9.  
  10. Sorry for the misunderstood of the level of elm
  11. I'm using. I confirm: is 2.4devPL17, that I toke from
  12. aixpdslib.seas.ucla.edu.
  13. Sorry again for the problem and thank for the answer.
  14. I hope release 3.0 will come soon: handle the folder
  15. is my biggest problem with UNIX mail.
  16.  
  17. Just another thing, compiling this version for AIX/370 1.2.1
  18. I got a problem in two source files:
  19.  
  20. src/leavembox.c
  21. filter/lock.c
  22.  
  23. both compile with LOCK_BY_FLOCK defined.
  24.  
  25. In both of them there is a line like:
  26.  
  27. if(errno != EWOULDBLOCK && errno != EAGAIN) {
  28.  
  29. to check if the folder is locked (I think).
  30.  
  31. I compiled on AIX/370 with bsdcc (similar to AIX/6000 bsdcc)
  32. where the flock() get defined from the libbsd.a library.
  33. Well, in the errno.h include EWOULDBLOCK is defined equal
  34. to EAGAIN (value 11), but what flock return is 54 (the value
  35. when _BSD is not defined). I put on both source a definition
  36. like:
  37.  
  38. #ifdef _AIX370
  39. #undef EWOULDBLOCK
  40. #define EWOULDBLOCK     54
  41. #endif
  42.  
  43. and it works as expected (I suppose).
  44.  
  45. On the AIX/6000 EWOULDBLOCK is defined equal to EGAIN, but
  46. flock always return 11.
  47.  
  48. Anyone may confirm my change in this group (for AIX/370 1.2.1, of
  49. course)?
  50.  
  51. Thank in advance,  Peppe
  52.  
  53.  
  54. -- 
  55. Giuseppe Vitillaro - IBM SEMEA      |  E-Mail : peppe@ipgaix.unipg.it 
  56. University of Perugia Italy         |  06100 Perugia  Phone:+39.75.585-2200
  57. ---------------------------------------------------------------------------
  58. All comments/opinions are mine and don't represent those of IBM
  59.