[GRASS-dev] update: put_row.c

Mostly large file related. Objections?

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

(attachments)

put_row.c.diff (1.82 KB)

Brad Douglas wrote:

Mostly large file related. Objections?

No objections, although none of this is likely to have any effect upon
large file support.

FWIW, the last argument to write() is a size_t rather than a ssize_t,
although I can't imagine a single row occupying anywhere near 2^31
bytes.

Using SEEK_{SET,CUR} instead of 0/1 is definitely a good thing,
though.

--
Glynn Clements <glynn@gclements.plus.com>