view admin/make-changelog-diff @ 89686:9bfefb13fe83

(Qinsufficient_source, Qinconsistent_eol) (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New variables. (Vlast_code_conversion_error): New variables. (syms_of_coding): DEFSYM or DEFVAR_LISP them. (ONE_MORE_BYTE): Record error if any instead of signaling an error. If non-ASCII multibyte char is found, return the negative value of the code. All callers changed to check it. (ONE_MORE_BYTE_NO_CHECK): Likewise. (record_conversion_result): New function. All codes setting coding->result are changed to call this function. (detect_coding_utf_8): Don't use the local variable incomplete. (decode_coding_utf_8): Likewise. (emacs_mule_char): Change the second arg to `const'. (detect_coding_emacs_mule): Don't use the local variable incomplete. (detect_coding_sjis): Likewise. (detect_coding_big5): Likewise. (decode_coding): Fix of flushing out unprocessed data. (make_conversion_work_buffer): Fix making of a work buffer. (decode_coding_object): Return coding->dst_object;
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Dec 2003 07:52:49 +0000
parents 375f2633d815
children 68c22ea6027c
line wrap: on
line source

#! /bin/bash

if [ $# -ne 2 ]; then
    echo "usage: $0 TAG1 TAG2" >&2
    exit 1
fi

if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then
    echo "this script should be run in the emacs root directory" >&2
    exit 2
fi

cvs -q diff -b -r $1 -r $2 $(find -name ChangeLog|sort) |
    sed -n -e 's/^=\+/======/p' -e 's/^> //p' -e 's/^diff.*//p' \
	-e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p' |
    sed -n -e "/^======$/ {
                N
                N
                h
                d
               }
               H
               s/.*//
               x
               s/^\n//
	       p"