comparison src/process.c @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 131b0175ea99
children 4be1180a9e89
comparison
equal deleted inserted replaced
81:ebca3d831cea 82:6a378aca36af
1185 alloca ((nargs - 1) * sizeof (char *)); 1185 alloca ((nargs - 1) * sizeof (char *));
1186 1186
1187 new_argv[0] = (char *) XSTRING_DATA (program); 1187 new_argv[0] = (char *) XSTRING_DATA (program);
1188 1188
1189 /* If program file name is not absolute, search our path for it */ 1189 /* If program file name is not absolute, search our path for it */
1190 if (!IS_DIRECTORY_SEP (string_byte (XSTRING (program), 0)) 1190 if (!IS_DIRECTORY_SEP (XSTRING_BYTE (program, 0))
1191 && !(XSTRING_LENGTH (program) > 1 1191 && !(XSTRING_LENGTH (program) > 1
1192 && IS_DEVICE_SEP (string_byte (XSTRING (program), 1)))) 1192 && IS_DEVICE_SEP (XSTRING_BYTE (program, 1))))
1193 { 1193 {
1194 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; /* Caller protects args[] */ 1194 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; /* Caller protects args[] */
1195 GCPRO4 (buffer, current_dir, name, program); 1195 GCPRO4 (buffer, current_dir, name, program);
1196 1196
1197 tem = Qnil; 1197 tem = Qnil;