From e272d04caacc6c10cf4799fe0e163deeaea56b56 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Fri, 14 Jun 2002 05:25:52 +0000 Subject: [PATCH] Bug 151722: addr is in shared memory and is modified by another process, so it needs to be declared volatile. --- nsprpub/pr/tests/anonfm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsprpub/pr/tests/anonfm.c b/nsprpub/pr/tests/anonfm.c index b9bbdfb22bd8..9396ec68c338 100644 --- a/nsprpub/pr/tests/anonfm.c +++ b/nsprpub/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];