christos
c8bb8a7a53
fix argument parsing.
2012-10-22 18:00:46 +00:00
christos
bc8069542c
add --reference=rfile
2012-10-22 17:47:06 +00:00
joerg
5bb1ddccc2
Use __dead
2011-08-29 14:51:17 +00:00
snj
f3bbc67d3e
Document "-f". From Andreas Wiese in PR bin/35409, slightly modified.
2010-01-22 05:41:36 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
christos
037f0a7b03
Now that setmode() is fixed, handle errors with err instead errx.
2005-10-01 20:09:18 +00:00
jschauma
420b2ac8ff
Remove unused code left over from temporary printescaped functionality.
...
Noted by Jeff Ito in PR bin/23967.
2004-01-04 03:34:00 +00:00
jschauma
6a75fbb636
Following private discussion with kleink@ and hubertf@ and public discussion
...
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
jschauma
458ed23412
As discusses a little while back on tech-userlevel:
...
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
bjh21
525b050279
Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7),
...
IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks
on the command line and changing their targets' modes/ownership/flags, rather
than ignoring them.
This fixes PR standards/563 (at last).
2002-07-07 11:44:02 +00:00
bjh21
28ac946ca2
Fix a comment: POSIX doesn't specify -h.
2002-05-31 18:54:01 +00:00
wiz
516b44de0a
ANSIfy, use {s,g}etprogname and other KNF. Patch by Petri Koistinen.
2001-09-16 12:16:20 +00:00
enami
17c8af2ff2
Printing argv[0] on fts_open failure doesn't make sense. Just print
...
``fts_open'' instead.
2000-10-10 14:41:59 +00:00
enami
d67a90e658
Remove a hack to prevent unwanted gcc -Wuninitialized warning; it's now
...
unnecessary since the code path is simple enough after rev. 1.21.
2000-09-06 13:37:14 +00:00
itojun
127c71b0b1
do not pass user-supplied string alone, to errx?(). use "%s".
...
from openbsd.
2000-07-07 11:54:57 +00:00
mycroft
a3db771521
Oops; remove unused variables.
2000-01-20 02:50:54 +00:00
mycroft
9f93f79f25
Just use setmode(3); don't special-case numeric values.
2000-01-20 02:49:41 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
a05983be3a
Delint.
1998-07-28 04:12:10 +00:00
mycroft
29bf463dcb
Delint.
1998-07-28 04:01:03 +00:00
enami
c0be646f99
Add -h to usage.
1997-10-11 03:11:04 +00:00
enami
16747b0e7b
Change noop option -h to do the real work. Now mode of symbolic link
...
is changed if -h option is given.
1997-10-06 13:37:34 +00:00
enami
5194aa7294
Don't pass the pathname itself as format string of warn(). Instead,
...
use "%s".
1997-10-06 08:25:10 +00:00
thorpej
85a7e9878b
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 04:51:02 +00:00
kleink
52a3f39615
POSIX.2 utilities must call setlocale(LC_ALL, "");
1997-06-26 23:18:05 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
71dcdbe0d4
Change directory permissions in pre-order.
1995-01-15 05:50:26 +00:00
mycroft
691f8c4267
Need limits.h.
1994-09-20 04:08:23 +00:00
mycroft
a7a0533596
Merge with 4.4-Lite.
1994-09-20 04:07:01 +00:00
cgd
84a5ff8d13
don't barf over strange mode specs
1994-02-11 02:57:24 +00:00
mycroft
54bfcbbbca
Incorporate new version from uunet, with local changes.
1993-08-06 01:52:36 +00:00
deraadt
ec2040d768
change for new fts library
1993-08-05 23:59:25 +00:00
mycroft
a579b792ce
Add RCS identifiers.
1993-08-01 18:59:54 +00:00
deraadt
032eb3553c
chmod.0 says:
...
Symbolic links are not indirected through, nor are their modes altered.
things were much worse. it would try to chmod() symbolic links, in some cases
applying the modes of the symbolic link to the file that it pointed to.
1993-06-07 17:34:40 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00