FreeCalypso > hg > freecalypso-sw
comparison rvinterf/etmsync/fsread.c @ 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 | e0ca3ca46a06 |
comparison
equal
deleted
inserted
replaced
295:3dd74b16df82 | 296:792f164b63a6 |
---|---|
243 printf("error: non-empty dir at the limit of pathname depth\n"); | 243 printf("error: non-empty dir at the limit of pathname depth\n"); |
244 return(ERROR_TARGET); | 244 return(ERROR_TARGET); |
245 } | 245 } |
246 childerr = 0; | 246 childerr = 0; |
247 for (i = 0; i < nument; i++) { | 247 for (i = 0; i < nument; i++) { |
248 rc = do_readdir(rdstate, rdbuf); | 248 rc = do_readdir(rdstate, rdbuf, MAX_FN_COMPONENT+1); |
249 if (rc) | 249 if (rc) |
250 return(rc); | 250 return(rc); |
251 if (index(rdbuf, '/')) { | 251 if (index(rdbuf, '/')) { |
252 printf("error: readdir result contains a slash\n"); | 252 printf("error: readdir result contains a slash\n"); |
253 return(ERROR_TARGET); | 253 return(ERROR_TARGET); |