Article View: comp.std.unix
Article #278Re: Common Reference Ballot
From: Peter da Silva
Date: Tue, 22 May 1990 17:56
Date: Tue, 22 May 1990 17:56
39 lines
2231 bytes
2231 bytes
From: peter@ficc.ferranti.com (Peter da Silva) [ in the real world there are programmers who aren always as sensitive to portability issues as they should be ] > I like to think I'm working in the real world, and because I do care > about application portability I'm careful about these things when I > program. I suspect I'm not the only one. You and I will do that. But the people whose code I find myself maintaining are not always quite so careful. They generally try to conform to the standard as far as they know it, but aren't willing to go back to the base document to check on stuff they're sure is correct. > Note that there IS no magic > road to guaranteed portability, if the programmer is oblivious to the > issues. Not oblivious. Just not as sensitive as they should be. Say, someone trying to maintain a program that uses mmap(). Suddenly they need to save state, so they put the arguments in to map the whole file in. Six months later, when time comes to integrate this code back to the baseline it breaks on some machine that doesn't have a real mmap(). I don't want a magic road, but the signposts should at least be clear. [ extensions should require some magic juju before they're active, like calling mmap instead of shmmap ] > That would be nice, but it's pretty hard to enforce in cases like > adding extended functionality to the standard functions. Such as? -- `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.ferranti.com> 'U` Have you hugged your wolf today? <peter@sugar.hackercorp.com> @FIN Dirty words: Zhghnyyl erphefvir vayvar shapgvbaf. Volume-Number: Volume 20, Number 15
Technical Details
Message-ID:
<706@longway.TIC.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!longway!std-unixReferences:
<692@longway.TIC.COM> <696@longway.TIC.COM> <697@longway.TIC.COM> <701@longway.TIC.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!longway!std-unix From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.std.unix Subject: Re: Common Reference Ballot Message-ID: <706@longway.TIC.COM> Date: 22 May 90 17:56:11 GMT References: <692@longway.TIC.COM> <696@longway.TIC.COM> <697@longway.TIC.COM> <701@longway.TIC.COM> Sender: std-unix@longway.TIC.COM Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 39 Approved: jsq@longway.tic.com (Moderator, John S. Quarterman)