Re: Install fails
- From: ht inf ed ac uk (Henry S. Thompson)
- To: Debajyoti Bera <dbera web gmail com>
- Cc: Joe Shaw <joe joeshaw org>, dashboard-hackers gnome org
- Subject: Re: Install fails
- Date: Tue, 04 Dec 2007 11:49:36 +0000
Debajyoti Bera writes:
>> > How about I use System.Environment.MachineName instead of
>> > Mono.Unix.UnixEnvironment.MachineName ? Seems to work with long names
>> > too... (I tried with a 24-char name).
>>
>> Yeah, let's do that. S.E.MachineName just calls gethostname() in an
>> internal call in the runtime. M.U.UE.MachineName calls the same
>> thing, but does it using P/Invoke and apparently doesn't do it
>> correctly. So even if it worked, the results would be exactly the
>> same.
>
> Done. r4252.
Works!
Thanks -- prompt and helpful responses, you guys rock!
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht inf ed ac uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]