massive type confusion [in 4.2bsd]

William L. Sebok wls at astrovax.UUCP
Sun Dec 9 04:31:46 AEST 1984


> > Description:
> > 	These files use int where long is correct and fail to use
> > 	the types defined in <sys/types.h>.
> > Repeat-By:
> > 	Lint a type-correct program that calls lseek, time and ctime
> > 	and which passes lint on v7 (not 4.1BSD, not 2BSD).  Observe
> > 	the utterly wrong and copious messages produced by lint.
> > Fix:
> > 	Edit llib-lc to use off_t instead of long where appropriate
> 
> No, don't do it!  This would make llib-lc incompatible with the manual
> pages.  That's just as bad.  llib-lc should look like the manual pages
> whenever possible.

Do it right.  Edit both llib-lc and the manual pages.

I believe that we went through this discussion about two or three months
ago.
-- 
Bill Sebok			Princeton University, Astrophysics
{allegra,akgua,burl,cbosgd,decvax,ihnp4,noao,princeton,vax135}!astrovax!wls



More information about the Comp.unix.wizards mailing list