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

Skip to content

Conversation

@jamessan
Copy link
Contributor

The Debian GNU/kFreebsd project provides a Debian userland on top of the
FreeBSD kernel. Vim wasn't properly detecting that it should define
OPEN_CHR_FILES there because freebsd isn't defined there.

Adding the check for FreeBSD_kernel, which is defined when running a
FreeBSD kernel regardless of userland, ensures OPEN_CHR_FILES is set for
Debian GNU/kFreebsd.

The Debian GNU/kFreebsd project provides a Debian userland on top of the
FreeBSD kernel.  Vim wasn't properly detecting that it should define
OPEN_CHR_FILES there because __freebsd__ isn't defined there.

Adding the check for __FreeBSD_kernel__, which is defined when running a
FreeBSD kernel regardless of userland, ensures OPEN_CHR_FILES is set for
Debian GNU/kFreebsd.
@brammool brammool closed this in ca291ae Oct 15, 2016
@jamessan jamessan deleted the kFreebsd-fix branch October 15, 2016 17:43
desvp pushed a commit to desvp/vim that referenced this pull request May 30, 2017
Problem:    OPEN_CHR_FILES not defined for FreeBSD using Debian userland
            files.
Solution:   Check for __FreeBSD_kernel__. (James McCoy, closes vim#1166)
justinmk pushed a commit to neovim/neovim that referenced this pull request Jul 22, 2017
Problem:    OPEN_CHR_FILES not defined for FreeBSD using Debian userland
            files.
Solution:   Check for __FreeBSD_kernel__. (James McCoy, closes vim/vim#1166)

vim/vim@ca291ae
guns added a commit to guns/vim that referenced this pull request Nov 22, 2017
* origin/master: (27 commits)
  Updated runtime files.
  patch 8.0.0046 Problem:    Using NUL instead of NULL. Solution:   Change to NULL. (Dominique Pelle)
  patch 8.0.0045 Problem:    Calling job_stop() right after job_start() does not work. Solution:   Block signals while fork is still busy. (Ozaki Kiichi, closes             vim#1155)
  patch 8.0.0044 Problem:    In diff mode the cursor may end up below the last line, resulting             in an ml_get error. Solution:   Check the line to be valid.
  patch 8.0.0043 Problem:    When using Insert mode completion with 'completeopt' containing             "noinsert" with CTRL-N the change is not saved for undo.  (Tommy             Allen) Solution:   Call stop_arrow() before inserting for any key.
  patch 8.0.0042 Problem:    When using Insert mode completion with 'completeopt' containing             "noinsert" change is not saved for undo.  (Tommy Allen) Solution:   Call stop_arrow() before inserting for pressing Enter.
  patch 8.0.0041 Problem:    When using Insert mode completion but not actually inserting             anything an undo item is still created. (Tommy Allen) Solution:   Do not call stop_arrow() when not inserting anything.
  patch 8.0.0040 Problem:    Whole line highlighting with matchaddpos() does not work. Solution:   Check for zero length. (Hirohito Higashi)
  patch 8.0.0039 Problem:    When Vim 8 reads an old viminfo and exits, the next time marks are             not read from viminfo. (Ned Batchelder) Solution:   Set a mark when it wasn't set before, even when the timestamp is             zero. (closes vim#1170)
  patch 8.0.0038 Problem:    OPEN_CHR_FILES not defined for FreeBSD using Debian userland             files. Solution:   Check for __FreeBSD_kernel__. (James McCoy, closes vim#1166)
  patch 8.0.0037 Problem:    Get E924 when switching tabs. () Solution:   Use win_valid_any_tab() instead of win_valid(). (Martin Vuille,             closes vim#1167, closes vim#1171)
  patch 8.0.0036 Problem:    Detecting that a job has finished may take a while. Solution:   Check for a finished job more often (Ozaki Kiichi)
  patch 8.0.0035 Problem:    Order of matches for 'omnifunc' is messed up. (Danny Su) Solution:   Do not set compl_curr_match when called from complete_check().             (closes vim#1168)
  patch 8.0.0034 Problem:    No completion for ":messages". Solution:   Complete "clear" argument. (Hirohito Higashi)
  patch 8.0.0033 Problem:    Cannot use overlapping positions with matchaddpos(). Solution:   Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
  Updated runtime files.
  patch 8.0.0032 Problem:    Tests may change the input file when something goes wrong. Solution:   Avoid writing the input file.
  patch 8.0.0031 Problem:    After ":bwipeout" 'fileformat' is not set to the right default. Solution:   Get the default from 'fileformats'. (Mike Williams)
  patch 8.0.0030 Problem:    Mouse mode is not automatically detected for tmux. Solution:   Check for 'term' to be "tmux". (Michael Henry)
  patch 8.0.0029 Problem:    Code for MS-Windows is complicated because of the exceptions for             old systems. Solution:   Drop support for MS-Windows older than Windows XP. (Ken Takata)
  ...
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.

1 participant