[email protected]
[Top] [All Lists]

Bug#419233: marked as forwarded (zsh: error messages start with lowercas

Subject: Bug#419233: marked as forwarded zsh: error messages start with lowercase letters
From: Debian Bug Tracking System
Date: Sat, 14 Apr 2007 14:42:07 +0000
Your message dated Sat, 14 Apr 2007 10:39:15 -0400
with message-id <[email protected]>
has caused the Debian Bug report #419233,
regarding zsh: error messages start with lowercase letters
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: Re: Bug#419233: zsh: error messages start with lowercase letters
From: Clint Adams
Date: Sat, 14 Apr 2007 10:39:15 -0400
On Sat, Apr 14, 2007 at 04:05:21PM +0200, Michael Schutte wrote:
> $ cd 404
> cd: datei oder Verzeichnis nicht gefunden: 404
> 
> zsh puts the first character of an error message into lowercase.  While
> one may find that this looks better in English, it is clearly wrong in
> German where nouns are always capitalized.  A patch is attached.

Anyone have a clever idea on how to retain the historical behavior in
English-speaking locales?

> diff -ur zsh-4.3.2.orig/Src/utils.c zsh-4.3.2/Src/utils.c
> --- zsh-4.3.2.orig/Src/utils.c        2007-04-14 15:38:58.000000000 +0200
> +++ zsh-4.3.2/Src/utils.c     2007-04-14 15:39:57.000000000 +0200
> @@ -171,15 +171,7 @@
>                   errflag = 1;
>                   return;
>               }
> -             /* If the message is not about I/O problems, it looks better *
> -              * if we uncapitalize the first letter of the message        */
> -             if (num == EIO)
> -                 fputs(strerror(num), stderr);
> -             else {
> -                 char *errmsg = strerror(num);
> -                 fputc(tulower(errmsg[0]), stderr);
> -                 fputs(errmsg + 1, stderr);
> -             }
> +             fputs(strerror(num), stderr);
>               break;
>           }
>       } else {

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#419233: marked as forwarded (zsh: error messages start with lowercase letters), Debian Bug Tracking System <=