Changeset 2304 in kBuild for trunk/src/kash/expand.c
- Timestamp:
- Mar 1, 2009 7:48:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/expand.c
r2290 r2304 457 457 /* Eat all trailing newlines */ 458 458 p = stackblock(psh) + startloc; 459 while (dest > p && dest[-1] == '\n') 459 while (dest > p && dest[-1] == '\n') { 460 460 STUNPUTC(psh, dest); 461 #ifdef SH_DEAL_WITH_CRLF 462 if (dest > p && dest[-1] == '\r') 463 STUNPUTC(psh, dest); 464 #endif 465 } 461 466 462 467 if (in.fd >= 0)
Note:
See TracChangeset
for help on using the changeset viewer.