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]

gethostname() patch


Hi,

I've just removed some old cruft from cygwin_gethostname which had
the annoying result that always the return value of GetComputerName()
has been used instead of the return value of gethostname().  Now
Cygwin's gethostname and hostname(1) report the winsock value of the
hostname which is lower case.

My questions is:  Shouldn't uname call this function as well?  Uname
still uses the upper case value returned from GetComputerName().

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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