tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding -l option to cp
On Sat, 22 Jan 2011 23:55:04 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> > + /* Some systems don't unmap on close(2). */
> > if (munmap(p, fsize) < 0) {
> > warn("%s", entp->fts_path);
> > rval = 1;
>
> This comment is misleading at the very least. mmap is not disestablished
> by close(2). Doing it would break quite a few programs, including
> dynamic linkage...
I copied some of the code from FreeBSD and that comment was there.
I'll remove it before committing. How about the actual feature?
--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/
Home |
Main Index |
Thread Index |
Old Index