Mail Archives: djgpp/2002/05/03/17:15:22
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 -