"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/file-coding.c" between
xemacs-21.4.22.tar.gz and xemacs-21.4.24.tar.bz2

About: XEmacs (an alternative to GNU Emacs) is a highly customizable open source text editor and application development system (current version).

file-coding.c  (xemacs-21.4.22):file-coding.c  (xemacs-21.4.24.tar.bz2)
/* Code conversion functions. /* Code conversion functions.
Copyright (C) 1991, 1995 Free Software Foundation, Inc. Copyright (C) 1991, 1995 Free Software Foundation, Inc.
Copyright (C) 1995 Sun Microsystems, Inc. Copyright (C) 1995 Sun Microsystems, Inc.
Copyright (C) 2010 Ben Wing
This file is part of XEmacs. This file is part of XEmacs.
XEmacs is free software; you can redistribute it and/or modify it XEmacs is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any Free Software Foundation; either version 2, or (at your option) any
later version. later version.
XEmacs is distributed in the hope that it will be useful, but WITHOUT XEmacs is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
skipping to change at line 5384 skipping to change at line 5385
} }
char_boundary = 0; char_boundary = 0;
} }
else else
{ /* Processing Non-ASCII character */ { /* Processing Non-ASCII character */
charmask = (half == 0 ? 0x7F : 0xFF); charmask = (half == 0 ? 0x7F : 0xFF);
char_boundary = 1; char_boundary = 1;
if (EQ (charset, Vcharset_control_1)) if (EQ (charset, Vcharset_control_1))
{ {
if (CODING_SYSTEM_ISO2022_ESCAPE_QUOTED (codesys) if (CODING_SYSTEM_ISO2022_ESCAPE_QUOTED (codesys)
&& fit_to_be_escape_quoted (c)) && fit_to_be_escape_quoted (c - 0x20))
Dynarr_add (dst, ISO_CODE_ESC); Dynarr_add (dst, ISO_CODE_ESC);
/* you asked for it ... */ /* you asked for it ... */
Dynarr_add (dst, c - 0x20); Dynarr_add (dst, c - 0x20);
} }
else else
{ {
switch (XCHARSET_REP_BYTES (charset)) switch (XCHARSET_REP_BYTES (charset))
{ {
case 2: case 2:
Dynarr_add (dst, c & charmask); Dynarr_add (dst, c & charmask);
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)