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 Zoulas)
    Message-ID:  <pogctj$rd$>

  | 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)


Home | Main Index | Thread Index | Old Index