Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh. My first answer was "I don't know", and then I googled it and apparently it's implementation defined. So...my first answer was correct? :)


True, it's implementation defined. But almost all implementations choose one of the two options. There is a reason for this.

FYI. I introduced a (bad) security bug into Samba a long time ago by expecting the wrong return (i.e. the one the implementations never return :-).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: