Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1582 - trunk: . fsvs/src

fsvs
Discussion topic

Back to topic list

svn commit: r1582 - trunk: . fsvs/src

Author pmarek
Full name P.Marek
Date 2008-04-03 22:12:24 PDT
Message Author: pmarek
Date: 2008-04-03 22:12:23-0700
New Revision: 1582

Modified:
   trunk/ (props changed)
   trunk/fsvs/src/waa.h

Log:
Bugfix - maximum length of WAA and CONF files had some entries missing


Modified: trunk/fsvs/src/waa.h
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/src/waa​.h?view=diff&rev​=1582&p1=trunk/f​svs/src/waa.h&p2​=trunk/fsvs/src/waa.​h&r1=1581&r2​=1582
====================​====================​====================​==================
--- trunk/fsvs/src/waa.h (original)
+++ trunk/fsvs/src/waa.h 2008-04-03 22:12:23-0700
@@ -177,12 +177,21 @@
 
 /* this should be optimized into a constant.
  * verified for gcc (debian 4.0.0-7ubuntu2) */
-#define WAA__MAX_EXT_LENGTH max( \
- max( max(strlen(WAA__DIR_EXT), strlen(WAA__PROP_EXT) ), \
- strlen(WAA__FILE_MD5s_EXT) ), \
- max(strlen(WAA__IGNORE_EXT), strlen(WAA__URLLIST_EXT) ) \
- )
-
+#define WAA__MAX_EXT_LENGTH max( \
+ max( \
+ max(strlen(WAA__CONFLICT_EXT), \
+ strlen(WAA__COPYFROM_EXT)), \
+ strlen(WAA__IGNORE_EXT) ), \
+ max( \
+ max(max(strlen(WAA__DIR_EXT), \
+ strlen(WAA__FILE_MD5s_EXT)), \
+ max(strlen(WAA__PROP_EXT), \
+ strlen(WAA__CONFLICT_EXT)) ), \
+ max( \
+ max(strlen(WAA__FILE​_INODE_EXT), \
+ strlen(WAA__DIR_INODE_EXT)), \
+ max(strlen(WAA__FILE_NAME_EXT), \
+ strlen(WAA__DIR_NAME_EXT)) ) ) )
 
 /** Store the current working directory. */
 int waa__save_cwd(char **where, int *len, int additional);

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1582 - trunk: . fsvs/src pmarek P.Marek 2008-04-03 22:12:24 PDT
Messages per page: