Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> writes: > Can you show an excerpt of the output you would like to see changed? Sorry for the delay, very long days lately :( flame@yamato mytmpfs % echo "int foo() { return 1; }" > foo.c flame@yamato mytmpfs % gcc -ggdb -c foo.c flame@yamato mytmpfs % gcc -ggdb -c ./foo.c -o foo2.o flame@yamato mytmpfs % codiff foo.o foo2.o foo.c: foo | -11 1 function changed, 11 bytes removed, diff: -11 ./foo.c: foo | +11 1 function changed, 11 bytes added, diff: +11 foo2.o: 2 functions changed, 11 bytes added, 11 bytes removed, diff: +0 This is what I mean as a problem, as a solution I'd check for just the basename (so that foo.c and ./foo.c become the same file) or, much more complicated but would really be nice, I'd check if all the symbols gone From one file appeared on another, so that the output would then become: flame@yamato mytmpfs % codiff foo.o foo2.o File renamed: was foo.c is ./foo.c But that's going to be hard :P -- Diego "Flameeyes" Pettenò http://blog.flameeyes.eu/
Attachment:
pgpbmxCZ4d50Y.pgp
Description: PGP signature