Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240567 Details for
Bug 328081
net-misc/netkit-rsh-0.17-r9: Failed to build. No _POSIX_ARG_MAX defined.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the Gentoo patch
230_all_MAX_ARG.patch.patch (text/plain), 1.92 KB, created by
Naohiro Aota
on 2010-07-29 10:40:58 UTC
(
hide
)
Description:
patch for the Gentoo patch
Filename:
MIME Type:
Creator:
Naohiro Aota
Created:
2010-07-29 10:40:58 UTC
Size:
1.92 KB
patch
obsolete
>--- 230_all_MAX_ARG.patch.orig 2010-07-13 19:17:36.000000000 +0900 >+++ 230_all_MAX_ARG.patch 2010-07-13 19:27:19.000000000 +0900 >@@ -6,7 +6,20 @@ > > --- netkit-rsh-0.17/rexecd/rexecd.c > +++ netkit-rsh-0.17/rexecd/rexecd.c >-@@ -234,7 +234,8 @@ >+@@ -103,6 +103,12 @@ char rcsid[] = >+ struct from_host from_host; >+ #endif >+ >++#ifndef _POSIX_ARG_MAX >++# if defined(__FreeBSD__) || defined(__DragonFly__) >++# include <limits.h> >++# endif >++#endif >++ >+ int allow_severity = LOG_INFO; >+ int deny_severity = LOG_WARNING; >+ >+@@ -234,7 +240,8 @@ > static void > doit(struct sockaddr_in *fromp) > { >@@ -16,7 +29,7 @@ > char user[16], pass[16]; > struct passwd *pwd; > int s = -1; >-@@ -253,6 +254,15 @@ >+@@ -253,6 +260,15 @@ > #endif > #endif /* USE_PAM */ > >@@ -32,7 +45,7 @@ > signal(SIGINT, SIG_DFL); > signal(SIGQUIT, SIG_DFL); > signal(SIGTERM, SIG_DFL); >-@@ -302,7 +312,7 @@ >+@@ -302,7 +318,7 @@ > > getstr(user, sizeof(user), "username too long\n"); > getstr(pass, sizeof(pass), "password too long\n"); >@@ -43,7 +56,20 @@ > pam_end(pamh, pam_error); exit(1); \ > --- netkit-rsh-0.17/rshd/rshd.c > +++ netkit-rsh-0.17/rshd/rshd.c >-@@ -337,7 +337,8 @@ >+@@ -92,6 +92,12 @@ static pam_handle_t *pamh; >+ >+ #define OPTIONS "ahlLnD" >+ >++#ifndef _POSIX_ARG_MAX >++# if defined(__FreeBSD__) || defined(__DragonFly__) >++# include <limits.h> >++# endif >++#endif >++ >+ static int keepalive = 1; >+ static int check_all = 0; >+ static int paranoid = 0; >+@@ -337,7 +343,8 @@ > static void > doit(struct sockaddr_in *fromp) > { >@@ -53,7 +79,7 @@ > const char *theshell, *shellname; > char locuser[16], remuser[16]; > struct passwd *pwd; >-@@ -346,6 +347,15 @@ >+@@ -346,6 +353,15 @@ > u_short port; > int pv[2], pid, ifd; > >@@ -69,7 +95,7 @@ > signal(SIGINT, SIG_DFL); > signal(SIGQUIT, SIG_DFL); > signal(SIGTERM, SIG_DFL); >-@@ -382,7 +392,7 @@ >+@@ -382,7 +398,7 @@ > > getstr(remuser, sizeof(remuser), "remuser"); > getstr(locuser, sizeof(locuser), "locuser");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 328081
: 240567 |
240569