summaryrefslogtreecommitdiff
path: root/libguile/load.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-01-30 15:30:31 +0100
committerAndy Wingo <wingo@pobox.com>2013-01-30 15:30:31 +0100
commit419c8736243e78a60020f5215ab223af6e9b7bb1 (patch)
tree76f0345d3e259239b35ad0141a2dcec21880f3cd /libguile/load.c
parente10c250928bc6c4116d6344616d39f3c52edc36b (diff)
Revert "detect and consume byte-order marks for textual ports"
This reverts commit b2cb557d75e4daf8c7c8cd43313f4cc51d9a3f1b, which was pushed accidentally.
Diffstat (limited to 'libguile/load.c')
-rw-r--r--libguile/load.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libguile/load.c b/libguile/load.c
index 476461cc9..84b670549 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -106,9 +106,6 @@ SCM_DEFINE (scm_primitive_load, "primitive-load", 1, 0, 0,
scm_dynwind_begin (SCM_F_DYNWIND_REWINDABLE);
scm_i_dynwind_current_load_port (port);
- /* FIXME: For better or for worse, scm_open_file already scans the
- file for an encoding. This scans again; necessary for this
- logic, but unnecessary overall. */
encoding = scm_i_scan_for_encoding (port);
if (encoding)
scm_i_set_port_encoding_x (port, encoding);