Re: Upload: pinfo-0.6.9-1 [Was: Package maintainer list]

2007-08-01 Thread Lapo Luchini
Lapo Luchini wrote: It does indeed need libiconv and libintl, but it currently links them statically. I'll investigate that a bit further and either convince it to use the shared ones or correct the setup.hint. OK, I failed to convince it so far. Given the fact that 5-25 August I will be

Re: Upload: pinfo-0.6.9-1 [Was: Package maintainer list]

2007-08-01 Thread Christopher Faylor
On Wed, Aug 01, 2007 at 07:25:20PM +0200, Lapo Luchini wrote: Lapo Luchini wrote: It does indeed need libiconv and libintl, but it currently links them statically. I'll investigate that a bit further and either convince it to use the shared ones or correct the setup.hint. OK, I failed to

Re: Upload: pinfo-0.6.9-1 [Was: Package maintainer list]

2007-08-01 Thread Lapo Luchini
Christopher Faylor wrote: I'd say this is actually your call. If you are ok with linking them statically, I see no reason why you shouldn't do so. Then I'd say to upload it: the worst it can do is occupy slightly more space on disk. (and I'll have more time to try harder to have next

Re: Upload: pinfo-0.6.9-1 [Was: Package maintainer list]

2007-08-01 Thread Corinna Vinschen
On Aug 1 20:56, Lapo Luchini wrote: http://cyberx.lapo.it/cygwin/pinfo/pinfo-0.6.9-1-src.tar.bz2 http://cyberx.lapo.it/cygwin/pinfo/pinfo-0.6.9-1.tar.bz2 http://cyberx.lapo.it/cygwin/pinfo/setup.hint Uploaded. Thanks for taking over maintainership. Igor? It's that time of year again.

Re: Upload: pinfo-0.6.9-1 [Was: Package maintainer list]

2007-08-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Lapo Luchini on 8/1/2007 11:25 AM: Lapo Luchini wrote: It does indeed need libiconv and libintl, but it currently links them statically. I'll investigate that a bit further and either convince it to use the shared ones or correct the

Re: Simple patch to enable stereo visuals in XWin_GL

2007-08-01 Thread Igor Peshansky
On Fri, 20 Jul 2007, DRC wrote: Hi. I was wondering who maintains the experimental accelerated GLX support in Cygwin/X. I have a simple patch which enables stereo visuals (necessary to support my project, VirtualGL) on systems that support stereo. I'd like to get this patch incorporated

Re: Fw: feedback on a configuration package for X11/ctwm|twm

2007-08-01 Thread Igor Peshansky
On Sun, 22 Jul 2007, John S. Urban wrote: I have had a good number of friends and associates ask for a copy of a directory that sets up and starts X11 with the ctwm or twm window manager for CygWin. Enough so, that I put a copy of the directory into a uuencoded file at cygstart

src/winsup/cygwin ChangeLog smallprint.cc

2007-08-01 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-08-01 07:39:21 Modified files: winsup/cygwin : ChangeLog smallprint.cc Log message: * smallprint.cc (__small_vsprintf): Add format specifier 'W' for PWCHAR arguments. Move wide

src/winsup/cygwin ChangeLog syscalls.cc

2007-08-01 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-08-01 07:52:35 Modified files: winsup/cygwin : ChangeLog syscalls.cc Log message: * syscalls.cc (rename): Use unchanged path_conv in condition. Patches:

src/winsup/cygwin ChangeLog fhandler.cc

2007-08-01 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-08-01 08:36:39 Modified files: winsup/cygwin : ChangeLog fhandler.cc Log message: * fhandler.cc (check_posix_perms): Remove. (fhandler_base::fpathconf): Return value of pc.has_acls

src/winsup/cygwin ChangeLog fhandler_disk_file ...

2007-08-01 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-08-01 12:55:25 Modified files: winsup/cygwin : ChangeLog fhandler_disk_file.cc ntdll.h path.cc path.h Log message: * fhandler_disk_file.cc

src/winsup/cygwin ChangeLog localtime.cc

2007-08-01 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2007-08-01 13:26:56 Modified files: winsup/cygwin : ChangeLog localtime.cc Log message: * localtime.cc (tzsetwall): Don't set TZ. Patches:

is LD_PRELOAD available in cygwin?

2007-08-01 Thread Günther Jedenastik
[EMAIL PROTECTED] using google i found only a few post's about LD_PRELOAD in cygwin concerning patches. Now i'm not sure if the linux-like LD_PRELOAD feature is available in cygwin. What i try to do: using g++ to compile a dll which overload's the open(); glibc system call. Using preload i

Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Claudio Scordino
Hi, I'm trying to compile the Linux kernel using the gcc toolchain of cygwin. This time, I'm trying to compile the kernel for the host machine (x86). I'm using a managed mountpoint (should I mount the mountpoint with the --executable or --text options too ?) and I have installed gcc-core,

Request for running a test application

2007-08-01 Thread Corinna Vinschen
Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. Just please don't send information which is already available. The test

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 17:22, Carlo Florendo wrote: My Drive H: is a Reiserfs system on Linux mounted via windows. The Linux machine runs an old samba 3.0.4 If you've got this already, apologies. I wasn't so clear on what you meant with having tested it on Samba. No worries. Usually Samba returns

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Samuel Thibault
Claudio Scordino, le Wed 01 Aug 2007 11:26:42 +0200, a écrit : 2) make HOST_LOADLIBES=-lintl menuconfig $ make HOST_LOADLIBES=-lintl menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/lxdialog/checklist.o In file included from

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 11:07, Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. [...] I'm looking for -

Re: Request for running a test application

2007-08-01 Thread Carlo Florendo
Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. Just please don't send information which is already

Re: SSHD install problem

2007-08-01 Thread Thorsten Kampe
* Jean-Claude Gervais (Tue, 31 Jul 2007 15:21:35 -0400) Please send the email you sent me to the list... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Samuel Thibault
Claudio Scordino, le Wed 01 Aug 2007 12:01:36 +0200, a écrit : You need libncurses. Cygwin's setup.exe says that libncurses is already installed. You also need the -devel part, of course. Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Claudio Scordino
Samuel Thibault wrote: Claudio Scordino, le Wed 01 Aug 2007 11:26:42 +0200, a écrit : 2) make HOST_LOADLIBES=-lintl menuconfig $ make HOST_LOADLIBES=-lintl menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/lxdialog/checklist.o In file

Re: SSHD install problem

2007-08-01 Thread Jean-Claude Gervais
Thorsten, Thank you very much for trying to help me, I appreciate it. I have tried many different things to get this working including erasing my old cygwin folder and reinstalling cygwin. The instruction you supplied executes without error, but when I try to start the sshd service, it still

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 11:39, Corinna Vinschen wrote: On Aug 1 11:07, Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply

tcsh 6.15.00 TZ environmental variable - unexpected behaviour.

2007-08-01 Thread roger . broadbent
It appears that tcsh treats the TZ environmental variable in a special way - upon entry into tcsh, some commands see TZ as set. Using unsetenv to attempt to unset it is fruitless: bash-3.2$ unset TZ bash-3.2$ printenv TZ bash-3.2$ echo $TZ bash-3.2$ bash -c printenv TZ

Re: SSHD install problem

2007-08-01 Thread Thorsten Kampe
* Jean-Claude Gervais (Wed, 01 Aug 2007 06:44:44 -0400) Thank you very much for trying to help me, I appreciate it. I have tried many different things to get this working including erasing my old cygwin folder and reinstalling cygwin. The instruction you supplied executes without error, but

Re: Request for running a test application

2007-08-01 Thread Angelo Graziosi
Corinna Vinschen wrote: I have a request for help. if you have a drive c and a drive d, just call ./getvolinfo C: ./getvolinfo D: I have HD as C:, DVD burner as D: and a CD burner as E:. The results: $ ./getvolinfo C: Device Type: 7 Characteristics: 20 Volume Name

Problem in building DLL :cannot find -luser32

2007-08-01 Thread syam prasad
I installed gcc 3.4.4 and bale to compile the sources properly using makefiles. Problem I am facing is with DLL. When I tried to build DLL it is giving eerror as /cygdrive/c/cygwin/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status make: *** [prog] Error 1 I searched all the

Re: Request for running a test application

2007-08-01 Thread Saro Engels
Corinna Vinschen schrieb: On Aug 1 11:07, Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. [...] I'm

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 13:44, Saro Engels wrote: I installed the ramdisk from http://www.codeguru.com/cpp/w-p/system/devicedriverdevelopment/article.php/c5789/ which might not be of interest for you but for the list; I attached the output. greetings SE It *is* interesting, thank you. Anybody else

Re: Request for running a test application

2007-08-01 Thread Frank Fesevur
Corinna Vinschen wrote: I'm looking for - Harddisk, CD, DVD over USB Z: is an external USB harddisk. getvolinfo does not seem to work om it. [EMAIL PROTECTED] /cygdrive/d/Software $ ./getvolinfo.exe z: [EMAIL PROTECTED] /cygdrive/d/Software $ ls /cygdrive/z Archief/ Philips User

Re: Request for running a test application

2007-08-01 Thread Saro Engels
Frank Fesevur schrieb: [EMAIL PROTECTED] /cygdrive/d/Software $ ./getvolinfo.exe z: Have you tried ./getvolinfo.exe Z: with capital Z? SE -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Stack traces in own program in cygwin

2007-08-01 Thread Bas Vodde
Hi, I'm working on some unit testing framework and was thinking of building in some functionality for stack traces. I checked what functionality is available and found glibc contains execinfo.h with backtrace which can be used (for linux). For Windows, I use gcc and cygwin. I cannot find

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 13:15, Angelo Graziosi wrote: $ ./getvolinfo D: NO output $ ./getvolinfo E: NO output I forgot to mention that you should put a medium into the drive. However, as I wrote, I'm interested in new information. The file systems you mention are all in my first list of stuff I

Re: Request for running a test application

2007-08-01 Thread Danilo Turina
Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. Just please don't send information which is already

Re: Request for running a test application

2007-08-01 Thread Steve Holden
Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. Just please don't send information which is already

Launching TightVNC over ssh using cygwin

2007-08-01 Thread Daniel Griscom
I'm using TightVNC on a remote windows machine for maintenance purposes, communicating via an ssh tunnel (sshd installed using cygwin). Everything works when I start TightVNC as a Windows service, but I'd like to leave TightVNC turned completely off, and only launch it when I need it. To do

RE: Request for running a test application

2007-08-01 Thread Jörg Schaible
Hi Corinna, following some results for different drives: 1/ An EXT3 volume on an external USB HD mounted with ext2fs driver in *read-only* mode and with ISO-8859-1 charset: $ getvolinfo /mnt/M Device Type: 7 Characteristics: 20 Volume Name: Mobile Serial Number :

Re: Request for running a test application

2007-08-01 Thread Frank Fesevur
Saro Engels wrote: Frank Fesevur schrieb: [EMAIL PROTECTED] /cygdrive/d/Software $ ./getvolinfo.exe z: Have you tried ./getvolinfo.exe Z: with capital Z? Just tried and it does not make any difference. Turn out that when I run it on a local NTFS drive (C:), it gives no result either. It

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 14:51, Frank Fesevur wrote: Saro Engels wrote: Frank Fesevur schrieb: [EMAIL PROTECTED] /cygdrive/d/Software $ ./getvolinfo.exe z: Have you tried ./getvolinfo.exe Z: with capital Z? Just tried and it does not make any difference. Turn out that when I run it on a local

Re: tcsh 6.15.00 TZ environmental variable - unexpected behaviour.

2007-08-01 Thread Corinna Vinschen
On Aug 1 12:09, [EMAIL PROTECTED] wrote: It appears that tcsh treats the TZ environmental variable in a special way - upon entry into tcsh, some commands see TZ as set. Using unsetenv to attempt to unset it is fruitless: bash-3.2$ unset TZ bash-3.2$ printenv TZ bash-3.2$ echo

Re: Launching TightVNC over ssh using cygwin

2007-08-01 Thread Corinna Vinschen
On Aug 1 08:39, Daniel Griscom wrote: I'm using TightVNC on a remote windows machine for maintenance purposes, communicating via an ssh tunnel (sshd installed using cygwin). Everything works when I start TightVNC as a Windows service, but I'd like to leave TightVNC turned completely

Re: Request for running a test application

2007-08-01 Thread Frank Fesevur
Corinna Vinschen wrote: Just tried and it does not make any difference. Turn out that when I run it on a local NTFS drive (C:), it gives no result either. It is session on the console of a Win2003 Server with SP2 logged in Administrator. Weird. Try the attached one instead. It adds error

