> Sorry, but I really don't know how to help here. I can't reproduce
> the problem and apparently nobody else can.
Fair enough. Let's see if someone else comments on this.
I'm thinking about Perhaps I'll get time to write a plain WinAPI app
which repros this and then ask MS.
--
Best regards,
Y
Corinna,
> or it's the native NT equivalent NtQueryInformationFile function
> with the FileStandardInformation info class. Cygwin uses the latter.
My idea was that this was a known error but I did not find anything
useful in google.
> Is it possible that some kind of virus checker influences th
Corinna,
> the problem is obviously that your remote filesystem returns 0 as the current
> file size.
Which WinAPI does that? I can try searching it.
> What OS are your remote filesystems running on?
That's Windows Server 2008 SP1.
--
Best regards,
Yuri
--
Problem reports: http://cygw
Corinna,
> No, it doesn't change that often. 1.7.9 is actually a year old,
> though. Updating *might* help.
>
> Btw., assuming you call lseek(fileno(p), SEEK_CUR, 0) rather than
> ftell(p), what position does it return?
I have rewritten my program to use only low-level API (open, write,
lseek)
> No. In my examples ./test.bin and
> //this-machine/c\$/cygwin/home/corinna/test.bin refer to the same file,
> //other-machine/c\$/cygwin/home/corinna/test.bin is a file on another
> machine.
Hm, I'm out of clues then. These machines have very simple setups and
I did not find any app from Cygwin
Corinna,
Is your $HOME shared across all your nodes? Can you try running on c$/test.bin?
On Sun, Mar 18, 2012 at 8:41 PM, Yuri Gribov wrote:
> Corinna,
>
> Thanks for your answer!
>
>> Wrong style.
>
> Yeah, I know but it worked this time and it's so handy to
Hi all,
I have recently ran into a problem with Cygwin accessing files located
in shared folders. The attached program does fwrite() and then checks
file size with ftell(). Ftell() returns correct results in any of
following situations:
1) I access local file: c:/test.bin
2) I access file via UNC-
Corinna,
> did you read my replies to your original mail?
I was not subscribed to the list so I was not receiving your emails
(you'll probably want to "Reply all" next time...).
Thanks a lot for your help! When does this change go to official
cygwin1.dll? I don't dare to build Cygwin myself...
> I have some problems with gethostid functions.
I have checked the implementation of gethostid in syscalls.cc - it
seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I
checked GUIDs of my machines and they are clearly different so this is
not the reason for error. No idea what's
Hi all,
I have some problems with gethostid functions. When I run it on some
nodes of my cluster I get the same return value although hostnames and
IP addresses are different. Here are the logs for 2 nodes (test
program is in the attach, as well as cygcheck output).
C:\Users\gribov.y>\\s-cw-head\
Christopher,
> So, if /bin/sh is not available then system() won't work.
Thank you, that's precisely what I needed (you could just reply "man
system", that would be enough).
> Also note that if you are planning on making a program which is distributed
> independent of Cygwin
FYI I am installin
Hi all,
Perhaps this is very basic but I was not able to find the answer in faq/docs.
Attached is a nice small program which does system("cmd /?"); The call
works pretty well when I run it from Cygwin environment. In my
situation I need to run standalone Cygwin programs (i.e. simply from
Windows
Dave,
Thank you for your help.
--
С уважением,
Юрий
Just a note: I tried googling for this error but didn't find anything helpful.
--
Best regards,
Yuri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com
14 matches
Mail list logo