~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to src/nvim/os/fs.c

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20160418214219-6lf1w0zadujghas7
Tags: upstream-0.1.3
ImportĀ upstreamĀ versionĀ 0.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
    // Glue together the given directory from $PATH with name and save into
167
167
    // buf.
168
168
    STRLCPY(buf, path, e - path + 1);
169
 
    append_path((char *) buf, (const char *) name, (int)buf_len);
 
169
    append_path((char *) buf, (const char *) name, buf_len);
170
170
 
171
171
    if (is_executable(buf)) {
172
172
      // Check if the caller asked for a copy of the path.