[comp.os.minix] Cdiff bug

glenn@extro.ucc.su.oz (G. Geers [ext 3241]) (09/26/88)

The following input to cdiff appears to confuse it.

***********old file. Name: z.1

hello           <--- first line in file is hello
*
test1
test2

***********new file. Name: z.2 , cut off hello

*
test1
test2

cdiff z.1 z.2 produces:

*** z.1	Sat Sep 24 13:20:14 1988
--- z.2	Sat Sep 24 13:20:32 1988
***************
*** 1,4 ****
- hello
  *
  test1
  test2
--- 1,3 ----


I haven't got time to fix this at present (writing my thesis !!). So if
anyone has the time, a fix would be appreciated. Cdiffing them the wrong
way round (cdiff z.2 z.1) produces the correct output.

I have modified patch (original patchlevel 11) to use the shell version
control system (SVC) in much the same way as it uses RCS. If people are
interested I can put the patches on the net. I've also modified SVC to use
cdiff. Again, if anyone is interested drop me a line.

By the way, I'm interested in becoming a protected mode beta test site.
How do I get disks ??
			Thanks
				Glenn

p.s. The patchlevel of the cdiff I have is 2 (have I missed a patch ? ).

p.p.s. I have had MINIX running on an XT clone with V20 processor and
     Miniscribe hard disk (20Mb) with Western Digital controller.
     At present I have an AT clone (ELT Motherboard @ 10MHz, with 1.2 Mb RAM)
     with a Western Digital controller and the same hard disk as the XT. Minix
     works fine on this system as well.