From a607c866dc3b8c22479826eeda1f20f87d836fd6 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 27 Nov 2018 22:20:45 +0000 Subject: [PATCH] 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 --- io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/io.c b/io.c index 4a3f152409..3a2e5b081b 100644 --- a/io.c +++ b/io.c @@ -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; };