Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Eric D. Osborne" <osborneer@mail.dec.com>
Subject: Re: What Does DEC Have Left? (was: Current Unpleasantness Resolved)
Date: 1997/11/24	[thread overview]
Message-ID: <3479303C.B86@mail.dec.com> (raw)
In-Reply-To: 654lek$ajm$1@flea.best.net


Matt Dillon wrote:

>     This is not broken.  This is why you use prototypes and compile -Wall
>     -Wstrict-prototypes ... to allow the compiler to cast the arguments
>     properly for the call.   This is, in fact, one of the primary purposes
>     behind ANSI prototypes and procedure argument specification.
>     To require that exactly the right integer type be passed to a procedure
>     is not good coding practice, it's a pain in the ass and totally
>     non-portable across operating systems.  Even with the mandated library
>     call typing, there are hundreds of other libraries out there unrelated
>     to the ANSI spec that one must deal with.

Matt :

I think we're in a sort of violent agreement, with perhaps slightly
different
viewpoints/philosophies. In your example, you are forcing the compiler
to do the
casting of the parameters, and in mine I used explicit casts. The net
message
remains the same. One way or another, you have to ensure that the
correct type
is passed. If you just trust this stuff to luck, you're writing bad
code. And if
you do it right, you don't have any problems with portability.

The original message of the post I was responding to was that Digital
UNIX
is inherently incompatible with other UNIX implementations. It is, in
fact, not
so. My examples were intended to explicitly demonstrate that Digital
UNIX
does, indeed, use EXACTLY the same data types as do other POSIX
compliant
UNIX variants within these calls. 

Having said that, you're right - variations in C language
implementation,
library implementation, etc., can make it difficult to deal with some
of these portability issues in going between disparate operating
systems.
And using the techniques you described can, in fact, help a lot.

That doesn't diminish the importance of my point about DU being 
unfairly maligned for lack of standards compliance. DU maintains
compliance as good as or better than anything out there. And it
shouldn't be blamed when poorly written code doesn't port well.

Eric D. Osborne

The opinions expressed above are my own, and should not be
interpreted as an official statement by Digital Equipment
Corporation.



  parent reply	other threads:[~1997-11-24  5:00 UTC|newest]

Thread overview: 309+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-27  5:00 Per SKD Expections, Current Unpleasantness Resolved T. Shannon
1997-10-27  5:00 ` Malcolm Dunnett
1997-10-28  5:00   ` T. Shannon
1997-10-28  5:00   ` Roger Ivie
1997-10-28  5:00     ` Egg
1997-10-29  5:00   ` Steve Strange
1997-10-29  5:00     ` Terry C. Shannon
1997-10-29  5:00     ` jf mezei
1997-10-29  5:00       ` Douglas H. Borsom
1997-10-30  5:00       ` Larry Kilgallen
1997-10-30  5:00         ` Douglas H. Borsom
1997-10-30  5:00       ` Burkhard Neidecker-Lutz
1997-10-30  5:00         ` Larry Hewitt
1997-11-03  5:00           ` Burkhard Neidecker-Lutz
1997-11-04  5:00             ` jf mezei
1997-11-04  5:00               ` Paul DeMone
1997-11-04  5:00               ` Jan Vorbrueggen
1997-11-05  5:00               ` Daniel S. Riley
     [not found]         ` <3459603f.2352852@nntp.ix.netcom.com>
