Rev 373 | Rev 389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 373 | Rev 387 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | // This can only happen with Windows or Linux. |
78 | // This can only happen with Windows or Linux. |
79 | // Native Linux is not supported, and Windows always combines LF with CR. So we can ignore LF. |
79 | // Native Linux is not supported, and Windows always combines LF with CR. So we can ignore LF. |
80 | ++r; |
80 | ++r; |
81 | }else |
81 | }else |
82 | *q++ = *r++; |
82 | *q++ = *r++; |
83 | *q++ = '\r'; |
83 | *q++ = CR; |
84 | *q = 0; |
84 | *q = 0; |
85 | p = cat(p,outbuf); |
85 | p = cat(p,outbuf); |
86 | } |
86 | } |
87 | else |
87 | else |
88 | p = cat(p,_strdup("(null expr)\r")); // this shouldn't happen |
88 | p = cat(p,_strdup("(null expr)\r")); // this shouldn't happen |
89 | *p++ = '\r'; |
89 | *p++ = CR; |
90 | } |
90 | } |
91 | 91 | ||
92 | // *p = 0; dbg(start); |
92 | // *p = 0; dbg(start); |
93 | 93 | ||
94 | PIUNLOCKHANDLE(h); |
94 | PIUNLOCKHANDLE(h); |