mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Fix ocinternal.c typo so it compiles
This commit is contained in:
parent
aebd11348a
commit
8837052b72
@ -495,7 +495,7 @@ createtempfile1(char* tmppath, char** tmpnamep)
|
||||
# ifdef WIN32
|
||||
fd=open(tmpname,O_RDWR|O_BINARY|O_CREAT|O_EXCL|_O_SHORT_LIVED, _S_IREAD|_S_IWRITE);
|
||||
# else
|
||||
fd=open(tmpl,O_RDWR|O_CREAT|O_EXCL, S_IRWXU);
|
||||
fd=open(tmpname,O_RDWR|O_CREAT|O_EXCL, S_IRWXU);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user