[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH,HURD] hurd: compliance fixes for ptsname_r
From: |
Roland McGrath |
Subject: |
Re: [PATCH,HURD] hurd: compliance fixes for ptsname_r |
Date: |
Fri, 27 Apr 2012 15:21:01 -0700 (PDT) |
Compliance with what? Is there a standard that specifies ptsname_r?
We don't use implicit boolean coercions, we use (buf != NULL).
But unless there is a standard requiring that you diagnose a
null pointer argument somehow, then it's actually better that
it just crash.
Thanks,
Roland