Mercurial > emacs
comparison src/emacs.c @ 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 | 457da99ff43a |
children | 025ff5515ec9 |
comparison
equal
deleted
inserted
replaced
23326:df3f641c9ca1 | 23327:8875c38b22c7 |
---|---|
1539 argv[best] = 0; | 1539 argv[best] = 0; |
1540 for (i = 0; i < options[best]; i++) | 1540 for (i = 0; i < options[best]; i++) |
1541 argv[best + i + 1] = 0; | 1541 argv[best + i + 1] = 0; |
1542 } | 1542 } |
1543 | 1543 |
1544 /* If duplicate options were deleted, fill up extra space with null ptrs. */ | |
1545 while (to < argc) | |
1546 new[to++] = 0; | |
1547 | |
1544 bcopy (new, argv, sizeof (char *) * argc); | 1548 bcopy (new, argv, sizeof (char *) * argc); |
1545 | 1549 |
1546 free (options); | 1550 free (options); |
1547 free (new); | 1551 free (new); |
1548 free (priority); | 1552 free (priority); |