Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53300 Details for
Bug 71108
new ebuild for amule 2.0.0 Final
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for amuleweb to enable daemonizing without tty
amule-webserver-notty.patch (text/plain), 1.96 KB, created by
Diego Elio Pettenò (RETIRED)
on 2005-03-12 16:03:40 UTC
(
hide
)
Description:
Patch for amuleweb to enable daemonizing without tty
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2005-03-12 16:03:40 UTC
Size:
1.96 KB
patch
obsolete
>diff -Npaur aMule-2.0.0rc8/configure.in aMule-2.0.0rc8-hack/configure.in >--- aMule-2.0.0rc8/configure.in Mon Dec 20 23:08:21 2004 >+++ aMule-2.0.0rc8-hack/configure.in Sat Mar 12 22:22:13 2005 >@@ -389,7 +389,7 @@ AC_TYPE_SIGNAL > AC_FUNC_STAT > AC_FUNC_STRFTIME > AC_FUNC_STRTOD >-AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getmntent getmntinfo getpass gettimeofday inet_ntoa memchr memmove mempcpy memset munmap nl_langinfo select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strrchr strstr strtoul]) >+AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getmntent getmntinfo getpass gettimeofday inet_ntoa isatty memchr memmove mempcpy memset munmap nl_langinfo select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strrchr strstr strtoul]) > #------------------------------------------------------------------------------- > # End of autoscan stuff > #------------------------------------------------------------------------------- >diff -Npaur aMule-2.0.0rc8/src/ExternalConnector.cpp aMule-2.0.0rc8-hack/src/ExternalConnector.cpp >--- aMule-2.0.0rc8/src/ExternalConnector.cpp Sun Dec 12 12:59:00 2004 >+++ aMule-2.0.0rc8-hack/src/ExternalConnector.cpp Sat Mar 12 22:26:32 2005 >@@ -264,11 +264,17 @@ void CaMuleExternalConnector::TextShell( > wxString buf; > > bool The_End = false; >- do { >- GetCommand(prompt, buffer, 256); >- buf = char2unicode(buffer); >- The_End = Parse_Command(buf, commands); >- } while ((!The_End) && (m_isConnected)); >+#ifdef HAVE_ISATTY >+ if ( ! isatty(0) ) { >+ while(m_isConnected); >+ return; >+ } >+#endif >+ do { >+ GetCommand(prompt, buffer, 256); >+ buf = char2unicode(buffer); >+ The_End = Parse_Command(buf, commands); >+ } while ((!The_End) && (m_isConnected)); > } > > CECPacket *CaMuleExternalConnector::SendRecvMsg_v2(CECPacket *request)
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 71108
:
43895
|
46633
|
53171
|
53295
|
53296
|
53297
|
53298
|
53299
| 53300 |
56355
|
56356
|
57298
|
57299
|
57898
|
57942
|
57943
|
58075
|
58119
|
58120
|
58181
|
58183
|
58184
|
58705
|
58706
|
59163
|
59993
|
61481