Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 607948
Collapse All | Expand All

(-)testdisk-7.0/src/ewf.c.org (-3 / +3 lines)
Lines 179-185 disk_t *fewf_init(const char *device, co Link Here
179
	  data->handle,
179
	  data->handle,
180
	  filenames,
180
	  filenames,
181
	  num_files,
181
	  num_files,
182
	  LIBEWF_OPEN_READ_WRITE,
182
	  ( LIBEWF_OPEN_READ | LIBEWF_OPEN_WRITE ),
183
	  NULL ) != 1 )
183
	  NULL ) != 1 )
184
    {
184
    {
185
      log_error("libewf_handle_open(%s) in RW mode failed\n", device);
185
      log_error("libewf_handle_open(%s) in RW mode failed\n", device);
Lines 406-412 static int fewf_pread(disk_t *disk, void Link Here
406
  struct info_fewf_struct *data=(struct info_fewf_struct *)disk->data;
406
  struct info_fewf_struct *data=(struct info_fewf_struct *)disk->data;
407
  int64_t taille;
407
  int64_t taille;
408
#if defined( HAVE_LIBEWF_V2_API )
408
#if defined( HAVE_LIBEWF_V2_API )
409
  taille = libewf_handle_read_random(
409
  taille = libewf_handle_read_buffer_at_offset(
410
            data->handle,
410
            data->handle,
411
            buffer,
411
            buffer,
412
            count,
412
            count,
Lines 437-443 static int fewf_pwrite(disk_t *disk, con Link Here
437
  struct info_fewf_struct *data=(struct info_fewf_struct *)disk->data;
437
  struct info_fewf_struct *data=(struct info_fewf_struct *)disk->data;
438
  int64_t taille;
438
  int64_t taille;
439
#if defined( HAVE_LIBEWF_V2_API )
439
#if defined( HAVE_LIBEWF_V2_API )
440
  taille = libewf_handle_write_random(
440
  taille = libewf_handle_write_buffer_at_offset(
441
            data->handle,
441
            data->handle,
442
            buffer,
442
            buffer,
443
            count,
443
            count,

Return to bug 607948