diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-23 01:29:35 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-23 01:29:35 +0000 |
commit | e665fee23a1e8faaacaceda94ce45295956dee10 (patch) | |
tree | 61dd517d68f78c02b32b70a1ec457f1509801e87 /usr.sbin/sade/misc.c | |
parent | 70a317a618a87b0eac973736356fadfa45b35959 (diff) | |
download | FreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.zip FreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.tar.gz |
Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters. I've tried restoring the screen, the cursor position, you name
it - same deal. Grrrr! This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
Diffstat (limited to 'usr.sbin/sade/misc.c')
-rw-r--r-- | usr.sbin/sade/misc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/sade/misc.c b/usr.sbin/sade/misc.c index 64b46eb..2da5dd7 100644 --- a/usr.sbin/sade/misc.c +++ b/usr.sbin/sade/misc.c @@ -1,7 +1,7 @@ /* * Miscellaneous support routines.. * - * $Id: misc.c,v 1.15 1996/03/18 15:28:03 jkh Exp $ + * $Id: misc.c,v 1.16 1996/04/13 13:32:00 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -261,14 +261,12 @@ Mkdir(char *ipath, void *data) *p = '\0'; if (stat(path, &sb)) { if (errno != ENOENT) { - dialog_clear(); msgConfirm("Couldn't stat directory %s: %s", path, strerror(errno)); return DITEM_FAILURE; } if (isDebug()) msgDebug("mkdir(%s..)\n", path); if (mkdir(path, S_IRWXU | S_IRWXG | S_IRWXO) < 0) { - dialog_clear(); msgConfirm("Couldn't create directory %s: %s", path,strerror(errno)); return DITEM_FAILURE; } @@ -297,7 +295,6 @@ Mount(char *mountp, void *dev) memset(&ufsargs,0,sizeof ufsargs); if (Mkdir(mountpoint, NULL)) { - dialog_clear(); msgConfirm("Unable to make directory mountpoint for %s!", mountpoint); return DITEM_FAILURE; } @@ -306,7 +303,6 @@ Mount(char *mountp, void *dev) ufsargs.fspec = device; if (mount(MOUNT_UFS, mountpoint, MNT_ASYNC, (caddr_t)&ufsargs) == -1) { - dialog_clear(); msgConfirm("Error mounting %s on %s : %s", device, mountpoint, strerror(errno)); return DITEM_FAILURE; } |