Re: Patch 9.0.0795

2022-10-21 Fir de Conversatie Bram Moolenaar
> Bram Moolenaar schrieb am 19.10.2022 um 15:03: > [...] > > > > ! readblob({fname} [, {offset} [, {size}]]) *readblob()* > > Read file {fname} in binary mode and return a |Blob|. > > + If {offset} is specified, read the file from the specified > > +

Re: Patch 9.0.0795

2022-10-21 Fir de Conversatie 'Jürgen Krämer' via vim_dev
Hi, Bram Moolenaar schrieb am 19.10.2022 um 15:03: [...] > > ! readblob({fname} [, {offset} [, {size}]]) *readblob()* > Read file {fname} in binary mode and return a |Blob|. > + If {offset} is specified, read the file from the specified > +

Patch 9.0.0795

2022-10-19 Fir de Conversatie Bram Moolenaar
Patch 9.0.0795 Problem:readblob() always reads the whole file. Solution: Add arguments to read part of the file. (Ken Takata, closes #11402) Files: runtime/doc/builtin.txt, src/blob.c, src/proto/blob.pro, src/evalfunc.c, src/filepath.c, src/testdir