*** ../bash-4.1-patched/bashhist.c 2009-08-14 15:33:02.000000000 -0400 --- bashhist.c 2010-08-13 21:09:08.000000000 -0400 *************** *** 373,377 **** result = EXECUTION_SUCCESS; ! if (history_lines_this_session && (history_lines_this_session < where_history ())) { /* If the filename was supplied, then create it if necessary. */ --- 377,381 ---- result = EXECUTION_SUCCESS; ! if (history_lines_this_session && (history_lines_this_session <= where_history ())) { /* If the filename was supplied, then create it if necessary. */