1997-10-31  5:00           ` N Novakovic
1997-10-31  5:00           ` Glenn Everhart
1997-11-03  5:00           ` Burkhard Neidecker-Lutz
1997-10-27  5:00 ` jf mezei
1997-10-28  5:00   ` Douglas H. Borsom
1997-10-28  5:00   ` Roger Ivie
1997-10-29  5:00     ` Larry Kilgallen
1997-10-30  5:00       ` Brian Schenkenberger, VAXman-
1997-10-28  5:00   ` T. Shannon
1997-10-28  5:00     ` jf mezei
1997-10-29  5:00       ` Terry C. Shannon
1997-10-29  5:00         ` jf mezei
1997-10-30  5:00           ` Terry C. Shannon
1997-10-30  5:00           ` Per SKD Exceptions, " Jim Lahman
1997-10-29  5:00             ` Paul DeMone
1997-11-01  5:00               ` Jim Lahman
1997-10-28  5:00   ` Per SKD Expections, " Larry Kilgallen
1997-10-30  5:00   ` Burkhard Neidecker-Lutz
1997-10-27  5:00 ` Jonathan Boswell
1997-10-27  5:00   ` Larry Kilgallen
1997-10-28  5:00     ` Terry C. Shannon
1997-10-29  5:00       ` mathog
1997-10-30  5:00         ` Dave Cherkus
1997-11-01  5:00         ` Kevin Handy
1997-11-03  5:00         ` Burkhard Neidecker-Lutz
1997-10-27  5:00   ` T. Shannon
1997-10-28  5:00     ` Uwe Leinberger GSI Darmstadt
1997-10-31  5:00       ` Burkhard Neidecker-Lutz
1997-10-28  5:00     ` mathog
1997-10-27  5:00   ` Glenn Everhart
1997-10-27  5:00     ` Jonathan Boswell
1997-10-27  5:00       ` Larry Kilgallen
1997-10-27  5:00         ` Douglas H. Borsom
1997-10-28  5:00           ` Roger Ivie
1997-11-03  5:00             ` Burkhard Neidecker-Lutz
1997-10-28  5:00           ` Terry C. Shannon
1997-10-28  5:00           ` T. Shannon
1997-10-28  5:00             ` Paul DeMone
1997-10-29  5:00               ` Brian Tillman
1997-10-29  5:00                 ` Lawrence MacIntyre
1997-10-31  5:00                   ` Brian Tillman
1997-10-31  5:00                     ` Lee K. Gleason
1997-10-28  5:00             ` Jonathan Boswell
1997-10-30  5:00               ` Burkhard Neidecker-Lutz
1997-10-31  5:00                 ` Rob Young
1997-10-28  5:00             ` Jan Vorbrueggen
1997-10-28  5:00               ` Terry C. Shannon
1997-11-07  5:00             ` Gary Heston
1997-10-28  5:00         ` Ed Wilts
1997-10-27  5:00     ` T. Shannon
1997-10-31  5:00       ` Paul Repacholi (prep)
1997-10-28  5:00   ` mathog
1997-10-28  5:00     ` Terry C. Shannon
1997-10-28  5:00       ` Roger Ivie
1997-10-29  5:00         ` Terry C. Shannon
1997-10-28  5:00     ` Tim Shoppa
1997-10-30  5:00       ` Eric D. Osborne
1997-10-30  5:00         ` Guy Harris
1997-10-31  5:00           ` Eric D. Osborne
1997-11-03  5:00             ` Guy Harris
1997-11-05  5:00               ` Eric D. Osborne
1997-11-06  5:00                 ` Guy Harris
1997-11-10  5:00                   ` Robert Koehler
1997-11-09  5:00                 ` Larry Kilgallen
1997-11-03  5:00             ` Guy Harris
1997-11-05  5:00             ` Dave Cherkus
1997-10-30  5:00         ` Jan Vorbrueggen
1997-10-30  5:00         ` Paul J Lustgraaf
1997-10-30  5:00         ` Uwe Leinberger GSI Darmstadt
1997-10-30  5:00         ` Roger Ivie
1997-10-30  5:00           ` Glenn Everhart
1997-10-30  5:00             ` Per SKD Expectations, " Terry C. Shannon
1997-10-30  5:00               ` Glenn Everhart
1997-10-31  5:00             ` Per SKD Expections, " mathog
1997-11-01  5:00               ` Per SKD Expectations, " Terry C. Shannon
1997-10-31  5:00                 ` Mark E. Levy
1997-11-01  5:00                   ` Peter LANGSTOEGER
1997-11-02  5:00                   ` jf mezei
1997-11-03  5:00             ` Per SKD Expections, " Eric D. Osborne
1997-11-04  5:00               ` system
1997-11-04  5:00                 ` Eric D. Osborne
1997-11-04  5:00               ` jf mezei
1997-10-30  5:00         ` John Wilson
1997-10-31  5:00         ` jf mezei
1997-11-01  5:00           ` Per SKD Expectations, " Terry C. Shannon
1997-11-03  5:00           ` Per SKD Expections, " Burkhard Neidecker-Lutz
1997-11-03  5:00       ` Curt Sampson
1997-10-29  5:00     ` Carl Perkins
1997-11-03  5:00     ` Burkhard Neidecker-Lutz
1997-11-03  5:00       ` jf mezei
1997-11-04  5:00         ` RISC role reversal (was " Paul DeMone
1997-11-04  5:00         ` Douglas H. Borsom
1997-11-06  5:00         ` Burkhard Neidecker-Lutz
1997-11-06  5:00           ` mathog
1997-11-07  5:00             ` Jan Vorbrueggen
1997-11-07  5:00               ` Ross Alexander
1997-11-07  5:00             ` Burkhard Neidecker-Lutz
1997-11-07  5:00               ` mathog
1997-11-07  5:00                 ` Douglas H. Borsom
1997-11-08  5:00                   ` Dirk Grunwald
1997-11-08  5:00                     ` Douglas H. Borsom
1997-11-10  5:00                   ` mathog
1997-11-11  5:00                   ` Eric van Bezooijen
1997-11-10  5:00                     ` Douglas H. Borsom
1997-11-11  5:00                       ` Chris Morgan
1997-11-11  5:00                         ` Douglas H. Borsom
1997-11-12  5:00                           ` Jordan Henderson
1997-11-10  5:00                 ` OS prices, was: Re: Per SKD Expections mathog
1997-11-11  5:00                   ` John A Santos
1997-11-07  5:00               ` Per SKD Expections, Current Unpleasantness Resolved Paul Repacholi (prep)
1997-11-10  5:00                 ` Burkhard Neidecker-Lutz
1997-11-10  5:00                   ` Terry C. Shannon
1997-11-10  5:00                   ` Jan Vorbrueggen
1997-11-12  5:00                     ` Glenn C. Everhart
1997-11-10  5:00                   ` Tony Kennedy
1997-11-11  5:00                   ` Paul Repacholi (prep)
1997-11-10  5:00               ` Like a tea tray in the sky...
1997-11-12  5:00               ` Dave Cherkus
1997-11-06  5:00           ` jf mezei
1997-11-07  5:00             ` Burkhard Neidecker-Lutz
1997-11-07  5:00             ` Allyn W. Dunstan
1997-11-07  5:00               ` Ed Wilts
1997-11-07  5:00           ` Rob Young
1997-11-08  5:00             ` jf mezei
1997-11-09  5:00             ` Larry Kilgallen
1997-11-10  5:00               ` Like a tea tray in the sky...
1997-11-13  5:00                 ` Ross Alexander
1997-11-14  5:00                 ` Terry C. Shannon
1997-11-14  5:00                 ` Tony Scandora 630-252-7541
1997-11-14  5:00                   ` Steve Tate
1997-11-05  5:00       ` Bob DeBula
1997-11-06  5:00         ` Burkhard Neidecker-Lutz
1997-10-28  5:00   ` Richard Krehbiel
     [not found] ` <632ops$i0m$1@sun27.hrz.tu-darmstadt.de>
