From: Timo Hirvonen Date: Mon, 06 Jun 2005 23:02:46 GMT Subject: duplicate htons() in check_file_directory_conflict() Message-ID: <1118098966l.5384l.0l@garlic> Hi, create_ce_flags() macro calls htons() so the htons()s in check_file_directory_conflict() should be removed or alternatively htons should be removed from the create_ce_flags macro. I noticed the bug when compiling cogito with -Wshadow. read-cache.c:208 pos = cache_name_pos(pathbuf, htons(create_ce_flags(len, stage))); read-cache.c:232 pos = cache_name_pos(path, htons(create_ce_flags(namelen, stage))); -- http://onion.dynserv.net/~timo/