www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/03/17:15:22

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: xeon AT dacreations DOT cjb DOT net (xeon)
Newsgroups: comp.os.msdos.djgpp
Subject: RCS SIGSEGV under pure DOS
Date: 3 May 2002 14:05:07 -0700
Organization: http://groups.google.com/
Lines: 40
Message-ID: <c21a43ff.0205031305.2266bf05@posting.google.com>
NNTP-Posting-Host: 202.137.18.216
X-Trace: posting.google.com 1020459907 27791 127.0.0.1 (3 May 2002 21:05:07 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 3 May 2002 21:05:07 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

In DJGPP RCS 5.7 DOS port implementaion notes, it is mentioned that it
supports softlinks under DOS. I found that if the "RCS" string is in
lower-case in the RCS file path, RCS won't find it as an RCS file
path, or worse, can lead to SIGSEGV under pure DOS with 4DOS shell.

Examine this sample session :

G:\TMP>dir/f
g:\tmp\myfile.c
g:\tmp\rcs.

G:\TMP>type rcs.
g:\foo\rcs\bar

G:\TMP>ci myfile.c
Exiting due to signal SIGSEGV
Page fault at eip=0000785d, error=0004
eax=00000000 ebx=000661a6 ecx=00000068 edx=00001697 esi=00000026
edi=000662a6
ebp=00066280 esp=00065d1c program=E:\DJGPP\BIN/ci.exe
cs: sel=00e7  base=100a0000  limit=0007ffff
ds: sel=00ef  base=100a0000  limit=0007ffff
es: sel=00ef  base=100a0000  limit=0007ffff
fs: sel=00cf  base=00020340  limit=0000ffff
gs: sel=00ff  base=00000000  limit=ffffffff
ss: sel=00ef  base=100a0000  limit=0007ffff

Call frame traceback EIPs:
  0x0000785d
  0x68637461

If the "RCS" string the path is in upper-case, like "g:\foo\RCS\bar",
it'll run fine. Also, under NT4.0, also with 4DOS shell, it'll run
fine regardless the case of "RCS" string.

Is this a bug?

TIA

- Raw text -


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