Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15860 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2020-02-01 16:31 -0500 |
| Last post | 2020-02-01 16:31 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Readline history bug Chet Ramey <chet.ramey@case.edu> - 2020-02-01 16:31 -0500
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2020-02-01 16:31 -0500 |
| Subject | Re: Readline history bug |
| Message-ID | <mailman.141.1580592724.2412.bug-bash@gnu.org> |
[Multipart message — attachments visible in raw view] — view raw
On 1/31/20 3:32 PM, A via Bug reports for the GNU Bourne Again SHell wrote: > The readline package doesn't return the errno for some errors in write_history, append_history, and history_truncate_file. > This caused an error in the CPython interpreter(at exit time) when the .python_history file was not writable. > > In particular these calls return -1 when the internal`histfile_restore`call fails because`rename`fails. It's fine for`histfile_restore`to return the result from`rename`, but this should be checked for failure (e.g. -1) and handled appropriately by the caller in`history_do_write`and`history_truncate_file`. Thanks for the report. This fix will be in the next bash and readline devel branch pushes. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web