diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 22:20:45 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 22:20:45 +0000 |
commit | a607c866dc3b8c22479826eeda1f20f87d836fd6 (patch) | |
tree | 542567a0c286a316f0297ad044091eed3f0e083b | |
parent | 7c4a422d835409e76b53a03d77aa2beeec44abb8 (diff) | |
download | ruby-a607c866dc3b8c22479826eeda1f20f87d836fd6.tar.gz |
io.c (struct copy_stream_struct): packing
Reduce the struct to 80 bytes (from 88) on amd64 to reduce
stack use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10697,11 +10697,11 @@ struct copy_stream_struct { int src_fd; int dst_fd; - int close_src; - int close_dst; + unsigned close_src : 1; + unsigned close_dst : 1; + int error_no; off_t total; const char *syserr; - int error_no; const char *notimp; VALUE th; }; |