mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
patch 7.4.1928
Problem: Overwriting pointer argument. Solution: Assign to what it points to. (Dominique Pelle)
This commit is contained in:
@@ -7328,8 +7328,8 @@ vim_settempdir(char_u *tempdir)
|
|||||||
/*
|
/*
|
||||||
* vim_tempname(): Return a unique name that can be used for a temp file.
|
* vim_tempname(): Return a unique name that can be used for a temp file.
|
||||||
*
|
*
|
||||||
* The temp file is NOT garanteed to be created. If "keep" is FALSE it is
|
* The temp file is NOT guaranteed to be created. If "keep" is FALSE it is
|
||||||
* garanteed to NOT be created.
|
* guaranteed to NOT be created.
|
||||||
*
|
*
|
||||||
* The returned pointer is to allocated memory.
|
* The returned pointer is to allocated memory.
|
||||||
* The returned pointer is NULL if no valid name was found.
|
* The returned pointer is NULL if no valid name was found.
|
||||||
@@ -8696,7 +8696,7 @@ do_doautocmd(
|
|||||||
int group;
|
int group;
|
||||||
|
|
||||||
if (did_something != NULL)
|
if (did_something != NULL)
|
||||||
did_something = FALSE;
|
*did_something = FALSE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check for a legal group name. If not, use AUGROUP_ALL.
|
* Check for a legal group name. If not, use AUGROUP_ALL.
|
||||||
|
@@ -753,6 +753,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 */
|
||||||
|
/**/
|
||||||
|
1928,
|
||||||
/**/
|
/**/
|
||||||
1927,
|
1927,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user