Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-81
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-748 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-749 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-750 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-751 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-753 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-754 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-755 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-757 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-78 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-79 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-80 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-81 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-82 Update from CVS
This commit is contained in:
commit
f1d34bcacd
135 changed files with 4289 additions and 1960 deletions
10
src/coding.c
10
src/coding.c
|
@ -157,8 +157,8 @@ detect_coding_XXX (coding, detect_info)
|
|||
struct coding_system *coding;
|
||||
struct coding_detection_info *detect_info;
|
||||
{
|
||||
unsigned char *src = coding->source;
|
||||
unsigned char *src_end = coding->source + coding->src_bytes;
|
||||
const unsigned char *src = coding->source;
|
||||
const unsigned char *src_end = coding->source + coding->src_bytes;
|
||||
int multibytep = coding->src_multibyte;
|
||||
int consumed_chars = 0;
|
||||
int found = 0;
|
||||
|
@ -205,12 +205,12 @@ static void
|
|||
decode_coding_XXXX (coding)
|
||||
struct coding_system *coding;
|
||||
{
|
||||
unsigned char *src = coding->source + coding->consumed;
|
||||
unsigned char *src_end = coding->source + coding->src_bytes;
|
||||
const unsigned char *src = coding->source + coding->consumed;
|
||||
const unsigned char *src_end = coding->source + coding->src_bytes;
|
||||
/* SRC_BASE remembers the start position in source in each loop.
|
||||
The loop will be exited when there's not enough source code, or
|
||||
when there's no room in CHARBUF for a decoded character. */
|
||||
unsigned char *src_base;
|
||||
const unsigned char *src_base;
|
||||
/* A buffer to produce decoded characters. */
|
||||
int *charbuf = coding->charbuf + coding->charbuf_used;
|
||||
int *charbuf_end = coding->charbuf + coding->charbuf_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue