diff options
author | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-29 15:28:42 +0000 |
---|---|---|
committer | rupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-29 15:28:42 +0000 |
commit | 767efd18dd81f73b1b69029182b1bc5b2b0b3c1d (patch) | |
tree | 7cc52a06db61f0e92a9c98a34aa14fcf0072b299 /libiberty/mkstemps.c | |
parent | f07ea0913bf116812c3507bef1be222267467b11 (diff) | |
download | gcc-767efd18dd81f73b1b69029182b1bc5b2b0b3c1d.tar.gz |
* gcc.c (DELETE_IF_ORDINARY): New macro default definition.
(delete_if_ordinary): Use above macro.
* config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition.
Update copyright.
* doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro.
* libiberty/mkstemps.c (mkstemps) [VMS]: Remove special open option.
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/mkstemps.c')
-rw-r--r-- | libiberty/mkstemps.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libiberty/mkstemps.c b/libiberty/mkstemps.c index 1f6600a15b9..94edf78755b 100644 --- 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 @@ -121,11 +121,7 @@ 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; |