Signed usage of time_t
Khaled El Mously <[email protected]>
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
Hello I've been trying to get Polipo to work on QNX. The compilation was very straightforward, but attempting to use Polipo on QNX would silently fail. After some investigation I realized what the problem was: in some cases the code uses negative values of time_t to (I assume) mean "everything's OK". QNX uses uint32_t to represent time_t, so that obviously creates problems. POSIX doesn't specify exactly how time_t should be implemented, so the current Polipo code isn't guaranteed to run on all systems. I'm curious, was there any success running Polipo on NetBSD? If so, which version(s) of NetBSD? Anyways, I thought I'd bring this to the attention of the Polipo developers in case there's an interest in fixing it. It would probably also help to somehow have more verbose logging during error conditions. Thanks -Khaled ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev