Mail Archives: cygwin/2012/08/16/23:52:15
--------------enigE59F0FD862868439431675C4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On 8/16/2012 11:43 AM, Christopher Faylor wrote:
> On Tue, Aug 14, 2012 at 10:36:39PM -0700, Daniel Colascione wrote:
>> When run on a Linux machine, this program starts up and blocks on sigwai=
tinfo.
>> You can suspend and resume the program using usual job control facilitie=
s, and
>> on SIGINT, the program prints a message and exits. When the program resu=
mes
>> after being stopped, it prints "resumed".
>>
>> With the 2012-08-07 Cygwin snapshot, this program prints "resumed" immed=
iately
>> after receiving SIGTSTP, then fails to respond to any signal, even signa=
ls not
>> in the blocked set. A simpler test program that just calls "raise (SIGST=
OP)"
>> property stops itself before resuming execution.
>=20
> This should be fixed in the latest snapshot.
>=20
> Thanks for the test case.
Thanks for the fix. It's incomplete, though. Previously, C-z would make the
program print "resumed", then become insensitive the signals present in
waitmask. With the 2012-08-16 snapshot, C-z stops the program, but on
resumption, it doesn't print "resumed". Instead, on resumption, the program
enters the same signal-insensitive state it did with the 2012-08-07 snapsho=
t.
--------------enigE59F0FD862868439431675C4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAtv8YACgkQ17c2LVA10VsjzACgslmqORxJqpPliAaoXxyCnvL3
ZK4An0p/DbjjqgWL/vtKFZlgtXvvDImB
=VKMV
-----END PGP SIGNATURE-----
--------------enigE59F0FD862868439431675C4--
- Raw text -