diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-20 14:11:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-20 14:11:22 +0000 |
commit | 1f98498d8604a94e40793f92d392118b22b40ea0 (patch) | |
tree | 6b807f1e97dfc2bd2f9a903346e7e78b4ae4db76 | |
parent | db84bacdc6144b9c96bdcd39b16a2f7c8b1385eb (diff) | |
download | FreeBSD-src-1f98498d8604a94e40793f92d392118b22b40ea0.zip FreeBSD-src-1f98498d8604a94e40793f92d392118b22b40ea0.tar.gz |
Accept DEL as a synonym for `delete'
-rw-r--r-- | release/sysinstall/disks.c | 3 | ||||
-rw-r--r-- | release/sysinstall/label.c | 3 | ||||
-rw-r--r-- | usr.sbin/sade/disks.c | 3 | ||||
-rw-r--r-- | usr.sbin/sade/label.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/label.c | 3 |
6 files changed, 12 insertions, 6 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index 94e9999..378c1a3 100644 --- a/release/sysinstall/disks.c +++ b/release/sysinstall/disks.c @@ -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!"; diff --git a/release/sysinstall/label.c b/release/sysinstall/label.c index 4580c20..e7ad6ca 100644 --- a/release/sysinstall/label.c +++ b/release/sysinstall/label.c @@ -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; diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index 94e9999..378c1a3 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/disks.c @@ -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!"; diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c index 4580c20..e7ad6ca 100644 --- a/usr.sbin/sade/label.c +++ b/usr.sbin/sade/label.c @@ -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; diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 94e9999..378c1a3 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -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!"; diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c index 4580c20..e7ad6ca 100644 --- a/usr.sbin/sysinstall/label.c +++ b/usr.sbin/sysinstall/label.c @@ -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; |