Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst note that msg_printf_add() is going to...



details:   https://anonhg.NetBSD.org/src/rev/de2d2da84729
branches:  trunk
changeset: 474388:de2d2da84729
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sun Jul 04 22:33:54 1999 +0000

description:
note that msg_printf_add() is going to go away

diffstat:

 distrib/utils/sysinst/util.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cf89fdedc9ca -r de2d2da84729 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Sun Jul 04 22:31:37 1999 +0000
+++ b/distrib/utils/sysinst/util.c      Sun Jul 04 22:33:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.48 1999/07/04 22:31:37 cgd Exp $    */
+/*     $NetBSD: util.c,v 1.49 1999/07/04 22:33:54 cgd Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -634,13 +634,17 @@
        /* XXX doesn't work, too many files printed ! */
        msg_display(MSG_deleting_files);
        for (current = head; current != NULL; current = current->next) {
-               if (current->type != S_IFDIR)
+               if (current->type != S_IFDIR) {
+                       /* XXX msg_printf_add going/gone away */
                        msg_printf_add("%s ", current->name);
+               }
        }
        msg_display_add(MSG_deleting_dirs);
        for (current = head; current != NULL; current = current->next) {
-               if (current->type == S_IFDIR)
+               if (current->type == S_IFDIR) {
+                       /* XXX msg_printf_add going/gone away */
                        msg_printf_add("%s ", current->name);
+               }
        }
        process_menu(MENU_ok);
 #endif



Home | Main Index | Thread Index | Old Index