* manual/signal.texi (Non-atomic Example): Make memory var volatile.
	[BZ #4816]
	* manual/signal.texi (Non-atomic Example): Make memory var volatile.
This commit is contained in:
Jakub Jelinek 2007-07-20 08:03:19 +00:00
parent 00d2692952
commit 403445d72e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2007-07-20 Jakub Jelinek <jakub@redhat.com>
[BZ #4816]
* manual/signal.texi (Non-atomic Example): Make memory var volatile.
[BZ #4813]
* login/forkpty.c (forkpty): Close master and slave fds on
fork failure. Patch by

View File

@ -1966,7 +1966,7 @@ writing.)
#include <signal.h>
#include <stdio.h>
struct two_words @{ int a, b; @} memory;
volatile struct two_words @{ int a, b; @} memory;
void
handler(int signum)