FreeBSD Bugzilla – Attachment 20561 Details for
Bug 36254
Conflicting function definition with standard libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 799 bytes, created by
Jerome Mainka
on 2002-03-24 16:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jerome Mainka
Created:
2002-03-24 16:10:01 UTC
Size:
799 bytes
patch
obsolete
>*** HTReader.c.orig Sun Mar 24 16:46:30 2002 >--- HTReader.c Sun Mar 24 16:47:00 2002 >*************** >*** 76,99 **** > ** HT_WOULD_BLOCK if read or write would block > ** HT_PAUSE if stream is paused > */ >- char * strnstr(char * haystack, int *pLen, char * needle) >- { >- int found = 0; >- int need = strlen(needle); >- int i, start; >- for (start = i = 0; i < *pLen; i++) >- if (haystack[i] == needle[found]) { >- if (++found == need) { >- i -= need - 1; /* beginning of string */ >- *pLen -= i; >- return haystack+i; >- } >- } else { >- found = 0; >- } >- *pLen = 0; >- return NULL; >- } > > /* int DebugBufferSize = INPUT_BUFFER_SIZE; */ > >--- 76,81 ----
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36254
: 20561