emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#23331: closed (25.0.92; Cannot create temporary fi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23331: closed (25.0.92; Cannot create temporary file ending in a period on OS X)
Date: Wed, 07 Dec 2016 20:39:02 +0000

Your message dated Wed, 07 Dec 2016 15:38:14 -0500
with message-id <address@hidden>
and subject line Re: bug#23331: 25.0.92; Cannot create temporary file ending in 
a period on OS X
has caused the debbugs.gnu.org bug report #23331,
regarding 25.0.92; Cannot create temporary file ending in a period on OS X
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23331
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.92; Cannot create temporary file ending in a period on OS X Date: Thu, 21 Apr 2016 09:30:40 -0700 User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.92 (darwin)
I'm not sure if this is a Mac problem, or an Emacs 25 problem, but it occurs
with the latest emacs-25 on OS X 10.10:

    M-: (make-temp-name "index.magit.") RET

Will report the error:

    Cannot create temporary name for prefix: Bad file descriptor, index.magit.

I discovered this because Magit 2.6 uses temporary files with such a name.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#23331: 25.0.92; Cannot create temporary file ending in a period on OS X Date: Wed, 07 Dec 2016 15:38:14 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Alan Third wrote:

> Can you try either running in a debugger and finding out what the
> ‘data’ variable contains at line 716 of fileio.c (just before
> ‘if (!check_existing (data))’), or putting something like:
>
>     printf("filename: %s\n", data);
>
> on that same line?
>
> The make_temp_name function generates a name and then tests to see if
> it already exists and it’s this test that’s throwing up the error. My
> first thought is that it’s possible that it’s generating an invalid
> file name, so it would be good to see exactly what that name is.
>
> Also, what’s the PWD?

No response in several months, closing.


--- End Message ---

reply via email to

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