Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jamessan
Copy link
Contributor

When v:progpath was changed to be absolute, some bare uses of PATH_MAX
were added. This should be indirected through MAXPATHL to support both
systems that don't define PATH_MAX and to override ones which define it
to a relatively small values.

When v:progpath was changed to be absolute, some bare uses of PATH_MAX
were added.  This should be indirected through MAXPATHL to support both
systems that don't define PATH_MAX and to override ones which define it
to a relatively small values.
@codecov-io
Copy link

Codecov Report

Merging #1973 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1973      +/-   ##
==========================================
- Coverage   74.71%   74.68%   -0.03%     
==========================================
  Files          77       77              
  Lines      125798   125798              
  Branches    28150    28150              
==========================================
- Hits        93989    93955      -34     
- Misses      31809    31839      +30     
- Partials        0        4       +4
Impacted Files Coverage Δ
src/main.c 55.36% <100%> (ø) ⬆️
src/gui_beval.c 39.93% <0%> (-4.96%) ⬇️
src/window.c 80.9% <0%> (-0.5%) ⬇️
src/os_unix.c 52.45% <0%> (-0.29%) ⬇️
src/if_py_both.h 76.05% <0%> (-0.14%) ⬇️
src/gui_gtk_x11.c 47.23% <0%> (-0.11%) ⬇️
src/channel.c 81.75% <0%> (-0.09%) ⬇️
src/ex_cmds.c 77.65% <0%> (+0.08%) ⬆️
src/libvterm/src/screen.c 73.43% <0%> (+0.09%) ⬆️
src/ex_cmds2.c 79.97% <0%> (+0.1%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6bb18a8...562ba1c. Read the comment docs.

@brammool brammool closed this in a9f8ee0 Aug 14, 2017
@jamessan jamessan deleted the remove-direct-PATH_MAX-use branch August 15, 2017 03:31
adizero pushed a commit to adizero/vim that referenced this pull request May 19, 2018
Problem:    Using PATH_MAX does not work well on some systems.
Solution:   use MAXPATHL instead. (James McCoy, closes vim#1973)
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.

2 participants