[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] Fix for strstr.S

From: Philip Søeberg
Subject: [avr-libc-dev] Fix for strstr.S
Date: Mon, 9 Dec 2002 21:42:03 +0100



I’ve coded a new strstr.S to compensate for the errors found in the current release of it.

(To those still not aware of any errors, please use test1.c to verify they exists)


Included in this tarball is:

            strstr.S             Replacement for the existing version.

            test1.c              Testbench checking various combinations.

            makefile            Not really necessary I guess :)


The code for strstr.S has increased nearly 100bytes which probably could be tweaked a bit…

This is primerly due to the fact that I’m calling strchr.S if a one-char-string is parsed as s2… Perhaps this could be tweaked?


I strongly encurage you to use the testbench to test the old version versus this new one.


Drop me a line if any questions should arise.


Best regards

-=[ Philip Soeberg ]=[ address@hidden ]=-


Attachment: strstr.tar
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]