From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#16615: 24.3.50; Fatal error visiting a directory (same as #16132?) Date: Sat, 1 Feb 2014 19:34:00 +0000 Message-ID: References: <83r47m4s9m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c29f3a5a6b3004f15d5f16 X-Trace: ger.gmane.org 1391283344 30119 80.91.229.3 (1 Feb 2014 19:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Feb 2014 19:35:44 +0000 (UTC) Cc: 16615@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 01 20:35:51 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W9gM2-0004L4-5S for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Feb 2014 20:35:50 +0100 Original-Received: from localhost ([::1]:38939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9gM1-0002TJ-PW for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Feb 2014 14:35:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9gLM-00020e-KN for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:35:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9gLG-0006Ot-LM for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:35:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9gLG-0006Oo-Hk for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W9gLG-00048P-76 for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Feb 2014 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16615-submit@debbugs.gnu.org id=B16615.139128324415799 (code B ref 16615); Sat, 01 Feb 2014 19:35:02 +0000 Original-Received: (at 16615) by debbugs.gnu.org; 1 Feb 2014 19:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:45340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9gKJ-00046l-PV for submit@debbugs.gnu.org; Sat, 01 Feb 2014 14:34:04 -0500 Original-Received: from mail-ea0-f180.google.com ([209.85.215.180]:65215) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9gKH-00046K-Ni for 16615@debbugs.gnu.org; Sat, 01 Feb 2014 14:34:02 -0500 Original-Received: by mail-ea0-f180.google.com with SMTP id o10so2975576eaj.11 for <16615@debbugs.gnu.org>; Sat, 01 Feb 2014 11:34:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0mX2H87zfcTDFSdoaOjrcssG2R2jgMAzOiBftasq8qw=; b=MpMlyfQ/okGGCP4RZSdL9iIScfDL2fRSn9XSPvLgCW+8cvBlvu8hirR7Ggert/MbES Nq4cHlR+9uCXZx7YoijwNEATxOgT32IViMmmm5BKT9zTFK2Rt1xBeg8Z/6eD3pIHUJtX U/Ak0DgKoiHePtGUyCcBfWPnipa1+bKJnLa9/3Gnoscq3Q4rqG4cj7boSv9meyBT3oAl 1LGcq8gl9FqMQtpDwb8XTZOIAkXA2u652ZKblJTlrBlwGZC2hpwmRZoweF8WwcqaU9up PEpLz6DNaUpNeFo5PCMz43Xcozi8FmANd4MtKYKZ8vYLQiiMLqNGfG5Et2zo8kHbbQhE GR0w== X-Received: by 10.14.102.67 with SMTP id c43mr32575382eeg.23.1391283240855; Sat, 01 Feb 2014 11:34:00 -0800 (PST) Original-Received: by 10.15.75.73 with HTTP; Sat, 1 Feb 2014 11:34:00 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84409 Archived-At: --001a11c29f3a5a6b3004f15d5f16 Content-Type: text/plain; charset=ISO-8859-1 On 1 February 2014 19:09, Richard Copley wrote: > > It looks to me as though "filename_to_utf16" is not returning utf16 data > (which is what it sounds like it should do): > No, sorry. I didn't notice the L prefix: > (gdb) p rootname_w > $2 = L"c:\\\0[...]" > ... which is correct. Perhaps some problem with type-punning LARGE_INTEGER/ULARGE_INTEGER under -fstrict-aliasing. I can't say I understand that stuff very well, and I admit it doesn't seem very likely, but I'll see if I can get it to work without the casting. --001a11c29f3a5a6b3004f15d5f16 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 1 February 2014 19:09, Richard Copley <rcopley@gmail.c= om> wrote:

=
It looks to me as though "filename_to_utf16" is not returnin= g utf16 data (which is what it sounds like it should do):
No, sorry. I didn't notice the L prefix:
(gdb) p rootname_w
$2 =3D L"c:\\\0[...]"
<= /div>
... which is correct.
Perhaps so= me problem with type-punning LARGE_INTEGER/ULARGE_INTEGER under -fstrict-al= iasing. I can't say I understand that stuff very well, and I admit it d= oesn't seem very likely, but I'll see if I can get it to work witho= ut the casting.

--001a11c29f3a5a6b3004f15d5f16--