pkgsrc-Bugs archive

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

Re: pkg/48435: glib-2.38.x doesn't build on Solaris 10



The following reply was made to PR pkg/48435; it has been noted by GNATS.

From: Uwe Klaus <uklaus%hgb-leipzig.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48435: glib-2.38.x doesn't build on Solaris 10
Date: Mon, 9 Dec 2013 14:23:55 +0100 (CET)

 On Mon, 9 Dec 2013, Thomas Klausner wrote:
 
 > Ok, same question: why not just use:
 >
 >    #ifdef AT_FDCWD
 >  +#ifdef O_DIRECTORY
 >         dir_fd = openat (parent_fd, name->data, O_RDONLY | O_DIRECTORY);
 >  +#else
 >  +      dir_fd = openat (parent_fd, name->data, O_RDONLY);
 >  +#endif
 >          if (dir_fd < 0)
 >
 yes, it's simpler.
 
 


Home | Main Index | Thread Index | Old Index