[SERVER-9753] Declaration for ProgramRegistry::portForPid() has wrong type Created: 22/May/13 Updated: 11/Jul/16 Resolved: 29/May/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| 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:
src/mongo/shell/shell_utils_launcher.h line 76:
|
| Comments |
| Comment by auto [ 29/May/13 ] |
|
Author: {u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: |