Overview
| Artifact ID: | cc67adfe50f69a4278b6be5f974fdef5565568bc |
|---|---|
| Ticket: | 1823552fffffffffffffffffffffffffffffffff
[info hostname] encoding |
| User & Date: | dgp on 2007-11-16 03:06:53 |
Changes
- icomment:
Logged In: YES user_id=80530 Originator: YES The branch that calls getComputerNameProc() is correct. Since that will presumable always succeed, the HEAD code won't reach the bug. The followup branch that calls gethostname() is the part that is broken. gethostname() empirically returns a string in the [encoding system], but the InitializeHostName() routine assumes the string is in utf-8. On the 8.4 branch, the gethostname() attempt comes before the getComputerNameProc() attempt, so the bug is easier to demo and more important to fix.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"