mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-14 01:30:20 +00:00
[1.0] Various fixes to fopen mode handling in SFTP Stream * bantu/SFTPStreamTest: Explicitly set size to 0 when creating or truncating. mode[0] of 'c' is not supposed to truncate. Need to create the file when it does not exist and mode[0] is not 'r'. Add SFTPStreamTest::testFopenFcloseCreatesFile()