Path: utzoo!attcan!uunet!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!tom From: tom@mims-iris.waterloo.edu (Tom Haapanen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: xx vs. uu Message-ID: <1168@watserv1.waterloo.edu> Date: 21 Feb 90 14:55:20 GMT References: <1513@krafla.rhi.hi.is> <493@sixhub.UUCP> <1226@tuminfo1.lan.informatik.tu-muenchen. <507@sixhub.UUCP> <90052.022126CMH117@psuvm.psu.edu> Sender: daemon@watserv1.waterloo.edu Organization: WATMIMS Research Group, University of Waterloo Lines: 29 > Wm E. Davidsen Jr. writes: > > There is a version of lharc which runs on SysV, but it fails if ints > >are not 16 bits. If you change all the int statements to short it runs > >on more machines. Charles Hannum writes: > K&R2 [ANSI-standard] C specifies: > "int" (neither far nor short) implicitly means "short int" > "short int"s are 16 bits > Your compiler is broken. Charles, read the book before throwing accusations about. K&R, 2nd edition, page 196: "Plain int objects have the natural size suggested by the host machine architecture; the other sizes are provided to meet special needs. Longer integers provide at least as much storage as shorter ones, but the implementation may make plain integers equivalent to either short integers, or long integers." I think that's pretty unambiguous. As to compression in moderated groups, I would personally use zoo. Not because it has the best compression, not because it's a standard, not even because I can read archives portably, but because it would enable me to *create* the archives on Unix. A big plus, in my opinion... \tom haapanen "now, you didn't really expect tom@mims-iris.waterloo.edu my views to have anything to do watmims research group with my employer's, did you?" university of waterloo "I don't even know what street Canada is on" -- Al Capone