globus / globus/globus-toolkit-documentation
globus_gatekeeper.c:2222: parameters shouldn't match ?
Open
- Dominant language
- HTML
- Stars
- 1
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
globus_gatekeeper.c:2222:22: warning: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Wrestrict]
Source code is
n = select(skt + 1, &fdset, (fd_set *) 0, &fdset, &timeout);
The read set and the error set can't be the same.
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect globus_gatekeeper.c at line 2222, starting with the select call and its read and error-set arguments. Confirm the sets are distinct as required, then rebuild or compile the affected code and verify that the -Wrestrict warning is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100