Re: [ANNOUNCEMENT] New: perl-Win32-GUI-1.0-2

2005-04-22 Thread zzapper
On Tue, 19 Apr 2005 17:05:11 +0200 (CEST), wrote: >I've added perl-Win32-GUI-1.0-2 to cygwin > >Win32::GUI is a Win32-platform native graphical user interface toolkit for >perl, which was formerly included in perl-libwin32, and is now available >as seperate package. > >Basically, it's an XS imple

support dirent.d_type

2005-04-22 Thread lode leroy
Hello, I would like to see support for dirent.d_type added to cygwin. fhandler_disk_file::readdir() { ... if (buf.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { dir->__d_dirent->d_type = DT_DIR; } else { dir->__d_dirent->d_type = DT_REG; } ... }

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-22 Thread Corinna Vinschen
On Apr 22 00:52, Jason FU wrote: > Corinna Vinschen cygwin.com> writes: > > On Apr 21 13:33, Jason FU wrote: > > > It doesn't work either as follows: > > Running as admin? > Yes, Server 2003 only allows administrators to turn off the machine. I know, that's why I was asking. I just ran shutdown-

Multi-threaded application using STL crashes

2005-04-22 Thread Jeff Terrell
Hi, I'm developing a multi-threaded application that makes extensive use of STL. The number of threads is configurable. If I build the application to run in one thread, it's fine. However, if I build the application to run in 2 or more threads, it crashes in an unpredictable manner. I'm taking al

Re: announcement subject tag

2005-04-22 Thread Arturus Magi
Dave Korn wrote: Original Message Alright, who let the AOLer's out? I resent that remark. We're not _all_ braindead, you know. (Ok, I don't really resent it. I just like having an excuse to complain once in a while.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pro

gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Krzysztof Duleba
Hi Since gcc 4.0 is out, sooner or later there will be a Cygwin release. As much as I look forward to it, I hope it won't replace the current release of 3.3. I see that C++ headers are kept in /usr/include/c++/3.3.3 and some libraries in /lib/gcc-lib/i686-pc-cygwin/3.3.3, but a bunch of libraries

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > I am tried as Administrator: > >[EMAIL PROTECTED] ~/Downloads/cygwin >$ shutdown now >WARNING!!! System is going down NOW >shutdown: Couldn't shutdown: Error 5 Accesso negato. > > (also "shutdown 5" does not work) See http://

Re: findutils still broken

2005-04-22 Thread Corinna Vinschen
On Apr 21 16:28, Christopher Faylor wrote: > On Thu, Apr 21, 2005 at 08:15:33PM +, Eric Blake wrote: > I > >originally wrote this program to discover that inode reporting in > >readdir() is broken (to which you replied that fixing it would cause > >too much of a slowdown), > > Yes, both Cori

RE: findutils still broken

2005-04-22 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 21 April 2005 19:44 > Nevertheless, Cygwin does try only to set errno when there is an error. It's certainly a good policy, I don't debate that. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe inf

RE: I just tried to build GCC 4.0.0-RC2 on Cygwin

2005-04-22 Thread Dave Korn
Original Message >From: Gerrit P. Haase >Sent: 21 April 2005 19:52 > Mikael wrote: > >> As the topic says, I just tried to build the second release candidate of >> GCC >> 4.0.0 on Cygwin. The process itself was simple, but it took some time to >> perform the make bootstrap part, but that

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> Corinna Vinschen cygwin.com> writes: > > On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > > I am tried as Administrator: > > > >Administrator graziosi ~/Downloads/cygwin > >$ shutdown now > >WARNING!!! System is going down NOW > >shutdown: Couldn't shutdown: Error 5 Acce

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Gerrit P. Haase
Krzysztof Duleba wrote: Hi Since gcc 4.0 is out, sooner or later there will be a Cygwin release. As much as I look forward to it, I hope it won't replace the current release of 3.3. I see that C++ headers are kept in /usr/include/c++/3.3.3 and some libraries in /lib/gcc-lib/i686-pc-cygwin/3.3.3, bu

[OT] RE: Multi-threaded application using STL crashes

2005-04-22 Thread Gary R. Van Sickle
This is a C++ question, but what the hell: > Hi, > > I'm developing a multi-threaded application that makes > extensive use of STL. > Problem number one, because... > The number of threads is configurable. > > If I build the application to run in one thread, it's fine. > However, if I build

RE: announcement subject tag

2005-04-22 Thread Dave Korn
Original Message >From: Arturus Magi >Sent: 22 April 2005 09:17 > Dave Korn wrote: >> Original Message >> >> >> Alright, who let the AOLer's out? >> > > I resent that remark. We're not _all_ braindead, you know. I resemble that remark! > (Ok, I don't really resent it.

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 09:05, Christian Weinberger wrote: > > Corinna Vinschen cygwin.com> writes: > > > > On Apr 21 23:52, Angelo Graziosi (D. Zanello) wrote: > > > I am tried as Administrator: > > > > > >Administrator graziosi ~/Downloads/cygwin > > >$ shutdown now > > >WARNING!!! System is go

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-22 Thread Jason FU
Corinna Vinschen cygwin.com> writes: > > On Apr 22 00:52, Jason FU wrote: > I know, that's why I was asking. I just ran shutdown-1.5-1 again on > 2003 Server and it works fine for me. I tried it in local sessions, > remote desktop sessions and in a sshd logon from another machine. In > all c

Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1

2005-04-22 Thread Corinna Vinschen
On Apr 22 10:59, Jason FU wrote: > Corinna Vinschen cygwin.com> writes: > > > > > On Apr 22 00:52, Jason FU wrote: > > > I know, that's why I was asking. I just ran shutdown-1.5-1 again on > > 2003 Server and it works fine for me. I tried it in local sessions, > > remote desktop sessions and

struct dirent doesn't contain d_namlen and d_type fields.

2005-04-22 Thread thomas . revell
Hi everyone, I'm currently working on porting some (old) Solaris based programs to Cygwin. At some points, these make use of the d_namlen and d_type fields in the dirent structure. The trouble is, Cygwin doesn't seem to have these. I suppose I could simulate d_namlen by calling strlen () on the

Wrong PATH and other env after starting bash

2005-04-22 Thread david . balazic
Hi! I installed cygwin yesterday. (on winXPpro-SP2) I start bash from the start menu enty. I noticed : - missing /etc/passwd (fixe by reinstallin the base-passwd package with setup.exe) - $PATH is missing /usr/bin - pwd is not set to $HOME - missing /etc/profile (or other startup scrip

RE: struct dirent doesn't contain d_namlen and d_type fields.

2005-04-22 Thread Dave Korn
Original Message >From: thomas.revell >Sent: 22 April 2005 12:09 > Does anyone know how I can simulate the d_type field? Or if it's even > relevant in Cygwin at all? > > Any advice will be much appreciated. > > Regards, > > Thomas Revell The posix standard says the only thing you ca

shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:17, Corinna Vinschen wrote: > On Apr 22 10:59, Jason FU wrote: > > Corinna Vinschen cygwin.com> writes: > > > I know, that's why I was asking. I just ran shutdown-1.5-1 again on > > > 2003 Server and it works fine for me. I tried it in local sessions, > > > remote desktop sessions a

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Jason FU
Gerrit P. Haase familiehaase.de> writes: > > Krzysztof Duleba wrote: > > > Hi > > > > Since gcc 4.0 is out, sooner or later there will be a Cygwin release. As > > much as I look forward to it, I hope it won't replace the current release > > of 3.3. > > > > I'll try to do so. AFAIK it is jus

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Markus =?iso-8859-1?q?Sch=F6nhaber?=
Am Freitag, 22. April 2005 13:27 schrieb Jason FU: > Gerrit P. Haase familiehaase.de> writes: > > Krzysztof Duleba wrote: > > > Hi > > > > > > Since gcc 4.0 is out, sooner or later there will be a Cygwin release. > > > As much as I look forward to it, I hope it won't replace the current > > > rele

Re: findutils still broken

2005-04-22 Thread Christopher Faylor
On Fri, Apr 22, 2005 at 10:37:50AM +0200, Corinna Vinschen wrote: >On Apr 21 16:28, Christopher Faylor wrote: >> On Thu, Apr 21, 2005 at 08:15:33PM +, Eric Blake wrote: >> I >> >originally wrote this program to discover that inode reporting in >> >readdir() is broken (to which you replied tha

Telnet and rlogin gives "Unknown service"

2005-04-22 Thread hans . attersjo
I had an old version of Cygwin/Xfree86 installed for about two years and no problems. Telnet, ftp, rlogin and remote display of X windows working OK. I did not really use cygwin for the last months but yesterday when I tried to use these programs I got: Telnet xxx telnet: tcp/telnet: unknown serv

Re: findutils still broken

2005-04-22 Thread Corinna Vinschen
On Apr 22 07:49, Christopher Faylor wrote: > On Fri, Apr 22, 2005 at 10:37:50AM +0200, Corinna Vinschen wrote: > >I'm not sure this presumption is correct. The d_ino field is not marked > >as optional in SUSv3, it's marked as an XSI extension. The crux with > >XSI extensions is that (quote SuSv3)

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> > Same problem here with the previous version of shutdown: > > - cygwin 1.5.15 > > - shutdown 1.4-1 > > - XP Home SP2 > > - connect via sshd or local on the desktop > > > > Works fine from accounts that are in the admin group, but not for root. > > Same error message (but in german). > > Did yo

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 12:54, Christian Weinberger wrote: > > > Same problem here with the previous version of shutdown: > > > - cygwin 1.5.15 > > > - shutdown 1.4-1 > > > - XP Home SP2 > > > - connect via sshd or local on the desktop > > > > > > Works fine from accounts that are in the admin group, but not fo

RE: struct dirent doesn't contain d_namlen and d_type fields.

2005-04-22 Thread thomas . revell
Hi, Thanks for your earlier advice. To wander onto a slightly different topic now, the code uses the ALIGNBYTES macro, which as far as I can tell should be in machine/param.h This file seems to be empty though, just containing a comment that it is a placeholder. Does this macro exist in Cygwin,

Re: findutils still broken

2005-04-22 Thread Christopher Faylor
On Fri, Apr 22, 2005 at 02:37:58PM +0200, Corinna Vinschen wrote: >On Apr 22 07:49, Christopher Faylor wrote: >> On Fri, Apr 22, 2005 at 10:37:50AM +0200, Corinna Vinschen wrote: >> >I'm not sure this presumption is correct. The d_ino field is not marked >> >as optional in SUSv3, it's marked as an

RE: Wrong PATH and other env after starting bash

2005-04-22 Thread Dave Korn
Original Message >From: david.balazic >Sent: 22 April 2005 12:23 > I installed cygwin yesterday. (on winXPpro-SP2) > I start bash from the start menu enty. > I noticed : > - missing /etc/passwd (fixe by reinstallin the base-passwd package > with setup.exe) > - $PATH is missing /usr

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Corinna Vinschen cygwin.com> writes: > > On Apr 22 13:17, Corinna Vinschen wrote: > > I've created a patched version of shutdown which should give us some > hint why it doesn't work for you. The source is attached. Just call > `make shutdown' and run this newly created shutdown instead of th

RE: Telnet and rlogin gives "Unknown service"

2005-04-22 Thread Dave Korn
Original Message >From: [EMAIL PROTECTED] >Sent: 22 April 2005 13:10 > I had an old version of Cygwin/Xfree86 installed for about two years and > no > problems. Telnet, ftp, rlogin and remote display of X windows working OK. > I did not really use cygwin for the last months but yesterday

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Jason FU
Jason FU ust.hk> writes: > > Corinna Vinschen cygwin.com> writes: > > > > > On Apr 22 13:17, Corinna Vinschen wrote: > > > > > I've created a patched version of shutdown which should give us some > > hint why it doesn't work for you. The source is attached. Just call > > `make shutdown' a

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:14, Jason FU wrote: > === > [EMAIL PROTECTED] ~/Shared Documents/C++ > $ ls -la shutdown.* > -rw-r--r-- 1 tsfu None 10631 Apr 22 21:13 shutdown.c > -rwxr-xr-x 1 tsfu None 24549 Apr 22 21:14 shutdown.exe > > [EMAIL PROTECTED

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Jason FU
Markus SchÃnhaber schoenhaber.de> writes: > > Am Freitag, 22. April 2005 13:27 schrieb Jason FU: > > Gerrit P. Haase familiehaase.de> writes: > > > Krzysztof Duleba wrote: > > > > Hi > > > > > Asking just out of curiosity: how are you affected by the simple possibility > to install multiple ve

Re: shutdown Access denied (was Re: [ANNOUNCEMENT] Updated: cygwin-1.5.15-1)

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:22, Jason FU wrote: > Jason FU ust.hk> writes: > This one works. I forgot to use > > ./shutdown.exe ... Thanks for testing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc.

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Christian Weinberger
> > > > Same effect with shutdown-1.5-1 > > root is member of the admin group but does not map to the builtin administrator. > > http://cygwin.com/ml/cygwin/2005-04/msg00977.html > > Corinna > I wanted to test if root lacks some of the system priviliges that I assigned to most of my other acco

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Krzysztof Duleba
Jason FU wrote: > > > Since gcc 4.0 is out, sooner or later there will be a Cygwin release. As > > > much as I look forward to it, I hope it won't replace the current release > > > of 3.3. > > > > > > > I'll try to do so. AFAIK it is just one configure flag which needs to > > be changed. > > > >

[ANNOUNCEMENT] Updated: shutdown-1.6-1

2005-04-22 Thread Corinna Vinschen
I've just updated the version of shutdown to 1.6-1. This version is a plain bugfix release which also adds a couple of additional error messages to allow easier tracking down problems. However, here's the release message for 1.5-1 again, for the people who love to view replays: On Windows NT sys

Re: shutdown-1.5-1 does not work!

2005-04-22 Thread Corinna Vinschen
On Apr 22 13:35, Christian Weinberger wrote: > I wanted to test if root lacks some of the system priviliges that I > assigned to most of my other accounts, but editrights seems to have a > problem with root too: > > [EMAIL PROTECTED]:{509}:$ editrights -u root -l > Error in getSID (LsaLookupNames

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Krzysztof Duleba
Jason FU wrote: > > Asking just out of curiosity: how are you affected by the simple possibility > > to install multiple versions off gcc? If you want just one version of gcc on > > your system, isn't installing just one version of gcc an option for you? > > > > BTW: On my Linux box, I have instal

man ls....

2005-04-22 Thread Jason FU
About manpage, on Windows XP SP2 or before when I man ls, = LS(1) User Commands LS(1) NAME ls - list directory contents SYNOPSIS ls [OPTION]... [FILE]

Re: gcc 4.0 and 3.3 at the same time?

2005-04-22 Thread Krzysztof Duleba
Gerrit P. Haase wrote: > > Does Cygwin gcc maintainer intend to resolve it so that it would be > > possible for gcc 3.3 and 4.0 to coexist? It seems that all one has to do > > is to build gcc with some options so that it keeps its libraries somewhere > > else. I can give it a try and submit a patc

RE: struct dirent doesn't contain d_namlen and d_type fields.

2005-04-22 Thread thomas . revell
OK, slightly more information now: I trawled Google for a while, and found this message, which says that ALIGNBYTES should be defined as sizeof (int) -1 http://mail-index.netbsd.org/current-users/1994/06/15/0011.html Does this seem sensible to you? Regards, Tom Revell -- Unsubscribe info:

RE: I need to change my home directory

2005-04-22 Thread Larry Hall
At 12:56 PM 4/22/2005, you wrote: >Or see >http://sources.redhat.com/cygwin/cygwin-ug-net/using-utils.html#mkpasswd for >hints on setting it in /etc/passwd. (But I really don't know if bash or the >cygwin dll actually check /etc/passwd.) Of course they do. The doc you point to says this, among

Re: 1.5.15: multiple simultaneous processes can fail to start

2005-04-22 Thread Usman Muzaffar
"Christopher Faylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, Apr 21, 2005 at 01:50:44PM -0700, Usman Muzaffar wrote: > >Hello. We seem to be having difficulty when two Cygwin processes are > >started simultaneously (or in close succession) on multiprocessor > >Windows

Using shutdown-1.6-1 does not seem to shutdown!!!

2005-04-22 Thread Angelo Graziosi
I have tried shutdown-1.6-1. Now it seems to work in the sense that shutdown now shutdown 5 ... 30 etc. starts the procedure of shutdown, i.e. disconnets the user, saves the configuration... . When it seems it is being to turn off the PC, Windows says (in low resoultion) N

Re: FontForge

2005-04-22 Thread Brian Dessent
David Rothenberger wrote: > > Someone should kindly remind them that the gpl obligates them to provide > > sources for cygwin1.dll. I looked on the site, but couldn't find it. > > Do they need to provide source for cygwin1.dll if they are not > distributing cygwin1.dll? > > (Should this thread

FontForge

2005-04-22 Thread Lapo Luchini
I just downloaded the cygwin-binary from http://fontforge.sourceforge.net/ Awesome. Simply awesome. Just to let you know it exists, it works and it works DAMN FINE! ;-) -- Lapo Luchini [EMAIL PROTECTED] (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- Unsubscribe info:

Re: possible DLL license violations

2005-04-22 Thread David Rothenberger
On 4/22/2005 10:56 AM, David Rothenberger wrote: On 4/22/2005 8:52 AM, David Rothenberger wrote: I ran across a tool called "Trader's Little Helper" at [url removed because it trips the cygwin spam filter] that includes the cygwin1.dll, but doesn't provide source code. Even worse, it puts cygwin1.d