Re: [PATCH 1/2] Use file descriptor instead of path for recursiveRemove()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 19, 2009 at 03:21:58PM -0400, Peter Jones wrote:
> -				sprintf(subdir, "%s/%s", dirName, d->d_name);
> -				recursiveRemove(subdir);
> +				cfd = openat(dfd, d_name, O_RDONLY);
                                  ^^^^^^
 Did you try to compile this code? :-)
 
 Anyway, merged and pushed to kernel.org. It would be nice to test the
 latest changes by dracut. Please. Harald?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux