Portability fix-ups

* Ammend the Makefile to include newer commands.
* "compat/vis.h" versus <vis.h>
* Removal of cmd-send-prefix.c and cmd-show-buffer.c
* osdep-* for processes.

BUG-ID:  N/A
This commit is contained in:
Thomas Adam
2013-03-25 15:26:15 +00:00
parent 7a87c7eff6
commit 97b5df35b1
6 changed files with 4 additions and 173 deletions

2
cmd.c
View File

@@ -1333,7 +1333,7 @@ cmd_get_default_path(struct cmd_q *cmdq, const char *cwd)
if (c != NULL && c->session == NULL && c->cwd != NULL)
root = c->cwd;
else if (s->curw != NULL)
root = get_proc_cwd(s->curw->window->active->fd);
root = osdep_get_cwd(s->curw->window->active->fd);
else
return (s->cwd);
skip = 0;