Lines Matching +defs:line +defs:end +defs:position
264 char line[MAX_LINE];
277 strcpy(line, prefix);
278 strcat(line, in);
279 length = strlen(line);
280 *(line + (length - strlen(SO_SUFFIX))) = '\0';
281 strcat(line, LA_SUFFIX);
282 file = fopen(line, "r");
294 strcpy(line, prefix);
295 strcat(line, in);
297 file = fopen(line, "r");
300 "unable to open LA file: %s", line);
305 if(!fgets(line, MAX_LINE, file)) break;
306 if(line[strlen(line) - 1] != '\n') {
308 "LA file has too long of a line: %s", in);
311 if(line[0] == '\n' || line[0] == '#') continue;
312 if(!strncmp(line, "dlname=", sizeof("dlname=") - 1)) {
313 /* We found the line with the name in it */
314 char *end;
317 end = strrchr(line, '\'');
318 if(!end) continue;
319 start = &line[sizeof("dlname=")-1];
323 *end='\0';
325 if(ntmp == end) {
339 if (!strncmp(line, "64bit=", sizeof("64bit=") - 1)) {
340 if (strstr(line, "no") != NULL) {
361 "Could not find a dlname line in .la file: %s", in);
424 int position;
489 position=0;
493 c=path[position];
494 position++;
551 /* If this fails, it's not the end of the world */
583 int position;
651 position=0;
655 c=path[position];
656 position++;
706 /* If this fails, it's not the end of the world */