[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71877: Three spaces for error messages instead of one
From: |
Ileana Dumitrescu |
Subject: |
bug#71877: Three spaces for error messages instead of one |
Date: |
Mon, 1 Jul 2024 18:39:04 +0300 |
User-agent: |
Mozilla Thunderbird |
Hi,
It was reported [1] that error messages from a libtool invocation have
additional spaces after the package name before the error message. After
looking into this, it seems that gnulib-modules/bootstrap is the cause.
Here is an example:
libtool: error: only absolute run-paths are allowed
Here is the relevant code in bootstrap:
```
# func_error ARG...
# -----------------
# Echo program name prefixed message to standard error.
func_error ()
{
$debug_cmd
$require_term_colors
func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2
}
# func_fatal_error ARG...
# -----------------------
# Echo program name prefixed message to standard error, and exit.
func_fatal_error ()
{
$debug_cmd
func_error "$*"
exit $EXIT_FAILURE
}
```
Is there a reason for the extra spacing, or could this be changed?
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71595
--
Ileana Dumitrescu
GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
OpenPGP_0x6570EA01146F7354.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
- bug#71877: Three spaces for error messages instead of one,
Ileana Dumitrescu <=