tech-userlevel archive

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

Re: Import basename_r and dirname_r from FreeBSD?

Jukka Ruohonen <> wrote:

> What are these? 

Out basename() and dirname() use static buffers and are therefore not
thread-safe. This is standard-compliant but annoying when programs
assume thread-safety.

> I'd say: sure, but not to libc.

Why not? Where do you want it to go?

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index