emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: recent commit broke src/dired.c on OSX
Date: Sun, 25 Jul 2010 23:59:39 +0300

> From: Dan Nicolaescu <address@hidden>
> Date: Sun, 25 Jul 2010 16:50:50 -0400
> Cc: address@hidden, "Randal L. Schwartz" <address@hidden>
> 
> >>     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.

100% agreement.




reply via email to

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