X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=XQAaqZXB7osecVRkF8LlEgKUIl2mi 9rf7JWCViG8XuyizC4+os5p5IJLBoFcQd20mJQn8pJFgR7fm72JethSdUgkpJbLI Wl8gBOo3lObMO1oKmHBq0NeZoiLLg5BkNY2Ik/i2bMI7zppQmLdVRVcRhSKMxoZc JyQpPJgNRAlgsc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=S4BVG17bMgdRELrsfAU73fdgJls=; b=n5t HzWknagqpm9oOJ1s0l9QbjLjPXqsKcSWZhT+31uNBGLi++k93uk6qk5Rj5/ho3KA POVIpiX8sCZ8bZqme//ZoUCqacqbJqGeovvfTEvyvJT4/FCS91jWd6c9l7Xyjj3t fUAAeFoU5SvQnpVgXDHPfw8ooRTANeiUy13FsRx8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Received:Thu X-HELO: mail-il1-f179.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zVMFpwkkFI0oZzVxMN9QYgPtvswoBN+JOf8FcwD7ISE=; b=Y0tR0KiE1ciFN/22fdUwr61J6E/TSmFEoL4gj3NSyQput3z3TA9M3gkvMO3l89Pfwu Jm9IBe+at1HLn0bwFC3damql3DIkFV15xqZ3BNdct9r5FcBm/H20ncZtgVC3fnmYx9ez 0ulpOZf2EUGYRzt/wW/wogTaMXn/IL63AOwYi0hkPT0GYQDwP2NXxoll0p4P8+IlHhEF HLM1IMkaaOVwwg1cCGGx7usbb2+prCbXSHE7mr5WL6vqx+P2BtgidoNXp/5JOr5zpAsp nz1XgS4VrL2WZhheY46L5uX6Fyw8SPVKy9JSHT8HOj9qQAOBMktVrF+ZpRFAzhVG/5Ka O1Zw== MIME-Version: 1.0 From: Biswapriyo Nath Date: Thu, 24 Oct 2019 12:47:29 +0530 Message-ID: Subject: Re: [ANNOUNCEMENT] cygwin 3.1.0-0.7 (TEST) To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes While using GetFileType API upon standard console handle, GetLastError shows error code 187 aka. ERROR_SEM_NOT_FOUND. GetLastError shows 0 (zero) in stable cygwin version. Here is the test code: #include #include int main(void) { SetLastError(0); printf("%d (%d)\n", GetFileType(GetStdHandle(STD_INPUT_HANDLE)), GetLastError()); printf("%d (%d)\n", GetFileType(GetStdHandle(STD_OUTPUT_HANDLE)), GetLastError()); printf("%d (%d)\n", GetFileType(GetStdHandle(STD_ERROR_HANDLE)), GetLastError()); } -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple