projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bb_get_[chomped]line_from_file wasn't descriptive enough.
[oweals/busybox.git]
/
shell
/
cmdedit.c
diff --git
a/shell/cmdedit.c
b/shell/cmdedit.c
index 7b4d46511334700e2a0a2f16fc3dccb62f2f55d6..3f44ea0135cd7d3db8e842e9b6e9d55b1d7e83fe 100644
(file)
--- a/
shell/cmdedit.c
+++ b/
shell/cmdedit.c
@@
-1205,7
+1205,7
@@
void load_history ( const char *fromfile )
if (( fp = fopen ( fromfile, "r" ))) {
for ( hi = 0; hi < MAX_HISTORY; ) {
- char * hl =
bb_get_chomped_line_from_fil
e(fp);
+ char * hl =
xmalloc_getlin
e(fp);
int l;
if(!hl)