version 1.5, 2025/03/24 04:05:36
|
version 1.6, 2025/04/09 19:52:02
|
Line 24
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.6 2025/04/09 19:52:02 snw |
|
* Eliminate as many warnings as possible while building with -Wall |
|
* |
* Revision 1.5 2025/03/24 04:05:36 snw |
* Revision 1.5 2025/03/24 04:05:36 snw |
* Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2 |
* Replace crlf with frm_crlf to avoid symbol conflict with readline on OS/2 |
* |
* |
Line 58 MRESULT cmd_write(MACTION *ra, int *i)
|
Line 61 MRESULT cmd_write(MACTION *ra, int *i)
|
if (io > FIRSTSCK) msck_get_terminator (io, wr_terminator); |
if (io > FIRSTSCK) msck_get_terminator (io, wr_terminator); |
|
|
if (io != HOME && devopen[io] == 'r' && io < FIRSTSCK) { |
if (io != HOME && devopen[io] == 'r' && io < FIRSTSCK) { |
|
free (wr_terminator); |
free (sw_buf); |
free (sw_buf); |
return NOWRITE; |
return NOWRITE; |
} |
} |
|
|
if ((*i = (*codptr)) == SP || *i == EOL) { |
if ((*i = (*codptr)) == SP || *i == EOL) { |
|
free (wr_terminator); |
|
free (sw_buf); |
return ARGLIST; |
return ARGLIST; |
} |
} |
|
|