ldmud/test/t-readbytes
Daniel McCarney 742ae63e8c Accept negative start offsets beyond file start in read_bytes()
When read_bytes() is given a negative start offset that would reach
before the start of the file, use the file start instead of returning 0.

Returning 0 is not warrented because there is something to read,
starting at the beginning of the file.
2022-01-08 21:54:29 +01:00
..
inc Accept negative start offsets beyond file start in read_bytes() 2022-01-08 21:54:29 +01:00
master.c Accept negative start offsets beyond file start in read_bytes() 2022-01-08 21:54:29 +01:00
small.file.txt Accept negative start offsets beyond file start in read_bytes() 2022-01-08 21:54:29 +01:00
sys Accept negative start offsets beyond file start in read_bytes() 2022-01-08 21:54:29 +01:00