[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fchdir() question

From: Paul Eggert
Subject: Re: fchdir() question
Date: Wed, 8 Aug 2018 02:37:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Barath Aron wrote:
What system implements a realloc() which does not work if ptr is null pointer?

I think the main problem area here is realloc (NULL, 0), where POSIX does not completely specify the behavior but GNU does. Only very ancient systems have problems with realloc (NULL, x) when x is nonzero.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]