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

Frank Haverkamp haver at vnet.ibm.com
Thu Sep 27 14:30:47 EDT 2007


Hi Alex,

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.

Frank

-- 
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen,
Registergericht: Amtsgericht Stuttgart, HRB 243294
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5269 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20070927/16d51f17/attachment-0001.bin 


More information about the linux-mtd mailing list