From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 878303857C6B for ; Fri, 7 Jan 2022 19:03:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 878303857C6B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id 5qfhn6wBfztEj5uW7nTPSd; Fri, 07 Jan 2022 19:03:11 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id 5uW6n9mGdmX1k5uW6nw7kb; Fri, 07 Jan 2022 19:03:11 +0000 X-Authority-Analysis: v=2.4 cv=Fe4keby6 c=1 sm=1 tr=0 ts=61d88e6f a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 Message-ID: <7f6b65a0-ec96-923e-8ff1-524f8a6186bc@SystematicSw.ab.ca> Date: Fri, 7 Jan 2022 12:03:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Reply-To: newlib@sourceware.org Subject: Re: Error in posix_spawn(3) man page Content-Language: en-CA To: newlib@sourceware.org References: From: Brian Inglis Organization: Systematic Software In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfF/wudN5fEB91RleRjvX8Ztc2T7RZEeffsr7sdvgilTrmqXlqxYIwQHDXoyF2wwMphS2jRELbCy2fqSqvDP1EtbHjYR8c7YTTe9RJzftg/sw+YmMQsea +iyFtcmxMwFCUyucM8dnbRhHIgZ/3NeB/OZkPPP/z/nz7mQG7G+V5mp0lQa53KFIY0NSLRXQeDO7W0GjRo0V2fjLrS4ZYP9FeQo= X-Spam-Status: No, score=-1164.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2022 19:03:12 -0000 On 2022-01-07 02:32, Corinna Vinschen wrote: > On Jan 5 13:39, Keith Thompson wrote: >> On Wed, Jan 5, 2022 at 3:47 AM Corinna Vinschen wrote: >>> On Dec 28 19:24, Keith Thompson wrote: >>>> The posix_spawn(3) man page has incorrect types for the argv and >>>> envp parameters for the posix_spawn and posix_spawnp functions. >>>> They're shown as >>>> char *const argv, char *const envp >>>> when they should be >>>> char *const argv[], char *const envp[] >>>> Suggested patch (though I'm not 100% sure how the square brackets >>>> are handled when generating the man page): >>> Please send a git compatible patch in `git format-patch' format. >> As requested. Given the way I copy-and-pasted the patch into my >> email, it might not have treated tabs correctly. You should attach it as a text attachment, possibly with an empty body, perhaps using a command line mailer like mail (mailutils), email (email package), mailx (Heirloom project download), neo/mutt, or X GUIs like xdg-email (xdg-utils), evolution, the MUA client from some other desktop, or a text friendly Unix compatible Windows GUI like Thunderbird. > It's not TABs, it's an incorrect patch format: > $ git am 0001-Fix-documented-argv-and-envp-params-for-posix_spawn.patch > Applying: Fix documented argv and envp params for posix_spawn > error: libc/posix/posix_spawn.c: does not exist in index > Patch failed at 0001 Fix documented argv and envp params for posix_spawn > hint: Use 'git am --show-current-patch=diff' to see the failed patch > Did you actually create the patch with `git format-patch'? Email it with git send-email as the MUA or Gmail may be mangling it! Set your personal ~/.gitconfig or system global /etc/gitconfig to e.g. [sendemail] aliasesFile = /etc/mail/aliases confirm = always multiEdit = false smtpServer = ... suppressFrom = true with your own preferences and other settings, or use equivalent git config --global or --system commands. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]