mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.2-232
This commit is contained in:
parent
3f947ead6f
commit
2572492eba
@ -319,6 +319,23 @@ static struct signalinfo
|
|||||||
{-1, "Unknown!", FALSE}
|
{-1, "Unknown!", FALSE}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int
|
||||||
|
mch_chdir(path)
|
||||||
|
char *path;
|
||||||
|
{
|
||||||
|
if (p_verbose >= 5)
|
||||||
|
{
|
||||||
|
verbose_enter();
|
||||||
|
smsg((char_u *)"chdir(%s)", path);
|
||||||
|
verbose_leave();
|
||||||
|
}
|
||||||
|
# ifdef VMS
|
||||||
|
return chdir(vms_fixfilename(path));
|
||||||
|
# else
|
||||||
|
return chdir(path);
|
||||||
|
# endif
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Write s[len] to the screen.
|
* Write s[len] to the screen.
|
||||||
*/
|
*/
|
||||||
@ -2424,6 +2441,12 @@ mch_FullName(fname, buf, len, force)
|
|||||||
#ifdef HAVE_FCHDIR
|
#ifdef HAVE_FCHDIR
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
{
|
{
|
||||||
|
if (p_verbose >= 5)
|
||||||
|
{
|
||||||
|
verbose_enter();
|
||||||
|
MSG("fchdir() to previous dir");
|
||||||
|
verbose_leave();
|
||||||
|
}
|
||||||
l = fchdir(fd);
|
l = fchdir(fd);
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
|
@ -482,11 +482,6 @@ typedef struct dsc$descriptor DESC;
|
|||||||
# else
|
# else
|
||||||
int mch_rename __ARGS((const char *src, const char *dest));
|
int mch_rename __ARGS((const char *src, const char *dest));
|
||||||
# endif
|
# endif
|
||||||
# ifdef VMS
|
|
||||||
# define mch_chdir(s) chdir(vms_fixfilename(s))
|
|
||||||
# else
|
|
||||||
# define mch_chdir(s) chdir(s)
|
|
||||||
# endif
|
|
||||||
# ifndef VMS
|
# ifndef VMS
|
||||||
# ifdef __MVS__
|
# ifdef __MVS__
|
||||||
/* on OS390 Unix getenv() doesn't return a pointer to persistent
|
/* on OS390 Unix getenv() doesn't return a pointer to persistent
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* os_unix.c */
|
/* os_unix.c */
|
||||||
|
int mch_chdir __ARGS((char *path));
|
||||||
void mch_write __ARGS((char_u *s, int len));
|
void mch_write __ARGS((char_u *s, int len));
|
||||||
int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt));
|
int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime, int tb_change_cnt));
|
||||||
int mch_char_avail __ARGS((void));
|
int mch_char_avail __ARGS((void));
|
||||||
|
@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
232,
|
||||||
/**/
|
/**/
|
||||||
231,
|
231,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user