Re: Files with attribute temporary invisible in cygwin

2018-03-12 Thread Pavel Kudrna
On 9/3/2018 21:29, Corinna Vinschen wrote: On Mar 9 21:04, Corinna Vinschen wrote: On Mar 9 14:56, Pavel Kudrna wrote: On 9/3/2018 10:26, Corinna Vinschen wrote: On Mar 9 00:43, Pavel Kudrna wrote: There exist files in windows 7 which can't be deleted using cygwin "rm" comm

Re: Files with attribute temporary invisible in cygwin

2018-03-09 Thread Pavel Kudrna
On 9/3/2018 10:26, Corinna Vinschen wrote: On Mar 9 00:43, Pavel Kudrna wrote: There exist files in windows 7 which can't be deleted using cygwin "rm" command. Files are visible from windows command line or Windows Explorer but are invisible by "ls -lA" command: https://

Files with attribute temporary invisible in cygwin

2018-03-08 Thread Pavel Kudrna
le by rm but visible from windows) and all have the temporary attribute set. Files are invisible/undeletable with ls/rm even from WindowsPE which does not run from C: disk and can not keep those files open. Pavel Kudrna -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-07-07 Thread Pavel Kudrna
Hi all, sorry for late response. I found the solution doing following steps: 1. I removed /etc/postinstall/0p_texlive_prep.dash so setup of unaffected packages (i.e. other than texlive-*) did not stall anymore. 2. I unchecked the "Hide obsolete packages" checkbox in Cygwin Setup and

Re: Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Pavel Kudrna
On 30/06/2016 12:34, Marco Atzeri wrote: On 30/06/2016 11:11, Pavel Kudrna wrote: I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. If I select texlive only the Cygwin Setup finishes successfully, /var/log/setup.log shows 2016/06/30 09:31:01 NOTE

Setup of texlive-collection-basic waits in postinstall/0p_texlive_prep.dash

2016-06-30 Thread Pavel Kudrna
Hi, I have problem installing texlive-collection-basic on 32bit XP. It is not fresh install. If I select texlive only the Cygwin Setup finishes successfully, /var/log/setup.log shows 2016/06/30 09:30:33 Starting cygwin install, version 2.874 2016/06/30 09:30:33 User has backup/restore

Segmentation fault in Tcl_Init()

2012-01-18 Thread Pavel Kudrna
Hi All, I have problem with tcl initialization, see example. Am I doing something wrong? Thanks for help Pavel Kudrna $ cat example.c #include stdio.h #include tcl.h int main(int argc, char * argv[]) { printf(Tcl_CreateInterp()\n); Tcl_Interp * interp = Tcl_CreateInterp(); if (!interp

Re: How to properly set up /etc/passwd and /etc/group

2010-03-02 Thread Pavel Kudrna
I have installed cygwin on many systems but I did not read well the rest of your message. My situation was different and not applicable to that of yours. But did you read http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids? Pavel Kudrna -- Problem reports: http://cygwin.com/problems.html

Re: How to properly set up /etc/passwd and /etc/group

2010-03-01 Thread Pavel Kudrna
. After that minisetup (running under System account) can correct old SID in ACLs also in cygwin directories and question marks disappear. With greetings Pavel Kudrna -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

ACEs for system - sysprep

2010-01-12 Thread Pavel Kudrna
Setup add rights for SYSTEM? With greetings Pavel Kudrna -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: fstream - problem with reading/writing to file

2009-02-20 Thread Pavel Kudrna
standard for low-level stuff like this. Thanks for answer. I should look how it is exactly in C++ because fstream::flush() call between read/write does not help. Pavel Kudrna -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

fstream - problem with reading/writing to file

2009-02-19 Thread Pavel Kudrna
and without seekp() or tellp() the second write of world! to the file fails too. The same program works on linux with gcc 3.2.2. Pavel Kudrna $ cat rw.cpp #include iostream #include fstream using namespace std; int main() { fstream f( file ); f Hello; // f.seekg( 0, fstream::cur ); // cout

Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-13 Thread Pavel Kudrna
Corinna Vinschen wrote: On Jul 12 21:01, Pavel Kudrna wrote: After that change cygwin_conv_to_posix_path() treats all following paths in the same way: c:\ /cygdrive/c c: /cygdrive/c c:\.\ /cygdrive/c/ c:\./cygdrive/c c:.\/cygdrive/c/./ c:. /cygdrive/c/. Before

Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-13 Thread Pavel Kudrna
Corinna Vinschen wrote: On Jul 13 14:19, Pavel Kudrna wrote: Novell client uses paths of type z:. as so called search drives. It is stupid because if works only until you change current dir on that drive. It should use z:\ instead but we can't change it and it works. So the good

Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-12 Thread Pavel Kudrna
:\./cygdrive/c c:.\/cygdrive/c/./ c:. /cygdrive/c/. Before the suggested change last two items were slashified only. Pavel Kudrna -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com

Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-05 Thread Pavel Kudrna
see it much better to convert it according to the contents !C: environment variable. Even in the present time when these variables are without changing inherited between cygwin programs. Pavel Kudrna -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-04 Thread Pavel Kudrna
Larry Hall (Cygwin) wrote: On 07/03/2007, Pavel Kudrna wrote: * /From/: Dave Korn dave dot korn at artimi dot com They are legal, but there's no possible way to convert them to POSIX, which has no notion of a per-drive current directory. Ok, but Cygwin != POSIX :-) Cygwin

RE: bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-03 Thread Pavel Kudrna
current drive. See example and run it from cmd.exe. Pavel Kudrna /* file: envp.c gcc -o envp envp.c */ #include stdio.h int main(int argc,char* argv[], char* envp[]) { char **p; for(p=envp;*p;p++) if (**p=='!') printf( %s\n, *p ); return 0; } C:\Program Files\cygwin\bin cd L:\home\kudrna\test\z C

bug in cygwin_conv_to_posix_path() caused by period in win32 path

2007-07-02 Thread Pavel Kudrna
Hi, the legal win32 paths containing period like c:.\ or c:. are incorrectly converted by cygwin_conv_to_posix_path() to c:./ and c:. respectively. See last two output lines of the attached example program. Pavel Kudrna /* file: parameters.c */ #include stdio.h #include windows.h int main

bash improperly sets PATH containing period

2007-04-03 Thread Pavel Kudrna
Hi, when dos(win32) path contains period, e.g. c:. bash instead of converting to /cygdrive/c incorrectly copies this string into PATH variable including colon! (Such dos path containing period is legal and is used in Novell Client as search drives.) Pavel Kudrna C:\temp path c:\temp;c:.;s

Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Pavel Kudrna
-cygwin the bug is not present and lpCmdLine is ok: 1st parameter 2nd parameter Pavel Kudrna Cygwin Configuration Diagnostics Current System Time: Thu Dec 09 10:50:59 2004 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Cygwin DLL version info: DLL version: 1.5.12DLL epoch: 19

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Pavel Kudrna
Christopher Faylor wrote:// On Thu, Dec 09, 2004 at 12:41:22PM +0100, Pavel Kudrna wrote: The caller of WinMain() incorrectly parses the command line if e.g. the space is present in the path or filename of the executable. The lpCmdLine then contains part of the filename at the beginning

Broken pipe in bison 20030307-1

2003-08-21 Thread Pavel Kudrna
to evaluator.tab.c correctly. With greetings Pavel Kudrna. /* This is the evaluator */ %{ #include math.h /* For math functions, cos(), sin(), etc. */ #include evaluator.h /* Contains definition of `symrec'*/ %} %union { float val; /* For returning numbers