delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/07/25/18:30:27

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANNOUNCE: DJGPP port of GNU Sed 4.2 uploaded.
Date: Sat, 25 Jul 2009 15:19:49 -0700 (PDT)
Organization: http://groups.google.com
Lines: 48
Message-ID: <74609d3f-4c7a-4e07-8500-e7a1c74deb77@33g2000vbe.googlegroups.com>
References: <200906080112 DOT n581CI65027120 AT delorie DOT com> <2ebe0f9b-17d8-4f6b-af78-d9468d0dab77 AT 26g2000yqk DOT googlegroups DOT com>
<4A58F9BF DOT 70601 AT iki DOT fi> <4a53692e-1d26-4742-bcd9-438819986a50 AT f10g2000vbf DOT googlegroups DOT com>
<d9d3a6ef-53c2-44ca-b406-16f76e351d2a AT p28g2000vbn DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1248560390 7232 127.0.0.1 (25 Jul 2009 22:19:50 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sat, 25 Jul 2009 22:19:50 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: 33g2000vbe.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Jul 14, 1:24=A0am, Juan Manuel Guerrero <juan DOT guerr DOT  DOT  DOT  AT gmx DOT de> wrote:
> On 11 Jul 2009 00:32:04, "Rugxulo" <rugxulo AT gmail DOT com> wrote:
> > On Jun 7, 5:25=3DA0pm, "Juan Manuel Guerrero" <juan DOT guerr DOT =A0DO=
T =A0DOT =A0AT gmx DOT de>
> > wrote:
>
> > > This is a port of GNU Sed 4.2 to MSDOS/DJGPP.
>
> > > =3DA0 Send suggestions and bug reports concerning the DJGPP port
> > > =3DA0 to comp.os.msdos.djgpp or <dj DOT =A0DOT =A0DOT =A0AT delorie D=
OT com>.
>
> It is certainly not a bug. =A0All 100% MSDOS compatible OS
> must produce this error message.
> The same happens on Windows if you set LFN=3Dn.

Well, here's what I think is an actual real bug since it not only
whines, but it doesn't work, even on Windows (LFN). I tested both
4.1.5 and 4.2, same bug. In my mind, it should work, but for some
reason it doesn't.    :-/      It seems to leave a temporary file in
the current dir (a or aaaaa in this case) with what is probably the
failed rename file.

-----------------------------------
[ Vista/DJGPP ] - Sat 07/25/2009 >sed -i -e "/^unsi.* _rdtsc(/s/^/
static /" -e
"s/extern \(__inline__\)/static \1/" /dev/env/DJDIR/include/time.h
c:/armslurp/utils/sed.exe: cannot rename /dev/env/DJDIR/include//
seaaaaaa: Perm
ission denied (EACCES)

[ Vista/DJGPP ] - Sat 07/25/2009 >sed --version | sed 1q
GNU sed version 4.2

[ Vista/DJGPP ] - Sat 07/25/2009 >ls -la /dev/env/DJDIR/include/time.h
-rw-r--r--    1 Rugxulo  root         2859 Feb 15  2003 /dev/env/DJDIR/
include/t
ime.h

[ Vista/DJGPP ] - Sat 07/25/2009 >scrndump sed42.bug
-----------------------------------

My current workaround is this:

sh -c "cd /dev/env/DJDIR/include ; sed -i -e '/^unsi.* _rdtsc(/s/^/
static /' -e 's/extern \(__inline__\)/static \1/' time.h"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019