* ext/nkf/nkf-utf8/nkf.c: Merge nkf 2.1.4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2015-12-12 14:01:56 +00:00
Родитель 975c414b91
Коммит 7fe3c2665e
3 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Sat Dec 12 23:00:17 2015 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c: Merge nkf 2.1.4.
Sat Dec 12 18:52:26 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* object.c (rb_obj_dig): raise TypeError if an element does not

3
NEWS
Просмотреть файл

@ -192,6 +192,9 @@ with all sufficient information, see the ChangeLog file.
:warn, :error, :fatal (case insensitive) [Feature #11695]
* Logger#reopen is added to reopen a log device. [Feature #11696]
* nkf
* Merge nkf 2.1.4.
* Socket
* Socket#connect_nonblock, Socket#accept_nonblock,
TCPServer#accept_nonblock, UNIXServer#accept_nonblock,

Просмотреть файл

@ -20,11 +20,11 @@
*
* 3. This notice may not be removed or altered from any source distribution.
*/
#define NKF_VERSION "2.1.3"
#define NKF_RELEASE_DATE "2013-11-22"
#define NKF_VERSION "2.1.4"
#define NKF_RELEASE_DATE "2015-12-12"
#define COPY_RIGHT \
"Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).\n" \
"Copyright (C) 1996-2013, The nkf Project."
"Copyright (C) 1996-2015, The nkf Project."
#include "config.h"
#include "nkf.h"
@ -3575,6 +3575,7 @@ static void
check_bom(FILE *f)
{
int c2;
input_bom_f = FALSE;
switch(c2 = (*i_getc)(f)){
case 0x00:
if((c2 = (*i_getc)(f)) == 0x00){