Mercurial > emacs
changeset 23327:8875c38b22c7
(sort_args): Fill extra space with NULL ptrs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 27 Sep 1998 07:11:54 +0000 |
parents | df3f641c9ca1 |
children | e3a026b14e82 |
files | src/emacs.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Sat Sep 26 04:20:48 1998 +0000 +++ b/src/emacs.c Sun Sep 27 07:11:54 1998 +0000 @@ -1541,6 +1541,10 @@ argv[best + i + 1] = 0; } + /* If duplicate options were deleted, fill up extra space with null ptrs. */ + while (to < argc) + new[to++] = 0; + bcopy (new, argv, sizeof (char *) * argc); free (options);