Hi,
I found out, that the last line of a file is not processed with the readline-Procedure of Scott Clements IFS API, when the last line has no CR and/or no LF at the end.
Unfortunately I have to deal with such files, that I receive via Webservice.
I changed readline from
to
Could I get a problem with this change?
Note: I'm still not possible to answer to posts. So please don't be mad or disappointed if you ask a question and I don't answer you.
I found out, that the last line of a file is not processed with the readline-Procedure of Scott Clements IFS API, when the last line has no CR and/or no LF at the end.
Unfortunately I have to deal with such files, that I receive via Webservice.
I changed readline from
Code:
c if rdlen < 1 c return -1 c endif
Code:
c if rdlen < 1 c if len > 0 c return len c else c return -1 c endif c endif
Note: I'm still not possible to answer to posts. So please don't be mad or disappointed if you ask a question and I don't answer you.
Comment