diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /editors/ed.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'editors/ed.c')
-rw-r--r-- | editors/ed.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/ed.c b/editors/ed.c index b1b6a8d27..dbb51306c 100644 --- a/editors/ed.c +++ b/editors/ed.c | |||
@@ -7,6 +7,9 @@ | |||
7 | * The "ed" built-in command (much simplified) | 7 | * The "ed" built-in command (much simplified) |
8 | */ | 8 | */ |
9 | 9 | ||
10 | //usage:#define ed_trivial_usage "" | ||
11 | //usage:#define ed_full_usage "" | ||
12 | |||
10 | #include "libbb.h" | 13 | #include "libbb.h" |
11 | 14 | ||
12 | typedef struct LINE { | 15 | typedef struct LINE { |
@@ -451,7 +454,7 @@ static void subCommand(const char *cmd, int num1, int num2) | |||
451 | 454 | ||
452 | /* | 455 | /* |
453 | * The new string is larger, so allocate a new line | 456 | * The new string is larger, so allocate a new line |
454 | * structure and use that. Link it in in place of | 457 | * structure and use that. Link it in place of |
455 | * the old line structure. | 458 | * the old line structure. |
456 | */ | 459 | */ |
457 | nlp = xmalloc(sizeof(LINE) + lp->len + deltaLen); | 460 | nlp = xmalloc(sizeof(LINE) + lp->len + deltaLen); |