| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
reopen it after strip has finished. This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
|
|
|
|
| |
Cosmetic in man page.
|
|
|
|
|
|
|
|
| |
until the includes are installed, and it doesn't install the includes until
xinstall is built (the previous xinstall binary may not have -C). As a
bandaid, define MAP_FAILED ourselves if <sys/mman.h> didn't. Perhaps it
would be safer to simply disable mmap if all the prerequisites are not
there.
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
| |
Pointed out by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
|
| |
Remove -S for the install usage message
Make the install usage message < 80 columns wide
Place the dodir declaration in order.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Change the debug flag from -d to -D to avoid conflict with other
install programs.
- Update man page to reflect this
- Update usage string
-d meaning creat directory is specifically not implemented by these changes.
|
|
|
|
|
|
|
|
|
| |
copy.
Dont leave stray INS@xxxx temp files around, especially when installing
something less than 8MB and the destination runs out of space, etc.
It still doesn't clean up the temp files on SEGV or other signals etc.
|
|
|
|
| |
didn't rewind the files after the read()s in the non-mmap compare.
|
|
|
|
|
|
|
|
| |
installing. mmap'ing stuff over a nfs mount took out my machine during
a 'make world' last night while I was asleep. I started out with a list
of fs's to avoid, when I realised that I really didn't know which ones
were safe with mmap, so I went for the ones I knew and implemented a
fallback compare.
|
|
|
|
|
|
|
|
|
|
| |
installs something. This is not 100% right, since it has a false hit
when install -C snaps hard links.
Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.
|
| |
|
|
|
|
| |
Pointed out by: somebody on the mailing list who's name i forgot
|
|
|
|
|
|
| |
allow the user to install using a Numeric GID or UID.
this brings it in to line with chgrp and chown, ans is required
by some people using FreeBSD in a product.
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@limrr.fr>
|
|
|
|
|
|
|
| |
The real fix requires changes to getpwent(3) and friends and getgrent(3)
and friends.
Submitted by: Tim Wilkinson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
time of the target if the target file is the same as the source),
-d (debug), and -p (same as -C except for preserving the modification
time of the source if the target doesn't exists or is different from
the source.
Use library err() functions instead of our own and pass them better
exit codes.
Submitted by: wollman (and changed a lot by me)
|
| |
|
|
|
|
|
|
|
|
|
| |
stripping failed (since the file has been a shell script, for
example).
Closes PR # bin/645: "install -c -s" can't inst...
Submitted by: hohmuth@inf.tu-dresden.de (Michael Hohmuth)
|
|
|
|
| |
specified in the top level Makefiles.
|
|
|
|
|
|
|
| |
Submitted by:
Get the man page installed. Does anyone know the reason for the name
xinstall instead of install for this directory ? Would life more
easy to get this whole thing under install.
|
| |
|
|
|
|
| |
not get removed when running make install.
|
|
|
|
| |
to just install:, sperious targets and CLEANFILES removed.
|
|
|