diff -ur anjuta-1.2.1.old/src/anjuta.h anjuta-1.2.1/src/anjuta.h --- anjuta-1.2.1.old/src/anjuta.h 2004-01-07 09:25:31.000000000 -0800 +++ anjuta-1.2.1/src/anjuta.h 2004-02-25 21:30:15.454155680 -0800 @@ -46,6 +46,10 @@ #include "file_history.h" #include "launcher.h" +/* define this if you want anjuta to use cmp to + compare files */ +#undef USE_CMP + #define g_strdup_printfs2(_FORMAT_, _STR_) \ { \ assert(_STR_); g_strdup_printf(_FORMAT_, _STR_); \ diff -ur anjuta-1.2.1.old/src/utilities.c anjuta-1.2.1/src/utilities.c --- anjuta-1.2.1.old/src/utilities.c 2003-09-28 23:57:00.000000000 -0700 +++ anjuta-1.2.1/src/utilities.c 2004-02-25 21:29:19.287694280 -0800 @@ -1212,7 +1212,7 @@ g_return_val_if_fail (src != NULL, FALSE); g_return_val_if_fail (dest != NULL, FALSE); - +#ifdef USE_CMP if (anjuta_is_installed ("cmp", FALSE) == TRUE) { pid_t pid; @@ -1230,8 +1230,11 @@ } else { +#endif same = FALSE; +#ifdef USE_CMP } +#endif /* rename () can't work with 2 different filesystems, so we need to use the couple {copy, remove}. Meanwhile, the files to copy are supposed to be small, so it would spend more time to try