Re: Using authentication under Apache for Cygwin

2003-09-29 Thread S. L.
[...] > # Secure addbug form > > AuthName "permission to add a bug" > AuthType Basic > AuthUserFile /etc/apache/addbug_users > Require valid-user > > > However that fails to work. [...] An "AllowOverride AuthConfig" directive, must also be placed. E.g. Options Indexes Fol

Re: redirection unexpected error

2003-09-29 Thread Igor Pechtchanski
On Mon, 29 Sep 2003, Seth Rubin wrote: > After setting up Cygwin on an XP Home machine, some apps, notably vi and > postgresql, are erroring out with: > > syntax error: redirection unexpected > > Any clue about what to do about this? Thanks. > -- Seth At a guess, you might have an alias that's

Re: problem of cron in cygwin xp

2003-09-29 Thread Igor Pechtchanski
Chunyu, Please do not send Cygwin questions in personal mail unless specifically requested. All discussion of cygwin-related topics should happen on the Cygwin list unless specifically requested otherwise. One of the benefits is that the discussion ends up in the list archives. Another is that

redirection unexpected error

2003-09-29 Thread Seth Rubin
After setting up Cygwin on an XP Home machine, some apps, notably vi and postgresql, are erroring out with: syntax error: redirection unexpected Any clue about what to do about this? Thanks. -- Seth -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: h

Re: Using authentication under Apache for Cygwin

2003-09-29 Thread Andrew DeFaria
Stipe Tolj wrote: With the same non-success. I had cranked up the loglevel in the hopes that something about the failure would be written to the logs but nothing is. How can I debug/fix this? Does Apache for Cygwin do any authentication at all? yes it does (or did ;) at least for a considerable

Re: Using authentication under Apache for Cygwin

2003-09-29 Thread Andrew DeFaria
Stipe Tolj wrote: Now that Apache for Cygwin seems to work more reliably I have started using it as my web server. However authentication (that was working with Apache for Windows) broke. I'm wondering if this is an Apache for Cygwin specific problem. I used to have this implemented at the ser

Re: Setup 2.358 Hangs During Post-Install Script

2003-09-29 Thread Jerry James
Igor wrote: > The XFree86-bin-icons package is buggy. It's basically a postinstall > script that tries to create icons for the X programs that are installed on > your machine. The problem is that it tries to create them in the Start > Menu for "All Users" without checking whether the current use

munmap bug test program

