To Mr. Potatohead:
alloc_perm() makes calls to calloc, I also believe that the chunk
memory is calloc'd too.

To Jeremy:

Just a couple questions outta curiosity... whats stristr do? I checked
my man files, but nothing came up! If it works like strstr, then
wouldn't you have a problem if you had a word thats part of another? I
can't come up with one atm.. oh! A word that starts with 'a' and ends
with 's', Alias, Aliases. Heh if thats even spelled right :P. Thats
why I'd think str_cmp is better. I've used a system kinda like that
for quests and such, I store them <13> like that, so I can strstr for
the number with brackets around it to avoid such a problem.

Also...

//A good function only has 1 return point if possible.

Why? I dun get why? Is it for compiling time? Saves... memory? Or is
it just what has been deemed?

Davion

Reply via email to