Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch Don't call toggle_getit() for X11...



details:   https://anonhg.NetBSD.org/src/rev/85fa94bcc01f
branches:  trunk
changeset: 532209:85fa94bcc01f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jun 02 16:01:00 2002 +0000

description:
Don't call toggle_getit() for X11 fonts and servers in md_set_no_x().
They are disabled by default.

diffstat:

 distrib/utils/sysinst/arch/news68k/md.c  |  16 +++++++++-------
 distrib/utils/sysinst/arch/newsmips/md.c |  16 +++++++++-------
 2 files changed, 18 insertions(+), 14 deletions(-)

diffs (56 lines):

diff -r 1eaf85e200a2 -r 85fa94bcc01f distrib/utils/sysinst/arch/news68k/md.c
--- a/distrib/utils/sysinst/arch/news68k/md.c   Sun Jun 02 15:50:40 2002 +0000
+++ b/distrib/utils/sysinst/arch/news68k/md.c   Sun Jun 02 16:01:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.13 2002/05/20 16:10:33 lukem Exp $    */
+/*     $NetBSD: md.c,v 1.14 2002/06/02 16:01:00 tsutsui Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -238,10 +238,12 @@
 md_set_no_x()
 {
 
-       toggle_getit (9);
-       toggle_getit (10);
-       toggle_getit (11);
-       toggle_getit (12);
-       toggle_getit (13);
-       toggle_getit (14);
+       toggle_getit (9);       /* X11 clients */
+#if 0
+       toggle_getit (10);      /* X11 fonts */
+       toggle_getit (11);      /* X11 servers */
+#endif
+       toggle_getit (12);      /* X11 contrib */
+       toggle_getit (13);      /* X programming */
+       toggle_getit (14);      /* X11 Misc. */
 }
diff -r 1eaf85e200a2 -r 85fa94bcc01f distrib/utils/sysinst/arch/newsmips/md.c
--- a/distrib/utils/sysinst/arch/newsmips/md.c  Sun Jun 02 15:50:40 2002 +0000
+++ b/distrib/utils/sysinst/arch/newsmips/md.c  Sun Jun 02 16:01:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/05/20 16:10:33 lukem Exp $     */
+/*     $NetBSD: md.c,v 1.3 2002/06/02 16:01:00 tsutsui Exp $   */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -237,10 +237,12 @@
 md_set_no_x()
 {
 
-       toggle_getit (8);
-       toggle_getit (9);
-       toggle_getit (10);
-       toggle_getit (11);
-       toggle_getit (12);
-       toggle_getit (13);
+       toggle_getit (8);       /* X11 clients */
+#if 0
+       toggle_getit (9);       /* X11 fonts */
+       toggle_getit (10);      /* X11 servers */
+#endif
+       toggle_getit (11);      /* X11 contrib */
+       toggle_getit (12);      /* X programming */
+       toggle_getit (13);      /* X11 Misc. */
 }



Home | Main Index | Thread Index | Old Index