bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] mktemp, sort, tac: don't use undefined after mkstemp failure


From: Andreas Schwab
Subject: Re: [PATCH] mktemp, sort, tac: don't use undefined after mkstemp failure
Date: Wed, 13 Aug 2008 20:25:31 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> diff --git a/src/sort.c b/src/sort.c
> index b932a51..728c935 100644
> --- a/src/sort.c
> +++ b/src/sort.c
> @@ -741,7 +741,7 @@ create_temp_file (int *pfd)
>    errno = saved_errno;
>
>    if (fd < 0)
> -    die (_("cannot create temporary file"), file);
> +    die (_("cannot create temporary file in"), temp_dir);

The actual error message is constructed by putting a colon between the
string and the file argument.  Since the string does not represent a
complete sentence this is not i18n friendly.
 
Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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