Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Jeff Sparkes
Mon, 11 Sep 1989 15:48
small bug in history builtin
Author: Jeff Sparkes
Date: Mon, 11 Sep 1989 15:48
Date: Mon, 11 Sep 1989 15:48
26 lines
951 bytes
951 bytes
This showed up on a sun4. history_list() returns a null list, which
history_builtin() tries to walk through.
*** ../b3/builtins.c Wed Aug 30 23:41:21 1989
--- ./builtins.c Mon Sep 11 12:14:59 1989
***************
*** 1593,1599 ****
int limit;
register int i;
! for (i = 0; hlist[i]; i++);
if (list)
{
--- 1593,1599 ----
int limit;
register int i;
! for (i = 0; hlist && hlist[i]; i++);
if (list)
{
--
Jeff Sparkes jeff1@garfield.mun.edu || uunet!garfield!jeff1
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads