summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rw-r--r--test/makepmafile.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index e6269d22..f630fe9d 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-22 Arnold D. Robbins <arnold@skeeve.com>
+
+ * makepmafile.c (main): Make the file mode 0600.
+ Update copyright year.
+
2022-11-25 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am: Use `grep -E' instead of egrep in some of the test
diff --git a/test/makepmafile.c b/test/makepmafile.c
index c6df717d..8f7d2257 100644
--- a/test/makepmafile.c
+++ b/test/makepmafile.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2022,
+ * Copyright (C) 2022, 2023,
* the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
@@ -38,7 +38,7 @@ main(int argc, char **argv)
{
size_t four_meg = 1024 * 1024 * 4;
char c = 0;
- int fd = creat("test.pma", 0666);
+ int fd = creat("test.pma", 0600);
if (fd < 0) {
fprintf(stderr, "%s: could not create test.pma: %s\n",