#
08c9a571 |
| 18-Feb-2013 |
miod <miod@openbsd.org> |
Report unlink() errors unless ENOENT; especially useful in case of read-only filesystems to get a useful error message than `File exists'. ok guenther@ todd@ beck@ phessler@ mpi@ gievanni@ deraadt@
|
#
4af2953f |
| 14-Sep-2012 |
millert <millert@openbsd.org> |
There's no reason to unlink the destination if we can't even open the source file. This fixes a problem with the databases/ruby-ldap port. Note that I changed the O_TRUNC to O_EXCL to avoid the rac
There's no reason to unlink the destination if we can't even open the source file. This fixes a problem with the databases/ruby-ldap port. Note that I changed the O_TRUNC to O_EXCL to avoid the race between unlink/rename and creat. OK naddy@ jeremy@
show more ...
|
#
8c6f34b6 |
| 11-Apr-2012 |
millert <millert@openbsd.org> |
Move size == 0 check to the beginnig of copy(); ok espie@
|
#
11a8fce7 |
| 11-Apr-2012 |
espie <espie@openbsd.org> |
fix install to cope with 0-sized mmap now returning EINVAL. - no need to copy anything - gc redundant size check - short-cut for compare (theo's code) - gc volatile ??? - style
"sure" theo
|
#
043fbe51 |
| 27-Oct-2009 |
deraadt <deraadt@openbsd.org> |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (th
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
show more ...
|
#
b828adf2 |
| 27-Mar-2009 |
phessler <phessler@openbsd.org> |
-S (safe mode) would copy the file over, rename it to the target, then do the chown/chmod dance. This created a race where the new file would be in place, but with the incorrect permissions. Fix so
-S (safe mode) would copy the file over, rename it to the target, then do the chown/chmod dance. This created a race where the new file would be in place, but with the incorrect permissions. Fix so the rename is the last thing, instead of a middle thing.
looks ok to krw@, deraadt@ OK beck@
show more ...
|
#
1287e019 |
| 05-Sep-2007 |
jsg <jsg@openbsd.org> |
Missing colon in optsring for 'B' From Jan Niemann <jan.niemann@gns-systems.de>
|
#
03cb09c0 |
| 06-Aug-2007 |
sobrado <sobrado@openbsd.org> |
the ellipsis is not an optional argument; while here, sync the usage and synopsis of commands
lots of good ideas by jmc@
ok jmc@
|
#
f70d55c3 |
| 25-May-2007 |
krw <krw@openbsd.org> |
"boundries" -> "boundaries" in various comments. Started by Diego Casati.
|
#
8690131e |
| 16-May-2007 |
moritz <moritz@openbsd.org> |
Allow stripping of files, even if the destination filename starts with a dash.
ok millert@ jaredy@ ray@
|
#
54947f1e |
| 10-Jan-2006 |
millert <millert@openbsd.org> |
Use strlcpy(), not strncpy(); OK deraadt@
|
#
a59c9b15 |
| 04-Oct-2004 |
jsg <jsg@openbsd.org> |
hierarchy is spelt hierarchy, ok djm@
|
#
c7b4a4ca |
| 01-Jul-2004 |
otto <otto@openbsd.org> |
setmode(3) returns void *, not mode_t *. ok millert@
|
#
9d4a4cbc |
| 10-Feb-2004 |
jmc <jmc@openbsd.org> |
- sort options - simplify SYNOPSIS - note that files are copied, not moved (from couderc@)
|
#
8e9ca5d7 |
| 22-Nov-2003 |
mickey <mickey@openbsd.org> |
madvise() -- take two
|
#
8f8df15a |
| 22-Nov-2003 |
grange <grange@openbsd.org> |
Revert the last change since it's broke make release.
|
#
64508f94 |
| 21-Nov-2003 |
mickey <mickey@openbsd.org> |
madvise() mmaped memory as sequentially accessed cutting user time almost in half; millert@ ok
|
#
4b066b94 |
| 02-Jul-2003 |
avsm <avsm@openbsd.org> |
bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)
|
#
1837a5ca |
| 10-Jun-2003 |
deraadt <deraadt@openbsd.org> |
mostly ansi cleanup; pval ok
|
#
f75387cb |
| 03-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
c192f888 |
| 11-May-2003 |
tedu <tedu@openbsd.org> |
when doing sparse writes, we must write the last byte or the file will be shortened. problem found by wcobb and naddy. ok millert@
|
#
bb28a428 |
| 07-May-2003 |
millert <millert@openbsd.org> |
fix an err() that should be errx()
|
#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
41ed49b7 |
| 24-Jan-2002 |
millert <millert@openbsd.org> |
Fix `necesary' typos; Alexander Yurchenko
Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
|
#
c0932ef1 |
| 19-Nov-2001 |
mpech <mpech@openbsd.org> |
kill more registers
millert@ ok
|