An excellent observation! That was probably causing all kinds of problems yet 
to be seen!

Thanks so much!

On May 16, 2012, at 1:51 PM, Stephen J. Butler wrote:

> On Wed, May 16, 2012 at 12:39 PM, Charlie Dickman <3tothe...@comcast.net> 
> wrote:
>>        possible[strlen(possible)] = '\0';
> 
> This can't possibly work. strlen() depends on the string already being
> \0 terminated. You can't use strlen() to find the position to add a
> \0.

Charlie Dickman
3tothe...@comcast.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to