It has not so much to do with *design* as finding out how the different lib C implementers interpreted the standard (or the compiler implementers for that sake). You've to read a lot of FM's and header files. ;-) For a nice example where RTFM did not help much see: http://root.cern.ch/lxr/source/unix/src/TUnixSystem.cxx#1863 Here good design would have lead to being able to run on only a few platforms and not 14. -- Fons Dan Pop wrote: > > On Fri, 6 Oct 2000, Fons Rademakers wrote: > > > I know now (thanks to glibc 2.2), but of all the platforms I've been > > compiling this code on (about 14 different architectures) this is the > > first time it failed. Proving the point that to get robust code > > you have to port it to many different platforms. > > Proving the point that to get robust code *by design*, rather than > *by accident* you have to RTFM :-) > > Dan -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:34 MET