🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #644

Re: Problem with compress

#644
From: Dan Bernstein
Date: Tue, 14 May 1991 16:52
15 lines
1214 bytes
(I'm not sure whether this is appropriate for comp.compression.)

In article <1991May14.044431.23932@sparky.IMD.Sterling.COM> kent@sparky.IMD.Sterling.COM (Kent Landfield) writes:
> I received an interesting question today, one I had never really considered.
> "How does compress deal with symbolic links ?"

compress isn't a BSD program. It uses stat(), and its behavior makes
perfect sense.

I think compressors should ignore problems like this. They shouldn't
open files, they shouldn't close files, they shouldn't do anything but
read data and write compressed data. This also makes them more portable.
A separate, system-dependent program can do the dirty work.

---Dan
Technical Details
Message-ID: <26085:May1416:52:3491@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <1991May14.044431.23932@sparky.IMD.Sterling.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!news.cs.indiana.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.sources.bugs,comp.compression
Subject: Re: Problem with compress
Message-ID: <26085:May1416:52:3491@kramden.acf.nyu.edu>
Date: 14 May 91 16:52:34 GMT
Article-I.D.: kramden.26085:May1416:52:3491
References: <1991May14.044431.23932@sparky.IMD.Sterling.COM>
Organization: IR
Lines: 15