Re: mktime() fails to return

2005-03-11 Thread Corinna Vinschen
On Mar 10 15:52, Brian Dessent wrote: > Rich Natale wrote: > > I have two computers running XP Pro sp2. One has the cygwin development > > environment installed. I created and tested an application on the > > development computer which uses mktime(), and it works fine. I then > > moved the executab

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Corinna Vinschen
On Mar 10 20:44, Igor Pechtchanski wrote: > Hi, > > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. Some perl > script uses the "-r" test to chech whether a directory is readable. It > fails on the following directory: > > $ perl -e 'exit !(-r $ARGV[0])' /cygdrive/c/Program\ Files/Thi

Re: UNC within the PATH

2005-03-11 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: I've been messing around with a PATH like this: PATH=;\\machine\share I then place bash scripts in \\machine\share\ts1.sh and in c:\ts2.sh ts1.sh & ts2.sh look like this: #!/bin/sh echo "hello world" Finally I created a file association for the extension .sh so that it

Re: Possible bug in gas/ld when using .linkonce

2005-03-11 Thread Pavel Tsekov
On Fri, 11 Mar 2005, Danny Smith wrote: > I don't think your usage of .linkonce in your example is quite corect. > > In PECOFF, each linkonce symbol needs to have its own unique section. When > you > try to put more than one linkonce symbol into a section you get problems like > those mentioned

Re: ghostscript/fontconfig issues, freetype

2005-03-11 Thread Rajesh Balakrishnan
--- Bertalan Fodor wrote: > Hello, > > I've found the following bugs/issues about the ghostscript and > fontconfig packages and their cooperation: > - fontconfig segfaults with old fonts in ghostscript (hr*), because they > are buggy. AFAIK other ghostscript distributions do not contain them fo

Re: sshd and latest cvs: ssh_exchange_identification: read: Connection reset by peer

2005-03-11 Thread Pavel Tsekov
Hello, On Thu, 10 Mar 2005, Pavel Tsekov wrote: > With cygwin1.dll built from like 1 hour ago trying to connect to my Cygwin > machine from a linux machine always fail like this: > > ssh_exchange_identification: read: Connection reset by peer Just for the record - I've just refreshed my local so

