[Patch] Minires update

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Dec 3 16:40:00 GMT 2008


On Dec  3 11:25, Pierre A. Humblet wrote:
> This patch syncs the built-in minires with the latest packaged version.
> Also attaching the files to guarantee format preservation.
> 
> Pierre
> 
> 2008-12-03  Pierre A. Humblet  <Pierre.Humblet@ieee.org>
> 
>         * libc/minires.c (open_sock): Set non blocking and close on exec.
>         (res_ninit): Set id pseudo-randomly.
>         (res_nsend): Do not set close on exec. Initialize server from id.
>         Flush socket. Tighten rules for answer acceptance.
>         (res_nmkquery): Update id using current data.

Applied with a very minor change:

> Index: minires.c
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/libc/minires.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 minires.c
> --- minires.c 1 Apr 2008 10:22:33 -0000 1.4
> +++ minires.c 3 Dec 2008 02:57:26 -0000
> @@ -1,6 +1,6 @@
>  /* minires.c.  Stub synchronous resolver for Cygwin.
>  
> -   Copyright 2006 Red Hat, Inc.
> +   Copyright 2008 Red Hat, Inc.

The Copyright should keep the old dates, like this:

      Copyright 2006, 2008 Red Hat, Inc.


Thanks!
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-patches mailing list