[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-grep] [bugs #12187] old lib/error.c garbles error messages on some

From: anonymous
Subject: [bug-grep] [bugs #12187] old lib/error.c garbles error messages on some systems
Date: Wed, 2 Mar 2005 03:22:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10


                 Summary: old lib/error.c garbles error messages on some
                 Project: grep
            Submitted by: None
            Submitted on: Tue 03/01/2005 at 22:22
                Category: None
                Severity: 5 - Average
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open



lib/error.c contains old configuration checks for strerror_r, and it assumes
that strerror_r should return char*, while now the standard is to return

This conjunction can cause a conflict with the strerror_r provided by the
host, and error messages printed through the error() function can get
garbled, because the return value of strerror_r is passed to printf to fill a

The quick solution is to remove references to lib/error.c and lib/error.h in
the package, and use the functions already available in the system.

A better solution for the long term would be to fix the configure script and
update from gnulib.



This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]