"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configfile.c" between
lookat_bekijk-1.4.3.tar.gz and lookat_bekijk-1.4.4.tar.gz

About: Lookat/Bekijk is a program to view Un*x text files and manual pages.

configfile.c  (lookat_bekijk-1.4.3):configfile.c  (lookat_bekijk-1.4.4)
skipping to change at line 135 skipping to change at line 135
lc=get_item_size(c); lc=get_item_size(c);
if(mode==2) { if(mode==2) {
var_name[0]='\0'; var_name[0]='\0';
strncat(var_name,c,lc); strncat(var_name,c,lc);
} }
l=strlen(var_name); l=strlen(var_name);
if ((lc==l)&&(lc!=0)) { if ((lc==l)&&(lc!=0)) {
if (!strncasecmp(c,var_name,l)) { if (!strncasecmp(c,var_name,l)) {
c+=l; c+=l;
c=mv_2_next(c); c=mv_2_next(c);
r=(char *) realloc(r,strlen(c)+1); r=(char *) xrealloc(r,strlen(c)+1);
strcpy(r,c); strcpy(r,c);
if(mode==2) break; if(mode==2) break;
} }
} }
} }
} }
if((mode==1)&&(ss!=NULL)) free(ss); if((mode==1)&&(ss!=NULL)) free(ss);
if(start_section!=NULL) free(start_section); if(start_section!=NULL) free(start_section);
if(end_section!=NULL) free(end_section); if(end_section!=NULL) free(end_section);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS