Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!elroy.jpl.nasa.gov!sdd.hp.com!mips!daver!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.lang.perl Subject: Re: directory entries chopped on SCO Unix Message-ID: <27D29B05.3442@tct.uucp> Date: 4 Mar 91 19:07:49 GMT References: <18097@ogicse.ogi.edu> Organization: Teltronics/TCT, Sarasota, FL Lines: 12 According to schaefer@ogicse.ogi.edu (Barton E. Schaefer): >Yeah, make sure you DO NOT use -lx when linking. It has (incorrect, >ore more accurately, outdated) opendir(), readdir(), closedir() etc. Too true. >As far as I know, the only thing -lx is needed for in 3.2.2 is the >ancient rdchk() call ... Actually, Perl _is_ using routine from -lx: chsize(). It's used to implement the "truncate" function. Fortunately, the fcntl() solution for System V is just as effective, and it doesn't require -lx.