Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3695788 By: elizz
I needed RCS on Windows, so I patched the sources downloaded from GnuWin32, and now I have a working port. If someone needs the patches, email me at [EMAIL PROTECTED] For the curious, here's the list of some important problems I solved in order to make RCS work correctly on Windows: 1. Signal catching. When a Windows console application gets a Ctrl-C, a separate thread is started that runs the signal handler. In order to correctly emulate the Posix behavior, the signal handler should stop the main thread until it's finished. 2. The spawn* functions don't like arguments with embedded whitespace, so subsidiary invocations of "diff -L" failed. Fixed by providing wrappers for spawn* functions that quote the arguments. 3. Dependencies on libiberty and libgw32c removed, and a couple of missing functions written to make the port self-contained. 4. Several old bugs fixed, like reverse logic with using binary and text I/O with -kb. 5. Added emulation of W* macros from <sys/wait.h> to produce correct diagnostics from spawn* return values. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users