mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
fix typo
This commit is contained in:
parent
c114861e68
commit
c684a02d87
@ -348,7 +348,7 @@ createtempfile1(char* tmppath, char** tmpnamep)
|
|||||||
if(tmpname == NULL) return -1;
|
if(tmpname == NULL) return -1;
|
||||||
strncpy(tmpname,tmppath,tmpsize);
|
strncpy(tmpname,tmppath,tmpsize);
|
||||||
#ifdef HAVE_MKSTEMP
|
#ifdef HAVE_MKSTEMP
|
||||||
strncat(tmpname,"dataddsXXXXXX",strlen("dataddsXXXXXX")));
|
strncat(tmpname,"dataddsXXXXXX",strlen("dataddsXXXXXX"));
|
||||||
/* Note Potential problem: old versions of this function
|
/* Note Potential problem: old versions of this function
|
||||||
leave the file in mode 0666 instead of 0600 */
|
leave the file in mode 0666 instead of 0600 */
|
||||||
fd = mkstemp(tmpname);
|
fd = mkstemp(tmpname);
|
||||||
|
Loading…
Reference in New Issue
Block a user