FreeCalypso > hg > freecalypso-sw
changeset 296:792f164b63a6
fc-fsio: cpout now works the way it should
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 01 Mar 2014 08:19:15 +0000 |
parents | 3dd74b16df82 |
children | 0242d5facf7b |
files | rvinterf/etmsync/fsiomain.c rvinterf/etmsync/fsread.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rvinterf/etmsync/fsiomain.c Sat Mar 01 08:01:08 2014 +0000 +++ b/rvinterf/etmsync/fsiomain.c Sat Mar 01 08:19:15 2014 +0000 @@ -62,6 +62,7 @@ connect_local_socket(); } + setlinebuf(stdout); if (argv[optind]) return dispatch_ready_argv(argc - optind, argv + optind); for (;;) {
--- a/rvinterf/etmsync/fsread.c Sat Mar 01 08:01:08 2014 +0000 +++ b/rvinterf/etmsync/fsread.c Sat Mar 01 08:19:15 2014 +0000 @@ -245,7 +245,7 @@ } childerr = 0; for (i = 0; i < nument; i++) { - rc = do_readdir(rdstate, rdbuf); + rc = do_readdir(rdstate, rdbuf, MAX_FN_COMPONENT+1); if (rc) return(rc); if (index(rdbuf, '/')) {