diff options
author | wtc%netscape.com <devnull@localhost> | 2002-06-14 05:25:52 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-06-14 05:25:52 +0000 |
commit | f66559856eef7cee8985630af0bbbbc5a3f26e04 (patch) | |
tree | 84ecdea6f3c5c556d5bb982b84fe4d98d6ca993e | |
parent | fdb9b3c47cf8b258ea5aa7fee6fb39523a736e7e (diff) | |
download | nspr-hg-f66559856eef7cee8985630af0bbbbc5a3f26e04.tar.gz |
Bug 151722: addr is in shared memory and is modified by another process, so
it needs to be declared volatile.
-rw-r--r-- | pr/tests/anonfm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/tests/anonfm.c b/pr/tests/anonfm.c index b9bbdfb2..9396ec68 100644 --- a/pr/tests/anonfm.c +++ b/pr/tests/anonfm.c @@ -171,7 +171,7 @@ static void ServerOne( void ) PRFileMap *fm; PRStatus rc; PRIntn i; - char *addr; + volatile char *addr; char fmString[256]; char envBuf[256]; char *child_argv[8]; |