mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 06:00:49 +02:00
the `history' builtin prints error messages for certain read and write errors; implementation of new form of nofork command substitution that does not remove trailing newlines
This commit is contained in:
@@ -827,7 +827,8 @@ slow_write_error:
|
||||
|
||||
/* Workhorse function for writing history. Writes the last NELEMENT entries
|
||||
from the history list to FILENAME. OVERWRITE is non-zero if you
|
||||
wish to replace FILENAME with the entries. */
|
||||
wish to replace FILENAME with the entries. Returns 0 if successful, or
|
||||
errno if not. */
|
||||
static int
|
||||
history_do_write (const char *filename, int nelements, int overwrite)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user