OSDN Git Service

com_err.h: Retore the type of n_msgs in the error_table
authorTheodore Ts'o <tytso@mit.edu>
Sat, 22 Nov 2003 18:54:38 +0000 (13:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Nov 2003 18:54:38 +0000 (13:54 -0500)
structure to "int" from "unsigned int" fix a core dumping
bug in the com_right() function.  (Addresses Debian bug
#213450)

lib/et/ChangeLog
lib/et/com_err.h

index 7b4a8ba..91a4752 100644 (file)
@@ -1,3 +1,10 @@
+2003-11-22  Theodore Ts'o  <tytso@mit.edu>
+
+       * 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  <tytso@mit.edu>
 
        * Makefile.in: Delete com_err.info on a make clean
index 1f34372..60494c2 100644 (file)
@@ -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;