diff options
-rw-r--r-- | lib/backup-files.c | 3 | ||||
-rw-r--r-- | quilt.changes | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/backup-files.c b/lib/backup-files.c index f958be5..9f25726 100644 --- a/lib/backup-files.c +++ b/lib/backup-files.c @@ -207,7 +207,8 @@ link_or_copy_file(const char *from, const struct stat *st, const char *to) { if (link(from, to) == 0) return 0; - if (errno != EXDEV && errno != EPERM && errno != EMLINK) { + if (errno != EXDEV && errno != EPERM && + errno != EMLINK && errno != ENOSYS) { fprintf(stderr, "Could not link file `%s' to `%s': %s\n", from, to, strerror(errno)); return 1; diff --git a/quilt.changes b/quilt.changes index 323ff58..1e0448f 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jan 25 19:49:08 CET 2006 - agruen@suse.de + +- lib/backup-files.c: Don't fail when link(1) returns ENOSYS, and + try to copy in that case. + +------------------------------------------------------------------- Wed Jan 25 19:27:11 CET 2006 - agruen@suse.de - lib/backup-files.c: Fix another missed optimization. |