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
commitcbbd85bc3de1badcbd76de8b7ec57a95365b12dd (patch)
tree87f53943ea6d7d2189dbe8841b66c67162e0ec7d
parent3523fd4b048f2a2d8af32f6433444e8ffbdb57e4 (diff)
downloadmdk-cbbd85bc3de1badcbd76de8b7ec57a95365b12dd.tar.gz
mdk-cbbd85bc3de1badcbd76de8b7ec57a95365b12dd.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)