Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dspinella:zlib-ng-staging
ftp
netkit-ftp-0.17-glibc28.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netkit-ftp-0.17-glibc28.patch of Package ftp
Index: ftp/glob.c =================================================================== --- ftp/glob.c.orig 1999-10-02 15:25:23.000000000 +0200 +++ ftp/glob.c 2008-04-11 00:27:09.000000000 +0200 @@ -50,7 +50,7 @@ char glob_rcsid[] = #include <stdio.h> #include <stdlib.h> #include <string.h> - +#include <unistd.h> #include "ftp_var.h" /* for protos only */ #include "glob.h" @@ -60,6 +60,12 @@ char glob_rcsid[] = #define GAVSIZ (ARG_MAX/6) #define isdir(d) ((d.st_mode & S_IFMT) == S_IFDIR) +#ifndef ARG_MAX + #ifdef _SC_ARG_MAX + #define ARG_MAX sysconf(_SC_ARG_MAX) + #endif +#endif + const char *globerr; extern const char *home;
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