summaryrefslogtreecommitdiff
path: root/t/io/fs.t
diff options
context:
space:
mode:
authorLarry Wall <lwall@netlabs.com>1993-02-04 22:50:33 +0000
committerLarry Wall <lwall@netlabs.com>1993-02-04 22:50:33 +0000
commite334a159a5616cab575044bafaf68f75b7bb3a16 (patch)
tree47369293eb7417e5322f7fe46e1a1cfc0d9c69ef /t/io/fs.t
parent514dae0dba791ec01681adb3b3946a7646e146b3 (diff)
downloadperl-e334a159a5616cab575044bafaf68f75b7bb3a16.tar.gz
perl 4.0 patch 36: (combined patch)perl-4.0.36
Since Ed Barton sent me a patch for the malignent form of "Malformed cmd links", I finally broke down and made a patch for the various other little things that have been accumulating on version 4.
Diffstat (limited to 't/io/fs.t')
-rw-r--r--t/io/fs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index 705523cffe..d298b29509 100644
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -13,7 +13,7 @@ chdir './tmp';
umask(022);
-if (umask(0) == 022) {print "ok 1\n";} else {print "not ok 1\n";}
+if ((umask(0)&0777) == 022) {print "ok 1\n";} else {print "not ok 1\n";}
open(fh,'>x') || die "Can't create x";
close(fh);
open(fh,'>a') || die "Can't create a";