There are cases when you need to pass a pre-initialized buffer to getsockopt, but ruby currently doesn't support this. For an example, see the API used by iptables to manipulate the firewall rulesets (below). You have to set the tab...candlerb (Brian Candler)
=begin Array is corrupted if you break out of a delete_if { ... } loop. I would expect that the elements already marked as deleted would be deleted, and the remainder of the array would be unchanged.
=begin An important property of an Encoding is whether it is ASCII-compatible. However as far as I can see, you can only test for this indirectly, e.g.
=begin Thank you for the link. (I'm in the process of documenting some of this).
We may be at cross-purposes over terminology, but when you say "to change this behaviour would be to make the semantics of the program locale dependent"...candlerb (Brian Candler)