Re: Request for running a test application

2007-08-01 Thread Angelo Graziosi
Corinna Vinschen wrote: I forgot to mention that you should put a medium into the drive. ^ Obviously! Sorry! Now these are the results: $ ./getvolinfo D:(DVD burner) Device Type: 2

Re: SSHD install problem - SOLVED

2007-08-01 Thread Jean-Claude Gervais
Thank you, Thorsten! That fixed the problem! TERRIFIC! Thanks again! J On Wed, 2007-08-01 at 12:07 +0100, Thorsten Kampe wrote: * Jean-Claude Gervais (Wed, 01 Aug 2007 06:44:44 -0400) Thank you very much for trying to help me, I appreciate it. I have tried many different things to get this

Re: Request for running a test application

2007-08-01 Thread Eric Blake
Corinna Vinschen corinna-cygwin at cygwin.com writes: Weird. Try the attached one instead. It adds error output. On a ClearCase remote mount: $ ./volinfo m: Device Type: 7 Characteristics: 10 Volume Name: CCase Serial Number : 36984713 Max Filenamelength : 255

RE: Request for running a test application

2007-08-01 Thread Bob McConnell
Just out of pure curiosity, does it make any difference if the medium is R or RW? Bob McConnell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angelo Graziosi Sent: Wednesday, August 01, 2007 10:22 AM To: cygwin@cygwin.com Subject: Re: Request

Re: is LD_PRELOAD available in cygwin?

2007-08-01 Thread Brian Dessent
Günther Jedenastik wrote: using g++ to compile a dll which overload's the open(); glibc system call. Using preload i want to load my own dll with my open(); function. using dlsym(); i try to load the glibc open(); function. Cygwin does not use glibc. glibc is Linux-specifc. Q1: is

RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU

2007-08-01 Thread Igor Peshansky
On Wed, 1 Aug 2007, Ernie Coskrey wrote: -Original Message- From: Igor Peshansky On Tue, 31 Jul 2007, Ernie Coskrey wrote: I've run into a problem with cygwin 1.5.20-1 and pdksh 5.2.14. We've got a pdksh.exe process that is spinning, using all the CPU. This scenario

Re: Stack traces in own program in cygwin

2007-08-01 Thread Brian Dessent
Bas Vodde wrote: I'm working on some unit testing framework and was thinking of building in some functionality for stack traces. I checked what functionality is available and found glibc contains execinfo.h with backtrace which can be used (for linux). Yes, that's glibc-specific

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Brian Dessent
Samuel Thibault wrote: Mmm, does this really matter since a kernel uses non-hosted mode? That doesn't really matter when your assembler creates COFF format object files and expects COFF format assembly directives. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Samuel Thibault
Brian Dessent, le Wed 01 Aug 2007 08:41:31 -0700, a écrit : You *are* building a cross compiler, right? Because the native Cygwin gcc will not be usable for building anything linux. Mmm, does this really matter since a kernel uses non-hosted mode? Samuel -- Unsubscribe info:

Re: Linux kernel compilation for x86 on Cygwin

2007-08-01 Thread Brian Dessent
Claudio Scordino wrote: I'm trying to compile the Linux kernel using the gcc toolchain of cygwin. This time, I'm trying to compile the kernel for the host machine (x86). You *are* building a cross compiler, right? Because the native Cygwin gcc will not be usable for building anything linux.

Re: Request for running a test application

2007-08-01 Thread Brian Dessent
Corinna Vinschen wrote: It *is* interesting, thank you. Anybody else running a different ramdisk? Yes. I use Farstone Virtual Hard Drive Pro (a very stupid product name if you ask me, but there you go) and the results are below. I am guessing the bulk of the difference is due to this being

Re: New rename(2) function

