Re: [PATCH] emulate dirfd when necessary

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

 



On Monday, January 17, 2011 16:24:14 Fabian Groffen wrote:
> --- a/shlibs/blkid/src/devno.c
> +++ b/shlibs/blkid/src/devno.c

i dont think this is the right place.  a grep of the tree shows a lot of files 
using dirfd().  the replacement should be in a common header.

> +#if !defined(HAVE_DIRFD) && defined(HAVE_DDFD)
> +static inline int dirfd(DIR *dir) {
> +	return dir->dd_fd;
> +}
> +#endif

decuddle the brace
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux