Path: utzoo!attcan!uunet!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!cive.ri.cmu.edu!hmp From: hmp@cive.ri.cmu.edu (Henning Pangels) Newsgroups: comp.realtime Subject: File I/O under VxWorks Keywords: Overwriting existing files Message-ID: <7948@pt.cs.cmu.edu> Date: 12 Feb 90 18:22:54 GMT Organization: Carnegie-Mellon University, CS/RI Lines: 11 I'm having a hard time overwriting an existing file and closing it *smaller* in size than it was before. I'm using NFS, and other than this there are no problems reading or writing files. I can overwrite the existing portion, and enlarge the file by writing beyond it, but I can't make the file shrink. I've tried explicitly using lseek, but no dice...has anyone run into this? -- Henning Pangels Field Robotics Center ARPAnet/Internet: hmp@cive.ri.cmu.edu Robotics Institute (412) 268-7088 Carnegie-Mellon University