Mark Geisert writes: > The existing logic for open() assumes a handle is always available in > the fdtable for a created file. This leads to a situation where, if > there is no handle available, the file is created but cannot be > referenced by a Cygwin fd.
That looks like race to me… if it need to ensure there is a handle, it needs to reserve / create one right then and there and then use it for the created file (and clean it up if the file can't get created due to other errors. …unless of course that section already is serialized, but I hope it's not, as file creation should be useable concurrently. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
