[Top][All Lists]

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

Re: recent commit broke src/dired.c on OSX

From: Dan Nicolaescu
Subject: Re: recent commit broke src/dired.c on OSX
Date: Sun, 25 Jul 2010 16:50:50 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> On Sun, Jul 25, 2010 at 19:40, Randal L. Schwartz <address@hidden> wrote:
>> Sorry, right commit, wrong reason.  Here's the error:
>>     char *
>>     getcwd(char *buf, size_t size);
> This is already fixed on the trunk, assuming that in your build
> environment HAVE_GETCWD is set.

If HAVE_GETCWD is set there should not be a need to have a prototype,
better just include unistd.h in that case.

IMHO we should get rid of all such extern declarations, and just
include the corresponding header files.

reply via email to

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