From owner-freebsd-emulation Tue Dec 8 10:22:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25019 for freebsd-emulation-outgoing; Tue, 8 Dec 1998 10:22:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25010 for ; Tue, 8 Dec 1998 10:22:07 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id MAA08374; Tue, 8 Dec 1998 12:21:45 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812081821.MAA08374@ns.tar.com> From: "Richard Seaman, Jr." To: "John Fieber" Cc: "emulation@freebsd.org" Date: Tue, 08 Dec 98 12:21:44 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=_=_=IMA.BOUNDARY.F3NPK8138764=_=_=_" Subject: Re: linux_pipe, broken? Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --_=_=_=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