home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 13
/
mediashare_13.zip
/
mediashare_13
/
ZIPPED
/
PROGRAM
/
SNPD9404.ZIP
/
BMHSRCH.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-03
|
679b
|
21 lines
.I 6 4
**
** 10/21/93 rdg Fixed bug found by Jeff Dunlop
*/
#include <limits.h> /* rdg 10/93 */
.D 7 2
.I 16 1
static int skip[UCHAR_MAX+1]; /* rdg 10/93 */
.D 17 1
.I 26 1
for (i = 0; i <= UCHAR_MAX; ++i) /* rdg 10/93 */
.D 27 1
.I 60 6
if ( j < 0 ) /* rdg 10/93 */
return s; /* rdg 10/93 */
if ( (i += skip2) >= 0 ) /* rdg 10/93 */
return NULL; /* rdg 10/93 */
}
}
.D 61 5