mirror of https://github.com/GNOME/gimp.git
use off_t to return the offset. Finally allows to handle swap files larger
2003-01-04 Sven Neumann <sven@gimp.org> * app/base/tile-swap.c (tile_swap_find_offset): use off_t to return the offset. Finally allows to handle swap files larger than 2 GB (fixes bug #74478).
This commit is contained in:
parent
91316ea199
commit
23054985da
|
@ -1,3 +1,9 @@
|
|||
2003-01-04 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/base/tile-swap.c (tile_swap_find_offset): use off_t to
|
||||
return the offset. Finally allows to handle swap files larger than
|
||||
2 GB (fixes bug #74478).
|
||||
|
||||
2003-01-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* configure.in: bumped the version number to 1.3.12.
|
||||
|
|
|
@ -111,7 +111,7 @@ static void tile_swap_default_out (DefSwapFile *def_swap_file,
|
|||
static void tile_swap_default_delete (DefSwapFile *def_swap_file,
|
||||
gint fd,
|
||||
Tile *tile);
|
||||
static glong tile_swap_find_offset (DefSwapFile *def_swap_file,
|
||||
static off_t tile_swap_find_offset (DefSwapFile *def_swap_file,
|
||||
gint fd,
|
||||
off_t bytes);
|
||||
static void tile_swap_resize (DefSwapFile *def_swap_file,
|
||||
|
@ -755,7 +755,7 @@ tile_swap_resize (DefSwapFile *def_swap_file,
|
|||
def_swap_file->swap_file_end = new_size;
|
||||
}
|
||||
|
||||
static long
|
||||
static off_t
|
||||
tile_swap_find_offset (DefSwapFile *def_swap_file,
|
||||
gint fd,
|
||||
off_t bytes)
|
||||
|
|
Loading…
Reference in New Issue