Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use fseek instead of lseek for a file stream #11222

Merged
merged 1 commit into from Oct 14, 2019

Conversation

dm1try
Copy link
Contributor

@dm1try dm1try commented Oct 13, 2019

this also fixes #11196 as using lseek leads to file system misbehaviour on osx Catalina

@dm1try
Copy link
Contributor Author

dm1try commented Oct 13, 2019

for filesize calculation I used information from here

src/nvim/tag.c Outdated Show resolved Hide resolved
this also fixes neovim#11196 as using lseek leads to file system misbehaviour on osx Catalina
@dm1try dm1try force-pushed the fix_fs_misbehaviour_on_catalina branch from aa29b3f to 319c69a Compare October 13, 2019 18:47
@mhinz mhinz added this to the 0.4.3 milestone Oct 14, 2019
@mhinz mhinz merged commit d0efc1c into neovim:master Oct 14, 2019
@mhinz
Copy link
Member

mhinz commented Oct 14, 2019

Thanks for digging into this, @dm1try!

blueyed pushed a commit that referenced this pull request Oct 14, 2019
I/O in Catalina is currently known to be broken. This commit works
around a pesky bug and also makes the code more consistent by removing
the mix of C file and standard I/O.

Fixes #11196

(cherry picked from commit d0efc1c)
@blueyed
Copy link
Contributor

blueyed commented Oct 14, 2019

Thanks, cherry-picked to the release branch in a1f5576.

@dm1try
Copy link
Contributor Author

dm1try commented Oct 14, 2019

@mhinz, thanks for the collaboration)

@justinmk
Copy link
Member

for filesize calculation I used information from here

That should be in the commit message next time :)

justinmk added a commit to justinmk/neovim that referenced this pull request Nov 6, 2019
Maintenance release for the v0.4.x series.

FIXES:

599ad5d Windows: nvim-qt v0.2.15 (fix "invalid font" error on startup)
1def945 neovim#11332 autocmd: Fix event name casing
b678d33 neovim#11315 test: delete duplicate highlight group
924fa14 neovim#11225 ex_echo: fix check for got_int
327e8dd neovim#11138 deps: pass LDFLAGS+=-static
a1f5576 neovim#11222 mac: fix "tags file not sorted" bug on Catalina
f2f3771 neovim#11187 recovery mode (-r/-L): use headless_mode
4f452a6 neovim#11190 Remove "highbright bold" conversion.
9571a87 neovim#11177 third-party: upgrade libvterm to 0.1.2
3817518 neovim#11074 terminfo_start: flush buffer
56d9412 win_line: update `w_last_cursorline` always
ddd3363 neovim#11132 patch_terminfo_bugs: TERM=xterm with non-xterm: ignore smglr
d453d2c Fix redraw regression with w_p_cole in visual mode
e0622b4 screen: missing redraw/highlight for ruler in message area
b781f2b cmdline: wildmenumode() should be true with wildoptions+=pum
eef3809 neovim#11027 win_update: fix redraw regression
43f4955 neovim#11069 Merge pull request from bfredl/virtualcol
6f693be neovim#11050 env: use putenv_s for LC_ALL, LANG, etc.
36e2846 neovim#11094 paste: fix handling of "<" in cmdline
60b56ed neovim#11126 Merge pull request from bfredl/invalidcell-0.4
8250d67 screen: don't crash on invalid grid cells being recomposed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS Catalina 10.15 search tag appear "E432: Tags file not sorted"
4 participants