FreeCalypso > hg > freecalypso-sw
diff ffstools/tiffs-rd/pathname.h @ 233:ae9ff2d1e3da
tiffs IVA: basic ls integrated
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 26 Jan 2014 10:54:42 +0000 |
parents | 2900fe603f8a |
children |
line wrap: on
line diff
--- a/ffstools/tiffs-rd/pathname.h Sun Jan 26 08:42:59 2014 +0000 +++ b/ffstools/tiffs-rd/pathname.h Sun Jan 26 10:54:42 2014 +0000 @@ -1,3 +1,3 @@ #define MAX_FN_COMPONENT 20 #define MAX_DIR_NEST 6 -#define PATHNAME_BUF_SIZE ((MAX_FN_COMPONENT+1) * MAX_DIR_NEST + 2) +#define PATHNAME_BUF_SIZE ((MAX_FN_COMPONENT+1) * (MAX_DIR_NEST+1) + 1)