From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54175 invoked by alias); 24 Oct 2019 07:19:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 54168 invoked by uid 89); 24 Oct 2019 07:19:58 -0000 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 Received: from mail-il1-f179.google.com (HELO mail-il1-f179.google.com) (209.85.166.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Oct 2019 07:19:57 +0000 Received: by mail-il1-f179.google.com with SMTP id a13so7084108ilp.1 for ; Thu, 24 Oct 2019 00:19:57 -0700 (PDT) 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 07:19:00 -0000 Message-ID: Subject: Re: [ANNOUNCEMENT] cygwin 3.1.0-0.7 (TEST) To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00144.txt.bz2 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