1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/cvsup/files/patch-ab
John Polstra a0a2c9775a Add patch to ignore unsupported file attributes. It has no effect
except in obscure scenarios involving switching versions of CVSup.
2000-02-20 18:32:00 +00:00

11 lines
398 B
Plaintext

--- suplib/src/FileAttr.m3.orig 1999/02/01 22:44:53 1.25
+++ suplib/src/FileAttr.m3 2000/01/20 06:10:34 1.26
@@ -102,6 +102,7 @@
ELSE
fa.mask := fa.mask + AttrTypes{AttrType.FileType}; (* Always valid. *)
END;
+ fa.mask := fa.mask * Supported[fa.fileType];
IF AttrType.ModTime IN fa.mask THEN
fa.stat.st_mtime := ScanInt(t, pos, ModTimeRadix, "modTime");
END;