In my opinion it is better to alloc directly MAXPATHLEN+1 bytes when that limit exists without entering the loop and use multiple reallocations.
Giuseppe Scrivano _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel