From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf van der Spek Subject: Re: [PATCH] Btrfs-progs use safe string manipulation functions Date: Thu, 10 Feb 2011 14:52:14 +0100 Message-ID: References: <1297081322.4615.10.camel@monotop> <4D53C711.3000309@nsc.liu.se> <1297344585.28159.12.camel@monotop> <1297345079.28159.14.camel@monotop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Jeremy Sanders , linux-btrfs@vger.kernel.org To: Eduardo Silva Return-path: In-Reply-To: <1297345079.28159.14.camel@monotop> List-ID: On Thu, Feb 10, 2011 at 2:37 PM, Eduardo Silva wrote: > string_copy seems pointless, it's kinda equivalent to strcpy. > > Yeah, but if we are thinking into write some wrappers let's create a couple > for the major string manipulation used... A wrapper should have a benefit, your string_copy doesn't have any. -- Olaf