Re: Win7 update may create confusing Cygwin changes

2019-08-19 Thread L A Walsh
Hi Andrey! On 2019/08/19 04:14, Andrey Repin wrote: > However, with all due respect, you should follow your own advice first. > There's more ways to resolve this, and all of them are more correct, than > generating static files which would get stale rather fast. --- How do the static files

Re: find command seems to lock files

2019-08-19 Thread Greywolf
Greets, Andrey! To begin with, the results of your `find` calls will be at least 5 seconds stale over CIFS share with default settings. Said that, you could safely write something like find /xx -type а -iname "zzz" -mtime +10s -execdir 'msg * "Achtung programme crash boom!"' Thank you for th

Re: find command seems to lock files

2019-08-19 Thread Eliot Moss
On 8/19/2019 1:21 PM, Morten Kjærulff wrote: > I guess that the reason find opens the file (and thereby trigger > antivirus) is because I print the files timestamp (-printf '%A+\n'), > right? > If I just printed the filename, the file would not be opened, right? I wouldn't say it _opens_ the file,

Re: find command seems to lock files

2019-08-19 Thread Morten Kjærulff
On Mon, Aug 19, 2019 at 6:50 PM Andrey Repin wrote: > > Greetings, Morten Kjærulff! > > >> > >> > If the application in question creates and deletes the parent > >> > directory, as well as the leaf file, then things would be left > >> > around unexpectedly. > >> > >> The question was just if the f

Re: find command seems to lock files

2019-08-19 Thread Andrey Repin
Greetings, Andrey Repin! > find /xx -type а -iname "zzz" -mtime +10s -execdir 'msg * "Achtung programme > crash boom!"' -type f //me sorry -- With best regards, Andrey Repin Monday, August 19, 2019 19:51:10 Sorry for my terrible english... -- Problem reports: http://cygwin.com/proble

Re: find command seems to lock files

2019-08-19 Thread Andrey Repin
Greetings, Morten Kjærulff! >> >> > If the application in question creates and deletes the parent >> > directory, as well as the leaf file, then things would be left >> > around unexpectedly. >> >> The question was just if the file is locked. >> >> > So would use of find trigger a virus scanner, w

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
On Aug 20 00:03, Takashi Yano wrote: > On Mon, 19 Aug 2019 16:00:40 +0200 > Corinna Vinschen wrote: > > As far as I can tell this is not a bug. I added debug output and found > > that ps grabs the process list *before* bash execve's into cat. So at > > the time ps gets the process list, process 1

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Takashi Yano
On Mon, 19 Aug 2019 16:00:40 +0200 Corinna Vinschen wrote: > As far as I can tell this is not a bug. I added debug output and found > that ps grabs the process list *before* bash execve's into cat. So at > the time ps gets the process list, process 1942 in your example is > actually still bash. >

Re: find command seems to lock files

