"Tom Lane" <[EMAIL PROTECTED]> wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > I see other strdup() calls that don't check on a return. Should we deal > > with those too? > > strdup -> xstrdup if you're concerned.
May be is a good idea avoid the future use: #define strdup STRDUP_DEPRECATED_USE_INSTEAD_XSTRDUP I don't like the other solution: redefine the strdup in function of xstrdup. Regards Gaetano Mendola ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly