merge from gcc
authorDJ Delorie <dj@redhat.com>
Thu, 29 Apr 2004 16:08:50 +0000 (16:08 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 29 Apr 2004 16:08:50 +0000 (16:08 +0000)
libiberty/ChangeLog
libiberty/mkstemps.c

index 553d17c3731de0604f76cefc52aa2754b8bad969..82547e29bfee0e3ddde6bd4e86d4c49b271e0f2e 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-29  Douglas B Rupp  <rupp@gnat.com>
+
+       * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
+       copyright.
+
 2004-04-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
 
        * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
index 1f6600a15b91946d3de4b9995483863e70eb9bbf..94edf78755b28ee446af08358075d664016913c0 100644 (file)
@@ -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;
This page took 0.028902 seconds and 4 git commands to generate.