- handle getnstr() not defined (needed for SGI IRIX 6.5.22)
Changes 1.2.9:
- fix searching larger than 3 characters long strings
Changes 1.2.8:
- replace the unsafe getstr() with getnstr()
Changes 1.2.7:
- check the presence of <sys/mount.h> before including it
- fix build on Digital UNIX 4.0f (remove -Wall)
- use the full width of the terminal (the trick is to stop relying on
printing "\n", but using move() instead)
- fix displaying the offsets at beginning of each line on big endian
boxes (thanks to Martin Schaffner)
Changes 1.2.6:
- fix core dump when searching backward (thanks to Jean Delvare)
(the culprit is memrmem, but also fixing provided memrchr)
Changes 1.2.5:
- fix build on Solaris
(which doesn't have BLKGETSIZE and all compilers don't have -W)
Changes 1.2.4:
- use BLKGETSIZE to try to get the size of a device
- do not die horribly when accessing after the end
- fix provided memrchr() (thanks to Yue Luo)
- fix displaying after searching >32bit files (thanks to Paul Mattal)
Changes 1.2.3:
- add some KEY_HOME KEY_END (^[[7~ and ^[[8~)
- fix for HAVE_MEMMEM
- fix my memrchr not behaving the same as libc's
- fix the use of memrchr to behave as libc's
- use "(void)" in prototype of functions having no parameters
- call "raw()" when help() is over
- now displays the reached offset while searching
- many shortcuts added for different teminals
- replace llseek with lseek + use of _FILE_OFFSET_BITS=64
- replaced lots of int by INT which 64bits
- yet again some s/int/INT/
- Some bug fixed
Fixes PR/15050 by Shell Hung.