Mercurial > vim
comparison src/fileio.c @ 5704:47a673b20e49 v7.4.197
updated for version 7.4.197
Problem: Various problems on VMS.
Solution: Fix several VMS problems. (Zoltan Arpadffy)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 12 Mar 2014 16:51:55 +0100 |
parents | 6050f52d7cd8 |
children | 410ef4f1a3d2 |
comparison
equal
deleted
inserted
replaced
5703:69b2ec0c96cc | 5704:47a673b20e49 |
---|---|
7557 */ | 7557 */ |
7558 sprintf((char *)itmp, "VIM%c", extra_char); | 7558 sprintf((char *)itmp, "VIM%c", extra_char); |
7559 p = (char_u *)tempnam("tmp:", (char *)itmp); | 7559 p = (char_u *)tempnam("tmp:", (char *)itmp); |
7560 if (p != NULL) | 7560 if (p != NULL) |
7561 { | 7561 { |
7562 /* VMS will use '.LOG' if we don't explicitly specify an extension, | 7562 /* VMS will use '.LIS' if we don't explicitly specify an extension, |
7563 * and VIM will then be unable to find the file later */ | 7563 * and VIM will then be unable to find the file later */ |
7564 STRCPY(itmp, p); | 7564 STRCPY(itmp, p); |
7565 STRCAT(itmp, ".txt"); | 7565 STRCAT(itmp, ".txt"); |
7566 free(p); | 7566 free(p); |
7567 } | 7567 } |