mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-01-27 04:16:22 +00:00
Fix tftp xlte bug when writing text files. Bunp version
This commit is contained in:
BIN
PLASMA-SYS1.PO
BIN
PLASMA-SYS1.PO
Binary file not shown.
@@ -229,7 +229,7 @@ def writeUDP(ipsrc, portsrc, data, len, param)
|
||||
fin
|
||||
len = len - t_datPkt
|
||||
if netscii
|
||||
xlat($0A, $0D, buff+datBytes, len)
|
||||
xlat($0A, $0D, data+datBytes, len)
|
||||
fin
|
||||
if fileio:write(ref, data+datBytes, len) <> len
|
||||
puts("WRQ: File write error\n")
|
||||
@@ -339,7 +339,7 @@ end
|
||||
if !iNet:initIP()
|
||||
return -1
|
||||
fin
|
||||
puts("TFTP Server Version 0.1\n")
|
||||
puts("TFTP Server Version 0.2\n")
|
||||
portTFTP = iNet:openUDP(TFTP_PORT, @servUDP, 0)
|
||||
//
|
||||
// Alloc aligned file/io buffers
|
||||
|
||||
@@ -40,7 +40,7 @@ predef sext(a)#1, divmod(a,b)#2, execmod(modfile)#1
|
||||
//
|
||||
// Exported CMDSYS table
|
||||
//
|
||||
word version = $0110 // 01.10
|
||||
word version = $0111 // 01.11
|
||||
word syspath
|
||||
word syscmdln
|
||||
word = @execmod
|
||||
|
||||
@@ -37,7 +37,7 @@ predef execmod(modfile)#1
|
||||
//
|
||||
// Exported CMDSYS table
|
||||
//
|
||||
word version = $0110 // 01.10
|
||||
word version = $0111 // 01.11
|
||||
word syspath
|
||||
word syscmdln
|
||||
word = @execmod
|
||||
|
||||
@@ -29,7 +29,7 @@ predef execmod(modfile)#1
|
||||
//
|
||||
// Exported CMDSYS table
|
||||
//
|
||||
word version = $0110 // 01.10
|
||||
word version = $0111 // 01.11
|
||||
word syspath
|
||||
word cmdlnptr
|
||||
word = @execmod
|
||||
|
||||
Reference in New Issue
Block a user