Actions
Submit #2895
closedatrun fails to read uid from the job file
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/17/2016
Due date:
% Done:
0%
Estimated time:
Description
atrun uses fscanf to read uid and gid from the job file. The format fmt has %ld for both uid and gid, but their types are actually uid_t and gid_t, which are, in the end, unsigned int. So changing %ld to %u makes fscanf correctly read and assign uid and gid.
Files
Updated by swildner over 8 years ago
- Status changed from New to Closed
Thanks, I've pushed it (with some little commit msg adjustment).
Actions