Xref: utzoo comp.bugs.4bsd:1751 comp.lang.c:35944 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!umich!dgsi!dbc From: dbc@cimage.com (David Caswell) Newsgroups: comp.bugs.4bsd,comp.lang.c Subject: Re: Complexity of reallocating storage (was users command crap) Message-ID: <1991Feb8.190950.9442@cimage.com> Date: 8 Feb 91 19:09:50 GMT References: <6662@exodus.Eng.Sun.COM> <15325:Jan2903:19:4991@kramden.acf.nyu.edu> <21548@yunexus.YorkU.CA> <5883:Feb102:05:4991@kramden.acf.nyu.edu> <1991Feb2.045119.22199@zoo.toronto.edu> Reply-To: dbc@dgsi.UUCP (David Caswell) Organization: Cimage Corp, Ann Arbor, MI Lines: 10 .From pty/master.c: . . (void) lseek(fdsess,(long) 0,0); . (void) read(fdsess,(char *) &newuid,sizeof(int)); . (void) sprintf(newsuid,"%d",newuid); . should be (void) lseek(fdsess,0L,0); saves some keystokes, after all what else in the world is important?