2003-09-29 Thread peter garrone
This test program highlights the recent munmap problem addressed by Corinna. It works with the updated mmap, and with linux, fails on cygwin with the prior mmap. /** * mmap test. * mmaps two chunks of adjacent memory, then munmaps one and a half, * then sees if the remainder is still useable.

gcc-3.2: gcc driver doesn't pick up crt0.a from /usr/lib

2003-09-29 Thread Doru Carastan
Hello, I am facing a gcc-3.2 configuration problem and I would like to ask your opinion about it. I have built an i686-pc-cygwin gcc compiler on Linux using a gcc-3.2 i686-pc-linux-gnu to i686-pc-cygwin cross compiler I have built and installed in $HOME/cygwin. r=$HOME/cygwin i=$HOME/install #

Re: Using authentication under Apache for Cygwin

2003-09-29 Thread Brian Dessent
Andrew DeFaria wrote: > # Secure addbug form > My WAG is that it has something to do with this UNC path. I don't know whether the "//" thing is currently deprecated or not, but I do remember seeing a recent check-in dealing with either removing or re-enabling it, or something like that. Why no

Re: Using authentication under Apache for Cygwin

2003-09-29 Thread Stipe Tolj
> With the same non-success. I had cranked up the loglevel in the hopes > that something about the failure would be written to the logs but > nothing is. How can I debug/fix this? Does Apache for Cygwin do any > authentication at all? yes it does (or did ;) at least for a considerable time. I don'

Re: BSD 4.3 style fd passing

2003-09-29 Thread Christopher Faylor
On Mon, Sep 29, 2003 at 05:26:13PM -0500, Prabhanjan Kambadur wrote: >I was wondering whether BSD 4.3 style fd passing (or any form of FD >passing) is supported in CYGWIN 1.5.5. It is not supported and there are no plans to support it. -- Please use the resources at cygwin.com rather than sending

Re: Using authentication under Apache for Cygwin

2003-09-29 Thread Stipe Tolj
> Now that Apache for Cygwin seems to work more reliably I have started > using it as my web server. However authentication (that was working with > Apache for Windows) broke. I'm wondering if this is an Apache for Cygwin > specific problem. > > I used to have this implemented at the server level

Using authentication under Apache for Cygwin

2003-09-29 Thread Andrew DeFaria
Now that Apache for Cygwin seems to work more reliably I have started using it as my web server. However authentication (that was working with Apache for Windows) broke. I'm wondering if this is an Apache for Cygwin specific problem. I used to have this implemented at the server level in the ht

BSD 4.3 style fd passing

2003-09-29 Thread Prabhanjan Kambadur
Hi, I was wondering whether BSD 4.3 style fd passing (or any form of FD passing) is supported in CYGWIN 1.5.5. I tried a simple test program for this purpose and it looks like fd passing between user processes is not supported. Am I right in thinking so or is there any CYGWIN specific stuff that I

Re: ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Matt Swift
>> "L" == Larry wrote: L> 'ln' and 'mkshortcut' have different behavior for a reason. See L> . L> The difference is why 'mkshortcut' exists. Otherwise, we'd just have L> 'ln' (which is all we had for quite some tim

Re: package list maintainer wanted (was Re: replacement for Elfyn?)

2003-09-29 Thread Peter A. Castro
On Mon, 29 Sep 2003, Christopher Faylor wrote: > On Mon, Sep 29, 2003 at 10:46:51AM +0200, Corinna Vinschen wrote: > >On Sun, Sep 28, 2003 at 12:11:54PM -0400, Christopher Faylor wrote: > >> Do we have any volunteers to replace Elfyn as the keeper of the pending > >> package list and uploader of p

Re: ssh shell's mount table differs from normal shell's

2003-09-29 Thread Larry Hall
At 04:02 PM 9/29/2003, Larry Hall you wrote: >Matt, > >I'll let you look this one up if you're interested in the previous >discussions and details on this subject. > >This is the same old "problem" with ssh that everyone has if they don't >authenticate with Windows (and enter their password).

Re: compiled files under GPL?

2003-09-29 Thread Christopher Faylor
On Mon, Sep 29, 2003 at 04:03:06PM -0500, Brian Ford wrote: >On Fri, 26 Sep 2003, Matthew O. Persico wrote: > >> On Fri, 26 Sep 2003 20:27:36 -0400 (EDT), Igor Pechtchanski wrote: >> >?On Fri, 26 Sep 2003, Brian Ford wrote: >> > >> >>>?Is it true that any application I compile under cygwin's >> >>>

Re: compiled files under GPL?

2003-09-29 Thread Brian Ford
On Fri, 26 Sep 2003, Matthew O. Persico wrote: > On Fri, 26 Sep 2003 20:27:36 -0400 (EDT), Igor Pechtchanski wrote: > > On Fri, 26 Sep 2003, Brian Ford wrote: > > > >>> Is it true that any application I compile under cygwin's > >>> gcc/g++ is automatically under the GPL? Is so I've been doing some

Re: ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Christopher Faylor
On Mon, Sep 29, 2003 at 02:23:23PM -0400, Matt Swift wrote: >The following shell transcript demonstrates that `ln' does not handle >the .exe extension gracefully, like mkshortcut does. Correct. It is not intended to. -- Please use the resources at cygwin.com rather than sending personal email. Sp

Re: ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Larry Hall
At 02:23 PM 9/29/2003, Matt Swift you wrote: > 2) The files "symlink-to-base" "symlink-to-base.exe" should have the > .exe extension silently added to the Windows shortcut target: at > present, the files are not valid Windows shortcuts (they appear > to Windows Explorer as a shortcut,

Re: ssh shell's mount table differs from normal shell's

2003-09-29 Thread Larry Hall
Matt, I'll let you look this one up if you're interested in the previous discussions and details on this subject. This is the same old "problem" with ssh that everyone has if they don't authenticate with Windows (and enter their password). If you don't use password authentication with ssh,

Texinfo 4.6

2003-09-29 Thread Bertalan Fodor
I tried to make texinfo 4.6 (because of a bug in 4.2), but texi2dvi didn't work. Will there be a cygwin release of texinfo 4.6 ? Greetings, Bert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

Re: /usr/bin/su.exe in sh-utils always fails

2003-09-29 Thread Larry Hall
Matt, See the email archives on this one. I suggest you start here: The FAQ may be a little out-of-date on the specifics but the intent is correct. Don't expect 'su' to work even if it exists. Larry At 02:21 PM 9/29/2003, Matt Swift yo

Convert Cygwin shortcuts to Unix symlinks ?

2003-09-29 Thread Frédéric L. W. Meunier
Anybody know how (better if recursively) ? I extracted a tarball under Cygwin and later copied it to a Linux partition. Obviously all Cygwin shortcuts created at extract time are copied, breaking it. -- How to contact me - http://www.pervalidus.net/contact.html -- Unsubscribe info: http://c

/usr/bin/su.exe in sh-utils always fails

2003-09-29 Thread David Starks-Browning
On Monday 29 Sep 03, Matt Swift writes: > The Cygwin FAQ says that there is no `su' command in recent versions > of Cygwin, The sh-utils package, however, currently contains an `su' > command, but it doesn't work. The shell transcript below illustrates > the problem. You have to trust me that I o

ssh shell's mount table differs from normal shell's

2003-09-29 Thread Matt Swift
I do not understand why the Cygwin mount table should be different in the bash shell that I launch with cygwin.bat or rxvt.exe than the mount table I get when I ssh to the host with the same user. The shell transcript below illustrates the difference. The Windows drives H: and S:, which are miss

ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Matt Swift
The following shell transcript demonstrates that `ln' does not handle the .exe extension gracefully, like mkshortcut does. I believe graceful behavior would require the following changes: 1) `ln' would not give the two errors below when trying to create "hardlink-to-base" and "hardlink-to-

/usr/bin/su.exe in sh-utils always fails

2003-09-29 Thread Matt Swift
The Cygwin FAQ says that there is no `su' command in recent versions of Cygwin, The sh-utils package, however, currently contains an `su' command, but it doesn't work. The shell transcript below illustrates the problem. You have to trust me that I offer the same password to `su' as I do to `ssh'.

Re: XFree86-bin-icons

2003-09-29 Thread Harold L Hunt II
[Discussion on this issue is now taking place where it should have in the first place: cygwin-xfree. Please follow the cygwin-xfree mailing list for further posts.] Igor, Okay, that explains why I couldn't find the message in cygwin-xfree. I really wish someone would have redirected the ques

Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0

2003-09-29 Thread Christopher Faylor
On Mon, Sep 29, 2003 at 05:40:38PM +0200, Ronald van Gogh wrote: >I'm running every 10 minutes a bash script with cygwin software to >collect statistics information from a dominoserver. Now this works in >99% of the time, but sometimes the error "d:\cygwin\bin\bash.exe: *** >unable to allocate hea

objdump -CS objfile.o : Segmentation fault (core dumped)

2003-09-29 Thread Alex Vinokur
Hi, I have got "Segmentation fault (core dumped)" working with the objdump utility. Windows 2000 Professional CYGWIN_NT-5.0 1.5.4(0.94/3/2) GNU gcc version 3.3.1 (cygming special) GNU objdump 2.14.90 20030901 Sourc

*** unable to allocate heap, heap_chunk_size 0, Win32 error 0

2003-09-29 Thread Ronald van Gogh
I'm running every 10 minutes a bash script with cygwin software to collect statistics information from a dominoserver. Now this works in 99% of the time, but sometimes the error "d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0" appears. We schedule the scrip

Re: File name completion on symbolic links

2003-09-29 Thread Igor Pechtchanski
On Mon, 29 Sep 2003, Lynn Wilson wrote: > This is a very minor issue and it may be just a Bash problem, but... > > When I use Bash to do file name completion (using Tab) on a DIRECTORY > that is a symlink I do not get the trailing slash '/'. > > If it's a real directory, the TAB results in the com

File name completion on symbolic links

2003-09-29 Thread Lynn Wilson
This is a very minor issue and it may be just a Bash problem, but... When I use Bash to do file name completion (using Tab) on a DIRECTORY that is a symlink I do not get the trailing slash '/'. If it's a real directory, the TAB results in the completion of the directory name with an appended sl

Re: Best way to backup a cygwin installation ?

2003-09-29 Thread Igor Pechtchanski
On Mon, 29 Sep 2003, Igor Pechtchanski wrote: > On Mon, 29 Sep 2003, Olaf Foellinger wrote: > > > Hi, > > > > what is the best way to backup a cygwin installation ? I have a working > > installation here on w2k with a size of appr. 700 MB. I use ntsec and I > > wonder which is the best way: > > >

Re: Best way to backup a cygwin installation ?

2003-09-29 Thread Igor Pechtchanski
On Mon, 29 Sep 2003, Olaf Foellinger wrote: > Hi, > > what is the best way to backup a cygwin installation ? I have a working > installation here on w2k with a size of appr. 700 MB. I use ntsec and I > wonder which is the best way: > > - - copy the file sin windows ? > - - make a tar.gz archive un

[ANNOUNCEMENT] Updated: exim-4.24-1

2003-09-29 Thread Pierre A. Humblet
I have updated Exim, the Mail Transfer Agent, to exim-4.24-1. It is the first stable release since the current 4.22. Changes: - The list of Exim changes appears in and in /usr/share/doc/exim-4.24/NewStuff - Exim can no

package list maintainer wanted (was Re: replacement for Elfyn?)

2003-09-29 Thread Christopher Faylor
On Mon, Sep 29, 2003 at 10:46:51AM +0200, Corinna Vinschen wrote: >On Sun, Sep 28, 2003 at 12:11:54PM -0400, Christopher Faylor wrote: >> Do we have any volunteers to replace Elfyn as the keeper of the pending >> package list and uploader of packages? >> [...] >> Corinna, if you want to keep the ma

Re: gcc 3.3.1 problem

2003-09-29 Thread Gerry Reno
It seems that you aren't supposed to return internal automatic references! :-) The compiler should have warned but didn't. --- Gerry Reno <[EMAIL PROTECTED]> wrote: > I'm having a problem with gcc 3.3.1. Here is a sample program that > demos the problem: > > XYZ * somefunc () { > XYZ

Re: gcc 3.3.1 problem

2003-09-29 Thread Igor Pechtchanski
On Mon, 29 Sep 2003, Gerry Reno wrote: > I'm having a problem with gcc 3.3.1. Here is a sample program that > demos the problem: > > // test.c > #include > #include > > typedef struct abc { > HANDLE h1; > HANDLE h2; > } XYZ; > > XYZ * somefunc () { > XYZ xyz; > XYZ *ptr = &xyz; > >

Re: broken definition of INVALID_FILE_ATTRIBUTES

2003-09-29 Thread Corinna Vinschen
On Mon, Sep 29, 2003 at 12:53:43PM +0200, Varga Zoltan wrote: > I believe the definition of INVALID_FILE_ATTRIBUTES in > /usr/include/w32api/winnt.h is broken: > > #define INVALID_FILE_ATTRIBUTES (DWORD (-1)) Yup, seems wrong. Danny, could you change that?? Thanks for the note, Corinna

Re: does syslog works only for SYSTEM account on w2k?

2003-09-29 Thread Corinna Vinschen
On Mon, Sep 29, 2003 at 07:03:42AM -0500, Scott Bolte wrote: >could you add a > check of return code from ReportEventA()? That might shed > light on the problem. I've added a debug message. Should be in the next developers snapshot. Corinna -- Corinna Vinschen

Best way to backup a cygwin installation ?

2003-09-29 Thread Olaf Foellinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, what is the best way to backup a cygwin installation ? I have a working installation here on w2k with a size of appr. 700 MB. I use ntsec and I wonder which is the best way: - - copy the file sin windows ? - - make a tar.gz archive under cygwin ?

Re: does syslog works only for SYSTEM account on w2k?

2003-09-29 Thread Scott Bolte
> > > It seems like cygwin syslog on w2k, both the logger command the > > syslog(3) routine, works only for the SYSTEM account. Is that true? > > No. Perhaps the users privileges don't allow that? Members of the > group "Users" (or the native analogon) have the appropriate permissions > by defa

Re: cygwin-1.5.4-1 breaks fetchmail on Win9x

2003-09-29 Thread Jason Tishler
Mark, On Sat, Sep 27, 2003 at 01:58:39PM +1000, Mark Ord wrote: > I then updated to cygwin-1.5.4-1, which seems to break fetchmail. > Fetchmail complains about not being able to create the lock file, but > I believe the issue is actually with *removing* the stale lock file > (it doesn't happen):

Re: ipc-daemon2

2003-09-29 Thread Jason Tishler
Rob, On Sun, Sep 28, 2003 at 05:58:45PM -0500, Robert L. Campbell wrote: > here's my problems whith shared memory. > > cygwin 1.5.5-1 > ipc-daemon2 runs from the command line ok. > ipcs -m reports no shared memory in kernel. > ipctest h can't allocate shared memory. Works for me: $ un

broken definition of INVALID_FILE_ATTRIBUTES

2003-09-29 Thread Varga Zoltan
Hi All, I believe the definition of INVALID_FILE_ATTRIBUTES in /usr/include/w32api/winnt.h is broken: #define INVALID_FILE_ATTRIBUTES (DWORD (-1)) It is missing a () around DWORD. To try this out, use the following test program: <

Re: does syslog works only for SYSTEM account on w2k?

2003-09-29 Thread Corinna Vinschen
On Sun, Sep 28, 2003 at 03:16:54PM -0500, Scott Bolte wrote: > It seems like cygwin syslog on w2k, both the logger command the > syslog(3) routine, works only for the SYSTEM account. Is that true? No. Perhaps the users privileges don't allow that? Members of the group "Users" (or the native anal

Re: smbntsec broken for drives shared as different user

2003-09-29 Thread Corinna Vinschen
On Sat, Sep 27, 2003 at 11:35:12AM -0400, Michael Condict wrote: > There are many reasons in Windows why you need to map a shared drive onto > your system by connecting to it with an explicit username and password, different > from the current logged in user. The most important reason is that you

1.5.5-1: ftp: ftp/tcp: unknown service

2003-09-29 Thread Nicolas JEAN
Hi, (cygwin on windows XP SP1) when I tried to run ftp, I've got : > ftp server ftp: ftp/tcp: unknown service I have the same with telnet I tried to change the access right on the file services but nothing change I wrote this little C program: #include main () { struct servent *s; s = ge

Re: Copying stderr to stdout

2003-09-29 Thread Ronald Landheer-Cieslak
On Fri, Sep 26, 2003 at 05:28:16PM +0200, Øyvind Harboe wrote: > I was having a bit of trouble copying stderr to stdout, e.g. > > $ ls 2>&1 lkajsdflkjasdflkj >ll > ls: lkajsdflkjasdflkj: No such file or directory > > I would have expected the error message to end up in "ll". > > If I place "2>&1

[ANNOUNCEMENT] Updated: libxslt-1.0.33-1

2003-09-29 Thread Gerrit P. Haase
Libxslt has been updated. Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is a an XML language to define transformation for XML. Libxslt is based on libxml2 the XML C library developed for the Gnome project. It also implements most of the EXSLT set of processor-portable

RE: gcc 3.3.1 problem

2003-09-29 Thread Jörg Schaible
Hi Gerry, you return a pointer to an object on the stack, that is no longer valid after leaving your function. So any value printed in main is undefined and you can get any result. Regards, Jörg Gerry Reno wrote on Monday, September 29, 2003 9:34 AM: > I'm having a problem with gcc 3.3.1. H

[ANNOUNCEMENT] Updated: libxml2-2.5.11-1

2003-09-29 Thread Gerrit P. Haase
Libxml2 has been updated. Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License. XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structur

gcc 3.3.1 problem

2003-09-29 Thread Gerry Reno
I'm having a problem with gcc 3.3.1. Here is a sample program that demos the problem: // test.c #include #include typedef struct abc { HANDLE h1; HANDLE h2; } XYZ; XYZ * somefunc () { XYZ xyz; XYZ *ptr = &xyz; ptr->h1 = (HANDLE) 99; ptr->h2 = (HANDLE) 88; printf("somefunc: ptr