"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/utils_io.c" between
cryptsetup-2.3.6.tar.xz and cryptsetup-2.4.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

utils_io.c  (cryptsetup-2.3.6.tar.xz):utils_io.c  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 29 skipping to change at line 29
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#include "utils_io.h" #include "utils_io.h"
static ssize_t _read_buffer(int fd, void *buf, size_t length, volatile int *quit ) static ssize_t _read_buffer(int fd, void *buf, size_t length, volatile int *quit )
{ {
size_t read_size = 0; size_t read_size = 0;
ssize_t r; ssize_t r;
if (fd < 0 || !buf) if (fd < 0 || !buf)
return -EINVAL; return -EINVAL;
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

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