作者ric2k1 (Ric)
看板EE_DSnP
标题[公告] "dofile" command 的测试范围
时间Tue Apr 14 23:34:00 2009
关於 "dofile" 这个 command 的 support, 有鉴於两个先天上的 limits:
1. MAX_HISTORY = 65536
2. In Linux systems, the number of file descriptors is limited to 1024.
That is, the maximum number of files we can open is 1024. You can see
this by the "limit" command. However, it seems that we canot increase
this limit over 1024.
以上两个限制并不容易解决, 所以我们将限制我们关於 dofile 的测试於底下的
四个 dofiles (方括弧内为档名, 以下为内容)
[do1]
help
[do2]
do do1
[do3]
help
do t <== t 这个档案不存在
do do2
his
[do4]
do do4
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 75.36.183.234
1F:推 goodword:谢谢老师说明! 04/14 23:36
2F:→ goodword:[do2] 应该是do do1 ?? 04/14 23:38
※ 编辑: ric2k1 来自: 75.36.183.234 (04/14 23:39)
3F:→ ric2k1:是的, 已更正 04/14 23:39
4F:→ ric2k1:不好意思造成大家测试上的困扰, 也感谢那些点出问题的同学 04/14 23:40
5F:推 goodword:对了 是不是在 [do3]的最後再加 几行指令来检查pop() 04/15 00:06
6F:→ goodword:要不然以现在这样 不做pop() 也会有一样的结果 04/15 00:07
7F:→ ric2k1:OK. Let me update 04/15 00:18
※ 编辑: ric2k1 来自: 75.36.183.234 (04/15 00:18)