comparison src/process.c @ 45005:084928cfcfcb

(Fstart_process): Update call to openp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 30 Apr 2002 01:01:37 +0000
parents 01b93e5e53a7
children 8a33d836b6fb
comparison
equal deleted inserted replaced
45004:303384b6edc4 45005:084928cfcfcb
1428 { 1428 {
1429 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; 1429 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4;
1430 1430
1431 tem = Qnil; 1431 tem = Qnil;
1432 GCPRO4 (name, program, buffer, current_dir); 1432 GCPRO4 (name, program, buffer, current_dir);
1433 openp (Vexec_path, program, Vexec_suffixes, &tem, 1); 1433 openp (Vexec_path, program, Vexec_suffixes, &tem, make_number (X_OK));
1434 UNGCPRO; 1434 UNGCPRO;
1435 if (NILP (tem)) 1435 if (NILP (tem))
1436 report_file_error ("Searching for program", Fcons (program, Qnil)); 1436 report_file_error ("Searching for program", Fcons (program, Qnil));
1437 tem = Fexpand_file_name (tem, Qnil); 1437 tem = Fexpand_file_name (tem, Qnil);
1438 tem = ENCODE_FILE (tem); 1438 tem = ENCODE_FILE (tem);