Date: Tue, 08 Dec 98 12:21:44 -0600 From: "Richard Seaman, Jr." <lists@tar.com> To: "John Fieber" <jfieber@indiana.edu> Cc: "emulation@freebsd.org" <emulation@FreeBSD.ORG> Subject: Re: linux_pipe, broken? Message-ID: <199812081821.MAA08374@ns.tar.com>
next in thread | raw e-mail | index | archive | help
--_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, 7 Dec 1998 17:26:44 -0500 (EST), John Fieber wrote: >On Mon, 7 Dec 1998, Richard Seaman, Jr. wrote: > >> Is the pipe call in linux emulation (linux_pipe) broken? > >There are pipe related problems that prevent Oracle and the >backup server in Sybase from working. I haven't looked into it >but you might check the emulation list archives for references to >oracle, sybase and pipes. The attached diffs appear to correct the problems I was having with linux_pipe. I'd be curious if they solve your problems as well. The example programs that come with linux threads now appear to work in emulation mode (with additional patches that I haven't sent). After a little more testing, I'll post the full diffs for linux threads. --_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_ Content-Type: application/octet-stream; name="diffs" Content-Transfer-Encoding: base64 SW5kZXg6IGxpbnV4X21pc2MuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9uY3ZzL3NyYy9z eXMvaTM4Ni9saW51eC9saW51eF9taXNjLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDYKZGlm ZiAtYyAtcjEuNDYgbGludXhfbWlzYy5jCioqKiBsaW51eF9taXNjLmMJMTk5OC8xMi8wNCAyMjo1 NDo1MAkxLjQ2Ci0tLSBsaW51eF9taXNjLmMJMTk5OC8xMi8wOCAxODoxMTowNAoqKioqKioqKioq KioqKioKKioqIDY1OSw2NzIgKioqKgogIGxpbnV4X3BpcGUoc3RydWN0IHByb2MgKnAsIHN0cnVj dCBsaW51eF9waXBlX2FyZ3MgKmFyZ3MpCiAgewogICAgICBpbnQgZXJyb3I7CiAgCiAgI2lmZGVm IERFQlVHCiAgICAgIHByaW50ZigiTGludXgtZW11bCglZCk6IHBpcGUoKilcbiIsIHAtPnBfcGlk KTsKICAjZW5kaWYKISAgICAgaWYgKGVycm9yID0gcGlwZShwLCAwKSkKICAJcmV0dXJuIGVycm9y OwohICAgICBpZiAoZXJyb3IgPSBjb3B5b3V0KHAtPnBfcmV0dmFsLCBhcmdzLT5waXBlZmRzLCAy KnNpemVvZihpbnQpKSkKICAJcmV0dXJuIGVycm9yOwogICAgICBwLT5wX3JldHZhbFswXSA9IDA7 CiAgICAgIHJldHVybiAwOwogIH0KLS0tIDY1OSw2ODEgLS0tLQogIGxpbnV4X3BpcGUoc3RydWN0 IHByb2MgKnAsIHN0cnVjdCBsaW51eF9waXBlX2FyZ3MgKmFyZ3MpCiAgewogICAgICBpbnQgZXJy b3I7CisgICAgIGludCByZWdfZWR4OwogIAogICNpZmRlZiBERUJVRwogICAgICBwcmludGYoIkxp bnV4LWVtdWwoJWQpOiBwaXBlKCopXG4iLCBwLT5wX3BpZCk7CiAgI2VuZGlmCiEgICAgIHJlZ19l ZHggPSBwLT5wX3JldHZhbFsxXTsKISAgICAgaWYgKGVycm9yID0gcGlwZShwLCAwKSkgewohICAg ICAgICAgcC0+cF9yZXR2YWxbMV0gPSByZWdfZWR4OwogIAlyZXR1cm4gZXJyb3I7CiEgICAgIH0K ISAKISAgICAgaWYgKGVycm9yID0gY29weW91dChwLT5wX3JldHZhbCwgYXJncy0+cGlwZWZkcywg MipzaXplb2YoaW50KSkpIHsKISAgICAgICAgIHAtPnBfcmV0dmFsWzFdID0gcmVnX2VkeDsKICAJ cmV0dXJuIGVycm9yOworICAgICB9CisgICAgICAKKyAgICAgcC0+cF9yZXR2YWxbMV0gPSByZWdf ZWR4OwogICAgICBwLT5wX3JldHZhbFswXSA9IDA7CiAgICAgIHJldHVybiAwOwogIH0K --_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812081821.MAA08374>