summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/append.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-23 19:01:09 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-23 19:01:09 +0000
commit149d2ffa779826cb48a381099858e76e4624d471 (patch)
tree1adb922c55da8094039ea14f4b2178314d51f2a1 /nsprpub/pr/tests/append.c
parent25b6703e956a33e0ecd8bdc18f423e5eb5dd09d4 (diff)
downloadUXP-149d2ffa779826cb48a381099858e76e4624d471.tar
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.gz
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.lz
UXP-149d2ffa779826cb48a381099858e76e4624d471.tar.xz
UXP-149d2ffa779826cb48a381099858e76e4624d471.zip
Issue #1693 - Update NSPR to 4.29
Diffstat (limited to 'nsprpub/pr/tests/append.c')
-rw-r--r--nsprpub/pr/tests/append.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsprpub/pr/tests/append.c b/nsprpub/pr/tests/append.c
index 9d688a4f8..64fe3ff2c 100644
--- a/nsprpub/pr/tests/append.c
+++ b/nsprpub/pr/tests/append.c
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
PL_DestroyOptState(opt);
} /* end block "Get command line options" */
/* ---------------------------------------------------------------------- */
- fd = PR_Open( "/tmp/nsprAppend", (PR_APPEND | PR_CREATE_FILE | PR_TRUNCATE | PR_WRONLY), 0666 );
+ fd = PR_Open( "./tmp-nsprAppend", (PR_APPEND | PR_CREATE_FILE | PR_TRUNCATE | PR_WRONLY), 0666 );
if ( NULL == fd ) {
if (debug) {
printf("PR_Open() failed for writing: %d\n", PR_GetError());
@@ -98,7 +98,7 @@ int main(int argc, char **argv)
goto Finished;
}
/* ---------------------------------------------------------------------- */
- fd = PR_Open( "/tmp/nsprAppend", PR_RDONLY, 0 );
+ fd = PR_Open( "./tmp-nsprAppend", PR_RDONLY, 0 );
if ( NULL == fd ) {
if (debug) {
printf("PR_Open() failed for reading: %d\n", PR_GetError());