]> git.sur5r.net Git - cc65/commit
seek test: remove trailing newline from filename
authorPatrick Pelletier <code@funwithsoftware.org>
Mon, 20 Aug 2018 17:10:10 +0000 (10:10 -0700)
committerOliver Schmidt <ol.sc@web.de>
Mon, 20 Aug 2018 20:24:48 +0000 (22:24 +0200)
commit0a7702626f20a1a00a233a2ef10b9f58500c8e09
tree4978eb4d00ec91521ec28415d49e7c57d9cb74d4
parentb37d0a444c4e87758ea6c8d104b6cdf11bd4c5dc
seek test: remove trailing newline from filename

Looks like no one ever tried this?  fopen was returning EINVAL because
fgets was leaving a trailing newline at the end of the filename.
(Which is what fgets is documented to do.)
testcode/lib/seek.c