Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Staging:C
rsh
netkit-rsh-0.17-glibc28.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netkit-rsh-0.17-glibc28.patch of Package rsh
Index: rexecd/rexecd.c =================================================================== --- rexecd/rexecd.c.orig 2008-04-10 21:42:04.000000000 +0200 +++ rexecd/rexecd.c 2008-04-10 21:45:59.000000000 +0200 @@ -54,14 +54,14 @@ * KRH */ -char copyright[] = +const char copyright[] = "@(#) Copyright (c) 1983 The Regents of the University of California.\n" "All rights reserved.\n"; /* * From: @(#)rexecd.c 5.12 (Berkeley) 2/25/91 */ -char rcsid[] = +const char rcsid[] = "$Id: rexecd.c,v 1.29 2000/07/23 04:16:22 dholland Exp $"; #include "../version.h" @@ -99,6 +99,12 @@ char rcsid[] = struct from_host from_host; #endif +#ifndef ARG_MAX + #ifdef _SC_ARG_MAX + #define ARG_MAX sysconf(_SC_ARG_MAX) + #endif +#endif + int allow_severity = LOG_INFO; int deny_severity = LOG_WARNING; Index: rshd/rshd.c =================================================================== --- rshd/rshd.c.orig 2008-04-10 21:42:04.000000000 +0200 +++ rshd/rshd.c 2008-04-10 21:47:38.000000000 +0200 @@ -84,6 +84,12 @@ char rcsid[] = #define _check_rhosts_file __check_rhosts_file #endif +#ifndef ARG_MAX + #ifdef _SC_ARG_MAX + #define ARG_MAX sysconf(_SC_ARG_MAX) + #endif +#endif + #ifdef USE_PAM #include <security/pam_appl.h> #include <security/pam_misc.h>
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