GNU bug report logs - #1009
Carbon: posix-file-name-to-mac

Previous Next

Package: emacs22;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Sat, 20 Sep 2008 12:40:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 1009 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: David Reitter <david.reitter <at> gmail.com>, 1009 <at> debbugs.gnu.org
Subject: Re: bug#1009: Carbon: posix-file-name-to-mac
Date: Mon, 22 Sep 2008 10:25:12 +0900
>>>>> On Sat, 20 Sep 2008 08:33:22 -0400, David Reitter <david.reitter <at> gmail.com> said:

> (posix-file-name-to-mac "~emacs/asd")
> (posix-file-name-to-mac "/tmp/")

> will crash a 22 branch Carbon Emacs.

> A fix is below - it disables ~emacs and /tmp expansion when getpwnam
> or get_temp_dir_name return NULL, which they seem to do.  (OS X has
> /tmp, so I'm not sure if the code isn't leftover from MacOS and
> stopped working at some point.)

Thanks.  Maybe posix-file-name-to-mac and mac-file-name-to-posix
should have been made Mac OS Classic only.  Actually, they have
already been removed from my local tree, because they are using some
functions that are not available on 64-bit environment.  Do you have
some use cases of them on Mac OS X?

I'm not sure if changes to the EMACS_22_BASE branch is still
allowed.  Please apply your patch if so.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




This bug report was last modified 14 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.