Commit 23054985 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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).
parent 91316ea1
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment