X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using rename() with files still opened. Date: Sat, 30 May 2009 23:58:24 -0400 Organization: Aioe.org NNTP Server Lines: 19 Message-ID: References: <4cc1f101-88b2-4cda-a7b5-b01eaa9a77bf AT c9g2000yqm DOT googlegroups DOT com> <200905302109 DOT n4UL9lSG029239 AT envy DOT delorie DOT com> <16c0e74a-7e29-4444-912a-88ed19adb505 AT w40g2000yqd DOT googlegroups DOT com> NNTP-Posting-Host: pldq+kT97bAAp/ObDwnZyQ.user.aioe.org X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 X-Notice: Filtered by postfilter v. 0.7.9 X-Newsreader: Microsoft Outlook Express 6.00.2800.1933 Cancel-Lock: sha1:GJYwBm/KBPwpnZmwP2kgxzaiIMU= X-Priority: 3 X-MSMail-Priority: Normal To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Juan Manuel Guerrero" wrote in message news:16c0e74a-7e29-4444-912a-88ed19adb505 AT w40g2000yqd DOT googlegroups DOT com... > On 30 Mai, 23:09, DJ Delorie wrote: > > This is the way DOS works - files and their names are tightly linked; > > whereas on Linux files and their names are only loosely linked. > > Ok, in that case I will fix the issue in sed. Hmm, I never ever would've considered renaming a file while it was open... I think you should report this as a bug in SED instead of fixing the DJGPP port. The ability to rename a file while it's still open has to be an implementation-defined feature for Linux since the neither the ISO C spec.'s nor the POSIX spec.'s, AFAICT, make any mention of this ability as a requirement. Rod Pemberton