Re: What I know of sethostname()

2001-11-04 Thread Roland McGrath
Thanks for investigating. I've just checked in the following change to libc, which should fix this bug. 2001-11-04 Roland McGrath <[EMAIL PROTECTED]> * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags parameter to dir_mkfile. __

What I know of sethostname()

2001-11-03 Thread James Morrison
Hello, from what I can get from the sources and gdb sethostname(name,len) calls _hurd_set_host_config("/etc/hostname",name,len) then _hurd_set_host_config gets the port of /etc, creates a port for hostname if neccesary, or gets the old port for /e