http://bugs.winehq.org/show_bug.cgi?id=27250
Summary: Prey receives a truncated hostname from hostname.exe ? Product: Wine Version: 1.3.20 Platform: x86 URL: http://preyproject.com/ OS/Version: Linux Status: NEW Keywords: download, source Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: arethusa26@gmail.com
See bug 27170 for the original bug. Prey uses 'hostname' to get the hostname, and uses this for the default device name. My current machine's hostname is 'aw21'. With wine-1.3.20-230-g456e48e, when running the prey installer, it thinks my hostname is 'aw2'. As a test, I made a simple exe that returns a longer string: austin@aw21 ~ $ cat foo.c #include <stdio.h> int main(void) { printf("test\n"); return 0; }
and compiled with mingw32, renamed to hostname.exe and set to native. Prey then sees 'test' as my full hostname. Something in the current hostname implementation isn't making prey happy...
http://bugs.winehq.org/show_bug.cgi?id=27250
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com 2011-06-01 13:20:03 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/c8ea11c0d8d6e0e22463715abb5...
Thanks Andrew!
http://bugs.winehq.org/show_bug.cgi?id=27250
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2011-06-10 13:18:12 CDT --- Closing bugs fixed in 1.3.22.
https://bugs.winehq.org/show_bug.cgi?id=27250
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c8ea11c0d8d6e0e22463715abb5 | |a2c5843a5cb2b CC| |nerv@dawncrow.de