[Bug 27250] New: Prey receives a truncated hostname from hostname.exe ?
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat May 21 18:18:59 CDT 2011
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 at winehq.org
ReportedBy: austinenglish at gmail.com
CC: arethusa26 at 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 at 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.
More information about the wine-bugs
mailing list