diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | manual/signal.texi | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 01e9b4bb1f..b092a8e96d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/manual/signal.texi b/manual/signal.texi index dfaaa88950..ec02d9cf37 100644 --- a/manual/signal.texi +++ b/manual/signal.texi @@ -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) |