summaryrefslogtreecommitdiff
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
commit7fa73456098b5554896f3637bacbbf695f801250 (patch)
treea133ea531f69e49ae24c2df940a6081ee17ee956 /include/ruby/io.h
parentf7207fa2fcbbe7aebeed9a08f6092ea59d05cdcf (diff)
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: svn+ssh://ci.ruby-lang.org/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 7d9512aa92..45384db586 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)