Michael McConville wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]    2015/12/28 12:14:04
> 
> Modified files:
>       usr.bin/yacc   : skeleton.c 
> 
> Log message:
> realloc and free's behavior when passed NULL is defined by C89, so we
> can safely assume it.
> 
> ok millert@. Also discussed with deraadt@, sthen@, and espie@.

The realloc part was also explicitly ok deraadt@

To clarify, it is significant that these behaviors are from ancient
standards because some programs using yacc redefine the allocation
functions. Todd pointed out that C89 features are assumed in yacc, so
these should be fine.

Reply via email to