Defect report: ENOTSOCK on close

2008-01-15 Thread Christopher Yeleigton
Summary: Unexpected error ENOTSOCK upon closing filedes[0] obtained via socketpair Test case: #include #include #include int main(int argc, char *argv[]) { auto int a_fd[02]; if(socketpair(AF_LOCAL, SOCK_STREAM, 0, a_fd)) perror("socketpair"); else { auto int an_ix = 0; for(; an_ix < 02; ++a

RE: Environment variables in bash don't get set from scripts

2008-01-15 Thread Thorsten Kampe
* Dixon, Scott (Mon, 14 Jan 2008 18:23:36 -0800) > Huh; the 'startxwin.bat' script uses "SET": > > @echo off > SET DISPLAY=127.0.0.1:0.0 *sigh* it's startxwin.bat not startxwin.sh... Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwi

Re: 1.5.25-7: make -v command does not work

2008-01-15 Thread Rade . Ognjanovic
Dear Marco, The "make -v" command is now working after I followed your suggestion to install the missing cygintl-3.dll. Thanks again. Rade == Innoval Technology Limited Registration Number: 4583982 in England and Wales VAT Number: GB 811 9811 35 -- Un

Re: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed mounts

2008-01-15 Thread Corinna Vinschen
On Jan 14 16:41, Nicholas Wourms wrote: > Hi All, > > I'm not sure when this cropped up, but it happened sometime after the > great "win 9x" code purge. The problem is that the Cygwin dll no longer > decodes or encodes file/directory names on managed mounts. File handling in CVS HEAD is work in p

Re: IMAP/POP3 Support

2008-01-15 Thread Jaspreet Singh
I compiled dovecot but no good. Dovecot does not start. it says dovecot: Jan 15 15:17:03 Info: Dovecot v1.0.10 starting up dovecot: Jan 15 15:17:03 Error: Auth process died too early - shutting down where /usr/local/libexec/dovecot/dovecot-auth says dovecot-auth: Fatal: You'll need to add at lea

Re: Defect report: ENOTSOCK on close

2008-01-15 Thread Corinna Vinschen
On Jan 15 09:19, Christopher Yeleigton wrote: > Summary: > Unexpected error ENOTSOCK upon closing filedes[0] obtained via socketpair > > Test case: > > #include > #include > #include > > int main(int argc, char *argv[]) > { > auto int a_fd[02]; > if(socketpair(AF_LOCAL, SOCK_STREAM, 0, a_fd)) >

Re: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed

2008-01-15 Thread Jeff
On Mon, 14 Jan 2008 21:11:00 -0600, "Gary R[dot] Van Sickle" wrote: >> From: Dave Korn >> Sent: Monday, January 14, 2008 8:25 PM >> Subject: RE: [1.7.0 HEAD]: Cygwin no longer encoding/decoding >> names on managed mounts >> >> On 14 January 2008 21:41, Nicholas Wourms wrote: >> >> > I'm not su

Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22

2008-01-15 Thread Roland Schwingel
Hi... Well... I am a late converter I know... But I am in the progress of doing so. I am still running cygwin 1.3.22 and now setted up 1.5.25-7 but encountered a problem with cp when working on a folder (hosted on a samba share on a linux box) containing a symlink. My $CYGWIN is in both case

Re: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed mounts

2008-01-15 Thread Nicholas Wourms
Corinna Vinschen wrote: > On Jan 14 16:41, Nicholas Wourms wrote: >> Hi All, >> >> I'm not sure when this cropped up, but it happened sometime after the >> great "win 9x" code purge. The problem is that the Cygwin dll no longer >> decodes or encodes file/directory names on managed mounts. > > File

Re: Environment variables in bash don't get set from scripts

2008-01-15 Thread Andry
Hello cygwin, >I'm using cygwin on XP Pro and was having no issues untill I updated some dev >pacakages the other day. Now none of my shell scripts are able to SET >environment variables for a session. I can "export foo=something" but my >scripts can't "SET foo something". Any -deas? Thanks >-s

Re: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22

2008-01-15 Thread Corinna Vinschen
On Jan 15 13:21, Roland Schwingel wrote: > Receipe to reproduce: > > 1. Login to your linux box in your homeaccount. > 2. mkdir -p ~/tmp/test > 3. cd ~/tmp/test > 4. mkdir subdir > 5. ln -s subdir symlink > 6. logout > 7. Start cygwin 1.3.22 > 8. cp -rp //server/share/path/to/your/home/tmp/test /tm

Re: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22

