buffer size calculation in gethostby_helper()

2011-08-11 Thread Jan Kolar
Dear Corinna, Please note that in net.cc, some kind of string_size += addrsize_out; is missing somewhere, which affects a buffer allocation. See the two locations in diff. (I do not see well how the two loops (passes) communicate, which might well be the origin of the problem.)

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Larry Hall (Cygwin)
On 8/11/2011 5:33 PM, Gary wrote: Created the passwd and group files from: /bin/mkpasswd -l -c> /etc/passwd /bin/mkgroup -> l -c> /etc/group ^ Presumably this is a typo transcribing to your email message? passwd files looks good now, moved passwd file and re-ran ./000-cy

Using cygwin to install grub

2011-08-11 Thread J.V.
Is it possible to install grub on a windows partition using grub? If so how is this done? I have followed instructions found on the web and it fails. the grub scripts point to the wrong paths on cygwin. Who packages this for cygwin and can I speak with them? J.V. -- Problem reports:

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
Created the passwd and group files from: /bin/mkpasswd -l -c > /etc/passwd /bin/mkgroup -> l -c > /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the s

Re: emacs and large-address awareness under recent snapshots

2011-08-11 Thread Ken Brown
On 8/10/2011 10:56 AM, Ken Brown wrote: On 8/9/2011 10:39 PM, Ryan Johnson wrote: Given that the static heap is only 12MB, with most of that arguably occupied by stuff that isn't going away, what if we did "just ignore the static heap" (mostly)? Anything freed from that regionjust gets dropped o

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* Gary (Thu, 11 Aug 2011 11:25:04 -0700) > I've tried re-running the 000-cygwin-post-install.sh & receive no echo > from the terminal, I've moved the passwd file (from my understanding > outside the directory before running the post-install). My passwd file > looks like this: > > sshd:*:27:27:sshd

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
I've tried re-running the 000-cygwin-post-install.sh & receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a pa

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* Gary (Thu, 11 Aug 2011 10:01:58 -0700) > I've attempted chmod from the terminal and to change the permissions > through the standard UI. Terminal is better. Try again "chmod 700 /var/empty". > I've attempted to chown to "SYSTEM", but the user does not exist. It should: % grep -i system /etc/p

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
I've attempted chmod from the terminal and to change the permissions through the standard UI. I've attempted to chown to "SYSTEM", but the user does not exist. Here ar e the permission settings for the /var/empty folder: bash-4.1$ getfacl empty # file: empty # owner: Administrator # group: mkpas

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Larry Hall (Cygwin)
On 8/11/2011 4:15 AM, Thorsten Kampe wrote: * Gary (Wed, 10 Aug 2011 15:59:14 -0700) The logs specify: /var/empty must be owned by root and not group or world-writable. That's pretty clear, isn't it? I've tried changing permissions, What exactly did you try? I expect the confusion comes

[ANNOUNCEMENT] Updated: mingw64-i686-headers-3.0b_svn4373-1

2011-08-11 Thread JonY
mingw64-i686-headers-3.0b_svn4373-1 has been uploaded. mingw64-i686-headers contains development headers for Win32 target. The headers have been updated to svn 4373. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at

[ANNOUNCEMENT] Updated: mingw64-x86_64-headers-3.0b_svn_4373-1

2011-08-11 Thread JonY
mingw64-x86_64-headers-3.0b_svn4373-1 has been uploaded. mingw64-x86_64-headers contains development headers for Win64 target. The headers have been updated to svn r4373. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, loo

[ANNOUNCEMENT] Updated: mingw64-x86_64-runtime-3.0b_svn4373-1

2011-08-11 Thread JonY
Version 3.0b_svn4373-1 of "mingw64-x86_64-runtime" has been uploaded. mingw64-x86_64-runtime provides library to interface with Windows. This package is specifically for the 64bit target toolchain. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-

[ANNOUNCEMENT] Updated: mingw64-i686-runtime-3.0b_svn4373-1

2011-08-11 Thread JonY
Version 3.0b_svn4373-1 of "mingw64-i686-runtime" has been uploaded. mingw64-i686-runtime provides library to interface with Windows. This package is specifically for the 32bit target toolchain. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-anno

Re: /etc/fstab

2011-08-11 Thread Larry Hall (Cygwin)
On 8/11/2011 2:46 AM, Fergus wrote: I think the required line in /etc/fstab is none / cygdrive user,posix=0 0 0 but actually (here, ages ago, shortly after 1.7 was first presented) I deleted /etc/fstab entirely*. To achieve your particular purpose, which I like too, I just have /bin/mount -c "/"

Re: cssh not working with 1.7.9-1

2011-08-11 Thread Larry Hall (Cygwin)
On 8/10/2011 11:26 PM, Lenny Miceli wrote: I'm new to cygwin and installed it to run cssh on my windows 7 64-bit system. I tried to search the mailing lists and FAQ for this error but didn't get any hits. After installing cygwin and cssh I get the following error whenever I try to cssh to a host

Re: /etc/fstab

2011-08-11 Thread Thorsten Kampe
* J.V. (Wed, 10 Aug 2011 16:17:42 -0600) > What is the exact line I should put in /etc/fstab to get C:\ mounted to > /c on Windows 7? none / cygdrive binary,posix=0,user 0 0 > The documentation makes me think. Please do not make me think. I know, thinking can sometimes hurt. This is because

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* Gary (Wed, 10 Aug 2011 15:59:14 -0700) > The logs specify: /var/empty must be owned by root and not group or > world-writable. That's pretty clear, isn't it? > I've tried changing permissions, What exactly did you try? > and also looking on the forums for this > {http://cygwin.com/ml/cygwin/2

Re: fork: Resource temporarily unavailable: address space is already occupied

2011-08-11 Thread Marco atzeri
On 8/11/2011 10:02 AM, Heiko Elger wrote: Christopher Faylor writes: On Thu, Aug 11, 2011 at 05:07:15AM +, Heiko Elger wrote: Ryan Johnson writes: Let me ask again, what was being compiled when the problems arose? And is it an intermittent error or a consistent one? I'm sorry - I hav

Re: fork: Resource temporarily unavailable: address space is already occupied

2011-08-11 Thread Heiko Elger
Christopher Faylor writes: > > On Thu, Aug 11, 2011 at 05:07:15AM +, Heiko Elger wrote: > >Ryan Johnson writes: > > > >> Let me ask again, what was being compiled when the problems arose? And > >> is it an intermittent error or a consistent one? > >> > > > >I'm sorry - I havn't seen your qu

Re: emacs and large-address awareness under recent snapshots

2011-08-11 Thread Corinna Vinschen
On Aug 10 11:58, Eliot Moss wrote: > On 8/10/2011 11:28 AM, Ken Brown wrote: > > >Would it be possible to accomplish the same goal without using bss_sbrk and > >the static heap? In > >other words, can one save the information on the Cygwin heap as part of > >emacs.exe, so that when > >emacs is r

Re: regex_t internals: can we use re_magic to tell whether a regex has been regcomp'd?

2011-08-11 Thread Corinna Vinschen
On Aug 10 19:07, Fischer, Matthew L wrote: > We are porting code from Linux that is attempting to determine whether > a regular expression has been properly regcomp'd and not freed. The > code from Linux is looking into the buffer inside regex_t. On Which is kind of scary, IMHO. Using the inte