Hi Dr. Chip,
I've just tried Netrw 174a from your site and confirmed that the changes in
https://github.com/vim/vim/pull/12150 have been included. Thank you.
However, I found that the indentation is not correct.
Could you check the attached patch?
Regards,
Ken Takata
--
--
You received this
Patch 9.0.1640 (after 9.0.1639)
Problem:Compiler warning for unused variables without the crypt feature.
Solution: Adjust #ifdefs
Files: src/fileio.c
*** ../vim-9.0.1639/src/fileio.c2023-06-17 15:34:58.873252369 +0100
--- src/fileio.c2023-06-17 16:16:58.135014988
On Sat, Jun 17, 2023 at 4:01 PM Bram Moolenaar wrote:
>
>
> Patch 9.0.1638 (after 9.0.1637)
> Problem:crypt tests hang and cause memory errors
> Solution: Move variable to start of function.
> Files: src/fileio.c
[...]
This gives me a compiler warning in the Tiny build, as follows:
Patch 9.0.1639 (after 9.0.1638)
Problem:Build failure without the crypt feature.
Solution: Adjust #ifdefs
Files: src/fileio.c
*** ../vim-9.0.1638/src/fileio.c2023-06-17 15:00:19.934646967 +0100
--- src/fileio.c2023-06-17 15:14:07.685688674 +0100
***
***
Patch 9.0.1638 (after 9.0.1637)
Problem:crypt tests hang and cause memory errors
Solution: Move variable to start of function.
Files: src/fileio.c
*** ../vim-9.0.1637/src/fileio.c2023-06-16 21:42:02.380360392 +0100
--- src/fileio.c2023-06-17 14:56:20.386925633 +0100
Christian wrote:
> So my gcc 12.2 started complaining about possibly using an uninitialized
> variable eof:
> ,
> | fileio.c: In function ‘readfile’:
> | fileio.c:221:17: warning: ‘eof’ may be used uninitialized
> [-Wmaybe-uninitialized]
> | 221 | int eof;
> | |