110 |
URL: |
URL: |
111 |
http://bibl4.oru.se/projects/rdesktop/patch19/patches/hostname-patch |
http://bibl4.oru.se/projects/rdesktop/patch19/patches/hostname-patch |
112 |
Description: |
Description: |
113 |
TDB |
(From http://mail.rdesktop.org/archive/2001/msg00163.html): |
114 |
|
|
115 |
|
rdesktop uses gethostname to figure out the hostname, but gethostname |
116 |
|
under linux returns an error when the hostname is longer than the |
117 |
|
buffer. This hack gives gethostname a 64 char buffer and then strips |
118 |
|
the first 16 chars or upto the first '.' and puts the result in |
119 |
|
hostname[16]. |
120 |
|
|
121 |
Status: |
Status: |
122 |
Not yet examined. |
Applied in version 1.10 of rdesktop.c. |
123 |
|
|
124 |
|
|
125 |
URL: |
URL: |