🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #323

Re: Complexity of reallocating storage (was users command crap)

#323
From: David Caswell
Date: Fri, 08 Feb 1991 19:09
10 lines
883 bytes
.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?
Technical Details
Message-ID: <1991Feb8.190950.9442@cimage.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!umich!dgsi!dbc
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>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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