gethostname() patch

Christopher Faylor cgf@redhat.com
Fri Jan 10 18:10:00 GMT 2003


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



More information about the Cygwin-developers mailing list