summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-06-14 05:27:15 +0000
committerwtc%netscape.com <devnull@localhost>2002-06-14 05:27:15 +0000
commitf3b9a444cad8b298b463fe68257698f667d52a30 (patch)
tree83b87e8082b26ff9af0c0fd76be95998918f1d6d
parent90d1188d42ca753aece9e167575101ea7fdf0b1f (diff)
downloadnspr-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
-rw-r--r--pr/tests/anonfm.c2
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];