[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/term main.c
From: |
Roland McGrath |
Subject: |
hurd/term main.c |
Date: |
Wed, 20 Nov 2002 01:05:05 -0500 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Changes by: Roland McGrath <address@hidden> 02/11/20 01:05:03
Modified files:
term : main.c
Log message:
2002-11-19 Roland McGrath <address@hidden>
* main.c (parse_opt: case ARGP_KEY_SUCCESS): Set tty_arg along with
tty_type from new argument value.
Reported by David Walter <address@hidden>.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/term/main.c.diff?tr1=1.31&tr2=1.32&r1=text&r2=text
Patches:
Index: hurd/term/main.c
diff -u hurd/term/main.c:1.31 hurd/term/main.c:1.32
--- hurd/term/main.c:1.31 Sun Aug 18 15:57:52 2002
+++ hurd/term/main.c Wed Nov 20 01:05:03 2002
@@ -227,6 +227,8 @@
assert (! "impossible type");
break;
}
+ free (tty_arg);
+ tty_arg = strdup (v->arg);
error_t err = (*bottom->init) ();
mutex_unlock (&global_lock);
return err;
- hurd/term main.c,
Roland McGrath <=