summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2005-09-19 20:18:18 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2005-09-19 20:18:18 +0000
commitfaeb8695a07b287eb967d14a1c2d835024d19756 (patch)
tree78f83eb94aa3cc25be9ba6fc7777d386ab61e786
parentabf9f14fefe4eec0d4369306c3a56770b7599b11 (diff)
downloadmdk-faeb8695a07b287eb967d14a1c2d835024d19756.tar.gz
mdk-faeb8695a07b287eb967d14a1c2d835024d19756.tar.bz2
Fix mixasm crash when passed the obsolete -g option (fixes #14579)
-rw-r--r--mixutils/mixasm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixutils/mixasm.c b/mixutils/mixasm.c
index bec64bc..bee0342 100644
--- a/mixutils/mixasm.c
+++ b/mixutils/mixasm.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- mixasm.c:
* Main function of mixasm, the mix assembler
* ------------------------------------------------------------------
- * $Id: mixasm.c,v 1.6 2004/07/30 12:31:04 jao Exp $
+ * $Id: mixasm.c,v 1.7 2005/09/19 20:18:18 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -74,7 +74,7 @@ main (int argc, char **argv)
while (1)
{
- c = getopt_long (argc, argv, "vhuo:lg", long_options_, (int*)0);
+ c = getopt_long (argc, argv, "vhuo:lO", long_options_, (int*)0);
/* Detect the end of the options. */
if (c == -1)