rb@cc.ic.ac.uk (Robin Becker) (07/14/90)
I tried out the MSDOS versions of patch and GNU diff that were posted recently and got dissappointing results. I don't have TC 2.0 and don't like all of their nonstandard bits. I haven't any idea why these progs don't work, but maybe it's something to do with the switchcharacter or temporary files. I therefore tried a port of diff myself and have got to the point where it will do something useful. Is anyone interested and if so what should I do, post patches into one of the binary groups mail GNU or what? Robin Becker
rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) (07/16/90)
I also ported GNU diff 1.14 and patch 2.0 to MS-DOS and OS/2. They work well, I used patch for applying patches 1-9 to nethack 3.0, for example, that's several megabytes of diffs and it worked and I am using diff also regularly, but it fails on files with more than about 2000 lines but I can live with this. I already sent GNU diff to the moderator of comp.binaries.os2 and it should appear there during the next time and I also prepared patch 2.0 for sending to the moderator today. Both executable run under MS-DOS and OS/2 (protected mode). Maybe you should look at c.b.os2 during the next time ... Kai Uwe Rommel Munich rommel@lan.informatik.tu-muenchen.dbp.de
jsulliva@cvbnet.prime.com (mailhost) (07/17/90)
From article <1990Jul13.181022.2792@cc.ic.ac.uk>, by rb@cc.ic.ac.uk (Robin Becker): > I tried out the MSDOS versions of patch and GNU diff that were posted > recently and got dissappointing results. I don't have TC 2.0 and don't > like all of their nonstandard bits. I had no problem with gnudiff, once I applied the patches tcpatch.dif and mypatch.dif. I used TC++ 1.0 (TC 3.0). However, I changed the compile flags for diff and saved quite a bit on the executable size. I used -O -a -G (optimize, word-align and optimize for speed). The -N option in the original makefile adds quite a bit of stack-checking code to the executable. The patch distribution, was a much different story. Using TC++ 1.0 and the -N option, I could NOT get the program to execute without a "Stack Overflow!" error. Luckily, I was able to run the included executable (patch.exe) without a problem. Ndmake also complained that the macros LARGE and LDFLAGS were not defined. Maybe that is part of the problem. If anyone knows how to fix the "Stack Overflow!" error in patch, please let me know. Thanks, -Jeff Jeff Sullivan | Computervision/Prime | jsulliva@cvbnet.prime.com CADDS R&D | Bedford, MA 01730 | sun!cvbnet!jsulliva