Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3358 → Rev 3357

/trunk/uspace/app/bdsh/cmds/modules/cat/cat.c
94,7 → 94,6
 
total = lseek(fd, 0, SEEK_END);
lseek(fd, 0, SEEK_SET);
 
if (NULL == (buff = (char *) malloc(blen + 1))) {
close(fd);
printf("Unable to allocate enough memory to read %s\n",
172,6 → 171,8
return CMD_FAILURE;
}
 
i = optind;
 
if (buffer <= 0)
buffer = CAT_DEFAULT_BUFLEN;