ftp.nice.ch/pub/next/unix/editor/e2.N.bs.tar.gz#/e2.N.bs/check_hist.c

This is check_hist.c in view mode; [Download] [Up]

#include "e.h"

/*
 * check_hist()
 *
 * Make sure the history ok. This is called by things which are intending
 * toperform some history-relatd stuff after calling read_hist().
 *
 */
void
check_hist()
{
    if (hist_count == -1){
        e_error("Couldn't find %s history '%s'.", myname, ehist);
    }

    if (hist_count == 0){
        e_error("No history for '%s'.", cwd);
    }
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.