[PATCH 2/4 try2] ubi-utils: migrate ubimirror

Alexander Schmidt alexs at linux.vnet.ibm.com
Fri Sep 28 03:41:38 EDT 2007


Hi Frank,

thanks you for taking a look at the code.

> On Thu, 2007-09-27 at 20:14 +0200, Alexander Schmidt wrote:
> > +#define MAXPATH          1024
> > 
> 
> Would it make sense to use PATH_MAX from limits.h? It is not 1024 I
> think but I guess it should serve the same purpose.
> 
> man limits.h:
> 
>        {PATH_MAX}
>               Maximum number of bytes in a pathname, including the 
>               terminating null character.

That makes sense, I will resend when I've figured out how to send
patch series which don't bounce from the mtd-list...

Regards,
Alex



More information about the linux-mtd mailing list