diff options
author | wtc%netscape.com <devnull@localhost> | 2002-06-14 05:27:15 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-06-14 05:27:15 +0000 |
commit | f3b9a444cad8b298b463fe68257698f667d52a30 (patch) | |
tree | 83b87e8082b26ff9af0c0fd76be95998918f1d6d /pr/tests | |
parent | 90d1188d42ca753aece9e167575101ea7fdf0b1f (diff) | |
download | nspr-hg-f3b9a444cad8b298b463fe68257698f667d52a30.tar.gz |
Bug 151722: addr is in shared memory and is modified by another process, so
it needs to be declared volatile.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
Diffstat (limited to 'pr/tests')
-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]; |