home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
-
- Doug writes:
- > XPG is essentially SVID with extensions, so if you steer clear of the
- > extensions you should be able to port to any modern System V implementation.
- > However, in that case you might as well use SVID as a guide. Fortunately,
- > SVID, XPG, AES, and POSIX.1 are substantially in agreement these days and
- > therefore if you don't use features specific to just a proper subset of
- > them your code should be widely portable. The problems arise primarily
- > when porting to systems based on 4.[23]BSD without System V enhancements.
-
- Huh? If you stick to the intersection of all of those standards, there's
- very, very little you can do which won't work on BSD. The problems arise
- primarily when you take a program which depends on networking, or
- reliable signals, or job control, or select(), and try to port it to
- systems based on System V without BSD 4.[23] enhancements. You imply
- that BSD without System V features is limited, when in practice the
- exact opposite is true.
-
- If, on the other hand, you don't restrict your view of POSIX to features
- which were already set in stone by the SVID, then you begin to see quite
- a few BSD-specific features (like reliable signals), as well as some
- inventions which don't correspond to *any* de facto standard (like POSIX
- job control). So much for using ``standards'' to make your code
- portable. I'd rather continue to write code which works on real systems,
- thank you very much.
-
- ---Dan
-
- Volume-Number: Volume 26, Number 80
-
-