severity 46750 normal
reassign 46750 dpkg-iwj
thanks

Previously [EMAIL PROTECTED] wrote:
> I suggest changing the code in main/help.c to use appropriate combinations
> of strdup or malloc/realloc with strlen.

strdup isn't portable, but we have m_malloc. I've changed this in my
source to m_malloc the necessary space.

> Or you use sysconf to query a limit if it exists, and if not, you use one of
> the above methods.

sysconf also isn't portable, but we can use strlen(path) as well. That's
almost always too big, but usuall still smaller then MAX_PATH.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: [EMAIL PROTECTED]
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgp0F9GNIeC7x.pgp
Description: PGP signature

Reply via email to