Changeset b7f1fa2f in rtems
- Timestamp:
- 01/30/23 03:11:59 (10 months ago)
- Branches:
- 5
- Parents:
- 45f60cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/shell/main_edit.c
r45f60cf rb7f1fa2f 408 408 newsize = (ed->end - ed->start) - gapsize + minsize; 409 409 start = (unsigned char *) malloc(newsize); // TODO check for out of memory 410 if (start == NULL) { 411 return; 412 } 410 413 gap = start + pos; 411 414 rest = gap + minsize;
Note: See TracChangeset
for help on using the changeset viewer.