aboutsummaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-04-04 19:53:43 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-05 20:19:38 -0300
commita8013f2bb1b7e62c273f7a7da58653aa82e9c5ca (patch)
tree11807ea29c41ed7b6ed2769185e5283969e7fe8b /src/fileio.c
parentf545afaed0304838881930c6a5944f2c6523322e (diff)
downloadrneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.tar.gz
rneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.tar.bz2
rneovim-a8013f2bb1b7e62c273f7a7da58653aa82e9c5ca.zip
Moved mch_get_pid and renamed it to os_get_pid
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 4de33243b9..b13b7e5517 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5730,7 +5730,7 @@ vim_tempname (
* unlikely that it already exists it will be faster,
* otherwise it doesn't matter. The use of mkdir() avoids any
* security problems because of the predictable number. */
- nr = (mch_get_pid() + (long)time(NULL)) % 1000000L;
+ nr = (os_get_pid() + (long)time(NULL)) % 1000000L;
itmplen = STRLEN(itmp);
/* Try up to 10000 different values until we find a name that