|
[
Permalink
| « Hide
]
Charles Oliver Nutter added a comment - 23/Oct/07 12:47 PM
We could fix this with JNA in 1.1 and probably provide a similar bogus value to uid in 1.0.
I have been adding a whole bunch of methods for Process for trunk, but I am not sure what we should do for 1.0.x? Bogus values for things like uid really depend on what they are using uid for. I would hate to have a script chown to a privileged user (totally made up example) because we returned a bad value (like 0).
Yeah, I'm not sure. I agree that bogus values could be dangerous, but the only way to get non-bogus values is through something like JNA. That would be too big an addition to 1.0 branch IMHO. I think perhaps it would be best for us to just recommend people upgrade to 1.1 if they need those methods to work correctly.
So where do we stand on this Tom? Made a decision for 1.0.2?
I think we have to bump for this for 1.0.2. I will still land the 1.1 version that uses JNA (along with the other methods I added at the same time). I bumped to 1.0.3. 1.1 stuff coming...
Tom...will this land for 1.1b1? Move back to 1.1b1 and go for it if so.
Fixed in commit 4867 on trunk. This cannot be implemented on 1.0.3 in any meaningful way without JNA. So WONTFIX on 1.0 branch. We will encourage 1.1 upgrade for users who need this.
|
|||||||||||||||||||||||||||||||||||||||||||||||