Han Boetes <[EMAIL PROTECTED]> writes: > Advantages are: > > - simpler code
Not really. > - strdup is more portable Not more than alloca. > - error handling Which error? > - you don't have to worry about strdup concerning security The code you changed is already obviously safe. > I hope you like the idea. No. Nobody is reclaiming the storage, so you introduced a memory leak. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstra�e 5, 90409 N�rnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Emacs-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-devel
