Feature #4084: pack should support 64bit network byte order longs
http://redmine.ruby-lang.org/issues/show/4084

Author: Aaron Patterson
Status: Open, Priority: Normal

pack should support 64bit network byte order longs.  I've attached a patc=
h that implements it.


----------------------------------------
http://redmine.ruby-lang.org
ZGlmZiAtLWdpdCBhL3BhY2suYyBiL3BhY2suYwppbmRleCAzOWE1OTIyLi5l
M2M5ZTY4IDEwMDY0NAotLS0gYS9wYWNrLmMKKysrIGIvcGFjay5jCkBAIC03
MzMsNiArNzMzLDEyIEBAIHBhY2tfcGFjayhWQUxVRSBhcnksIFZBTFVFIGZt
dCkKICAgICAgICAgICAgIGJpZ2VuZGlhbl9wID0gMTsKICAgICAgICAgICAg
IGdvdG8gcGFja19pbnRlZ2VyOwogCisJICBjYXNlICdZJzoJCS8qIHVuc2ln
bmVkIGxvbmcgNjQgYml0IChuZXR3b3JrIGJ5dGUtb3JkZXIpICovCisgICAg
ICAgICAgICBzaWduZWRfcCA9IDA7CisgICAgICAgICAgICBpbnRlZ2VyX3Np
emUgPSA4OworICAgICAgICAgICAgYmlnZW5kaWFuX3AgPSAxOworICAgICAg
ICAgICAgZ290byBwYWNrX2ludGVnZXI7CisKIAkgIGNhc2UgJ3YnOgkJLyog
dW5zaWduZWQgc2hvcnQgKFZBWCBieXRlLW9yZGVyKSAqLwogICAgICAgICAg
ICAgc2lnbmVkX3AgPSAwOwogICAgICAgICAgICAgaW50ZWdlcl9zaXplID0g
MjsKQEAgLTE2NDMsNiArMTY0OSwxMiBAQCBwYWNrX3VucGFjayhWQUxVRSBz
dHIsIFZBTFVFIGZtdCkKIAkgICAgYmlnZW5kaWFuX3AgPSAxOwogCSAgICBn
b3RvIHVucGFja19pbnRlZ2VyOwogCisJICBjYXNlICdZJzoJCS8qIHVuc2ln
bmVkIGxvbmcgNjQgYml0IChuZXR3b3JrIGJ5dGUtb3JkZXIpICovCisgICAg
ICAgICAgICBzaWduZWRfcCA9IDA7CisgICAgICAgICAgICBpbnRlZ2VyX3Np
emUgPSA4Owor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