Re: Non-const basename: libkvm
On Tue, 13 Oct 2020 11:05:42 +0200, Christian Weisgerber wrote: > Accommodate a basename(3) that takes a non-const parameter and may > in fact modify the string buffer. > > Note that strlen(uf) >= PATH_MAX is already checked by the caller > in _kvm_open(). OK. - todd
Non-const basename: libkvm
Accommodate a basename(3) that takes a non-const parameter and may in fact modify the string buffer. Note that strlen(uf) >= PATH_MAX is already checked by the caller in _kvm_open(). ok? Index: lib/libkvm/kvm.c === RCS file: /cvs/sr