Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/lvm2/dist/lib/commands Comment out impossible ...



details:   https://anonhg.NetBSD.org/src/rev/116e9de2a428
branches:  trunk
changeset: 333713:116e9de2a428
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Nov 15 01:24:38 2014 +0000

description:
Comment out impossible code.

diffstat:

 external/gpl2/lvm2/dist/lib/commands/toolcontext.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r f59ccd15887d -r 116e9de2a428 external/gpl2/lvm2/dist/lib/commands/toolcontext.c
--- a/external/gpl2/lvm2/dist/lib/commands/toolcontext.c        Sat Nov 15 01:15:45 2014 +0000
+++ b/external/gpl2/lvm2/dist/lib/commands/toolcontext.c        Sat Nov 15 01:24:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: toolcontext.c,v 1.7 2009/12/05 01:52:44 haad Exp $     */
+/*     $NetBSD: toolcontext.c,v 1.8 2014/11/15 01:24:38 joerg Exp $    */
 
 /*
  * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
@@ -992,12 +992,14 @@
        char default_dir[PATH_MAX];
        const char *dir;
 
+#if 0
        if (!cmd->system_dir) {
                log_warn("WARNING: Metadata changes will NOT be backed up");
                backup_init(cmd, "", 0);
                archive_init(cmd, "", 0, 0, 0);
                return 1;
        }
+#endif
 
        /* set up archiving */
        cmd->default_settings.archive =



Home | Main Index | Thread Index | Old Index