From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115313 invoked by alias); 12 Sep 2015 03:30:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 115149 invoked by uid 55); 12 Sep 2015 03:29:43 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug locale/16985] localedef: confusing error message when opening output fails Date: Sat, 12 Sep 2015 03:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: locale X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00145.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16985 --- Comment #2 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via b482d0364ed55c171708cd95922a896f002b6043 (commit) from a1f99ba28b7b2ed4370b81820f47384d9dae4e36 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b482d0364ed55c171708cd95922a896f002b6043 commit b482d0364ed55c171708cd95922a896f002b6043 Author: Mike Frysinger Date: Sat Aug 29 16:37:29 2015 -0400 localedef: improve error message [BZ #16985] If you pass in a path that fails to be opened, then output_path is set to NULL, and an error is flagged. Then at the end, we use both of those: cannot write output files to `(null)': No such file or directory Tweak the message to use the user's input when output_path is NULL. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 ++++++ NEWS | 8 ++++---- locale/programs/localedef.c | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.