> When I get you right, it would mean a recursive interpretation of the
> format string which was built so far. With the side effect that it would
> be hard to output a %d literally, as it would be seen as a format string
> for the following arguments.
>
> -- Reuti

Yes, however, from what I can see, the "backspace thing" is only used
in that routine and is used once for each resource of interest on the
system, so if you can get it "right" there, that's the only plae you
need to change anything.

Furthermore, there are at most four values in the various output
strings that have to allow for the "INFINITY", in strings similar
to this bit.

         sprintf(trace_str, "%s setting: (soft "limit_fmt" hard
"limit_fmt") "
            "resulting: (soft "limit_fmt" hard "limit_fmt")",

suggesting that a run time build of the output string would not, as you
mention elsewhere in this thread, see that much if-then-else involved.

Kevin

-- 
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to