home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aux / 3032 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!bu.edu!transfer!redondo.sw.stratus.com!dswartz
  2. From: dswartz@redondo.sw.stratus.com (Dan Swartzendruber)
  3. Newsgroups: comp.unix.aux
  4. Subject: port of smail
  5. Message-ID: <5291@transfer.stratus.com>
  6. Date: 31 Jul 92 04:47:47 GMT
  7. Sender: usenet@transfer.stratus.com
  8. Organization: Stratus Computer, Software Engineering
  9. Lines: 20
  10.  
  11.  
  12. I just finished porting smail 3.1 to A/UX and it seems to work
  13. just fine, although I did have a couple of strange glitches
  14. during the build process.  The main one was with the file
  15. sysdep.c in the src subdirectory.  It would bomb because there
  16. were a couple of filename length checks like such:
  17.  
  18.     if (strlen(p) > DIRSIZ - 2) {
  19.  
  20. Unfortunately, in the A/UX sys/dir.h include file, the DIRSIZ macro
  21. wants a direct type structure as an argument, but the two places in
  22. this file obviously expect it to be a manifest constant.  I hacked
  23. around it by changing the DIRSIZ to MAXNAMLEN, although I'm not sure
  24. that's completely right.  Is it?  Are there any other gotchas in
  25. A/UX's part SYSV part BSD environment?
  26.  
  27.  
  28. -- 
  29.  
  30. Dan S.
  31.