summaryrefslogtreecommitdiffstats
path: root/include/ruby/io.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-21 06:17:06 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-21 06:17:06 +0000
commita5e7ead8b1ad91b98522f48aa5e7cac2970973e2 (patch)
treea133ea531f69e49ae24c2df940a6081ee17ee956 /include/ruby/io.h
parent96c36fbdb1a7da3c1e00dfa019b27598f397e097 (diff)
downloadruby-a5e7ead8b1ad91b98522f48aa5e7cac2970973e2.tar.gz
ruby-a5e7ead8b1ad91b98522f48aa5e7cac2970973e2.tar.xz
ruby-a5e7ead8b1ad91b98522f48aa5e7cac2970973e2.zip
Rename FMODE_STRIP_BOM to FMODE_SETENC_BY_BOM.
* include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM): renamed from FMODE_STRIP_BOM. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index 7d9512aa9..45384db58 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -94,7 +94,7 @@ typedef struct rb_io_t {
#define FMODE_TEXTMODE 0x00001000
#define FMODE_EOF 0x00002000
/* #define FMODE_PREP 0x00010000 */
-#define FMODE_STRIP_BOM 0x00100000
+#define FMODE_SETENC_BY_BOM 0x00100000
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)