Eric Blake | 6 Dec 14:26 2006
Picon

get TIOCGWINSZ from <sys/ioctl.h>


On Linux:
$ gcc -E - <<\EOF | tail -n 2
> #include<sys/ioctl.h>
> TIOCGWINSZ
> EOF
# 2 "<stdin>" 2
0x5413

On cygwin, prior to this patch:
$ gcc -E - <<\EOF | tail -n 2
> #include<sys/ioctl.h>
> TIOCGWINSZ
> EOF
# 2 "<stdin>" 2
TIOCGWINSZ

Should be safe to apply since neither TIOCGWINSZ nor <sys/ioctl.h> are
specified by POSIX, so we don't have to worry about namespace pollution.

2006-12-06  Eric Blake  <ebb9 <at> byu.net>

	* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.

--
Life is short - so eat dessert first!

Eric Blake             ebb9 <at> byu.net
(Continue reading)

Corinna Vinschen | 6 Dec 15:08 2006

Re: get TIOCGWINSZ from <sys/ioctl.h>

On Dec  6 06:26, Eric Blake wrote:
> 	* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.

Thanks, applied.

Corinna

--

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

Pierre A. Humblet | 8 Dec 03:37 2006
Picon

minires-1.01 for cygwin

Corinna knows what this is about.

Pierre

http://mysite.verizon.net/phumblet/minires-1.01.tgz

Franz Häuslschmid | 10 Dec 10:16 2006
Picon
Picon

EPS import for XFig

Hello,

there is a problem with XFig as soon as more than one EPS should
be imported as figure object.  The problem has been addressed
earlier:

  <http://article.gmane.org/gmane.os.cygwin.xfree/14757>

  <http://thread.gmane.org/gmane.os.cygwin/40818>

and finally

  <http://article.gmane.org/gmane.os.cygwin/69899>

An inspection of XFig's source code revealed that a call to
`unlink' in order to remove a temporary bitmap preview of the EPS
to include delays the actual deletion.  The bitmap preview for
subsequent EPS files would go to a temporary file always having
the same name.  As the deletion of the first preview is pending
(which means that the preview file is still there, without any
file permissions observable by Windows Explorer), subsequent
previews having the same file name can't be created and the
import into the editor view fails.

The cause for the delay of the deletion is, that there is still a
`FILE' object in memory that references that file.  The patch
forces the file to be closed as soon as it isn't needed any more.

Regards,
Franz.
(Continue reading)

Corinna Vinschen | 10 Dec 13:08 2006

Re: EPS import for XFig

On Dec 10 10:16, Franz H?uslschmid wrote:
> Hello,
> 
> there is a problem with XFig as soon as more than one EPS should
> be imported as figure object.  The problem has been addressed
> earlier:

This is *not* the xfig patches mailing list, but the mailing list
for patches to the Cygwin DLL and its accompanying tools, as the
name hopefully suggests.  See http://cygwin.com/lists.html

Corinna

--

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

Pierre A. Humblet | 15 Dec 04:45 2006
Picon

[Patch] minires


2006-12-13  Pierre A. Humblet  <Pierre.Humblet <at> ieee.org>

	* libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
	(get_dns_info): Verify DnsQuery exists. Use autoloaded GetNetworkParams.

Index: minires-os-if.c
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/libc/minires-os-if.c,v
retrieving revision 1.1
diff -u -p -r1.1 minires-os-if.c
--- minires-os-if.c     11 Dec 2006 19:59:06 -0000      1.1
+++ minires-os-if.c     15 Dec 2006 03:34:28 -0000
 <at>  <at>  -196,10 +196,6  <at>  <at>  static int cygwin_query(res_state statp,
   DPRINTF(debug, "DnsQuery: %lu (Windows)\n", res);
   if (res) {
     switch (res) {
-    case ERROR_PROC_NOT_FOUND:
-      errno = ENOSYS;
-      statp->res_h_errno = NO_RECOVERY;
-      break;
     case ERROR_INVALID_NAME:
       errno = EINVAL;
       statp->res_h_errno = NETDB_INTERNAL;;
 <at>  <at>  -393,13 +389,12  <at>  <at>  void get_dns_info(res_state statp)
   DWORD dwRetVal;
   IP_ADDR_STRING * pIPAddr;
   FIXED_INFO * pFixedInfo;
-  HINSTANCE kerneldll;
-  typedef DWORD WINAPI (*GNPType)(PFIXED_INFO, PULONG);
(Continue reading)

Corinna Vinschen | 15 Dec 10:50 2006

Re: [Patch] minires

On Dec 14 22:45, Pierre A. Humblet wrote:
> 	* libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
> 	(get_dns_info): Verify DnsQuery exists. Use autoloaded GetNetworkParams.

Thanks, applied.

Corinna

Stephen More | 27 Dec 19:17 2006
Picon

Additional Proxy support needed

Currently setup only supports Proxy-Authenticate: Basic

If a proxy does not support basic, it no longer stays in a loop, it
will log and return.

At some point I hope to submit another patch that implements
Proxy-Authenticate: NTLM.

-Stephen More

P.S. This is my first submission to cygwin-patches
Attachment (setup.diff): application/octet-stream, 5604 bytes
Attachment (ChangeLog): application/octet-stream, 375 bytes
Christopher Faylor | 27 Dec 19:27 2006

Re: Additional Proxy support needed

On Wed, Dec 27, 2006 at 01:17:47PM -0500, Stephen More wrote:
>Currently setup only supports Proxy-Authenticate: Basic
>
>If a proxy does not support basic, it no longer stays in a loop, it
>will log and return.
>
>At some point I hope to submit another patch that implements
>Proxy-Authenticate: NTLM.
>
>-Stephen More
>
>
>P.S. This is my first submission to cygwin-patches

Sorry, but this is the wrong mailing list.  Please use cygwin-apps
for patches to setup.exe.

cgf


Gmane