"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/genius-readline-helper.c" between
genius-1.0.23.tar.xz and genius-1.0.24.tar.xz

About: Genius is an advanced mathematical calculator with an own programming language (GEL).

genius-readline-helper.c  (genius-1.0.23.tar.xz):genius-readline-helper.c  (genius-1.0.24.tar.xz)
skipping to change at line 257 skipping to change at line 257
if(p && *p) if(p && *p)
add_history(p); add_history(p);
if(!p) { if(!p) {
if (write(outfd,"EOF!",4) < 4) if (write(outfd,"EOF!",4) < 4)
printf ("write failed in readline-helper" ); printf ("write failed in readline-helper" );
} else { } else {
int len = strlen(p); int len = strlen(p);
if (write(outfd,"LINE",4) < 4) if (write(outfd,"LINE",4) < 4)
printf ("write failed in readline-helper" ); printf ("write failed in readline-helper" );
if (write(outfd,(gpointer)&len,sizeof(int)) < siz eof (int)) if (write(outfd,(gpointer)&len,sizeof(int)) < (in t)sizeof (int))
printf ("write failed in readline-helper" ); printf ("write failed in readline-helper" );
if(len>0) { if(len>0) {
if (write(outfd,p,len) < len) { if (write(outfd,p,len) < len) {
printf ("write failed in readline -helper"); printf ("write failed in readline -helper");
} }
} }
free(p); free(p);
} }
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)