diff options
author | kennykb <kennykb@noemail.net> | 2002-02-15 23:42:11 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2002-02-15 23:42:11 (GMT) |
commit | fcffc703fd991f594e64d5ec676065a33c91bcc8 (patch) | |
tree | 87a231b742d00bcbf481e3439acb70032c612370 /generic/tclPosixStr.c | |
parent | afb5a69112019f2bde36ef53a9c4e79a0a021f77 (diff) | |
download | tcl-fcffc703fd991f594e64d5ec676065a33c91bcc8.zip tcl-fcffc703fd991f594e64d5ec676065a33c91bcc8.tar.gz tcl-fcffc703fd991f594e64d5ec676065a33c91bcc8.tar.bz2 |
Further changes to the TIP 72 patch to make it compile under VC++
FossilOrigin-Name: ffd6a7d7738c855d3f78a3b416a52091432c6b02
Diffstat (limited to 'generic/tclPosixStr.c')
-rw-r--r-- | generic/tclPosixStr.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclPosixStr.c b/generic/tclPosixStr.c index 2af10b1..2dbe357 100644 --- a/generic/tclPosixStr.c +++ b/generic/tclPosixStr.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclPosixStr.c,v 1.7 2002/01/15 21:19:07 dgp Exp $ + * RCS: @(#) $Id: tclPosixStr.c,v 1.8 2002/02/15 23:42:12 kennykb Exp $ */ #include "tclInt.h" @@ -339,6 +339,9 @@ Tcl_ErrnoId() #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "EOPNOTSUPP"; #endif +#if defined(EOVERFLOW) && ( !defined(EFBIG) || (EOVERFLOW != EFBIG) ) + case EOVERFLOW: return "EOVERFLOW"; +#endif #ifdef EPERM case EPERM: return "EPERM"; #endif @@ -786,6 +789,9 @@ Tcl_ErrnoMsg(err) #if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP)) case EOPNOTSUPP: return "operation not supported on socket"; #endif +#if defined(EOVERFLOW) && ( !defined(EFBIG) || (EOVERFLOW != EFBIG) ) + case EOVERFLOW: return "file too big"; +#endif #ifdef EPERM case EPERM: return "not owner"; #endif |