pinfo.h crash (#)

2005-03-11 Thread David Dindorp
Description: Bash crashes and leaves a stack dump file. Wanted: Help debugging, information, hints. Application: bash.exe, pid 2716, thread main Crash location: /netrel/src/cygwin-snapshot-20050309-1/winsup/cygwin/pinfo.h:178 Exception: STATUS_ACCESS_VIOLATION at eip=61056EBC in pinf

Re: Issue with lpr in cygwin 1.5.13-1

2005-03-11 Thread Corinna Vinschen
On Mar 11 02:34, Charles Wilson wrote: > Corinna Vinschen wrote: > > >Chuck, could you have a look into that? I'm not at all familar with > >lpr and I guess neither is cgf. > > Not until next week sometime. Sorry...busy busy busy. Hence 2:30am > posting. Never mind, it's definitely a Cygwin

RE: pinfo.h crash (#)

2005-03-11 Thread Dave Korn
Original Message >From: David Dindorp >Sent: 11 March 2005 12:23 > Description: > Bash crashes and leaves a stack dump file. > > Wanted: > Help debugging, information, hints. > Crash location: > /netrel/src/cygwin-snapshot-20050309-1/winsup/cygwin/pinfo.h:178 Here's how to find

Re: running at jobs

2005-03-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ravi Ram on 3/10/2005 8:06 PM: > is there a linux equivalent of at in cygwin. if so how do i use it. > I have a Makefile which i can run it stand alone but couldn't get it > working with cron. `at' is required by POSIX, but I don't know o

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Pat Kane
Ricardo, I understand your problem with a slow link. Does anyone know where the source to "setup.exe" is kept? Sometimes, if I just want to make sure I have the latest version of something I avoid "setup.exe" and ftp the file directly from one of my favorite mirrors. For example , to see wha

Re: disk not seen after adminstrative re-install

2005-03-11 Thread François-David Collin
On Thu, 10 Mar 2005 21:57:04 +0100, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Mar 10 10:30, Chris Winne wrote: > > --- Corinna Vinschen <[EMAIL PROTECTED]> > > wrote: > > > > > If you can still reproduce the behaviour, please > > > drop "notraverse" > > > from the CYGWIN variable again and c

Re: disk not seen after adminstrative re-install

2005-03-11 Thread François-David Collin
On Fri, 11 Mar 2005 15:47:06 +0100, François-David Collin <[EMAIL PROTECTED]> wrote: > On Thu, 10 Mar 2005 21:57:04 +0100, Corinna Vinschen > <[EMAIL PROTECTED]> wrote: > > On Mar 10 10:30, Chris Winne wrote: > > > --- Corinna Vinschen <[EMAIL PROTECTED]> > > > wrote: > > > > > > > If you can still

Re: running at jobs

2005-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 06:45:44AM -0700, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Ravi Ram on 3/10/2005 8:06 PM: >> is there a linux equivalent of at in cygwin. if so how do i use it. >> I have a Makefile which i can run it stand alone but couldn't get it >

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 07:47:17AM -0600, Pat Kane wrote: >Does anyone know where the source to "setup.exe" is kept? Yes. The cygwin web pages know and google knows. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documen

RE: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 11 March 2005 15:27 > On Fri, Mar 11, 2005 at 07:47:17AM -0600, Pat Kane wrote: >> Does anyone know where the source to "setup.exe" is kept? > > Yes. The cygwin web pages know and google knows. I know too! cheers, DaveK --

gcc/ ld/ Mixing C++ objects from gcc and msvc : possible link ?

2005-03-11 Thread RzR www.rzr.online.fr
> > A foo.lib can be used interchangeably with a libfoo.a file. Except Yea I did not realize that was just a convention (I was also confused on cygwin : .so vs .dll) > > for the well-documented and frequently repeated problems with C++ > > name mangling, and the even more repeated problems with

Re: /proc//exe points to void

2005-03-11 Thread Sam Steingold
> * Corinna Vinschen <[EMAIL PROTECTED]> [2005-03-10 23:00:45 +0100]: > > On Mar 10 16:00, Sam Steingold wrote: >> /proc//exe points to "foo", not to "foo.exe", so it cannot be >> opened &c. > > how do I find out which file is running if /proc//exe cannot be opened? if open

Re: /proc//exe points to void

2005-03-11 Thread Corinna Vinschen
On Mar 11 10:57, Sam Steingold wrote: > > * Corinna Vinschen <[EMAIL PROTECTED]> [2005-03-10 23:00:45 +0100]: > > > > On Mar 10 16:00, Sam Steingold wrote: > >> /proc//exe points to "foo", not to "foo.exe", so it cannot be > >> opened &c. > > > > > > how do I find out which f

Re: gcc/ ld/ Mixing C++ objects from gcc and msvc : possible link ?

2005-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 04:37:36PM +0100, RzR www.rzr.online.fr wrote: >> > A foo.lib can be used interchangeably with a libfoo.a file. Except >Yea I did not realize that was just a convention (I was also confused >on cygwin : .so vs .dll) > >> > for the well-documented and frequently repeated pr

Re: disk not seen after adminstrative re-install

2005-03-11 Thread Chris Winne
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > What means "without fail"? without notraverse, drive e is never mounted. It is always mounted with notraverse as environmental variable. > Could you please generate an strace of df instead of mount? I have attached 3 traces... 1) df1.trace fr

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Igor Pechtchanski
On Thu, 10 Mar 2005, Christopher Faylor wrote: > On Fri, Mar 11, 2005 at 12:57:00AM -0300, Ricardo Fodra wrote: > >Does setup have to download mirrors.lst and setup.bz2 every time? > >Can't it compare the date of the files on the server and on the > >computer? I have a dial up connection and I ca

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 11:45:24AM -0500, Igor Pechtchanski wrote: >On Thu, 10 Mar 2005, Christopher Faylor wrote: >>On Fri, Mar 11, 2005 at 12:57:00AM -0300, Ricardo Fodra wrote: >>>Does setup have to download mirrors.lst and setup.bz2 every time? >>>Can't it compare the date of the files on the s

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Igor Pechtchanski
On Fri, 11 Mar 2005, Christopher Faylor wrote: > On Fri, Mar 11, 2005 at 11:45:24AM -0500, Igor Pechtchanski wrote: > >On Thu, 10 Mar 2005, Christopher Faylor wrote: > >>On Fri, Mar 11, 2005 at 12:57:00AM -0300, Ricardo Fodra wrote: > >>>Does setup have to download mirrors.lst and setup.bz2 every

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Igor Pechtchanski
On Fri, 11 Mar 2005, Corinna Vinschen wrote: > On Mar 10 20:44, Igor Pechtchanski wrote: > > Hi, > > > > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. > > [snip] > > $ perl -e 'exit !(-r $ARGV[0])' /cygdrive/c/Program\ > > Files/ThinkPad/Utilities && echo "yep" > > $ test -r /cygdrive

[ANNOUNCEMENT] Updated: keychain-2.5.3.1-1

2005-03-11 Thread Hack Kampbjorn
DESCRIPTION: Keychain is an OpenSSH key manager, typically run from ~/.bash_profile. When run, it will make sure ssh-agent is running; if not, it will start ssh-agent. It will redirect ssh-agent's output to ~/.ssh-agent, so that cron jobs that need to use ssh-agent keys can simply source this file

Problems starting SSHD

2005-03-11 Thread Jeff Silverman
Hi. I am using cygwin for the first time and I am having troubles starting the sshd. Ssh and scp work fine. Everything else I have tried (ls, vi, bash) also seem to work well. It makes no difference if I start it using the services manager or the net start sshd command. If I try running i

Re: Problems starting SSHD

2005-03-11 Thread Igor Pechtchanski
On Fri, 11 Mar 2005, Jeff Silverman wrote: sshd : PID 1696 : starting service `sshd' failed: execv: 1, Operation not permitted. Try running cygcheck /usr/sbin/sshd.exe | sed -ne 's,\\,/,g' -e '/cygwin/p' | \ xargs cygpath -u | xargs echo chmod a+x (as is, on 2 lines -- just cut-and-paste to your

Re: Problems starting SSHD

2005-03-11 Thread Igor Pechtchanski
On Fri, 11 Mar 2005, Igor Pechtchanski wrote: > On Fri, 11 Mar 2005, Jeff Silverman wrote: > > > sshd : PID 1696 : starting service `sshd' failed: execv: 1, Operation > > not permitted. > > Try running > > cygcheck /usr/sbin/sshd.exe | sed -ne 's,\\,/,g' -e '/cygwin/p' | \ > xargs cygpath -u | x

[Fwd: cygcheck.out - setup failed]

2005-03-11 Thread Paul Campbell
1. Default installation hung at 98%. 2. Attempted reinstall 3. Hung again 4. removed the cygwin directory tried again 5. hung again 6. regedit used to remove software/cygwin 7. hung again Seems like allways at: /etc/postinstall/update-info-dir.sh 8. Checked FAQs and archive but did not see a match

RE: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Pat Kane
>> Yes. The cygwin web pages know and google knows. >I know too! I know too, now that Igor posted the link to that patch. Google is my friend, but Igor has a better user interface :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pro

RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Jason Pearce
Here is a link to a compiled version of my patch from a few days ago. While I can't imagine what could go wrong, I dont have any detailed knowledge of setup.exe and I have not tested this compile very thoroughtly yet! (ie you have been warned, but use if it helps). http://www.btinternet.com/~jas

Re: types "quad_t" & "u_quad_t"

2005-03-11 Thread Hannu E K Nevalainen
On Tue, 2005-03-08 at 15:38 -0800, Brian Dessent wrote: > Hannu E K Nevalainen wrote: > > > $ cat >>.profile < > > > function od() { > > if [ -r "$1" ] ;then replace with: if [ -z "$1" ] || [ -r "$1" ] ; then for pipe-functionality using my special arguments. ...or rebuild this with "cas

Re: Problems starting SSHD

2005-03-11 Thread Jeff Silverman
Igor Pechtchanski wrote: On Fri, 11 Mar 2005, Igor Pechtchanski wrote: On Fri, 11 Mar 2005, Jeff Silverman wrote: sshd : PID 1696 : starting service `sshd' failed: execv: 1, Operation not permitted. Here's the "real" incantation: cygcheck /usr/sbin/sshd.exe | sed -ne 's,\\,/,g' -e '/

gcc --mno-cygwin -l crypt

2005-03-11 Thread Sam Steingold
"gcc --mno-cygwin -l crypt" links with cygwin libcrypt (instead of not finding a loibcrypt). this means that AC_SEARCH_LIBS(crypt, crypt) finds crypt and the resulting binary, even though linked with "gcc --mno-cygwin", is _not_ cygwin-free. -- Sam Steingold (http://www.podval.org/~sds) running w

Re: pinfo.h crash (#)

2005-03-11 Thread David Dindorp
Dave, can't thank you enough for your kind help. I built a bash 2.05b-17 with debugging symbols, that helps a lot in the stack trace dept. For some reason, the debugging version crashed right away - here's the updated stack trace. Cut in two, otherwise my mailer would molest it. (Not sure if I s

Re: gcc/ ld/ Mixing C++ objects from gcc and msvc : possible link ?

2005-03-11 Thread Jonathan Arnold
RzR www.rzr.online.fr wrote: But for C++ names, I doubt GCC can write a compatible MSVC "library stub" ( XYZ.lib that goes along XYZ.dll, not a static one : libXYZ.lib ) Maybe runtime linking with a dll is possible ... I am investigating on this... Right, C++ name mangling breaks any kind of hope

Re: [Fwd: cygcheck.out - setup failed]

2005-03-11 Thread Christopher Faylor
On Fri, Mar 11, 2005 at 10:34:43AM -0800, Paul Campbell wrote: >1. Default installation hung at 98%. Try grabbing the newest version of setup.exe. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:

Re: types "quad_t" & "u_quad_t"

2005-03-11 Thread Brian Dessent
Hannu E K Nevalainen wrote: > Note 1: You stripped out the - i.e. my note to you that > there likely was things that didn't work as you would have expected. > > Note 2: > Did you find the behavior you pointed out hard to change? I didn't. > > And last: You got what you paid for as usual. Um, I

problem mixing C++ exceptions and setjmp/longjmp

2005-03-11 Thread John W. Eaton
I believe the following program should print main: calling doit doit: calling toit toit: throwing exception toit: caught exception, longjumping doit: longjump landed, throwing exception main: caught exception but on the current Cygwin (updated today) using the 1.5.13-1 cygwin.dll and

Re: Emacs 21.3.50

2005-03-11 Thread Ehud Karni
On Thu, 10 Mar 2005 09:14:56 -0500, Joe Buehler wrote: > > 21.4 was recently released but is supposedly just a bugfix release, > so I have no immediate plans to release a copy. It may not even > be easily doable since it probably does not have the Cygwin port > applied to it. Emacs 21.4 is differ

Re: disk not seen after adminstrative re-install

2005-03-11 Thread Corinna Vinschen
On Mar 11 08:39, Chris Winne wrote: > This one gives some information on e:/ > > 3) df2.trace from: "strace -o df2.trace df" after the > above mount. Yes, too bad. The only useful information in the strace is the fact that GetVolumeInformation fails with "permission denied". Could you please s

Re: disk not seen after adminstrative re-install

2005-03-11 Thread Corinna Vinschen
On Mar 11 15:49, Fran?ois-David Collin wrote: > without "notraverse" : > Filesystem 1K-blocks Used Available Use% Mounted on > df: `/usr/X11R6/lib/X11/fonts': Permission denied > df: `/usr/bin': Permission denied > df: `/usr/lib': Permission denied > df: `/': Permission denied > g:

Re: Seg Fault while using /dev/clipboard

2005-03-11 Thread Pat Kane
> I just checked in a patch which changes the UINTs to int's as that is > what is actually returned by GetPriorityClipboardFormat. > I assume that will fix this problem. cgf Your patch fixes my problems. Thanks. Pat --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

managed mount and \

2005-03-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there any reason that a managed mount can't treat backslash like it does for non-printing characters, rather than treating it as an alternate spelling of a directory separator? True, there isn't much use in naming a file "foo\\bar", as distinct fro

Re: disk not seen after adminstrative re-install

2005-03-11 Thread Chris Winne
> Could you please send the output of `cacls e:\' to > the list? With notraverse set, both a cygwin window and the dos window (produced with cmd from the run in the start menu), give e:\ Everyone:<0I>F With traverse set, the cygwin window gives, e:\ Access is denied. while we still get "e:\ Ev

Re: RFE: enhance setup.exe to used cached mirrors file

2005-03-11 Thread Max Bowsher
Christopher Faylor wrote: On Fri, Mar 11, 2005 at 11:45:24AM -0500, Igor Pechtchanski wrote: On Thu, 10 Mar 2005, Christopher Faylor wrote: On Fri, Mar 11, 2005 at 12:57:00AM -0300, Ricardo Fodra wrote: Does setup have to download mirrors.lst and setup.bz2 every time? Can't it compare the date of t

Re: [Fwd: cygcheck.out - setup failed]

2005-03-11 Thread Paul Campbell
It works correctly with new setup.exe Christopher Faylor wrote: On Fri, Mar 11, 2005 at 10:34:43AM -0800, Paul Campbell wrote: 1. Default installation hung at 98%. Try grabbing the newest version of setup.exe. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem report

cygpath only works if the path presently exists

2005-03-11 Thread Wheeler, Frederick W \(Research\)
I'm a little surprised by this behavior from "cygpath" % cygpath -w "//nsk12650701/share" \\nsk12650701\share % cygpath -w "//nsk12650701/share_does_not_exist" cygpath: error converting "//nsk12650701/share_does_not_exist" - No such host or network path In the first command, the

Re: disk not seen after adminstrative re-install

2005-03-11 Thread Chris Winne
> > In other words, cygwin appears to work properly when > started manually through a dos window, while not > when started by "clicking" on the cygwin icon. Further info on this (I asked someone who knows windows what a dos window was): 1) When the CYGWIN=traverse, in a window started with cyg

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Yitzchak Scott-Thoennes
On Thu, Mar 10, 2005 at 08:44:40PM -0500, Igor Pechtchanski wrote: > Hi, > > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. Some perl > script uses the "-r" test to chech whether a directory is readable. It > fails on the following directory: > > $ perl -e 'exit !(-r $ARGV[0])' /cygd

Re: types "quad_t" & "u_quad_t"

2005-03-11 Thread Hannu E K Nevalainen
On Fri, 2005-03-11 at 12:24 -0800, Brian Dessent wrote: > Hannu E K Nevalainen wrote: > > > Note 1: You stripped out the - i.e. my note to you that > > there likely was things that didn't work as you would have expected. > Um, I have a simple solution (alias od="od -A x -v -t x1z") that I have >

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Igor Pechtchanski
On Fri, 11 Mar 2005, Yitzchak Scott-Thoennes wrote: > On Thu, Mar 10, 2005 at 08:44:40PM -0500, Igor Pechtchanski wrote: > > Hi, > > > > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. > > > > $ perl -e 'exit !(-r $ARGV[0])' /cygdrive/c/Program\ > > Files/ThinkPad/Utilities && echo "yep

Re: Problems starting SSHD

2005-03-11 Thread Jeff Silverman
Dr. Pechtchanski: We solved our little problem with sshd failing to start, thanks to your clues. First, /var/empty must be owned by SYSTEM. Second, /etc/ssh_host_key must be owned by SYSTEM or else protected 644. Protecting it 644 is a bad idea because it compromises security. On the Windows/2

access to network printer and com port blocked after setup.exe

2005-03-11 Thread Paul Blattner
I am in the process of documenting a method of creating minimum Cygwin installation for our group. As a result, to identify a base list of packages, I ran cygcheck -c command to identify all of my packages. I noticed from the list that several: coreutils gettext libiconv w

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Brian Dessent
Igor Pechtchanski wrote: > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. Some perl > script uses the "-r" test to chech whether a directory is readable. It > fails on the following directory: For what it's worth I can't seem to observe this with a directory with similar permissions:

Re: cygpath only works if the path presently exists

2005-03-11 Thread Brian Dessent
"Wheeler, Frederick W (Research)" wrote: > My real concern is converting this //nsk1prn02/c304_p to this > \\nsk1prn02\c304_p. This is a valid win2k printer path that I could pass to > /cygdrive/c/WINNT/system32/print using the /D: option, but cygpath won't > convert it. I don't know if this

Re: Problems starting SSHD

2005-03-11 Thread Brian Dessent
Jeff Silverman wrote: > We solved our little problem with sshd failing to start, thanks to your > clues. > > First, /var/empty must be owned by SYSTEM. Second, /etc/ssh_host_key > must be owned by SYSTEM or else protected 644. Protecting it 644 is a > bad idea because it compromises security. Ar

Re: Problem with the "-r" test in Perl 5.8.6-4

2005-03-11 Thread Yitzchak Scott-Thoennes
On Fri, Mar 11, 2005 at 06:12:58PM -0500, Igor Pechtchanski wrote: > On Fri, 11 Mar 2005, Yitzchak Scott-Thoennes wrote: > > > On Thu, Mar 10, 2005 at 08:44:40PM -0500, Igor Pechtchanski wrote: > > > Hi, > > > > > > I'm having trouble with Perl 5.8.6-4 under Cygwin 1.5.12. > > > > > > $ perl -e 'e

build an executable with .lib created by vc

2005-03-11 Thread Yu-Cheng Chou
Hi, I have a test1.lib created by the microsoft visual c++ compiler. test1.lib contains only one function test1(), which prints out "Hello from test1". The other file I have is main.c, which prints out "Call Test1", call test1 () and prints out "Return Test1". -

g++ & rand() in Cygwin

2005-03-11 Thread Alex Vinokur
-- foo.cpp -- #include #include using namespace std; int main () { cout << rand() << endl; cout << rand() << endl; return 0; } - // g++ version 3.3.3 (cygwin special) $ g++ foo.cpp The program below generates the following output: --- 0 1481765933 ---