2007-08-01 Thread Eric Blake
Corinna wrote: [Bah - gmane can't post to cygwin-devel, so I'm cross-posting (in order to reply now, rather than waiting till when I'm home).] Also, where do you check that rename(a,a) is a successful no-op, as well as rename(a,b) when a and b are hard links to the same inode (perhaps

RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU

2007-08-01 Thread Ernie Coskrey
-Original Message- From: Igor Peshansky On Tue, 31 Jul 2007, Ernie Coskrey wrote: I've run into a problem with cygwin 1.5.20-1 and pdksh 5.2.14. We've got a pdksh.exe process that is spinning, using all the CPU. This scenario is very hard to reproduce, but has happened on

Re: Request for running a test application

2007-08-01 Thread Matthew Woehlke
Corinna Vinschen wrote: I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. [snip] I'm looking for - Remote NFS over SFU NFS

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 08:37, Brian Dessent wrote: Corinna Vinschen wrote: It *is* interesting, thank you. Anybody else running a different ramdisk? Yes. I use Farstone Virtual Hard Drive Pro (a very stupid product name if you ask me, but there you go) and the results are below. I am guessing

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 10:50, Matthew Woehlke wrote: I had to use the 'alternate version' on the other computer I tested with. Yeah, it looks like some OSes don't like to open file or directories with 0 access mode. At least READ_CONTROL is required, apparently. Thanks, Corinna -- Corinna Vinschen

Re: Request for running a test application

2007-08-01 Thread Matthew Woehlke
Corinna Vinschen wrote: On Aug 1 10:50, Matthew Woehlke wrote: I had to use the 'alternate version' on the other computer I tested with. Yeah, it looks like some OSes don't like to open file or directories with 0 access mode. At least READ_CONTROL is required, apparently. That sounds

Re: Request for running a test application

2007-08-01 Thread Brian Dessent
Corinna Vinschen wrote: Can you change the source and see what you get when the native NT filename is only \??\X: instead of \??\X:\ (no trailing backslash)? Without the trailing backslash ZwOpenFile returns STATUS_ACCESS_DENIED (stat = c022). It seems to do that regardless of the drive

The Solution to Ctrl-C problems

2007-08-01 Thread patrickinminneapolis
This isn't exactly a cygwin fix, but this is what worked for my problem. I needed a consoleapp launcher to start up when the machine starts. Then I use ssh to give consolelauncher arguments of what console app to launch Then I use ssh to launch another program I wrote in C# which uses

printf

2007-08-01 Thread Frederich, Eric P21322
Hello guys, I came across this page comparing different implementations of printf. http://www.and.org/vstr/printf_comparison The author says... Note that if you want a portable version of printf() in your code, you are _much_ better off using something that natively parses the format string.

Re: printf

2007-08-01 Thread Brian Dessent
Frederich, Eric P21322 wrote: The author says... Note that if you want a portable version of printf() in your code, you are _much_ better off using something that natively parses the format string. This ensures that you get the same parsing behavior on all platforms I don't know what

Re: Request for running a test application

2007-08-01 Thread Frank Fesevur
At 1-8-2007 15:09, Corinna Vinschen wrote: Weird. Try the attached one instead. It adds error output. This is the output of an USB stick attached to my Siemens Gigaset SX552 ADSL/VoIP modem. Don't know what protocol is used, but I mount it with a NET USE command. $ ./getvolinfo n: Device

RE: cygwin 1.5.20-1, spinning pdksh, 100% CPU

2007-08-01 Thread Ernie Coskrey
-Original Message- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Here's a stack trace of the thread where the spin is occurring. The other threads in the process are quiet - the signal thread is is ReadFile as expected, and the other threads are all in stub routines doing

Re: The Solution to Ctrl-C problems

2007-08-01 Thread Christopher Faylor
On Wed, Aug 01, 2007 at 10:21:48AM -0700, patrickinminneapolis wrote: This isn't exactly a cygwin fix, but this is what worked for my problem. I needed a consoleapp launcher to start up when the machine starts. Then I use ssh to give consolelauncher arguments of what console app to launch Then

Re: unlink()'s not quite POSIX behavior.

2007-08-01 Thread Linda Walsh
Joe Smith wrote: When the file's link count becomes 0 and no process has the file open, the space occupied by the file shall be freed and the file shall no longer Could we at least simulate the behavior by moving the file out of the way (simultaionsly renaming it to something unique), and

Re: is LD_PRELOAD available in cygwin?

2007-08-01 Thread Christopher Faylor
On Wed, Aug 01, 2007 at 08:23:15AM -0700, Brian Dessent wrote: G?nther Jedenastik wrote: using g++ to compile a dll which overload's the open(); glibc system call. Using preload i want to load my own dll with my open(); function. using dlsym(); i try to load the glibc open(); function.

ls command changes directories?

2007-08-01 Thread Li_Adrian
Hello all, So when I type give Cygwin the command, rsh -l administrator xxx.xxx.xxx.xxx ls It lists all the elements in the C:/ drive, which is expected But when I give the command, rsh -l administrator xxx.xxx.xxx.xxx ls /folder_in_c_drive It says the folder cannot be found, but it is clearly

Re: is LD_PRELOAD available in cygwin?

2007-08-01 Thread Brian Dessent
Christopher Faylor wrote: Sorry, Brian, but this isn't correct. LD_PRELOAD has been available for Cygwin for a while. It's not 100% like linux but it is close. You can only override cygwin functions with it but that should work for open(). If this isn't working under cygwin, I'd suspect

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 10:14, Brian Dessent wrote: Corinna Vinschen wrote: Can you change the source and see what you get when the native NT filename is only \??\X: instead of \??\X:\ (no trailing backslash)? Without the trailing backslash ZwOpenFile returns STATUS_ACCESS_DENIED (stat = c022).

Re: ls command changes directories?

2007-08-01 Thread Andrew Louie
C:\folder_on_c actually resides on /cygdrive/c/folder_on_c try rsh -l administrator xxx.xxx.xxx.xxx ls /cygdrive/c/folder_in_c_drive On 8/1/07, [EMAIL PROTECTED] wrote: Hello all, So when I type give Cygwin the command, rsh -l administrator xxx.xxx.xxx.xxx ls It lists all the elements in

Re: ls command changes directories?

2007-08-01 Thread Andrew Louie
Ooops sorry for the top posting, and the e-mail thing, didnt see that your name was your e-mail =( So when I type give Cygwin the command, rsh -l administrator xxx.xxx.xxx.xxx ls It lists all the elements in the C:/ drive, which is expected But when I give the command, rsh -l

Re: Request for running a test application

2007-08-01 Thread Brian Dessent
Corinna Vinschen wrote: Did you use the second incarnation of the test app from http://cygwin.com/ml/cygwin/2007-08/msg00040.html which uses READ_CONTROL instead of an access of 0? If using READ_CONTROL doesn't work either, you could try with GENERIC_READ instead. Ah, I missed that

RE: Request for running a test application

2007-08-01 Thread Long, Phillip GOSS
Corinna Vinschen wrote: Hi, I have a request for help. I need as much different information I can get. To get this information, I'm asking all of you to run the attached test application and return the printed output as reply to this mail. Just please don't send information which is already

Re: Request for running a test application

2007-08-01 Thread Corinna Vinschen
On Aug 1 12:26, Brian Dessent wrote: Corinna Vinschen wrote: Did you use the second incarnation of the test app from http://cygwin.com/ml/cygwin/2007-08/msg00040.html which uses READ_CONTROL instead of an access of 0? If using READ_CONTROL doesn't work either, you could try with

RE: printf

2007-08-01 Thread Frederich, Eric P21322
Brian Dessent Wrote: 1. gcc does not implement a C library, so there is no implementation of any printf in gcc. The C library is separate from gcc, gcc is just the compiler. 2. libiberty is only a portabilty library. It does not implement any actual printf code (it just calls the C

Re: missing declaration for floorl

2007-08-01 Thread Brian Dessent
Fred Hansen wrote: The random nubers package in http://www.agner.org/random/ uses function floorl. It is present in the cygwin g++ library (/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a), but is not declared in any of the header files (cd /usr/include; grep -rI floorl). If I declare it: long

Re: Request for running a test application

2007-08-01 Thread Ross Smith
Here are a few more for you: This is a USB hard drive (NTFS formatted): Device Type: 7 Characteristics: 20 Volume Name: USB HD Serial Number : 483542439 Max Filenamelength : 255 Filesystemname : NTFS Flags : 700ff FILE_CASE_SENSITIVE_SEARCH : TRUE

Re: sys/mman.h missing MCL_CURRENT ...

2007-08-01 Thread Corinna Vinschen
On Aug 1 14:13, Fred Hansen wrote: A program I am trying to port to cygwin does #include sys/mman.h and later calls mlockall, which is defined in mman.h: mlockall(MCL_CURRENT | MCL_FUTURE); HOWEVER, MCL_CURRENT and MCL_FUTURE are undefined. So the build fails. In other systems

Re: printf

2007-08-01 Thread Brian Dessent
Frederich, Eric P21322 wrote: Do vfprintf statements compiled on Cygwin go through libiberty which then calls fprintf, or is there another vfprintf in whatever C library I'm linking against (either Cygwin's or Microsoft's)? No, you're getting confused by libiberty. It is used internally *in*

Re: Request for running a test application

2007-08-01 Thread Thomas Berger
Hi Corinna, Output for a CD burner with a DirectCD / UDF / packet writing formatted CDRW (compression is on) on W2k as drive E:. Device Type: 2 Characteristics: 123 Volume Name: Disk_28 Serial Number : 153278523 Max Filenamelength : 127 Filesystemname : CDUDFRW

Re: Request for running a test application

2007-08-01 Thread Michael Lemke
Here's a SD memory card via a USB card reader: orion ./volinfo.exe l: Device Type: 7 Characteristics: 121 Volume Name: Serial Number : 1899214615 Max Filenamelength : 255 Filesystemname : FAT Flags : 6 FILE_CASE_SENSITIVE_SEARCH : FALSE

Re: Stack traces in own program in cygwin

2007-08-01 Thread Bas Vodde
Hi Brian, Thanks for the reply. Where can I find the cygwin code that unwinds the stack? I might have a look at it anyway :) The problem I have with dbghelp is not whether the DLL is available, but whether the WinSDK is... It would require a header file (which is possible to fake) and a

building lapack with cygwin

2007-08-01 Thread Cezary Sliwa
Hello, I tried to build Lapack 3.1.1 using cygwin. Compilation works fine, but testing reports failures. The g77 flags were -O3 -funroll-all-loops. For gcc 3.3.3 failures are reported by CEV, CVX, CGV, DGV, SGV, ZGV. For gcc 3.4.4 failures are reported by CGV, DGV, SGV, ZGV. As far as the

Re: Re: missing declaration for floorl

2007-08-01 Thread Fred Hansen
Aha. There is no floorl in cygwin. It is too bad that the stub function causes autoconf to believe there IS a floorl. AC_CHECK_FUNCS finds the stub and reports that the function is available. Fred Hansen

Re: Stack traces in own program in cygwin

2007-08-01 Thread Brian Dessent
Bas Vodde wrote: Thanks for the reply. Where can I find the cygwin code that unwinds the stack? I might have a look at it anyway :) Look at class stack_info in winsup/cygwin/exceptions.cc. It's pretty simplistic, and I'm pretty sure it will be rendered totally ineffective by

Re: Stack traces in own program in cygwin

2007-08-01 Thread Christopher Faylor
On Wed, Aug 01, 2007 at 04:31:52PM -0700, Brian Dessent wrote: Bas Vodde wrote: Thanks for the reply. Where can I find the cygwin code that unwinds the stack? I might have a look at it anyway :) Look at class stack_info in winsup/cygwin/exceptions.cc. It's pretty simplistic, and I'm pretty

Re: Re: sys/mman.h missing MCL_CURRENT ...

2007-08-01 Thread Fred Hansen
Sorry. I failed to notice the absence of mlockall from sys/mman.h. Fred Hansen Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ --

Re: missing declaration for floorl

2007-08-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Fred Hansen on 8/1/2007 5:54 PM: Aha. There is no floorl in cygwin. It is too bad that the stub function causes autoconf to believe there IS a floorl. AC_CHECK_FUNCS finds the stub and reports that the function is available. But I

recent CVS compilation issues

2007-08-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am getting the following on WinXP while trying to rebuild cygwin from CVS, ever since Corinna's patch to rename smallprint.cc: http://cygwin.com/ml/cygwin-cvs/2007-q3/msg00076.html. Is anyone else seeing this?

Re: recent CVS compilation issues

2007-08-01 Thread bobby mcnulty
- Original Message - From: Eric Blake [EMAIL PROTECTED] To: cygwin@cygwin.com Sent: Wednesday, August 01, 2007 11:37 PM Subject: recent CVS compilation issues -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am getting the following on WinXP while trying to rebuild cygwin from CVS,