Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
man
man-db-2.5.2-fastpipe.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File man-db-2.5.2-fastpipe.dif of Package man
--- lib/pipeline.c +++ lib/pipeline.c 2008-11-21 11:53:20.554776039 +0100 @@ -50,6 +50,20 @@ #include "error.h" #include "pipeline.h" +#ifdef __linux__ +# include <sys/socket.h> +# include <netdb.h> +# include <netinet/in.h> +# ifndef SHUT_RD +# define SHUT_RD 0 +# endif +# ifndef SHUT_WR +# define SHUT_WR 1 +# endif +# define pipe(v) (((socketpair(AF_UNIX,SOCK_STREAM,0,v) < 0) || \ + (shutdown((v)[1],SHUT_RD) < 0) || (shutdown((v)[0],SHUT_WR) < 0)) ? -1 : 0) +#endif + /* ---------------------------------------------------------------------- */ /* Functions to build individual commands. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor