summaryrefslogtreecommitdiff
path: root/NetWare/NWUtil.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-14 13:55:56 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-14 13:55:56 +0000
commit1db1659f90068fccb5de856f9baa5dab87db770f (patch)
tree6a4c56c74a60703f139253d6c81ffad7b7790dc0 /NetWare/NWUtil.c
parentad75418a4f79eabba702cb2a993fc1295e75237e (diff)
downloadperl-1db1659f90068fccb5de856f9baa5dab87db770f.tar.gz
NetWare tweaks from Ananth Kesari.
p4raw-id: //depot/perl@12018
Diffstat (limited to 'NetWare/NWUtil.c')
-rw-r--r--NetWare/NWUtil.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/NetWare/NWUtil.c b/NetWare/NWUtil.c
index ea0e4856ae..5174fe31f8 100644
--- a/NetWare/NWUtil.c
+++ b/NetWare/NWUtil.c
@@ -755,11 +755,16 @@ char* fnMy_MkTemp(char* templatestr)
pPid = numbuf;
/**
- Backtick operation uses temp files that are stored under DEFPERLTEMP directory.
- They are temporarily used and then cleaned up after usage.
- In the process of operation to allow for more temp files, the below logic is used.
- This allows 26 files (like, pla00015.tmp through plz00015.tmp) plus
- 26x26=676 (like, plaa0015.tmp through plzz0015.tmp)
+ Backtick operation uses temp files that are stored under NWDEFPERLTEMP
+ directory. They are temporarily used and then cleaned up after usage.
+ In cases where multiple backtick operations are used that call some
+ complex scripts, new temp files will be created before the old ones are
+ deleted. So, we need to have a provision to create many temp files.
+ Hence the below logic. It is found that provision for 26 files may
+ not be enough in some cases.
+
+ This below logic allows 26 files (like, pla00015.tmp through plz00015.tmp)
+ plus 6x26=676 (like, plaa0015.tmp through plzz0015.tmp)
**/
letter = 'a';