merge from gcc

This commit is contained in:
DJ Delorie
2002-01-22 20:14:53 +00:00
parent 069e84fd96
commit cc096b7166
11 changed files with 408 additions and 102 deletions

View File

@@ -121,7 +121,11 @@ mkstemps (template, suffix_len)
v /= 62;
XXXXXX[5] = letters[v % 62];
#ifdef VMS
fd = open (template, O_RDWR|O_CREAT|O_EXCL, 0600, "fop=tmd");
#else
fd = open (template, O_RDWR|O_CREAT|O_EXCL, 0600);
#endif
if (fd >= 0)
/* The file does not exist. */
return fd;