From: SourceForge.net <no...@so...> - 2009-06-27 18:58:15
|
Bugs item #2096705, was opened at 2008-09-06 09:24 Message generated for change (Comment added) made by chickenandporn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=716425&aid=2096705&group_id=129981 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Works For Me Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: syntax error or argument missing in query.c Initial Comment: on compiling query.c, the compiler crashes because is waiting for the string "%lld" in a sprintf command, and after the string only 2 arguments are given (a long-typed one and an integer), so the format string is mistyped or an argument is missing. lines 235, 593 and 597 in file query.c ---------------------------------------------------------------------- >Comment By: chickenandporn (chickenandporn) Date: 2009-06-27 18:58 Message: I'm marking this as "works for me" -- because it does -- but I'm looking for your response where it doesn't "work for you". Maybe we need to augment the project for portability. I'd like to close this after 2009-07-31 if we don't see a response. I don't mean to be draconian, I'd like to resolve this if we can still get feedback. ---------------------------------------------------------------------- Comment By: chickenandporn (chickenandporn) Date: 2009-06-27 18:49 Message: Just checking this, line 235 involves off_t length which is indirectly defined as a __int64_t on my platform. line 593 is similar. The only dodgy one might be line 597: length + size + 1 -- where size is a "size_t", indirectly defined as an unsigned long. The compiler should convert the unsigned long to a long long for the math, it should be fine. What's your platform? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=716425&aid=2096705&group_id=129981 |