Paul Eggert <[EMAIL PROTECTED]> wrote:
> Jim Meyering <[EMAIL PROTECTED]> writes:
>
>> But if someone submits a clean patch, I'll consider it.
>
> Here's a patch that I hope is clean enough; it shortens the source
> code by 18 lines.  It doesn't fix any bugs so I have not installed it.
>
> 2005-11-04  Paul Eggert  <[EMAIL PROTECTED]>
>
>       * src/ln.c: Include filenamecat.c.
>       (FILE_BASENAME_CONCAT): Remove.
>       (do_link): Remove last arg DEST_IS_DIR.  All callers changed.
>       (main): Use file_name_concat, base_name, and strip_trailing_slashes
>       instead of FILE_BASENAME_CONCAT.  This simplifies the code, and avoids
>       the use of alloca.

That looks fine.
I've checked it in to the trunk.
Thanks!


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to