delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 2F89A3858D35 |
Authentication-Results: | sourceware.org; |
dmarc=pass (p=none dis=none) header.from=gmail.com | |
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=gmail.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; |
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject | |
:date:message-id:reply-to; | |
bh=yHOmyH6KAftsp+bmAo6aRC2KNUJJiSkqKTjImy556+U=; | |
b=dL2BsqlQTp9JUGp0wC/f32gEncsk6d3I5uaPdVV2pPv2ZhIjaw39/chMcjlwsWE+BI | |
CH4L/8SI5XFHw8TzZZdBVewk3u+UsIg15IeQ5K+/aOb5swtCoh9O5ay2qt1NkT0jNMy6 | |
S3yXFRXu1aJ9pgJVglCCJdW09TNQ7vHP6yHEECW+0Hgg6v+ibM1oJYRno8iRfVWQbHyk | |
ElFsfvff+GWFbKWms0t2EjVUpo484wSJhD3GClJ9Y82Xs56jMVRBgrdHEzyGIb7hCxvY | |
4H6ZFMOeBMgo4gHdueWZ6Oxi2cxq58ZRzK72Fjxx+nA3ZyYpVt9duxyAVbjhctc5fNmc | |
PVtw== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20210112; | |
h=to:subject:message-id:date:from:mime-version:x-gm-message-state | |
:from:to:cc:subject:date:message-id:reply-to; | |
bh=yHOmyH6KAftsp+bmAo6aRC2KNUJJiSkqKTjImy556+U=; | |
b=GHo2cuOgWvrtuwk98HJsw390zZCgF2atBwNmUilOVO3n2IZVBrCcQvIImaUq/JsJSC | |
oT/7/BCOg1jYcVxyqfRIymBPktBAm0H1DtI2PJeWaJIgQSKL2AI9yp0Sah5Lx5Yt7sP2 | |
aghTnJyxw2cgra/tDiMD+3feqffYmW8qsG2sUZRKJTrmRiO3LaX2j+RS/yi4mDe+kZlS | |
i8VYAH1jtVc/YvWwoo+WK/GSGWQeoc2MJAHAkef7hLBznjRpWSv7blr70cP1/+ycCgNw | |
V7WQmZDe45vF7UU01gclut/pySnNOKor9jm4ClyqOAA4aXIDCnZrpZmTjln4mgdq6l59 | |
yazw== | |
X-Gm-Message-State: | ANoB5pmKsJhTv9uWGyuzXTMOYMBqXlcLH807mJOOTWhwnjgMUBSAQsNH |
dnjGjM9T0Dea7CheDjZ2SyOdAcmbYTHoKSqOBimdjSWw | |
X-Google-Smtp-Source: | AA0mqf52HZK365FqDbi/0ucVyII9oAaOrRHIzJmnafj+yFEAaTleTYpRg/33xtKEgbTXCsU3insKSofPIey5gt9KRNw= |
X-Received: | by 2002:a05:600c:ac9:b0:3cf:cab4:a42b with SMTP id |
c9-20020a05600c0ac900b003cfcab4a42bmr814311wmr.36.1668162643818; Fri, 11 Nov | |
2022 02:30:43 -0800 (PST) | |
MIME-Version: | 1.0 |
From: | "Carlo B." <carlo DOT bramini AT gmail DOT com> |
Date: | Fri, 11 Nov 2022 11:30:33 +0100 |
Message-ID: | <CADt9574+kbgjhsWYW5kGwZa-iNDcskQvwAczg5_v7U_ziUP4uw@mail.gmail.com> |
Subject: | PATCH: TIOCMBIS/TIOCMBIC not working when using usbser.sys |
To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
X-Spam-Status: | No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, | |
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
--000000000000d01cb105ed2f61d4 Content-Type: text/plain; charset="UTF-8" I'm sending here the patch as you requested. I hope that you will find it useful. Sincerely, Carlo Bramini. --000000000000d01cb105ed2f61d4 Content-Type: application/octet-stream; name="0001-PATCH-Cygwin-fix-TIOCMBIS-TIOCMBIC-not-working-when-.patch" Content-Disposition: attachment; filename="0001-PATCH-Cygwin-fix-TIOCMBIS-TIOCMBIC-not-working-when-.patch" Content-Transfer-Encoding: base64 Content-ID: <f_laccxs2m0> X-Attachment-Id: f_laccxs2m0 RnJvbSA3NTNiNDkxZmQ3MGQzMzdiNmYyMWRlNTc3ZTgzM2E4NWIxOWE4ZTdjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBDYXJsbyBCcmFtaW5pIDwzMDk1OTAwNytjYXJsby1icmFtaW5p QHVzZXJzLm5vcmVwbHkuZ2l0aHViLmNvbT4KRGF0ZTogRnJpLCAxMSBOb3YgMjAyMiAxMToxNToy NyArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIFtQQVRDSF0gQ3lnd2luOiBmaXggVElPQ01CSVMvVElP Q01CSUMgbm90IHdvcmtpbmcgd2hlbiB1c2luZwogdXNic2VyLnN5cwoKSW50byB3aW5zdXAvY3ln d2luL2ZoYW5kbGVyL3NlcmlhbC5jYywgdGhlIGZ1bmN0aW9uIGZoYW5kbGVyX3NlcmlhbDo6c3dp dGNoX21vZGVtX2xpbmVzKCkgaXMgY2FsbGVkIHdoZW4gVElPQ01CSVMvVElPQ01CSUMgYXJlIHVz ZWQgaW50byB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l IGlmIChjbHIgJiBUSU9DTV9SVFMpCi0gICAgewotICAgICAgaWYgKEVzY2FwZUNvbW1GdW5jdGlv biAoZ2V0X2hhbmRsZSAoKSwgQ0xSUlRTKSkKLQlydHMgPSAwOwotICAgICAgZWxzZQotCXsKLQkg IF9fc2V0ZXJybm8gKCk7Ci0JICByZXMgPSAtMTsKLQl9Ci0gICAgfQotICBpZiAoc2V0ICYgVElP Q01fRFRSKQorICBpZiAoKHNldCAmIChUSU9DTV9SVFMgfCBUSU9DTV9EVFIpKSB8fCAoY2xyICYg KFRJT0NNX1JUUyB8IFRJT0NNX0RUUikpKQogICAgIHsKLSAgICAgIGlmIChFc2NhcGVDb21tRnVu Y3Rpb24gKGdldF9oYW5kbGUgKCksIFNFVERUUikpCi0JcnRzID0gVElPQ01fRFRSOworICAgICAg RENCIGRjYjsKKworICAgICAgbWVtc2V0KCZkY2IsMCxzaXplb2YoZGNiKSk7CisgICAgICBkY2Iu RENCbGVuZ3RoID0gc2l6ZW9mKGRjYik7CisKKyAgICAgIGlmICghR2V0Q29tbVN0YXRlKGdldF9o YW5kbGUoKSwgJmRjYikpCisgICAgICAgIHsKKyAgICAgICAgICBfX3NldGVycm5vICgpOworICAg ICAgICAgIHJldHVybiAtMTsKKyAgICAgICAgfQorCisgICAgICBpZiAoc2V0ICYgVElPQ01fUlRT KQorICAgICAgICBkY2IuZlJ0c0NvbnRyb2wgPSBSVFNfQ09OVFJPTF9FTkFCTEU7CiAgICAgICBl bHNlCi0JewotCSAgX19zZXRlcnJubyAoKTsKLQkgIHJlcyA9IC0xOwotCX0KLSAgICB9Ci0gIGVs c2UgaWYgKGNsciAmIFRJT0NNX0RUUikKLSAgICB7Ci0gICAgICBpZiAoRXNjYXBlQ29tbUZ1bmN0 aW9uIChnZXRfaGFuZGxlICgpLCBDTFJEVFIpKQotCXJ0cyA9IDA7CisgICAgICBpZiAoY2xyICYg VElPQ01fUlRTKQorICAgICAgICBkY2IuZlJ0c0NvbnRyb2wgPSBSVFNfQ09OVFJPTF9ESVNBQkxF OworCisgICAgICBpZiAoc2V0ICYgVElPQ01fRFRSKQorICAgICAgICBkY2IuZlJ0c0NvbnRyb2wg PSBEVFJfQ09OVFJPTF9FTkFCTEU7CiAgICAgICBlbHNlCi0JewotCSAgX19zZXRlcnJubyAoKTsK LQkgIHJlcyA9IC0xOwotCX0KKyAgICAgIGlmIChjbHIgJiBUSU9DTV9EVFIpCisgICAgICAgIGRj Yi5mUnRzQ29udHJvbCA9IERUUl9DT05UUk9MX0RJU0FCTEU7CisKKyAgICAgIGlmICghU2V0Q29t bVN0YXRlKGdldF9oYW5kbGUoKSwgJmRjYikpCisgICAgICAgIHsKKyAgICAgICAgICBfX3NldGVy cm5vICgpOworICAgICAgICAgIHJldHVybiAtMTsKKyAgICAgICAgfQogICAgIH0KIAotICByZXR1 cm4gcmVzOworICByZXR1cm4gMDsKIH0KIAogLyogaW9jdGw6ICovCi0tIAoyLjM4LjEud2luZG93 cy4xCgo= --000000000000d01cb105ed2f61d4 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple --000000000000d01cb105ed2f61d4--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |