[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] memstr
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] memstr |
Date: |
Thu, 30 Sep 2004 16:17:19 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> How about this?
Shouldn't this be looking for one block of memory inside another?
That is, the function should accept two size arguments, as well as two
pointers. That's more general.
A problem with mixed-mode operations like memstr is that the number of
operators explodes combinatorially with the number of operands. For
example, if there are 4 operands, one would need 16 function flavors.