2019-08-19 Thread Eliot Moss
On 8/19/2019 10:26 AM, Morten Kjærulff wrote: I forgot to say that I run the find command on my own PC, and the application runs on a server, which I have 'net use' its disk. Would it be the virus scanner on my PC or on the server? Any idea of a different way to get the age of the file? (I am s

Re: find command seems to lock files

2019-08-19 Thread Morten Kjærulff
On Mon, Aug 19, 2019 at 4:13 PM Corinna Vinschen wrote: > > On Aug 19 10:06, Eliot Moss wrote: > > On 8/19/2019 10:03 AM, Corinna Vinschen wrote: > > > On Aug 19 14:33, Morten Kjærulff wrote: > > > > Hi, > > > > > > > > I have an application which constantly: > > > > creates a file > > > > do some

Re: find command seems to lock files

2019-08-19 Thread Corinna Vinschen
On Aug 19 10:06, Eliot Moss wrote: > On 8/19/2019 10:03 AM, Corinna Vinschen wrote: > > On Aug 19 14:33, Morten Kjærulff wrote: > > > Hi, > > > > > > I have an application which constantly: > > > creates a file > > > do some processing > > > deletes the file > > > > > > One way to monitor if the

Re: find command seems to lock files

2019-08-19 Thread Eliot Moss
On 8/19/2019 10:03 AM, Corinna Vinschen wrote: On Aug 19 14:33, Morten Kjærulff wrote: Hi, I have an application which constantly: creates a file do some processing deletes the file One way to monitor if the application has crashed, is to check the age of the file, so I made a script that: fi

Re: find command seems to lock files

2019-08-19 Thread Corinna Vinschen
On Aug 19 14:33, Morten Kjærulff wrote: > Hi, > > I have an application which constantly: > creates a file > do some processing > deletes the file > > One way to monitor if the application has crashed, is to check the age of > the file, so I made a script that: > > find //$server/d$/dir/subdir*/

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
On Aug 19 21:49, Takashi Yano wrote: > Hi Corinna, > > On Mon, 19 Aug 2019 12:39:56 +0200 > Corinna Vinschen wrote: > > I uploaded a new Cygwin test release 3.1.0-0.2 > > I tested it in a short time and confirmed the bugs I reported recently > have been fixed. Thanks for testing! > One small th

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Takashi Yano
Hi Corinna, On Mon, 19 Aug 2019 12:39:56 +0200 Corinna Vinschen wrote: > I uploaded a new Cygwin test release 3.1.0-0.2 I tested it in a short time and confirmed the bugs I reported recently have been fixed. One small thing I found is as follows. Result of "ps | cat" in recent cygwin including

find command seems to lock files

2019-08-19 Thread Morten Kjærulff
Hi, I have an application which constantly: creates a file do some processing deletes the file One way to monitor if the application has crashed, is to check the age of the file, so I made a script that: find //$server/d$/dir/subdir*/subsubdir -name 'thefile' -printf '%A+\n' subdir* will be sub

Re: Win7 system update hosed something in Cygwin

2019-08-19 Thread Andrey Repin
Greetings, L A Walsh! > On 2019/08/15 18:28, David Karr wrote: >> I logged into my Win7 laptop and I saw it was having some connection >> problems, so I decided to reboot. >> >> After the reboot I found that Cygwin had some basic problems. I brought up >> a mintty window (C:\cygwin64\bin\mintty.e

[ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

2019-08-19 Thread Corinna Vinschen
Hi folks, I uploaded a new Cygwin test release 3.1.0-0.2 This release comes with a couple of new features and quite a few bug fixes. The most interesting change, courtesy Ken Brown, is a revamp of the old FIFO code. It should now be possible to open FIFOs multiple times for writing, something

RE: Cygwin installer does not select the packages specified by the -P option

2019-08-19 Thread KAVALAGIOS Panagiotis (EEAS-EXT)
> Brian Inglis writes: > > The OP's package list include sudo, which does not exist, diffutils > > and tar, which are part of base. Should the first not fail setup, and > > all be omitted for a retest? > > Well, I actually tested the very list the OP gave and it worked as intended > (minus the una

Re: GCC release criteria

2019-08-19 Thread Corinna Vinschen
On Aug 18 16:51, Denis Excoffier wrote: > Hello, > > In the GCC 10 Release Criteria, one can read > (https://gcc.gnu.org/gcc-10/criteria.html) that cygwin is among the secondary > platform list: > > > > > Secondary Platform List > > > > The secondary platforms are: > > * aarch64-elf > > * i686

Re: Clang is using the wrong memory model

2019-08-19 Thread Corinna Vinschen
On Aug 18 18:24, Agner Fog wrote: > On 18/08/2019 13.57, Corinna Vinschen wrote: > > Nope, Cygwin uses the Windows loader. > > Then, how do you do the extra linking? What is producing the "Cygwin runtime > failure" message when loading/linking a DLL fails? > > > If the medium model is wasteful

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-19 Thread Corinna Vinschen
On Aug 18 16:29, Achim Gratz wrote: > Corinna Vinschen writes: > > There's no xlocale.h on Linux either. What do these packages do in > > that case? > > I've dug a little bit deeper. The trouble is that perl.h has picked up > xlocale.h as the location of some of the interfaces it wants to use >