[PATCH libtirpc] Disable libtirpc's own bindresvport{,_sa}() in favor of Cygwin's

Eric Blake eblake@redhat.com
Wed Feb 7 15:38:00 GMT 2018

On 02/07/2018 01:29 AM, Mark Geisert wrote:
> I don't have libtirpc in git so I'm submitting a text patch.  Sorry for 
> any inconvenience.  This is Cygwin-specific and against 
> src/bindresvport.c of libtirpc 1.0.1.  Unsure if it ought to go 
> upstream; appreciate input on that.
> Thanks much,
> ..mark
> --------8<--------
> 35a36,38
>  > /* On Cygwin prefer Cygwin's bindresvport{,_sa}() to portable version 
> here */

An ed-script diff is practically useless; without context, it is too 
easy to misapply the patch if the file has been edited differently in 
the meantime.  ALWAYS use 'diff -u' (what git does by default) or 'diff 
-c' when generating a patch, so that it has proper context.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

More information about the Cygwin-apps mailing list