1997-10-27  5:00   ` What Does DEC Have Left? (was: Current Unpleasantness Resolved) T. Shannon
1997-10-27  5:00     ` Paul DeMone
1997-10-28  5:00       ` Anil Thomas Maliyekkel
1997-10-28  5:00         ` Glenn Everhart
1997-10-28  5:00           ` Larry Kilgallen
1997-10-30  5:00           ` Dave Cherkus
1997-10-28  5:00         ` Larry Kilgallen
1997-10-28  5:00           ` Phillip Helbig
1997-10-28  5:00           ` Anil Thomas Maliyekkel
1997-10-28  5:00             ` Douglas H. Borsom
1997-10-29  5:00               ` Carl Perkins
1997-10-29  5:00                 ` bowler
1997-10-29  5:00                   ` Anil Thomas Maliyekkel
1997-10-29  5:00                     ` Terry C. Shannon
1997-10-30  5:00             ` Burkhard Neidecker-Lutz
1997-10-30  5:00               ` Anil Thomas Maliyekkel
1997-10-30  5:00               ` Terry C. Shannon
1997-10-31  5:00               ` Andrew Harrison SUNUK Consultancy
1997-10-31  5:00                 ` Anil Thomas Maliyekkel
1997-10-31  5:00                 ` Douglas H. Borsom
1997-11-05  5:00                 ` Dave Cherkus
1997-10-31  5:00               ` Robert Koehler
1997-10-31  5:00                 ` Andrew Harrison SUNUK Consultancy
1997-10-31  5:00               ` Matt Dillon
1997-11-05  5:00                 ` Dave Cherkus
1997-11-05  5:00                   ` Matt Dillon
1997-11-06  5:00                     ` Stefan Monnier
1997-11-06  5:00                       ` Guy Harris
1997-11-06  5:00                         ` Matt Dillon
1997-11-08  5:00                     ` Dave Cherkus
1997-11-05  5:00                   ` Joshua Cope
1997-11-06  5:00                   ` Shannon Hendrix
1997-11-09  5:00                   ` Larry Kilgallen
1997-10-28  5:00           ` Egg
1997-10-30  5:00         ` Dave Cherkus
1997-10-30  5:00           ` Terry C. Shannon
1997-10-30  5:00           ` Mats Wichmann
1997-10-30  5:00         ` Martin Moore
1997-10-30  5:00           ` kenn roberts
1997-10-31  5:00             ` Burkhard Neidecker-Lutz
1997-10-31  5:00               ` Andrew Harrison SUNUK Consultancy
1997-10-31  5:00                 ` Anil Thomas Maliyekkel
1997-11-03  5:00                 ` mathog
1997-11-04  5:00                   ` Jerry Leichter
1997-11-04  5:00                     ` mathog
1997-11-04  5:00                       ` Paul DeMone
1997-11-04  5:00                       ` Jerome Fine
1997-11-07  5:00                   ` Glenn C. Everhart
1997-11-09  5:00                   ` Larry Kilgallen
1997-11-03  5:00                 ` Burkhard Neidecker-Lutz
1997-11-05  5:00                   ` Andrew Harrison SUNUK Consultancy
1997-11-11  5:00                     ` Stefan Monnier
1997-11-11  5:00                     ` Burkhard Neidecker-Lutz
1997-11-11  5:00                       ` Anil Thomas Maliyekkel
1997-11-12  5:00                         ` Matthias Dolder
1997-11-14  5:00                           ` Peter Quodling
1997-11-14  5:00                             ` Anil Thomas Maliyekkel
1997-11-21  5:00                               ` Eric D. Osborne
1997-11-21  5:00                                 ` Mike Iglesias
1997-11-21  5:00                                 ` Matt Dillon
1997-11-21  5:00                                   ` Will "Alpha is Toast" Become a Self-Fulfilling Prophecy? Terry Shannon
1997-11-24  5:00                                   ` Eric D. Osborne [this message]
1997-11-24  5:00                                     ` What Does DEC Have Left? (was: Current Unpleasantness Resolved) Anil Thomas Maliyekkel
1997-11-13  5:00                         ` Burkhard Neidecker-Lutz
1997-11-13  5:00                           ` Anil Thomas Maliyekkel
1997-11-12  5:00                       ` Andrew Harrison SUNUK Consultancy
1997-11-13  5:00                         ` Matthias Dolder
     [not found]                           ` <64q2s3$1dm@flonk.uk.sun.com>
