From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id CBF83385BF83 for ; Tue, 14 Apr 2020 12:07:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CBF83385BF83 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=schwab@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3A1F5AA7C; Tue, 14 Apr 2020 12:07:54 +0000 (UTC) From: Andreas Schwab To: Alistair Francis via Libc-alpha Cc: Alistair Francis Subject: Re: [PATCH v4 1/2] linux: wait4: Fix incorrect return value comparison References: <20200410185513.1284043-1-alistair.francis@wdc.com> X-Yow: NATHAN... your PARENTS were in a CARCRASH!! They're VOIDED - They COLLAPSED They had no CHAINSAWS... They had no MONEY MACHINES... They did PILLS in SKIMPY GRASS SKIRTS... Nathan, I EMULATED them... but they were OFF-KEY... Date: Tue, 14 Apr 2020 14:07:54 +0200 In-Reply-To: <20200410185513.1284043-1-alistair.francis@wdc.com> (Alistair Francis via Libc-alpha's message of "Fri, 10 Apr 2020 11:55:11 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2020 12:07:56 -0000 On Apr 10 2020, Alistair Francis via Libc-alpha wrote: > Patch 600f00b "linux: Use long time_t for wait4/getrusage" introduced > two bugs: > - The usage32 struct was set if the wait4 syscall had an error. > - For 32-bit systems the usage struct was set even if it was specified > as NULL. > > This patch fixes the two issues. Ok. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."