home *** CD-ROM | disk | FTP | other *** search
- whereis turned up a bug in UnixLib 3.6c of Hew Rogers,which
- is almost sure to be found in earlier versions:
-
- the unixlib.src.c.strstr C-Source (strstr.c) must be changed in the
- following line:
-
- while (s1 < e1) { if (!strncmp(s1,s2,l2)) return((char *)s1); s1++; }
-
- with:
-
- while (s1 <= e1) { if (!strncmp(s1,s2,l2)) return((char *)s1); s1++; }
-
- explanation: without the <= , the last valid case (s1 reaches last valid
- position (e1) ) is not checked.
-
- This archive includes the complete unixlib.src.c.strstr file , to replace
- the original one. You must rebuilt o.strstr in your unixlib
- (compile strstr.c to an object in src.o,then set CWD to ...unixlib.src,
- then 'li o.strstr', Alias$li must be set by unixlib's !boot file).
- Note that bugfixes for unixlib are now held at the Stuttgart infoserver
- (info2.rus.uni-stuttgart.de see /pub/systems/acorn/FILES file).
-