On Sun, May 24, 2009 at 09:44:53PM -0700, David Aguilar wrote:
Lured by a mac. I came home and I tried it on linux:
path.c:157: warning: implicit declaration of function
‘mkstemps’
Gah.
Darn you OS X and your non-portable 4.4 BSD extensions.
Sorry about that.
The original patch could do without the strbuf_detach
and free(), too. Being tricked by an OS X manpage like
that is quite unpleasant.
mkstemp() won't do since it doesn't work with suffixes
(the templates must end with "XXXX"). I'm sure there has to
be another way, but I just can't think of it right now.
It seemed so easy at the time.
Sigh...
--
David
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Re: [PATCH] diff: generate prettier filenames when using G ..., David Aguilar, (Mon May 25, 3:36 am)