summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 22:37:35 (GMT)
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-29 22:37:35 (GMT)
commit6ccc2379b2d66a2cff8e20e909b6d9d7d089d016 (patch)
treef765585659db50f381d70667d4be7f43a7645b04 /io.c
parentf47b38b016c13418dbb032517ec586cb8ba499ad (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 5d31a6d..b833bbc 100644
--- a/io.c
+++ b/io.c
@@ -1730,7 +1730,7 @@ io_writev(int argc, VALUE *argv, VALUE io)
/* sync at last item */
n = io_fwrite(rb_obj_as_string(argv[i]), fptr, (i < argc-1));
}
- if (n < 0L) rb_sys_fail_path(fptr->pathv);
+ if (n < 0L) rb_sys_fail_path(fptr->pathv);
total = rb_fix_plus(LONG2FIX(n), total);
}
@@ -6626,7 +6626,7 @@ pipe_open(VALUE execarg_obj, const char *modestr, int fmode,
# if defined(HAVE_SPAWNVE)
if (eargp->envp_str) envp = (char **)RSTRING_PTR(eargp->envp_str);
# endif
- while ((pid = DO_SPAWN(cmd, args, envp)) < 0) {
+ while ((pid = DO_SPAWN(cmd, args, envp)) < 0) {
/* exec failed */
switch (e = errno) {
case EAGAIN:
@@ -10887,7 +10887,7 @@ nogvl_copy_file_range(struct copy_stream_struct *stp)
copy_length = stp->copy_length;
if (copy_length < (off_t)0) {
- if (src_offset < (off_t)0) {
+ if (src_offset < (off_t)0) {
off_t current_offset;
errno = 0;
current_offset = lseek(stp->src_fd, 0, SEEK_CUR);