diff options
-rw-r--r-- | idlc/source/idlccompile.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index bbd080f550ca..c88cac79db4a 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -38,8 +38,6 @@ #else #include <wait.h> #endif -#include <sys/types.h> -#include <sys/stat.h> #endif #include <string.h> @@ -156,9 +154,7 @@ OString makeTempName(const OString& prefix) strncat(tmpFilePattern, "XXXXXX", sizeof(tmpFilePattern)-1-strlen(tmpFilePattern)); #ifdef SAL_UNX - mode_t nOrigMode = umask(S_IRWXG | S_IRWXO); int nDescriptor = mkstemp(tmpFilePattern); - umask(nOrigMode); if( -1 == nDescriptor ) { fprintf(stderr, "idlc: mkstemp(\"%s\") failed: %s\n", tmpFilePattern, strerror(errno)); |