aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 22:43:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-12 22:43:20 +0000
commit2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch)
tree08de18a783dbb518dfbe5832751a214aff7d0a7a /shell
parent372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff)
downloadbusybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.gz
busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.bz2
busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.zip
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 7b4d46511..3f44ea013 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -1205,7 +1205,7 @@ void load_history ( const char *fromfile )
1205 if (( fp = fopen ( fromfile, "r" ))) { 1205 if (( fp = fopen ( fromfile, "r" ))) {
1206 1206
1207 for ( hi = 0; hi < MAX_HISTORY; ) { 1207 for ( hi = 0; hi < MAX_HISTORY; ) {
1208 char * hl = bb_get_chomped_line_from_file(fp); 1208 char * hl = xmalloc_getline(fp);
1209 int l; 1209 int l;
1210 1210
1211 if(!hl) 1211 if(!hl)