Patch 7.4.1928
Problem: Overwriting pointer argument.
Solution: Assign to what it points to. (Dominique Pelle)
Files: src/fileio.c
*** ../vim-7.4.1927/src/fileio.c 2016-06-09 22:52:56.199926413 +0200
--- src/fileio.c 2016-06-13 19:55:32.071390521 +0200
***************
*** 7328,7335 ****
/*
* 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
! * garanteed to NOT be created.
*
* The returned pointer is to allocated memory.
* The returned pointer is NULL if no valid name was found.
--- 7328,7335 ----
/*
* vim_tempname(): Return a unique name that can be used for a temp file.
*
! * The temp file is NOT guaranteed to be created. If "keep" is FALSE it is
! * guaranteed to NOT be created.
*
* The returned pointer is to allocated memory.
* The returned pointer is NULL if no valid name was found.
***************
*** 8696,8702 ****
int group;
if (did_something != NULL)
! did_something = FALSE;
/*
* Check for a legal group name. If not, use AUGROUP_ALL.
--- 8696,8702 ----
int group;
if (did_something != NULL)
! *did_something = FALSE;
/*
* Check for a legal group name. If not, use AUGROUP_ALL.
*** ../vim-7.4.1927/src/version.c 2016-06-13 19:54:18.392171818 +0200
--- src/version.c 2016-06-13 19:57:11.598335009 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1928,
/**/
--
>From "know your smileys":
<<<:-{ Worf (Never smiles anyways, so he's a bad smiley)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.