summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/configure.in2
-rw-r--r--unix/tclUnixChan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 4b5a5bd..1809f10 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -7,7 +7,7 @@ AC_INIT(../generic/tcl.h)
TCL_VERSION=8.0
TCL_MAJOR_VERSION=8
TCL_MINOR_VERSION=0
-TCL_PATCH_LEVEL=".3-4"
+TCL_PATCH_LEVEL=".3-5"
VERSION=${TCL_VERSION}
if test "${prefix}" = "NONE"; then
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 52af100..b846169 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -2604,7 +2604,7 @@ TclOpen(path, oflag, mode)
{
int result;
while (1) {
- result = open(path, oflag, mode);
+ result = open(path, oflag, (mode_t)mode);
if ((result != -1) || (errno != EINTR)) {
return result;
}