"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "frontend/frontend_pipes_xorriso.c" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

frontend_pipes_xorriso.c  (xorriso-1.5.2):frontend_pipes_xorriso.c  (xorriso-1.5.4)
skipping to change at line 288 skipping to change at line 288
char buf[32769], *line, *npt; char buf[32769], *line, *npt;
while (1) { while (1) {
count = read(boss->reply_fd, buf + remainder, count = read(boss->reply_fd, buf + remainder,
sizeof(buf) - 1 - remainder); sizeof(buf) - 1 - remainder);
if (count == -1) { if (count == -1) {
perror("read"); perror("read");
return(-1); return(-1);
} }
if (count == 0) { if (count == 0) {
fprintf(stderr, "+++ EOF encounterd by Master process\n"); fprintf(stderr, "+++ EOF encountered by Master process\n");
return(-2); return(-2);
} }
for (npt = buf + remainder; npt < buf + count; npt++) { for (npt = buf + remainder; npt < buf + count; npt++) {
if (*npt == 0) { if (*npt == 0) {
fprintf(stderr, fprintf(stderr,
"+++ Protocol error : Reply contains 0-chars\n"); "+++ Protocol error : Reply contains 0-chars\n");
return(-1); return(-1);
} }
} }
 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)