# HG changeset patch # User Richard M. Stallman # Date 870137589 0 # Node ID 469abf255dcbdd4acebfa6813bfb421c82f97efe # Parent 9ccea8ddd3440dcdb4c4ab70a8f8344b48c14a9c (sort_args): Check properly for `--'. diff -r 9ccea8ddd344 -r 469abf255dcb src/emacs.c --- 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++)