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 06/22/2009 03:54 PM, Karel Zak wrote:
> 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? :-)

Well, I thought I had...  but clearly not.  Sorry about that.

>  Anyway, merged and pushed to kernel.org. It would be nice to test the
>  latest changes by dracut. Please. Harald?

Thanks.

-- 
        Peter

Computer games don't affect kids; I mean if Pac-Man affected us as
kids, we'd all be running around in darkened rooms, munching magic
pills and listening to repetitive electronic music.
		-- Not actually Kristian Wilson, Nintendo, Inc, 1989
--
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