1997-11-18  5:00                             ` Kristoffer Lawson
1997-11-19  5:00                               ` Andrew Harrison SUNUK Consultancy
1997-11-19  5:00                                 ` jf mezei
1997-11-21  5:00                                   ` Craig Milo Rogers
1997-11-21  5:00                                     ` Terry Shannon
1997-11-19  5:00                                 ` Andre M Scroggie
1997-11-20  5:00                                   ` Terry Shannon
1997-11-18  5:00                             ` Dennis Weed
1997-11-19  5:00                               ` Andrew Harrison SUNUK Consultancy
1997-11-19  5:00                                 ` Terry Shannon
1997-11-20  5:00                                   ` Phil Ronzone
1997-11-20  5:00                                 ` Paul DeMone
1997-11-21  5:00                             ` Matthias Dolder
1997-11-23  5:00                               ` Like a tea tray in the sky...
1997-11-26  5:00                                 ` Brian Schenkenberger, VAXman-
1997-11-21  5:00                             ` Matthias Dolder
1997-11-24  5:00                               ` Andrew Harrison SUNUK Consultancy
1997-11-26  5:00                                 ` Peter Mayne
1997-11-27  5:00                                   ` Andrew Harrison SUNUK Consultancy
1997-11-06  5:00                 ` Paul Repacholi (prep)
1997-11-06  5:00                   ` Burkhard Neidecker-Lutz
1997-10-31  5:00               ` Egg
1997-11-03  5:00                 ` Burkhard Neidecker-Lutz
1997-11-01  5:00               ` John A. Turner
1997-11-05  5:00                 ` Burkhard Neidecker-Lutz
1997-11-07  5:00                 ` Glenn C. Everhart
1997-11-10  5:00                   ` Burkhard Neidecker-Lutz
1997-11-10  5:00                     ` Shannon Hendrix
1997-11-11  5:00                       ` Burkhard Neidecker-Lutz
1997-11-12  5:00                         ` Glenn C. Everhart
1997-10-28  5:00       ` John Wilson
1997-10-30  5:00       ` Mitchell Clark
1997-10-30  5:00         ` Terry C. Shannon
1997-10-30  5:00         ` Ed Wilts
1997-10-27  5:00     ` Larry Kilgallen
  -- strict thread matches above, loose matches on Subject: below --
1997-11-21  5:00 Thomas Dzubin
1997-11-21  5:00 ` root
1997-11-22  5:00   ` Douglas H. Borsom
1997-11-21  5:00 ` Like a tea tray in the sky...
1997-11-25  5:00   ` Terry Shannon
1997-11-25  5:00     ` Chuck McCrobie (** MAD VAX **)
1997-11-25  5:00       ` jf mezei
1997-11-25  5:00         ` Terry Shannon
1997-11-29  5:00           ` Gregg E Economou
1997-11-29  5:00             ` root
1997-12-02  5:00               ` Mark E. Levy
1997-12-03  5:00                 ` John Hascall
1997-12-04  5:00                   ` Tony Scandora 630-252-7541
1997-12-08  5:00                 ` William Holmes
1997-12-08  5:00                   ` Doug McDonald
1997-12-09  5:00                     ` mathog
1997-11-30  5:00             ` Mark E. Levy
1997-12-01  5:00               ` Terry Shannon
1997-11-30  5:00                 ` Chris Morgan
1997-12-01  5:00                   ` Uwe Leinberger GSI Darmstadt T. 06159/71-2148 Fax -2155
1997-12-02  5:00                 ` Mark E. Levy
1997-12-04  5:00                   ` Bob DeBula
1997-11-25  5:00         ` John Wilson
1997-11-25  5:00           ` David M. Whitney
1997-11-26  5:00             ` vhalkka
1997-11-25  5:00         ` mathog
1997-11-25  5:00           ` Douglas H. Borsom
1997-11-25  5:00             ` billy
1997-11-26  5:00             ` Terry Shannon
1997-11-26  5:00             ` mathog
1997-11-26  5:00               ` jf mezei
1997-11-29  5:00                 ` Joseph B. Gurman
1997-11-29  5:00                   ` jf mezei
1997-11-30  5:00                     ` Terry Shannon
1997-11-30  5:00                       ` jf mezei
1997-11-30  5:00                       ` Mark E. Levy
1997-11-29  5:00                   ` Jerry Leslie
1997-11-29  5:00                     ` Joseph B. Gurman
1997-11-29  5:00                   ` Tim Shoppa
1997-11-29  5:00                     ` Joseph B. Gurman
1997-11-30  5:00                       ` Terry Shannon
1997-12-03  5:00                         ` Joseph B. Gurman
1997-12-05  5:00                         ` Paul DeMone
1997-12-02  5:00                       ` jeffrey.powell
1997-12-03  5:00                         ` Tony Scandora 630-252-7541
1997-12-03  5:00                           ` Terry Shannon
1997-12-04  5:00                             ` jf mezei
1997-12-04  5:00                               ` Terry Shannon
1997-12-04  5:00                                 ` Anil Thomas Maliyekkel
1997-12-04  5:00                               ` John Hascall
1997-12-04  5:00                           ` Peter LANGSTOEGER
1997-12-03  5:00                       ` Paul DeMone
1997-12-05  5:00                         ` Lothar Deil
1997-12-03  5:00                       ` Gregg E Economou
1997-11-28  5:00     ` Gregg E Economou
1997-11-22  5:00 ` Paul DeMone
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox