"Brian F. Feldman" wrote: > On Fri, 6 Aug 1999, Don Lewis wrote: > > > On Aug 6, 3:29pm, Sheldon Hearn wrote: > > } Subject: quad_t and portability > > } > > } Hi folks, > > } > > } I want to patch wc(1) so that it uses quad_t instead of u_long. This is > > } necessary if wc(1) is to produce sensible results for files containing > > } more than 4GB of data. > > > > Why not off_t, which should be portable and scale properly with the > > maximum system file size. Then the only problem is figuring a portable > > means of printing the result ... > > > > You can always use off_t with "%qd", (int64_t)foo. But not on the Alpha... int64_t is a long there, and gcc complains unless you use %ld. Cheers, -Peter To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- quad_t and portability Sheldon Hearn
- Re: quad_t and portability Sheldon Hearn
- RE: quad_t and portability Alton, Matthew
- Re: quad_t and portability Don Lewis
- Re: quad_t and portability Brian F. Feldman
- Re: quad_t and portability Warner Losh
- Re: quad_t and portability Brian F. Feldman
- Re: quad_t and portability Warner Losh
- Re: quad_t and portability Brian F. Feldman
- Re: quad_t and portability Patryk Zadarnowski
- Re: quad_t and portability Peter Wemm
- Re: quad_t and portability Bernd Walter
- Re: quad_t and portability Doug Rabson
- Re: quad_t and portability John Polstra
- Re: quad_t and portability Brian F. Feldman
- Re: quad_t and portabilit... Tony Finch
- Re: quad_t and portabilit... Brian F. Feldman
- Re: quad_t and portability Brian F. Feldman
- Re: quad_t and portability Alex Zepeda
- Re: quad_t and portability Jonathan Lemon

