changeset 19030:469abf255dcb

(sort_args): Check properly for `--'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 29 Jul 1997 00:53:09 +0000
parents 9ccea8ddd344
children 369a8580b08e
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon Jul 28 23:37:45 1997 +0000
+++ b/src/emacs.c	Tue Jul 29 00:53:09 1997 +0000
@@ -1223,7 +1223,7 @@
 
 	  /* If we have found "--", don't consider
 	     any more arguments as options.  */
-	  if (argv[from][1] == '-')
+	  if (argv[from][1] == '-' && argv[from][2] == 0)
 	    {
 	      /* Leave the "--", and everything following it, at the end.  */
 	      for (; from < argc; from++)