[Bug 27250] New: Prey receives a truncated hostname from hostname.exe ?
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(a)winehq.org ReportedBy: austinenglish(a)gmail.com CC: arethusa26(a)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(a)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... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27250 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2011-06-01 13:20:03 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/c8ea11c0d8d6e0e22463715abb5... Thanks Andrew! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27250 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> 2011-06-10 13:18:12 CDT --- Closing bugs fixed in 1.3.22. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=27250 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c8ea11c0d8d6e0e22463715abb5 | |a2c5843a5cb2b CC| |nerv(a)dawncrow.de -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org