]> git.sur5r.net Git - cc65/commit
lseek: Return EINVAL if new position is less than 0 or greater than 2^24 - 1.
authorPatrick Pelletier <code@funwithsoftware.org>
Mon, 20 Aug 2018 15:45:40 +0000 (08:45 -0700)
committerOliver Schmidt <ol.sc@web.de>
Mon, 20 Aug 2018 20:24:48 +0000 (22:24 +0200)
commitb37d0a444c4e87758ea6c8d104b6cdf11bd4c5dc
tree5b4633ec4a4ce30b129e0ff27d291b4f604f7dee
parent59a4ab877886a57334060b0e0366fbb69aa6e493
lseek: Return EINVAL if new position is less than 0 or greater than 2^24 - 1.

Also, implemented @greg-king5's suggestion to save a byte on error paths.
libsrc/apple2/lseek.s