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