diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-07 05:05:04 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-07 05:05:04 +0000 |
commit | 031e40b61d2cdb4c8aac9456e08cec9bb8729fdc (patch) | |
tree | 81d59bfb40b0efc64b3acfc9cbe4dd7d3628af85 /file.c | |
parent | 348746f66f9df54f66f83478093a6189f5d140df (diff) | |
download | ruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.tar.gz ruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.tar.xz ruby-031e40b61d2cdb4c8aac9456e08cec9bb8729fdc.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1022,7 +1022,7 @@ rb_file_chown(obj, owner, group) struct timeval rb_time_timeval(); -#ifdef HAVE_UTIMES +#if defined(HAVE_UTIMES) && !defined(__CHECKER__) static void utime_internal(path, tvp) @@ -1504,7 +1504,7 @@ rb_file_truncate(obj, len) # define LOCK_UN 8 # endif -#if defined(EWOULDBLOCK) +#if defined(EWOULDBLOCK) && 0 static int rb_thread_flock(fd, op, fptr) int fd, op; @@ -1535,6 +1535,7 @@ rb_file_flock(obj, operation) VALUE obj; VALUE operation; { +#ifndef __CHECKER__ OpenFile *fptr; rb_secure(2); @@ -1551,6 +1552,7 @@ rb_file_flock(obj, operation) #endif rb_sys_fail(fptr->path); } +#endif return INT2FIX(0); } #undef flock |