Project

General

Profile

Actions

Submit #2895

closed

atrun fails to read uid from the job file

Added by peeter almost 9 years ago. Updated over 8 years ago.

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

Actions #1

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

Also available in: Atom PDF