On 22/09/2015 18:32, Achim Gratz wrote:
Jon Turney writes:
Since we now have scripts which run on every setup run, a package which requires
another package to do some work after it is installed or uninstalled can create
a file to act as a trigger for that to happen.
There aren't any
This patch will add ability to create directory junction which are supported
from Windows 2000 and not require any special rights (unlike file/directory
symbolic links).
New three modes for symbolic links creation added: "safenative",
"safenativestrict" and "safenativeonly". First two allow
On 2015-09-23 03:15, Andrey Repin wrote:
Greetings, Brian Inglis!
$ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
and the package directory using:
Err, why not just
cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir
No \n after value so
>> for a file of 167 lines. Process Explorer showed a CPU load of 20% on
>> bash.exe, which was almost completely Kernel time.
>> Is such high Kernel load normal?
>
> may be. forks are time consuming and your command is spending all the
> time in fork
So why is it spending all its time in fork?
GCC find more suspicious places with -O3. Cygwin use -Werror so uninitialized
variables prevent compilations.
This patch allow compilation with CFLAGS='-O3' CXXFLAGS='-O3'.
---
winsup/cygwin/fhandler_socket.cc | 4 ++--
winsup/cygwin/regex/regcomp.c| 2 +-
2 files changed, 3 insertions(+),
> It seems a race problem, due to the repetitive fork of grep
> for every line of some-file
So why does it fail? Seems like a bug to me!
Regards,
Paul
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation:
I'm working on a group of Windows Server 2012 R2 systems. Prior to
joining the systems to our domain controller, I install the openssh
components after which I can ssh into the system using the Administrator
account and password. However, as soon as I join a server to our domain
controller, ssh no
> lit...@null.net:
> Wed, 23 Sep 2015 10:52:26 +0200
> ---
>> Hi all,
>>
>> I noticed that doing simple loops in Bash takes unexpectedly long under
>> Cygwin on a Windows XP 32 bit machine
>> (CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686
On 2015-09-23 14:46, Brian Inglis wrote:
> On 2015-09-23 03:15, Andrey Repin wrote:
>> Greetings, Brian Inglis!
>>
>>> $ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir
>>> )
>>> and the package directory using:
>>
>> Err, why not just
>> cat
Thanks for the quick response!
> 2) The 'touch' command creates a file with the executable bit set
> [user@hostname ~]$ touch newfile.txt
> [user@hostname ~]$ ls -l newfile.txt
> -rwxrwx---+ 1 user Domain Users 0 Sep 22 17:21 newfile.txt
> I am fully aware that Windows programs (e.g. Eclipse
[replying to the right list, this time]
On 22/09/2015 18:32, Achim Gratz wrote:
Jon Turney writes:
Since we now have scripts which run on every setup run, a package which requires
another package to do some work after it is installed or uninstalled can create
a file to act as a trigger for
On 23/09/2015 17:17, lit...@null.net wrote:
for a file of 167 lines. Process Explorer showed a CPU load of 20% on bash.exe,
which was almost completely Kernel time.
Is such high Kernel load normal?
may be. forks are time consuming and your command is spending all the
time in fork
So why is
On 23/09/2015 17:03, lit...@null.net wrote:
It seems a race problem, due to the repetitive fork of grep
for every line of some-file
So why does it fail? Seems like a bug to me!
Regards,
Paul
As does not fail on my computer, I suspect is a race between your AV and
cygwin and sometimes
Greetings, Walter L.!
> Thanks for the quick response!
>> > 2) The 'touch' command creates a file with the executable bit set
>>
>> > [user@hostname ~]$ touch newfile.txt
>> > [user@hostname ~]$ ls -l newfile.txt
>> > -rwxrwx---+ 1 user Domain Users 0 Sep 22 17:21 newfile.txt
>>
>> > I am fully
---
> I'm not running any antivirus as far as I'm aware of (I do run a Comodo
> firewall with all "virus" scanning disabled).
> I checked again, and it really is the Bash.exe which is consuming a lot of
> Kernel time. I didn't spot another process
Jon Turney writes:
> [replying to the right list, this time]
I was slightly bewildered by that former reply… :-)
> On 22/09/2015 18:32, Achim Gratz wrote:
> I thought that permanent postinstall scripts run even when no packages
> are being installed, or only packages are being removed, so they
Hi all,
I noticed that doing simple loops in Bash takes unexpectedly long under Cygwin
on a Windows XP 32 bit machine
(CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
I already followed the FAQ advice in trying to determine general causes, and
made a 'shadow' copy of /etc/passwd
On 23/09/2015 09:52, lit...@null.net wrote:
Hi all,
On a Windows XP 32 bit machine with latest Cygwin installed
(CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
I frequently encounter errors which break bash while loops, making it
practically unusable
e.g.
cat some-file |
Hi all,
On a Windows XP 32 bit machine with latest Cygwin installed
(CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
I frequently encounter errors which break bash while loops, making it
practically unusable
e.g.
cat some-file | while read i;do grep text $i;done
results in
2
Greetings, Walter L.!
> I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit
> Windows 7 and noticed 2 issues with the new version that I'd like to verify
> whether or not they are bugs:
> 1) The symlink to protocol file seems incorrect
> [user@hostname /etc]$ ls -l |
> > I believe the target of the symlink should be "protocol" (i.e.
> > singular)
>
> Err. That is. How did no one found it earlier?
---
Because it is plural on unix/linux? MS seems to have misspelt it?
I believe it's "misspelt" due to the 8 character limit for legacy file
names, and the
Greetings, Eliot Moss!
>>> Git, Subversion... basically any sane VCS out there.
>>
>> Ah, yesI've managed to avoid version control all these years
>> because I wanted the convenience of bash file management and changing
>> things on a whim as I see fit. And for lack of time to learn yet
>>
Greetings, Paul!
> Andrey Repin yandex.ru> writes:
>> Git, Subversion... basically any sane VCS out there.
> Ah, yesI've managed to avoid version control
/facepalm.
'nuff said.
> all these years
> because I wanted the convenience of bash file management and changing
> things on a whim as
Greetings, Brian Inglis!
> $ echo $( < /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir )
> and the package directory using:
Err, why not just
cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/setup/rootdir
?
"Avoiding cats at all costs" ?
--
With best regards,
Andrey
lit...@null.net:
Wed, 23 Sep 2015 10:52:26 +0200
---
> Hi all,
>
> I noticed that doing simple loops in Bash takes unexpectedly long under
> Cygwin on a Windows XP 32 bit machine
> (CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
>
On 23/09/2015 10:52, lit...@null.net wrote:
Hi all,
I noticed that doing simple loops in Bash takes unexpectedly long under Cygwin
on a Windows XP 32 bit machine
(CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin)
I already followed the FAQ advice in trying to determine general
Andrey Repin wrote:
I believe the target of the symlink should be "protocol" (i.e. singular)
Err. That is. How did no one found it earlier?
---
Because it is plural on unix/linux? MS seems to have
misspelt it?
--
Problem reports: http://cygwin.com/problems.html
FAQ:
Walter L. wrote:
Define "earlier" ? The permissions handling has been extensively
rewritten
since 1.7.34.
Probably from a few months ago, but I can't confirm. I've been trying to
figure out how to revert back to an earlier version to verify this. Where
can I find archived versions of Cygwin?
Greg Freemyer wrote:
All,
I've noticed on 2 different machines that if I copy (cp) a file I can
read with cygwin, I don't have permission to read the copy.
---
What does the acl say?
(Attached a script, lsacl, that I use -- it works
with linux or cygwin and allows wildcards).
All,
I've noticed on 2 different machines that if I copy (cp) a file I can
read with cygwin, I don't have permission to read the copy.
I don't recall that happening in that past. If this was Linux I would
feel comfortable looking at umask, etc. to figure out what is going
on. With cygwin I'm
Hoot Thompson wrote:
I'm working on a group of Windows Server 2012 R2 systems. Prior to
joining the systems to our domain controller, I install the openssh
components after which I can ssh into the system using the Administrator
account and password. However, as soon as I join a server to our
Walter L. wrote:
> > I believe the target of the symlink should be "protocol" (i.e.
> > singular)
>
> Err. That is. How did no one found it earlier?
---
Because it is plural on unix/linux? MS seems to have misspelt it?
I believe it's "misspelt" due to the 8 character limit for legacy file
On 23/09/2015 01:04, Walter L. wrote:
Hi,
I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit
Windows 7 and noticed 2 issues with the new version that I'd like to verify
whether or not they are bugs:
2) The 'touch' command creates a file with the executable bit set
33 matches
Mail list logo