Patch for reliable rcs on win95

Mikey jeffdb@netzone.com
Mon Mar 17 21:44:00 GMT 1997


If you're running NT, you can probably ignore this message, but for other
win95/rcs users, this should hopefully prove usefull.

I take no responsibility for anything, not even your lousy sex life ;^).

The win95 short read bug also affects rcs ci co & company (at least for
me). (it even messes up djgpp rcs in a dos box!) I couldn't figure out how
to change ReadFile's behaviour, if you do an immediate reread on the file,
ReadFile just returns 0 bytes, so instead I just fixed rcs so it keeps the
whole file in memory.

I hate just fixing the symptoms, but rcs is too good to do without.

all filesystems mounted -b (diff is LF only)

cd into the rcs-5.7/src directory and apply the included dif.
cd ..
configure --with-diffutils --prefix=/your_cygnus_rootdir/H-i386-cygwin32
(or wherever diff3.exe lives on your system)
make
cd src;strip *.exe!!!
cp *.exe /usr/H-i386-cygwin32/bin (or wherever)

make sure you have an /etc/passwd file similar to the following

YOUR_USERNAME::500:500::/your/home/dir:/bin/sh

make clean, run rcstest it works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
;^)

actually I've been using it for about a week, so I know it does (for me).
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list