- Changed the map_size parameter to map_file() to be an int32 named
authorWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 22:51:17 +0000 (22:51 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 22:51:17 +0000 (22:51 +0000)
commit54281fe73365df649520900e8562a286dd04a28d
treecd961a6b504a9f41d594c068a8092565449eebd5
parent2b2ea368aad5770211f61f641ffb46c5f32810ac
- Changed the map_size parameter to map_file() to be an int32 named
  "read_size".
- Changed some int vars in map_ptr() needed to be int32 vars.
- All callers expect map_ptr() to return back the full "len" bytes,
  so we never shorten this value, even near EOF--the read will
  just get zero-padded, as needed.
- Die with an error if someone calls map_ptr() with a len < 0, or
  if read_size is computed as a value < 0.
fileio.c