Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dwattttt
on Dec 11, 2024
|
parent
|
context
|
favorite
| on:
Making memcpy(NULL, NULL, 0) well-defined
I don't imagine NULL is defined as "pointing to an object", so I don't expect that clause to apply.
tsimionescu
on Dec 11, 2024
[–]
You completely skipped over the first part: "Two pointers compare equal if and only if
both are null pointers
"
lelanthran
on Dec 12, 2024
|
parent
|
next
[–]
> You completely skipped over the first part: "Two pointers compare equal if and only if both are null pointers"
Maybe he elided it in an optimisation pass?
dwattttt
on Dec 11, 2024
|
parent
|
prev
[–]
Can't get much more of a reading comprehension failure than that. Good thing I don't write compilers.
tsimionescu
on Dec 12, 2024
|
root
|
parent
[–]
Happens to everyone, don't worry, especially when trying to focus on details, ironically...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: