Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst/arch/mac68k Missed a few more "yesno" in pr...
details: https://anonhg.NetBSD.org/src/rev/d162c79f3224
branches: trunk
changeset: 338133:d162c79f3224
user: martin <martin%NetBSD.org@localhost>
date: Mon May 11 21:07:56 2015 +0000
description:
Missed a few more "yesno" in previous
diffstat:
usr.sbin/sysinst/arch/mac68k/menus.md.de | 14 +++++++-------
usr.sbin/sysinst/arch/mac68k/menus.md.en | 14 +++++++-------
usr.sbin/sysinst/arch/mac68k/menus.md.es | 14 +++++++-------
usr.sbin/sysinst/arch/mac68k/menus.md.pl | 14 +++++++-------
4 files changed, 28 insertions(+), 28 deletions(-)
diffs (180 lines):
diff -r 6bff2126357c -r d162c79f3224 usr.sbin/sysinst/arch/mac68k/menus.md.de
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.de Mon May 11 19:37:51 2015 +0000
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.de Mon May 11 21:07:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.md.de,v 1.3 2015/05/11 12:57:55 martin Exp $ */
+/* $NetBSD: menus.md.de,v 1.4 2015/05/11 21:07:56 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -44,12 +44,12 @@
endwin(); exit(1);
};
option "Initialisiere Festplatten Partition Übersicht", exit, action {
- int i;
+ int i, rv;
msg_clear();
msg_display (MSG_okwritediskmap);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
endwin();
return 0;
}
@@ -77,7 +77,7 @@
option "Ausgewählte Partition bearbeiten", sub menu chooseid;
option "Mount Point festlegen", sub menu mount_point;
option "Gewählte Partition unterteilen", action {
- int i, j, k, size, free_size;
+ int i, j, k, size, free_size, rv;
char buf[40];
EBZB *bzb;
@@ -112,8 +112,8 @@
sortmerge();
} else {
msg_display (MSG_diskfull);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
free (map.blk);
map.size = NEW_MAP_SIZE;
map.in_use_cnt = new_map[0].pmMapBlkCnt;
diff -r 6bff2126357c -r d162c79f3224 usr.sbin/sysinst/arch/mac68k/menus.md.en
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.en Mon May 11 19:37:51 2015 +0000
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.en Mon May 11 21:07:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.md.en,v 1.3 2015/05/11 12:57:55 martin Exp $ */
+/* $NetBSD: menus.md.en,v 1.4 2015/05/11 21:07:56 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -44,12 +44,12 @@
endwin(); exit(1);
};
option "Initialize Disk partition Map", exit, action {
- int i;
+ int i, rv;
msg_clear();
msg_display (MSG_okwritediskmap);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
endwin();
return 0;
}
@@ -77,7 +77,7 @@
option "Change selected partition", sub menu chooseid;
option "Set mount point for partition", sub menu mount_point;
option "Split selected partition", action {
- int i, j, k, size, free_size;
+ int i, j, k, size, free_size, rv;
char buf[40];
EBZB *bzb;
@@ -112,8 +112,8 @@
sortmerge();
} else {
msg_display (MSG_diskfull);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
free (map.blk);
map.size = NEW_MAP_SIZE;
map.in_use_cnt = new_map[0].pmMapBlkCnt;
diff -r 6bff2126357c -r d162c79f3224 usr.sbin/sysinst/arch/mac68k/menus.md.es
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.es Mon May 11 19:37:51 2015 +0000
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.es Mon May 11 21:07:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.md.es,v 1.3 2015/05/11 12:57:55 martin Exp $ */
+/* $NetBSD: menus.md.es,v 1.4 2015/05/11 21:07:56 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -44,12 +44,12 @@
endwin(); exit(1);
};
option "Inicializar Mapa de particiones de Disco", exit, action {
- int i;
+ int i, rv;
msg_clear();
msg_display (MSG_okwritediskmap);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
endwin();
return 0;
}
@@ -77,7 +77,7 @@
option "Cambiar particion seleccionada", sub menu chooseid;
option "Ajustar punto de montaje para particion", sub menu mount_point;
option "Partir particion seleccionada", action {
- int i, j, k, size, free_size;
+ int i, j, k, size, free_size, rv;
char buf[40];
EBZB *bzb;
@@ -112,8 +112,8 @@
sortmerge();
} else {
msg_display (MSG_diskfull);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
free (map.blk);
map.size = NEW_MAP_SIZE;
map.in_use_cnt = new_map[0].pmMapBlkCnt;
diff -r 6bff2126357c -r d162c79f3224 usr.sbin/sysinst/arch/mac68k/menus.md.pl
--- a/usr.sbin/sysinst/arch/mac68k/menus.md.pl Mon May 11 19:37:51 2015 +0000
+++ b/usr.sbin/sysinst/arch/mac68k/menus.md.pl Mon May 11 21:07:56 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.md.pl,v 1.3 2015/05/11 12:57:55 martin Exp $ */
+/* $NetBSD: menus.md.pl,v 1.4 2015/05/11 21:07:56 martin Exp $ */
/* Based on english version: */
/* NetBSD: menus.md.en,v 1.13 2001/11/29 23:20:58 thorpej Exp */
@@ -46,12 +46,12 @@
endwin(); exit(1);
};
option "Zainicjuj Mape partycji Dysku", exit, action {
- int i;
+ int i, rv;
msg_clear();
msg_display (MSG_okwritediskmap);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
endwin();
return 0;
}
@@ -79,7 +79,7 @@
option "Zmien wybrana partycje", sub menu chooseid;
option "Ustaw punkt montazu dla partycji", sub menu mount_point;
option "Podziel wybrana partycje", action {
- int i, j, k, size, free_size;
+ int i, j, k, size, free_size, rv;
char buf[40];
EBZB *bzb;
@@ -114,8 +114,8 @@
sortmerge();
} else {
msg_display (MSG_diskfull);
- process_menu (MENU_okabort, NULL);
- if (!yesno) {
+ process_menu (MENU_okabort, &rv);
+ if (!rv) {
free (map.blk);
map.size = NEW_MAP_SIZE;
map.in_use_cnt = new_map[0].pmMapBlkCnt;
Home |
Main Index |
Thread Index |
Old Index