John Casey wrote:
> Max: I'm tempted to say that we should look for decimal versions of common
> octal expressions, then prefix the rest with '0' to ensure they're
> interpreted as octal (unless they have 0x in front, that is).
> 
> Is that a decent solution?

I think that it is the best compromise between maintaining the same
behaviour with existing descriptors, and fixing the bug going forward
into the future.


Would this behaviour apply to all modes in the descriptor, or just
<file><fileMode> ? (I'd lean toward the latter).


OOI, why prepend a leading zero, rather than using Integer.parseInt(x,8)
and Integer.parseInt(x,10) as appropriate? I was thinking of something
along the lines of:

HashMap commonModes = new HashMap() {{
  add("


Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to