diff options
author | unknown <msvensson@neptunus.(none)> | 2006-02-21 08:57:18 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-02-21 08:57:18 +0100 |
commit | eda8a2e9eba28425406868120bfd9a5aa3aaf938 (patch) | |
tree | 273f93481e28c10d6c8c6ddc3d04938f58005743 /cmd-line-utils | |
parent | 8e62b8a66297f881fd572945f8452dbcefca698d (diff) | |
parent | b39626f9e4fa3a45d06b9f1146eb9763a21aad3d (diff) | |
download | mariadb-git-eda8a2e9eba28425406868120bfd9a5aa3aaf938.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557
into neptunus.(none):/home/msvensson/mysql/bug16557/my51-bug16557
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/readline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/readline.c b/cmd-line-utils/libedit/readline.c index 616b55a877e..8c09a6f39d5 100644 --- a/cmd-line-utils/libedit/readline.c +++ b/cmd-line-utils/libedit/readline.c @@ -1109,7 +1109,7 @@ read_history(const char *filename) if (h == NULL || e == NULL) rl_initialize(); - return (history(h, &ev, H_LOAD, filename)); + return (history(h, &ev, H_LOAD, filename) == -1); } @@ -1123,7 +1123,7 @@ write_history(const char *filename) if (h == NULL || e == NULL) rl_initialize(); - return (history(h, &ev, H_SAVE, filename)); + return (history(h, &ev, H_SAVE, filename) == -1); } |