🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #914

Re: how to put a program into .plan file

#914
From: Paul John Falstad
Date: Thu, 27 Sep 1990 13:25
13 lines
1301 bytes
In article <1990Sep27.060223.29844@mercury.cair.du.edu> rwelch@diana.cair.du.edu (RANDY S WELCH) writes:
>Somewhat along the same lines, how can one tell if a file you have been
>reading has been mv'ed?  

Couldn't you just use access() to see if it's still in the same place?
If you think someone has mv'ed your file somewhere else and then mv'ed
another one in its place, I suppose you could stat the file and fstat
your descriptor and compare the two...

If Lafontaine's elk would spurn Tom Jones, the engine must be our head, the
dining car our esophagus, the guardsvan our left lung, the kettle truck our
shins, the first class compartment the piece of skin at the nape of the neck,
and the level crossing an electric elk called Simon.
Technical Details
Message-ID: <2861@idunno.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!phoenix!pfalstad
References: <1990Sep26.155456.1656@agate.berkeley.edu> <1990Sep27.060223.29844@mercury.cair.du.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!phoenix!pfalstad
From: pfalstad@phoenix.Princeton.EDU (Paul John Falstad)
Newsgroups: comp.unix.programmer
Subject: Re: how to put a program into .plan file
Message-ID: <2861@idunno.Princeton.EDU>
Date: 27 Sep 90 13:25:21 GMT
References: <1990Sep26.155456.1656@agate.berkeley.edu> <1990Sep27.060223.29844@mercury.cair.du.edu>
Sender: news@idunno.Princeton.EDU
Organization: Princeton University, Princeton, New Jersey
Lines: 13