diff options
author | DJ Delorie <dj@redhat.com> | 2004-04-29 16:08:50 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-04-29 16:08:50 +0000 |
commit | 25319993a8765ebf7c7085f661a42306bcb243db (patch) | |
tree | 900c27dc9c5cebdee3e743d82c5680b936a52bf0 /libiberty/mkstemps.c | |
parent | c960c18f1aed2a8666598aae23f128347a0a21c4 (diff) | |
download | gdb-25319993a8765ebf7c7085f661a42306bcb243db.zip gdb-25319993a8765ebf7c7085f661a42306bcb243db.tar.gz gdb-25319993a8765ebf7c7085f661a42306bcb243db.tar.bz2 |
merge from gcc
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 1f6600a..94edf78 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; |