This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1936] New: Improvement to rcmd
- From: "jw203198 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Nov 2005 10:58:45 -0000
- Subject: [Bug libc/1936] New: Improvement to rcmd
- Reply-to: sourceware-bugzilla at sourceware dot org
The existing code in libc which implements rcmd isn't very robust when it comes
to executing multiple rcmd's in fairly rapid sequence. That is because rcmd
attempts to bind to the same port number every time (ie it tries all port
numbers in same order every time). This can cause high delays, and errors, if
the port number is in use.
My patch slightly randomizes the starting port number in a possibly reasonable
fashion using process id. It works, and improves reliability of rcmd.
I am sick of recompiling glibc every new release just to change a couple of
lines of code, so maybe you might incorporate this change.
--
Summary: Improvement to rcmd
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jw203198 at hotmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=1936
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.