2008-01-15 Thread Corinna Vinschen
On Jan 15 15:03, Corinna Vinschen wrote: > On Jan 15 13:21, Roland Schwingel wrote: > > [...] > > 11. cp -rp //server/share/path/to/your/home/tmp/test /tmp > > 12. Error message appears: > > > > cp: will not create hard link: '/tmp/test/symlink' to directory > > '/tmp/test/subdir' > > > > Obviousl

Re: can't access c: drive in cygwin

2008-01-15 Thread Larry Hall (Cygwin)
Shaun Smiley wrote: Cygwin has stopped accessing the C: drive like it used to. When I open cygwin bash, I can access \cygdrive\c\documents and settings\shaun just fine. But, there should be a lot more folders and files under \cygdrive. In fact, that particular folder is the only thing that com

can't access c: drive in cygwin

2008-01-15 Thread Shaun Smiley
Cygwin has stopped accessing the C: drive like it used to. When I open cygwin bash, I can access \cygdrive\c\documents and settings\shaun just fine. But, there should be a lot more folders and files under \cygdrive. In fact, that particular folder is the only thing that comes up. No other file

Re: 'read -p' in ash

2008-01-15 Thread Jerry D. Hedden
> According to its man page, 'ash' supports the '-p' option > on 'read'. However, the following: > > #!/bin/ash > read -p'Hit to exit: ' x > > produces: > > read: Illegal option -p > > Is this a bug, or am I doing something wrong? Delving into the source, it appears that 'ash' was built wi

'read -p' in ash

2008-01-15 Thread Jerry D. Hedden
According to its man page, 'ash' supports the '-p' option on 'read'. However, the following: #!/bin/ash read -p'Hit to exit: ' x produces: read: Illegal option -p Is this a bug, or am I doing something wrong? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22

2008-01-15 Thread Roland Schwingel
Hi... Corrina Vinschen wrote on 15.01.2008 15:03:40: > Here's the reason: > [...] Thanks for the reply and the insight! > Maybe the smb.conf setting "follow symlinks = no" is an option for you? Unfortunately not. This won't help me as I use the symlinks to make certain things outside the scope o

bash stackdump

2008-01-15 Thread Fergus
Recently on my work machine at Cygwin startup I am getting repeated bash.exe.stackdump's of the form: 11 [unknown (0xF88)] bash 3036 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION This phenomenon immediately followed a Vista update on 12/12/2007 managed by Windows. Cygwin contin

Re: Wrongfully compiled code

2008-01-15 Thread Václav Haisman
ariga masahiro wrote, On 15.1.2008 1:51: Hello, I am trying to port eCos into my target on Cygwin environment. I am encountered next wrongfully compiled code and I am very in deep trouble. It happens when sending back TCP SYN-ACK packet to peer, and it happens in packages\net\bsd_tcpip\curr

RE: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed

2008-01-15 Thread Gary R. Van Sickle
> From: Jeff > Sent: Tuesday, January 15, 2008 4:00 AM > Subject: Re: [1.7.0 HEAD]: Cygwin no longer encoding/decoding > names on managed [snip] > >Managed mounts? They're intended to handle names with > things like ":" > >in them, which will choke Windows no matter what year is in its name.

Re: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22

2008-01-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 1/15/2008 7:32 AM: |> 8808978157900 drwxr-xr-x 1 corinna root 0 Jan 15 14:46 subdir |> 8808978157900 drwxr-xr-x 1 corinna root 0 Jan 15 14:46 symlink |> [...] |> I have no idea why Samba doesn't return the correct i-no

Re: can't access c: drive in cygwin

2008-01-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Shaun Smiley on 1/15/2008 8:03 AM: | Cygwin has stopped accessing the C: drive like it used to. When I open | cygwin bash, I can access \cygdrive\c\documents and settings\shaun just | fine. Are you sure? The correct spelling is /cygdr

Re: 'read -p' in ash

2008-01-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jerry D. Hedden on 1/15/2008 8:35 AM: | According to its man page, 'ash' supports the '-p' option on 'read'. | | Is this a bug, or am I doing something wrong? Cygwin's ash is notoriously out-of-date and non-POSIX compliant. For almost a

Cannot install cscope in cygwin

2008-01-15 Thread Pham D. Loc
Hi - I started using cygwin and trying to install cscope on WinXP but i couldn't get pass the first step running configure. The cscope I've download is version 15.6. When I tried to run configure, I get the following error messages: [EMAIL PROTECTED] /cygdrive/d/Program Files/cscope/cscope-

Re: Cannot install cscope in cygwin

2008-01-15 Thread Gary Johnson
On 2008-01-15, Pham D. Loc wrote: > Hi - > > I started using cygwin and trying to install cscope on WinXP but i > couldn't get pass the first step running configure. The cscope > I've download is version 15.6. When I tried to run configure, I > get the following error messages: > > > > [EM