mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 15:44:04 +01:00
Accept DEL as a synonym for `delete'
This commit is contained in:
parent
51fa90c524
commit
1879e5afb7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14725
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
|
||||
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D':
|
||||
if (chunk_info[current_chunk]->type == unused)
|
||||
msg = "Partition is already unused!";
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
|
||||
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -919,6 +919,7 @@ diskLabel(char *str)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D': /* delete */
|
||||
if (label_chunk_info[here].type == PART_SLICE) {
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
|
||||
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D':
|
||||
if (chunk_info[current_chunk]->type == unused)
|
||||
msg = "Partition is already unused!";
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
|
||||
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -919,6 +919,7 @@ diskLabel(char *str)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D': /* delete */
|
||||
if (label_chunk_info[here].type == PART_SLICE) {
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: disks.c,v 1.35 1996/01/23 21:05:22 joerg Exp $
|
||||
* $Id: disks.c,v 1.36 1996/03/18 15:27:49 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -382,6 +382,7 @@ diskPartition(Device *dev, Disk *d)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D':
|
||||
if (chunk_info[current_chunk]->type == unused)
|
||||
msg = "Partition is already unused!";
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: label.c,v 1.37 1996/03/02 20:02:13 jkh Exp $
|
||||
* $Id: label.c,v 1.38 1996/03/18 15:27:58 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -919,6 +919,7 @@ diskLabel(char *str)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\177':
|
||||
case 'D': /* delete */
|
||||
if (label_chunk_info[here].type == PART_SLICE) {
|
||||
msg = MSG_NOT_APPLICABLE;
|
||||
|
Loading…
Reference in New Issue
Block a user