diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-10-01 12:13:36 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-10-01 12:13:36 +0000 |
commit | 040713559c543892d178ea76922b4743ec560c80 (patch) | |
tree | f76b3a55d83de677e10dc0eb49b0cb084b4c08a0 /sv.h | |
parent | c81c05fc71b468882f9d1d9299892d7dca11b47c (diff) | |
download | perl-040713559c543892d178ea76922b4743ec560c80.tar.gz |
Nothing is using IoSUBPROCESS() so eliminate xio_subprocess.
Make xio_flags a U8, which is what it should have been all along
(rather than a char, which might be signed). B.xs had its wrapper as U8
p4raw-id: //depot/perl@32001
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -745,9 +745,8 @@ struct xpvio { GV * xio_fmt_gv; /* $~ */ char * xio_bottom_name;/* $^B */ GV * xio_bottom_gv; /* $^B */ - short xio_subprocess; /* -| or |- */ char xio_type; - char xio_flags; + U8 xio_flags; }; #define xio_dirp xio_dirpu.xiou_dirp #define xio_any xio_dirpu.xiou_any @@ -1498,7 +1497,6 @@ the scalar's value cannot change unless written to. #define IoFMT_GV(sv) ((XPVIO*) SvANY(sv))->xio_fmt_gv #define IoBOTTOM_NAME(sv)((XPVIO*) SvANY(sv))->xio_bottom_name #define IoBOTTOM_GV(sv) ((XPVIO*) SvANY(sv))->xio_bottom_gv -#define IoSUBPROCESS(sv)((XPVIO*) SvANY(sv))->xio_subprocess #define IoTYPE(sv) ((XPVIO*) SvANY(sv))->xio_type #define IoFLAGS(sv) ((XPVIO*) SvANY(sv))->xio_flags |