|
Lines 1212-1218
Link Here
|
| 1212 |
|
1212 |
|
| 1213 |
g_return_val_if_fail (src != NULL, FALSE); |
1213 |
g_return_val_if_fail (src != NULL, FALSE); |
| 1214 |
g_return_val_if_fail (dest != NULL, FALSE); |
1214 |
g_return_val_if_fail (dest != NULL, FALSE); |
| 1215 |
|
1215 |
#ifdef USE_CMP |
| 1216 |
if (anjuta_is_installed ("cmp", FALSE) == TRUE) |
1216 |
if (anjuta_is_installed ("cmp", FALSE) == TRUE) |
| 1217 |
{ |
1217 |
{ |
| 1218 |
pid_t pid; |
1218 |
pid_t pid; |
|
Lines 1230-1237
Link Here
|
| 1230 |
} |
1230 |
} |
| 1231 |
else |
1231 |
else |
| 1232 |
{ |
1232 |
{ |
|
|
1233 |
#endif |
| 1233 |
same = FALSE; |
1234 |
same = FALSE; |
|
|
1235 |
#ifdef USE_CMP |
| 1234 |
} |
1236 |
} |
|
|
1237 |
#endif |
| 1235 |
/* rename () can't work with 2 different filesystems, so we need |
1238 |
/* rename () can't work with 2 different filesystems, so we need |
| 1236 |
to use the couple {copy, remove}. Meanwhile, the files to copy |
1239 |
to use the couple {copy, remove}. Meanwhile, the files to copy |
| 1237 |
are supposed to be small, so it would spend more time to try |
1240 |
are supposed to be small, so it would spend more time to try |