Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
Description
The type of the 'pid' argument for ProgramRegistry::portForPid() is incorrectly declared as 'int' (should be pid_t) in src/mongo/shell/shell_utils_launcher.h. Also, the argument name 'port' suggests the copy-and-paste error: should be 'pid'.
src/mongo/shell/shell_utils_launcher.cpp line 75:
int ProgramRegistry::portForPid(pid_t pid) const {
|
src/mongo/shell/shell_utils_launcher.h line 76:
int portForPid( int port ) const;
|