Moritz Schulte <[EMAIL PROTECTED]> writes:

> Hi,
> 
> 2001-12-03  Moritz Schulte  <[EMAIL PROTECTED]>
> 
>       * libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Don't forget
>           the trailing slash when looking up absolute symlinks.
> 
> --- dir-lookup.c.orig Mon Dec  3 17:35:09 2001
> +++ dir-lookup.c      Mon Dec  3 17:36:04 2001
> @@ -361,6 +361,8 @@ diskfs_S_dir_lookup (struct protid *dirc
>                 *retry = FS_RETRY_MAGICAL;
>                 *returned_port = MACH_PORT_NULL;
>                 strcpy (retryname, pathbuf);
> +               if (mustbedir)
> +                 strcat (retryname, "/");
>                 goto out;
>               }
>             path = pathbuf;

Patches like this should always be checked against ufs so that the
semantics of the two programs stay in sync.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to