opnsense-ports/devel/cvs-devel/files/patch-remove_-R_warning
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
650 B
Text

#
# Turn off read-only warning that breaks pserver client access. Doh!
# Closes: #319467, #264019
# Patch by Steve McIntyre <steve@einval.com>
diff -Nur src/main.c src/main.c
--- src/main.c 2005-10-02 23:17:21.000000000 +0800
+++ src/main.c 2006-02-26 18:23:04.000000000 +0800
@@ -764,13 +764,6 @@
if (argc < 1)
usage (usg);
- if (readonlyfs && !really_quiet) {
- error (0, 0,
- "WARNING: Read-only repository access mode selected via `cvs -R'.\n\
-Using this option to access a repository which some users write to may\n\
-cause intermittent sandbox corruption.");
- }
-
/* Calculate the cvs global session ID */
{