diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2004-08-01 21:44:34 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2004-08-01 21:44:34 +0000 |
commit | fabb97598f6f70a56f208e9026784dd4dc50af69 (patch) | |
tree | 15ed7f252987b5b3d38dc5728a8b734f1f144ed5 /mixgtk | |
parent | a28be757d119c01ccdc1af2fcb0067392f7088fe (diff) | |
download | mdk-fabb97598f6f70a56f208e9026784dd4dc50af69.tar.gz mdk-fabb97598f6f70a56f208e9026784dd4dc50af69.tar.bz2 |
* mixutils/mixvm_command.c (init_dis_):
* mixgtk/mixgtk_cmd_dispatcher.c (read_config_): -g option not
needed by mixasm.
(mixgtk_cmd_dispatcher_init): do not redirect stderr to the
command log windows.
Diffstat (limited to 'mixgtk')
-rw-r--r-- | mixgtk/mixgtk_cmd_dispatcher.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mixgtk/mixgtk_cmd_dispatcher.c b/mixgtk/mixgtk_cmd_dispatcher.c index 18f4600..a941627 100644 --- a/mixgtk/mixgtk_cmd_dispatcher.c +++ b/mixgtk/mixgtk_cmd_dispatcher.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mixgtk_cmd_dispatcher.c : * Implementation of the functions declared in mixgtk_cmd_dispatcher.h * ------------------------------------------------------------------ - * $Id: mixgtk_cmd_dispatcher.c,v 1.21 2004/07/10 23:34:25 jao Exp $ + * $Id: mixgtk_cmd_dispatcher.c,v 1.22 2004/08/01 21:44:34 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. * @@ -248,7 +248,7 @@ read_config_ (void) { mix_vm_cmd_dispatcher_set_editor (dis_data_.dispatcher, editor); } - if (!assem) assem = "mixasm -g %s"; + if (!assem) assem = "mixasm %s"; mix_vm_cmd_dispatcher_set_assembler (dis_data_.dispatcher, assem); } @@ -333,7 +333,7 @@ mixgtk_cmd_dispatcher_init (mixgtk_dialog_id_t top) g_return_val_if_fail (r == 0, FALSE); /* connect stdout/stderr to the pipe's write end */ if (dup2 (dis_data_.fildes[1], STDOUT_FILENO) == -1 - || dup2 (dis_data_.fildes[1], STDERR_FILENO) == -1) + || dup2 (dis_data_.fildes[1], STDOUT_FILENO) == -1) return FALSE; dis_data_.out = fdopen (dis_data_.fildes[1], "w"); g_return_val_if_fail (dis_data_.out != NULL, FALSE); |