OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2005-01-25 Alexander Malmberg <alexander@malmberg.org>
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
mkstemps.c
diff --git
a/libiberty/mkstemps.c
b/libiberty/mkstemps.c
index
1f6600a
..
94edf78
100644
(file)
--- a/
libiberty/mkstemps.c
+++ b/
libiberty/mkstemps.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991, 1992, 1996, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1996, 1998
, 2004
Free Software Foundation, Inc.
This file is derived from mkstemp.c from the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
This file is derived from mkstemp.c from the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@
-121,11
+121,7
@@
mkstemps (template, suffix_len)
v /= 62;
XXXXXX[5] = letters[v % 62];
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);
fd = open (template, O_RDWR|O_CREAT|O_EXCL, 0600);
-#endif
if (fd >= 0)
/* The file does not exist. */
return fd;
if (fd >= 0)
/* The file does not exist. */
return fd;