From: Theodore Ts'o Date: Sat, 22 Nov 2003 18:54:38 +0000 (-0500) Subject: com_err.h: Retore the type of n_msgs in the error_table X-Git-Tag: E2FSPROGS-1_35-WIP-1207~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ce230959ce99e02da84f1d1fba76c78eafce3f3;p=thirdparty%2Fe2fsprogs.git com_err.h: Retore the type of n_msgs in the error_table structure to "int" from "unsigned int" fix a core dumping bug in the com_right() function. (Addresses Debian bug #213450) --- diff --git a/lib/et/ChangeLog b/lib/et/ChangeLog index 7b4a8ba55..91a47521b 100644 --- a/lib/et/ChangeLog +++ b/lib/et/ChangeLog @@ -1,3 +1,10 @@ +2003-11-22 Theodore Ts'o + + * com_err.h: Retore the type of n_msgs in the error_table + structure to "int" from "unsigned int" fix a core dumping + bug in the com_right() function. (Addresses Debian bug + #213450) + 2003-08-20 Theodore Ts'o * Makefile.in: Delete com_err.info on a make clean diff --git a/lib/et/com_err.h b/lib/et/com_err.h index 1f3437226..60494c2fc 100644 --- a/lib/et/com_err.h +++ b/lib/et/com_err.h @@ -17,7 +17,7 @@ typedef long errcode_t; struct error_table { char const * const * msgs; long base; - unsigned int n_msgs; + int n_msgs; }; struct et_list;