mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-15 19:22:22 +00:00
Merge branch 'origin' into input-hotplug
This commit is contained in:
commit
1c2cb30cd8
5 changed files with 113 additions and 85 deletions
|
|
@ -1188,7 +1188,11 @@ ResetHosts (char *display)
|
|||
FreeHost (host);
|
||||
}
|
||||
|
||||
#if defined WIN32 && defined __MINGW32__
|
||||
#define ETC_HOST_PREFIX "X"
|
||||
#else
|
||||
#define ETC_HOST_PREFIX "/etc/X"
|
||||
#endif
|
||||
#define ETC_HOST_SUFFIX ".hosts"
|
||||
fnamelen = strlen(ETC_HOST_PREFIX) + strlen(ETC_HOST_SUFFIX) +
|
||||
strlen(display) + 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue