If a line in /etc/hosts starts with a space or tab, it's not read. I'm
not sure that's really a desirable behavior. I'm quite sure it's not
the vehavior I expected.
It looks like it's the usage of strpbrk() in the gethostent() function
of src/lib/libc/net/gethostbyht.c. It wouldn't be hard to fix it to
find hostnames on lines starting with " \t". Should I submit a patch?
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
- /etc/hosts lines starting with white space are ignored David Scheidt
- Re: /etc/hosts lines starting with white space are ign... Romain Kang
- Re: /etc/hosts lines starting with white space are... Paul Armstrong