summaryrefslogtreecommitdiff
path: root/history.c
AgeCommit message (Collapse)Author
2015-05-16 Bug: history dumps core if more colons than substitutions (thankstjg
Callum Gibson); history fails to avoid itself if it's the only command; history writes and reads outside allocated memory.
2015-05-16 Bug: history dumps core if more colons than substitutions (thankstjg
Callum Gibson).
2015-05-16 Feature: "stuttering" colons for multiple replacements in thetjg
history programs (thanks Callum Gibson).
2015-05-16 Bug: a debugging statement was left in history.c by mistake.tjg
Bug: `history' needs to check for `me' character preceded by `/', as well as all the other options. An invocation like ../rc-1.5/- no longer loops.
2015-05-16 Portability: rename basename() to rc_basename(), since the former istgoodwin
quite widespread, and has a variety of different definitions (none of them, of course, static). Portability: work around i386 GCC 2.7.2.3 optimization bug triggered by a (really quite simple) expression in history.c.
2015-05-16 Portability: apparently some systems declare `char *basename(consttgoodwin
char *)' in system header files. Changing our basename() (in history.c) to match this prototype allows it to be compiled on such systems, and is harmless. (Harmless, that is, if no system declares `char *basename(char *)'.)
2015-05-16include rc.htgoodwin
2015-05-16Initial revisiontim