tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dirname(3) used on its own results?
Date: Wed, 26 Sep 2018 16:42:27 +0000 (UTC)
From: christos%astron.com@localhost (Christos Zoulas)
Message-ID: <pogctj$rd$1%blaine.gmane.org@localhost>
| Well, it will return the wrong results... so might as well change the
| memcpy to memmove? No?
That would certainly not do any harm, but it would still be better to fix
the callers not to depend upon internals of how dirname (or basename)
works.
kre
Home |
Main Index |
Thread Index |
Old Index