This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gethostname() patch


On Fri, Jan 10, 2003 at 12:11:24PM -0500, Earnie Boyd wrote:
>Christopher Faylor wrote:
>>On Fri, Jan 10, 2003 at 08:03:08AM -0500, Sergey Okhapkin wrote:
>>
>>>>>>My questions is:  Shouldn't uname call this function as
>>>>>
>>>>well?  Uname
>>>>
>>>>>>still uses the upper case value returned from GetComputerName().
>>>>>
>>>>What about my question?
>>>>
>>>
>>>It should I think. I see no reason to have different return values from
>>>uname() and hostname().
>>
>>
>>I agree.  It will be nice to see a lowercase host name reported by
>>"uname -a".
>>
>
>Problematic for config.guess?

config.guess shouldn't be relying on the name of your system.

FWIW, I routinely go into the registry and change the case of my system
from upper case to lower case.  I've done this on Windows 95 and NT with
no ill effects that I can discern.  I do get the nice relaxing lowercase
system names in my prompt, though.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]