"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libburn/file.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.

file.c  (xorriso-1.5.2):file.c  (xorriso-1.5.4)
skipping to change at line 42 skipping to change at line 42
#include "init.h" #include "init.h"
#include "util.h" #include "util.h"
#include "libdax_msgs.h" #include "libdax_msgs.h"
extern struct libdax_msgs *libdax_messenger; extern struct libdax_msgs *libdax_messenger;
/* main channel data can be padded on read, but 0 padding the subs will make /* main channel data can be padded on read, but 0 padding the subs will make
an unreadable disc */ an unreadable disc */
/* This is a generic OS oriented function wrapper which compensates /* This is a generic OS oriented function wrapper which compensates
shortcommings of read() in respect to a guaranteed amount of return data. shortcomings of read() in respect to a guaranteed amount of return data.
See man 2 read , paragraph "RETURN VALUE". See man 2 read , paragraph "RETURN VALUE".
*/ */
static int read_full_buffer(int fd, unsigned char *buffer, int size) static int read_full_buffer(int fd, unsigned char *buffer, int size)
{ {
int ret,summed_ret = 0; int ret,summed_ret = 0;
/* make safe against partial buffer returns */ /* make safe against partial buffer returns */
while (1) { while (1) {
ret = read(fd, buffer + summed_ret, size - summed_ret); ret = read(fd, buffer + summed_ret, size - summed_ret);
if (ret <= 0) if (ret <= 0)
 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)