We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f28c4 commit f50b07eCopy full SHA for f50b07e
uspace/app/bdsh/cmds/modules/cp/cp.c
@@ -26,6 +26,7 @@
26
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
*/
28
29
+#include <abi/ipc/ipc.h> /* DATA_XFER_LIMIT */
30
#include <errno.h>
31
#include <str_error.h>
32
#include <stdio.h>
@@ -44,7 +45,7 @@
44
45
#include "cmds.h"
46
47
#define CP_VERSION "0.0.1"
-#define CP_DEFAULT_BUFLEN 1024
48
+#define CP_DEFAULT_BUFLEN DATA_XFER_LIMIT
49
50
static const char *cmdname = "cp";
51
static console_ctrl_t *con;
0 commit comments