exec in newlisp 10.7.1/Windows
Posted: Fri Feb 17, 2017 6:29 pm
Seems like exec in newlisp 10.7.1/Windows opens it's second argument in text (as opposed to binary) mode. Test:
Output with newlisp 10.6.2
Output with newlisp 10.7.1
I suppose this is a side effect of the change to a newer MinGW. But still confusing - "binary mode everywhere" policy was consistent so far.
Code: Select all
(exec "od -b" "hello\r\nworld\r\n")
Code: Select all
0000000 150 145 154 154 157 015 012 167 157 162 154 144 015 012
Code: Select all
0000000 150 145 154 154 157 015 015 012 167 157 162 154 144 015 015 012