This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI: new openat-like function: mkdirat


Daniel Jacobowitz <drow@false.org> wrote:
> You're talking about exec.  If you're going to use execve anyway,
> there's no way you need your old initial working directory back, is
> there?

Right.

As James pointed out, the forked child can simply call
fchdir just before execvp, just as find already does.
So there's no need for any new exec* function, after all.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]