lstat() fails intermittently in C program -- what could cause this???

2012-02-18 Thread Leon Vanderploeg
Greetings, I am having problems with intermittent failures of the lstat() inside a C program on several servers running Windows Server 2008R2. The program recursively searches directories and uses lstat() to gather information on each file. The files that fail most often end in .bak, but not alw

RE: Possible Bug (clarification) in Cygwin 1.7.5 -- findfirstfile (and findnextfile) yeild bad cfilename when file names have special characters. Works in cygwin 1.5, fails in 1.7

2011-11-09 Thread Leon Vanderploeg
set in the environment, and what needs to be set in the C code to handle these characters correctly? Your help and assistance is GREATLY appreciated. Leon Leon Vanderploeg Cell 303-877-9654 On Nov 3 17:56, Charles Wilson wrote: > On 11/3/2011 4:48 PM, Leon Vanderploeg wrote: > >

Possible Bug (clarification) in Cygwin 1.7.5 -- findfirstfile (and findnextfile) yeild bad cfilename when file names have special characters. Works in cygwin 1.5, fails in 1.7

2011-11-03 Thread Leon Vanderploeg
printf("character %d is %c\n", i, filename[i] ); printf("character %d is signed int %d, hex %x \n", i, filename[i], filename[i] ); } return(0); } **end of code Leon Vanderploeg Cell

Possible Bug ???

2011-11-01 Thread Leon Vanderploeg
for ( i = 0 ; i < wcslen(filename) ; i++ ) { printf("character %d is %c\n", i, filename[i] ); printf("character %d is signed int %d, hex %x \n", i, filename[i], filename[i] ); } return(

possible bug in stat() -- not working with special characters on 64 bit systems

2011-10-25 Thread Leon Vanderploeg
I have been fighting a problem with a compiled C program and seem to have narrowed it down. When file names contain special characters such as the n with the tilde above it (ñ), stat() works fine on 32 bit machines, but fails on 64 bit machines (both windows 7 and server 2008 R2). At the end of

How To Handle Special Characters in Cygwin, E.G., Trademark Symbol, n with the tilde above it

2011-10-11 Thread Leon Vanderploeg
Greetings, I have recently encountered a problem with accessing files that have special characters in the file names. The special characters include (a couple examples) the trademark symbol and the n with a tilde above it. The recommendation from " http://www.cygwin.com/cygwin-ug-net/using-speci

Compiled Program System Calls Failing Code 127

2011-05-16 Thread Leon Vanderploeg
Greetings, I have a compiled C program that is installed on several servers.  It makes system calls to programs such as rsync, and has worked fine until now.  I recently installed it on two Server 2008R2 boxes, identical hardware.  Both are Cygwin 1.7.9.  C:\cygwin\bin is added to the Windows PATH

Cygwin 1.7.8 on Windows 7 Pro x64 Doesn't See Programs Added to C:\Windows\System32 Directory

2011-04-15 Thread Leon Vanderploeg
Greetings, I recently loaded Windows 7 Pro x64 on my laptop, and installed Cygwin 1.7.8. I run a (GCC Compiled) backup program that calls diskshadow.exe -- which I added to the C:\Windows\System32 directory. The program faults because the shell call can't find the program. The Path variable is

Re: Cygwin Support for Shadow Copies Exposed As Drives?

2011-01-29 Thread Leon Vanderploeg
References: <002b01cbac64$54079040$fc16b0c0$@vaultnow.com> Bump… Leon Vanderploeg Business Data Protection, LLC Cell:  303-877-9654 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc

Re: Cygwin Support for Shadow Copies Exposed As Drives?

2011-01-04 Thread Leon Vanderploeg
ply-to: cygwin at cygwin dot com ---- On 1/3/2011 9:56 AM, Leon Vanderploeg wrote: I have hit a brick wall in the Cygwin 1.7 arena -- shadow copies exposed as drives can no longer be accessed. See http://cygwin.com/ml/cygwin/2009-07/msg00954.html for an example o

Cygwin Support for Shadow Copies Exposed As Drives?

2011-01-03 Thread Leon Vanderploeg
drive to be accessed by a program such as rsync? Thanks in advance, and best regards, Leon Leon Vanderploeg Business Data Protection, LLC Cell: 303-877-9654 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http