[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r10060 - trunk/subversion/libsvn_fs

From: Branko Èibej <brane_at_xbc.nu>
Date: 2004-06-24 16:29:00 CEST

Greg Hudson wrote:

>On Wed, 2004-06-23 at 15:33, kfogel@collab.net wrote:
>
>
>>ghudson@tigris.org writes:
>>
>>
>>>+#ifndef WIN32
>>>+/* Required for the sgid code in svn_fs_create */
>>>+#include <sys/stat.h>
>>>+#include <sys/types.h>
>>>+#include <unistd.h>
>>>+#endif
>>>
>>>
>>Is this our normal way of saying "if Unix-like operating system"?
>>
>>
>
>Yes, it is. See lots of other cases in libsvn_subr/io.c.
>
>
Why not check for APR_HAVE_UNISTD_H instead? Should be fairly safe then.
Besides, those includes should be done through apr_want.h.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 24 16:29:45 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.