diff options
author | Jari Aalto <jari.aalto@cante.net> | 2001-04-06 19:14:31 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:53 +0000 |
commit | 28ef6c316f1aff914bb95ac09787a3c83c1815fd (patch) | |
tree | 2812fe7ffc9beec4f99856906ddfcafda54cf16a /builtins/history.def | |
parent | bb70624e964126b7ac4ff085ba163a9c35ffa18f (diff) | |
download | android_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.tar.gz android_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.tar.bz2 android_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.zip |
Imported from ../bash-2.05.tar.gz.
Diffstat (limited to 'builtins/history.def')
-rw-r--r-- | builtins/history.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builtins/history.def b/builtins/history.def index 07c08f3..1ea3489 100644 --- a/builtins/history.def +++ b/builtins/history.def @@ -157,7 +157,7 @@ history_builtin (list) else if (flags & PFLAG) { if (list) - return (expand_and_print_history (list)); + return (expand_and_print_history (list)); return (EXECUTION_SUCCESS); } #endif @@ -326,10 +326,10 @@ expand_and_print_history (list) result = EXECUTION_FAILURE; } else - { + { fputs (s, stdout); putchar ('\n'); - } + } FREE (s); list = list->next; } |