Mercurial > hg > xemacs-beta
comparison src/callproc.c @ 430:a5df635868b2 r21-2-23
Import from CVS: tag r21-2-23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:08 +0200 |
parents | 3ecd8885ac67 |
children | 3a7e78e1142d |
comparison
equal
deleted
inserted
replaced
429:8305706cbb93 | 430:a5df635868b2 |
---|---|
285 for (i = 4; i < nargs; i++) | 285 for (i = 4; i < nargs; i++) |
286 { | 286 { |
287 CHECK_STRING (args[i]); | 287 CHECK_STRING (args[i]); |
288 new_argv[i - 3] = (char *) XSTRING_DATA (args[i]); | 288 new_argv[i - 3] = (char *) XSTRING_DATA (args[i]); |
289 } | 289 } |
290 new_argv[nargs - 3] = 0; | |
291 } | 290 } |
291 new_argv[max(nargs - 3,1)] = 0; | |
292 | 292 |
293 if (NILP (path)) | 293 if (NILP (path)) |
294 report_file_error ("Searching for program", Fcons (args[0], Qnil)); | 294 report_file_error ("Searching for program", Fcons (args[0], Qnil)); |
295 new_argv[0] = (char *) XSTRING_DATA (path); | 295 new_argv[0] = (char *) XSTRING_DATA (path); |
296 | 296 |