Searched hist:166495 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.bin/quota/
H A Dquota.cdiff 166495 Sun Feb 04 12:06:58 MST 2007 mpp If a user is over both the soft block limit and soft i-node
limit, quota will report one of the grace times incorrectly.
This is due to it storing the result in a static buffer, and the
routine being called like:
printf("....", ..., timeprnt(btime), timeprnt(itime), ...)

The problem becomes very obvious if you change one of the default
grace periods to be much larger than the other one.

Changed timeprnt to dynamically allocate the string to be displayed.

Completed in 173 milliseconds