I merged qstat 25b-r1 today, and it is now unable to resolve host names. The following no longer works: $ /usr/bin/qstat -R -u -hlm,game=valve half-life.west.won.net invalid address: half-life.west.won.net specifying the host by ip address does work: /usr/bin/qstat -R -u -hlm,game=valve 198.74.33.42
kain: the qstat-25b.gcc3-fix patch breaks hostname lookups ... i did compile qstat-25b on gcc3.2 so i'm not sure what this patch is for ... i'm guessing its this section of the patch ... - ipaddr= inet_addr(arg); + aton_ret = inet_aton(arg,&ipbuf); + if (!aton_ret) { + print_file_location(); + fprintf( stderr, "invalid address: %s\n", arg); + } + ipaddr = ipbuf.s_addr;
Oops. Sorry about that. I really just wanted lucky bug #8000! (or not) The tolower part of the patch stays though... That part of the code breaks on the gcc3.2 systems I've tested when running with XQF. I just tried with your testcase, and all should be fine. Try a remerge.