emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113413: Fix bug #14822 with decoding when inhibit-n


From: Eli Zaretskii
Subject: [Emacs-diffs] trunk r113413: Fix bug #14822 with decoding when inhibit-null-byte-detection is non-nil.
Date: Sat, 13 Jul 2013 10:30:14 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113413
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/14822
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2013-07-13 13:29:15 +0300
message:
  Fix bug #14822 with decoding when inhibit-null-byte-detection is non-nil.
  
   src/coding.c (syms_of_coding): Set up inhibit-null-byte-detection
   and inhibit-iso-escape-detection attributes of 'undecided'.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/coding.c                   coding.c-20091113204419-o5vbwnq5f7feedwu-1077
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-07-13 09:32:45 +0000
+++ b/src/ChangeLog     2013-07-13 10:29:15 +0000
@@ -1,3 +1,9 @@
+2013-07-13  Eli Zaretskii  <address@hidden>
+
+       * coding.c (syms_of_coding): Set up inhibit-null-byte-detection
+       and inhibit-iso-escape-detection attributes of 'undecided'.
+       (Bug#14822)
+
 2013-07-13  Paul Eggert  <address@hidden>
 
        * deps.mk (sysdep.o): Remove dependency on ../lib/ignore-value.h.

=== modified file 'src/coding.c'
--- a/src/coding.c      2013-06-29 15:52:20 +0000
+++ b/src/coding.c      2013-07-13 10:29:15 +0000
@@ -11218,6 +11218,8 @@
     plist[13] = build_pure_c_string ("No conversion on encoding, automatic 
conversion on decoding.");
     plist[15] = args[coding_arg_eol_type] = Qnil;
     args[coding_arg_plist] = Flist (16, plist);
+    args[coding_arg_undecided_inhibit_null_byte_detection] = make_number (0);
+    args[coding_arg_undecided_inhibit_iso_escape_detection] = make_number (0);
     Fdefine_coding_system_internal (coding_arg_undecided_max, args);
   }
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]