dim
3e7d833c6a
In usr.bin/gprof/aout.c, use the correct printf length modifier for a
...
uint32_t.
MFC after: 1 week
2011-12-17 14:37:41 +00:00
dim
11ec38a1ad
In usr.bin/csup/proto.c, use the correct printf length modifier to print
...
an off_t.
MFC after: 1 week
2011-12-17 13:52:53 +00:00
dim
bea618a3e2
In usr.bin/csup/auth.c, use the correct number of bytes for zeroing the
...
shared secret, and use long long format to snprintf a time_t.
MFC after: 1 week
2011-12-17 13:14:44 +00:00
dim
a709fcdc55
In usr.bin/mt/mt.c, the c_code member of struct commands should really
...
be an unsigned long, since it will contain values of ioctl request
codes. On 64-bit arches, these will not fit into an int.
MFC after: 1 week
2011-12-17 02:23:30 +00:00
dim
8c3e7b0062
In usr.bin/tar/tree.c, if you really want to poke to NULL, you must use
...
volatile, otherwise the indirection will not be emitted.
MFC after: 1 week
2011-12-17 01:36:50 +00:00
fjoe
dfa5fc70db
Revert r228521: sometimes job output is lost
...
(see tools/regression/usr.bin/make/execution/joberr test).
openpty(fd + 0, fd + 1,...) version does not have this problem but
it sometimes enters an infinite sleep in "ttywait" state in tty_drain()
when make(1) closes slave pty.
2011-12-15 06:25:19 +00:00
fjoe
a25ab95a03
job make: if stdout is a tty create a pty when running a command.
2011-12-15 03:13:23 +00:00
ed
0bcfe62162
Replace __const by const in all non-contributed source code.
...
As C1X is close to being released, there is no need to wrap around a
feature that is already part of C90. Most of these files already use
`const' in different placed as well.
2011-12-13 13:32:56 +00:00
trociny
276f79818d
Make 64-bit procstat output ELF auxiliary vectors for 32-bit processes.
...
Reviewed by: kib
MFC after: 1 week
2011-12-12 22:01:33 +00:00
trociny
34b16620f0
Make procstat -l output similar to the output of limits(1).
...
Suggested by: jhb
MFC after: 1 week
2011-12-12 21:41:05 +00:00
ed
e886a142d5
Add more static keywords to truss(1) source code.
...
There are some tables in the source code that are only used by the
individual source files themselves. Therefore there is no need to export
them.
2011-12-10 18:27:55 +00:00
ed
2547a674dd
Add missing "static const" to long options table.
...
This table is only used in this C file and passed to getopt_long(), so
we can safely add static and const to it.
2011-12-10 18:21:03 +00:00
ed
f559e163ab
Replace char copyright[] by static const char copyright[].
...
It seems the latter is used throughout the tree.
2011-12-10 18:11:06 +00:00
gjb
d9807d7f63
Update du(1):
...
- Sort arguments alphabetically where appropriate
- '-B blocksize' is not mutually exclusive of '-h|-k|-m'
- Mention '-t' in synopsis
- Other wording improvements
- Update usage() output to reflect the new synopsis [1]
- Other miscellaneous improvements
PR: 162438
Submitted by: arundel
Reviewed by: Benjamin Kaduk (kaduk ! mit.edu), jhb[1] (original version)
MFC after: 1 week
2011-12-09 02:30:56 +00:00
gabor
ecc4a991f3
- Match GNU behavior of exit code
...
- Rename variable that has a different meaning now
PR: bin/162930
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 1 week
2011-12-07 12:25:28 +00:00
trociny
85356b61d3
Don't output a warning if kern.proc.auxv sysctl has returned EPERM.
...
After r228288 this is rather a normal situation.
MFC after: 1 week
2011-12-05 19:39:15 +00:00
kib
aebf2bbe92
Use explicit information from the kernel to detect the traps due to
...
syscall entry and leave.
Based on submision by: Dan Nelson <dnelson allantgroup com>
MFC after: 1 month
2011-12-04 18:43:09 +00:00
fjoe
6f481b1357
- Fix segmentation fault when running "+command" when run with -jX -n due
...
to Compat_RunCommand() being called with `cmd' that is not on the node->commands
list
- Make ellipsis ("..." command) handling consistent: check for "..." command
in job make after variables expansion to match compat make behavior
- Fix empty command handling (after variables expansion and @+- modifiers
are processed): now empty commands are ignored in compat make and are not
printed in job make case
- Bump MAKE_VERSION to 5-2011-11-30-0
2011-11-30 18:07:38 +00:00
gabor
cfb0c71011
- Create links to the xz and lzma versions even if BSD grep is not the
...
default. Nor GNU nor liblzma in base provides such functionality so
it may be useful.
MFC after: 3 days
2011-11-28 20:16:55 +00:00
gabor
8202ac2d5f
- Call warnx() instead of errx() if a directory is not readable when using
...
a recursive search. This is the expected behavior instead of aborting.
PR: bin/162907
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 3 days
2011-11-28 20:04:26 +00:00
gabor
7b8d844d3a
- Fix behavior of --null to match GNU grep
...
PR: bin/162906
Submitted by: Jan Beich <jbeich@tormail.net>
MFC after: 3 days
2011-11-28 20:00:31 +00:00
trociny
24ed312289
Update SYNOPSIS to include the flags added recently.
...
Spotted by: jhb
2011-11-28 19:45:47 +00:00
bapt
0d5c584942
Synchronize with laster version of m4 from OpenBSD and NetBSD
...
This bring better compatibility with gnum4
Reviewed by: cognet
Approved by: cognet
Obtained from: OpenBSD, NetBSD
2011-11-28 13:32:39 +00:00
trociny
15a70fe612
Cast a_val on printing. This fixes build on mips.
2011-11-28 07:09:29 +00:00
trociny
bac0b99a93
Make proctstat -x output more readable.
...
This also fixes the issue, spotted by mdf, with values that were
printed as decimal and had hex prefixes.
Discussed with: kib, rwatson
MFC after: 2 weeks
2011-11-27 15:53:58 +00:00
trociny
ded9c6c846
usr.bin/procstat
...
Add -l flag to display resource limits.
PR: bin/161257
Reviewed by: kib
MFC after: 2 weeks
2011-11-24 20:54:06 +00:00
trociny
9927b3355c
Fix build, hopefully.
...
Reviewed by: kib
2011-11-23 07:34:09 +00:00
trociny
7a18cdce7a
Add new options, -e and -x, to display process environment variables
...
and ELF auxiliary vectors.
MFC after: 2 weeks
2011-11-22 20:59:52 +00:00
imp
8d68c85340
Add helpful clarification text. While not strictly necessary, these
...
few words make this man page much easier to understand without
re-reading prior parts of the man page.
2011-11-16 22:02:59 +00:00
eadler
8710aaed7e
- add a missing "be" and "in"
...
- fix other errors introduced when committing r226436
- add 'function' to a sentence where it makes sense
Submitted by: delphij
Submitted by: dougb
Submitted by: jhb
Approved by: dougb
Approved by: jhb
2011-11-11 22:27:09 +00:00
grog
f6a5c05b52
Tidy up command line processing:
...
- Add ? option to optstring.
- Sort options alphabetically.
- Vertical space.
Tidy up usage() function.
Bring man page in sync with source.
Ensure that debug code is only executed with the -d option.
Submitted by: Christiane Yeardley
2011-11-09 01:40:46 +00:00
trociny
7fa9ae3795
Bumb date after r227317.
...
Reminded by: pluknet
2011-11-08 19:14:15 +00:00
ed
c2950f3c9c
Simplify getopt switch parsing.
...
Only one of these flags can be set. Just add them together and check the
value. Also, get rid of the listall variable. The code is already filled
with direct *flag-comparisons.
Obtained from: Alexander Best (though modified)
2011-11-08 11:36:46 +00:00
trociny
422432aa2b
When displaying process virtual memory mappings print superpage
...
mapping flag.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
2011-11-07 21:16:19 +00:00
ed
142b194b5f
Remove unneeded CFLAGS.
...
Such optimisations should not be performed in this Makefile. Also, uqs@
suggested they have no effect, because the checksum of the resulting
binary is unchanged.
Discussed with: gabor, uqs
2011-11-07 09:42:22 +00:00
ed
b57deea6eb
Partially revert r227233.
...
The privs.h header is not only used by at(1), it's also used by
atrun(8). Just let the code the way it used to be (for now).
Reported by: kwm, tinderbox
Hat to: me
2011-11-06 20:30:21 +00:00
ed
50646b91e6
Mark global functions and/or variables in xstr(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:39 +00:00
ed
dc00e03576
Mark global functions and/or variables in whois(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:33 +00:00
ed
04b0cc9b2b
Mark global functions and/or variables in which(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:26 +00:00
ed
90167b1812
Mark global functions and/or variables in whereis(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:19 +00:00
ed
8ea5e6afe9
Mark global functions and/or variables in unifdef(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:00 +00:00
ed
5675f1d7a7
Mark global functions and/or variables in paste(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:53 +00:00
ed
bfc6ddd863
Mark global functions and/or variables in m4(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:48 +00:00
ed
fb0088d7d0
Mark global functions and/or variables in lam(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:41 +00:00
ed
b9deaeaf51
Mark global functions and/or variables in fstat(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:36 +00:00
ed
b4971e80fe
Mark global functions and/or variables in expand(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:30 +00:00
ed
b333c88308
Mark global functions and/or variables in enigma(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:23 +00:00
ed
a7c3f252fc
Mark global functions and/or variables in compress(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:16 +00:00
ed
ba068938d1
Mark global functions and/or variables in comm(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:10 +00:00
ed
3894f3031c
Mark global functions and/or variables in checknr(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:03 +00:00
ed
a2c6b647f1
Add missing static keywords to at(1).
...
While there, tidy up the privs.h part, where at.c has to #define to
declare some globals. Also group static and non-static global variables
in at.c.
2011-11-06 17:32:29 +00:00
ed
a3202a01ad
Mark the structure fields as const.
...
This allows us to simply place these strings as constants in the table
itself, letting the compiler decide to simply merge duplicate strings.
2011-11-06 17:20:44 +00:00
ed
b8b9c31dd0
Correct the change made in r227166.
...
This function is only compiled in when building WITH_AUDIT.
2011-11-06 09:09:45 +00:00
ed
89e56ab1b3
Add missing static keywords to xinstall(1)
2011-11-06 08:19:07 +00:00
ed
bc3df37206
Add missing static keywords to wc(1)
2011-11-06 08:19:00 +00:00
ed
6ad23491ec
Add missing static keywords to wall(1)
2011-11-06 08:18:55 +00:00
ed
40d992c2db
Add missing static keywords to w(1)
2011-11-06 08:18:47 +00:00
ed
66190ef17d
Add missing static keywords to vis(1)
2011-11-06 08:18:42 +00:00
ed
c186741140
Add missing static keywords to uuencode(1)
2011-11-06 08:18:35 +00:00
ed
25b4fbd02b
Add missing static keywords to usbhidctl(1)
2011-11-06 08:18:30 +00:00
ed
8eae2b0d9c
Add missing static keywords to usbhidaction(1)
2011-11-06 08:18:23 +00:00
ed
7db87786d7
Add missing static keywords to units(1)
2011-11-06 08:18:17 +00:00
ed
7842959704
Add missing static keywords to uniq(1)
2011-11-06 08:18:11 +00:00
ed
9cc47b87a7
Add missing static keywords to unexpand(1)
2011-11-06 08:18:05 +00:00
ed
d77d58cdda
Add missing static keywords to uname(1)
2011-11-06 08:17:59 +00:00
ed
75f6535a23
Add missing static keywords to ul(1)
2011-11-06 08:17:53 +00:00
ed
0aac214b40
Add missing static keywords to tsort(1)
2011-11-06 08:17:47 +00:00
ed
9e267acf2e
Add missing static keywords to tr(1)
2011-11-06 08:17:42 +00:00
ed
d1b8bc9380
Add missing static keywords to tee(1)
2011-11-06 08:17:35 +00:00
ed
e878bace95
Add missing static keywords to tcopy(1)
2011-11-06 08:17:29 +00:00
ed
f110f8c649
Add missing static keywords to talk(1)
2011-11-06 08:17:23 +00:00
ed
ae674f5b37
Add missing static keywords to tail(1)
2011-11-06 08:17:17 +00:00
ed
0d6f43e2bd
Add missing static keywords to split(1)
2011-11-06 08:17:11 +00:00
ed
5d85b35609
Add missing static keywords to seq(1)
2011-11-06 08:17:05 +00:00
ed
d2e48ceef2
Add missing static keywords to rwho(1)
2011-11-06 08:16:59 +00:00
ed
154b755827
Add missing static keywords to rwall(1)
2011-11-06 08:16:53 +00:00
ed
75aea7ad85
Add missing static keywords to rusers(1)
2011-11-06 08:16:47 +00:00
ed
04ff92c413
Add missing static keywords to ruptime(1)
2011-11-06 08:16:41 +00:00
ed
7d71ef84d7
Add missing static keywords to rs(1)
2011-11-06 08:16:35 +00:00
ed
09dd1a0121
Add missing static keywords to quota(1)
2011-11-06 08:16:29 +00:00
ed
809f85b51a
Add missing static keywords to pr(1)
2011-11-06 08:16:24 +00:00
ed
4b5bea4fc7
Add missing static keywords to mt(1)
2011-11-06 08:16:18 +00:00
ed
ab0dc98dd4
Add missing static keywords to ministat(1)
2011-11-06 08:16:11 +00:00
ed
d194803bbc
Add missing static keywords to make(1)
2011-11-06 08:16:06 +00:00
ed
15a0ba36db
Add missing static keywords to look(1)
2011-11-06 08:15:59 +00:00
ed
b3e1c421c6
Add missing static keywords to logger(1)
2011-11-06 08:15:53 +00:00
ed
778a941742
Add missing static keywords to lock(1)
2011-11-06 08:15:48 +00:00
ed
75cb563647
Add missing static keywords to last(1)
2011-11-06 08:15:41 +00:00
ed
0016966bba
Add missing static keywords to join(1)
2011-11-06 08:15:35 +00:00
ed
4261175970
Add missing static keywords to id(1)
2011-11-06 08:15:30 +00:00
ed
8afe216b97
Add missing static keywords to fold(1)
2011-11-06 08:15:23 +00:00
ed
c9f8997dfe
Add missing static keywords to du(1)
2011-11-06 08:15:17 +00:00
ed
62515a1ff3
Add missing static keywords to dc(1)
2011-11-06 08:14:57 +00:00
ed
91ffce3875
Add missing static keywords to cut(1)
2011-11-06 08:14:51 +00:00
ed
ce4cbee6a1
Add missing static keywords to csplit(1)
2011-11-06 08:14:45 +00:00
ed
4b43e01fe9
Add missing static keywords to cpuset(1)
2011-11-06 08:14:40 +00:00
ed
88b6b62757
Add missing static keywords to column(1)
2011-11-06 08:14:34 +00:00
ed
5d1bcc94a8
Add missing static keywords to colcrt(1)
2011-11-06 08:14:28 +00:00
ed
61bd4fddd2
Add missing static keywords to col(1)
2011-11-06 08:14:22 +00:00
ed
a86a6f0c85
Add missing static keywords to cmp(1)
2011-11-06 08:14:16 +00:00
ed
d0367a1471
Add missing static keywords to catman(1)
2011-11-06 08:14:09 +00:00
ed
1f7f99bbde
Add missing static keywords to cap_mkdb(1)
2011-11-06 08:14:03 +00:00
ed
4704a8332d
Add missing static keywords to c99(1)
2011-11-06 08:13:58 +00:00
ed
c25f8d73b9
Add missing static keywords to banner(1)
2011-11-06 08:13:51 +00:00
jilles
46fb1cb984
lint: Fix lseek() argument order.
...
Because SEEK_SET is 0, this seems to have no effect on the generated code.
PR: bin/160806
Submitted by: Henning Petersen <henning dot petersen at t-online dot de>
Obtained from: NetBSD
2011-11-05 22:25:15 +00:00
jilles
eeb1159658
make(1): obj dirs are physical paths so write pwd -P
rather than pwd
.
...
Regular pwd may return a pathname containing symlinks, but make does not use
such pathnames.
2011-11-05 21:32:17 +00:00
dougb
41264f106d
Fix typo from r226927
...
Submitted by: scf
2011-10-30 20:55:32 +00:00
dougb
8e54cbf4ab
Add birth date for Ken Thompson
...
Add birth and death dates for Steve Jobs
Update birth and add death date for Dennis Ritchie
PR: bin/162157
Submitted by: Niclas Zeising <niclas.zeising@gmail.com>
2011-10-30 04:04:40 +00:00
dougb
d794f830d2
Add a reminder about quarterly status report due dates
...
Reviewed by: danger
2011-10-29 18:16:29 +00:00
ache
1a131a903e
Reword '}' description to sound more clear.
...
Submitted by: dougb
MFC after: 7 days
2011-10-29 06:13:47 +00:00
ache
a71751c33e
Update '}' description to reflect reality (and POSIX)
...
PR: 96236
Submitted by: "Andreas Kohn" <andreas@syndrom23.de>
MFC after: 7 days
2011-10-28 20:28:13 +00:00
pluknet
e43df010f9
Add the XSI option -b to show date of the last reboot.
...
That required to increase the LINE field to fit the output of -b.
While here, change the row() function to take a const argument.
In collaboration with: ed
2011-10-28 12:47:37 +00:00
ed
c59a6ed6df
Print INIT_PROCESS and LOGIN_PROCESS entries as well.
...
Even though our implementation of utmpx never emits these types of
records, they are part of POSIX. Do print them when they show up in the
database files.
While there, also print the type number of unsupported records.
2011-10-27 16:20:29 +00:00
gabor
6762a389b8
- Fix installation when WITH_BSD_GREP is set to yes
...
Submitted by: Aleksandr Rybalko <ray@ddteam.net>
2011-10-23 16:04:07 +00:00
kientzle
afbc6f6bc7
Typo from previous commit. Urgh.
2011-10-22 16:53:29 +00:00
kientzle
3c7e934d28
Bring in the --gid --gname --uid and --uname implementation
...
from libarchive.googlecode.com.
MFC after: 3 days
2011-10-22 16:52:04 +00:00
dim
99b00e570c
Upgrade our copy of llvm/clang to r142614, from upstream's release_30
...
branch. This brings us very close to the 3.0 release, which is expected
in a week or two.
MFC after: 1 week
2011-10-22 14:08:43 +00:00
des
6c6abb3ddc
It turns out that truss also used kdump's mkioctls script, and expected
...
ioctlname() to return a pointer to the name rather than print it. This did
not show up in testing because truss had its own prototype for ioctlname(),
so it would build fine and run fine as long as the program being traced did
not issue an ioctl.
Teach mkioctls to generate different versions of ioctlname() based on its
first command-line argument.
Pointed out by: Garrett Cooper <yanegomi@gmail.com>
2011-10-21 11:08:25 +00:00
des
4ebe5d8b07
Fix copy-pasto in CAPFAIL_INCREASE case.
...
Noticed by: pjd
2011-10-18 09:39:41 +00:00
des
49ff1260bc
Make ktrace(1) build cleanly at WARNS level 6 by completely rethinking the
...
way in which it handles the -C, -c, -g and -p options.
MFC after: 3 weeks
2011-10-18 08:26:12 +00:00
des
1b405df8ba
Revisit the capability failure trace points. The initial implementation
...
only logged instances where an operation on a file descriptor required
capabilities which the file descriptor did not have. By adding a type enum
to struct ktr_cap_fail, we can catch other types of capability failures as
well, such as disallowed system calls or attempts to wrap a file descriptor
with more capabilities than it had to begin with.
2011-10-18 07:28:58 +00:00
ed
ce57dfe403
Sort header file names.
...
Spotted by: des
2011-10-17 13:54:55 +00:00
ed
934a6f8b67
Add missing #include.
...
Note to myself: don't write patches while watching a movie.
2011-10-16 19:23:43 +00:00
ed
191c732ed6
Don't cast SIZE_T_MAX to off_t.
...
I focused so much on the 32-bits case where we have to cast SIZE_T_MAX
up in size, that I forgot about the 64-bits case, where off_t and size_t
are equal in size. Simply cast both numbers to uintmax_t, as we can
assume st_size is never negative.
Reported by: cperciva
2011-10-16 19:15:25 +00:00
eadler
9d7884364e
- change "is is" to "is" or "it is"
...
- change "the the" to "the"
Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days
2011-10-16 14:30:28 +00:00
marcel
4718565769
o Use C99 designated initializer to properly handle ELFOSABI_STANDALONE.
...
o In elf_get_byte(), cast through uint8_t and not char to avoid sign
extension.
2011-10-16 14:11:05 +00:00
ed
d4ce73cfd5
Fix ncplist to build with WARNS=6.
...
Add some const and static keywords to get it all to build. Also add
missing #includes.
2011-10-16 10:00:28 +00:00
ed
49ae4d0407
Undo r226423.
...
It seems su does build without warnings, but it requires a small fix to
libbsm headers, which I have not committed to SVN yet.
2011-10-16 09:09:33 +00:00
ed
e3855b1e6b
Build rwho(1) with WARNS=6.
...
The only reason why it didn't build with WARNS=6, is because of some
simple to fix string formatting bugs.
MFC after: 3 months
2011-10-16 08:54:41 +00:00
ed
50100c914e
Use integer to store the result of getch().
...
We need to use an integer to make the comparison against ERR work.
MFC after: 3 months
2011-10-16 08:36:10 +00:00
ed
a8849a7323
Remove WARNS line. This tool builds with WARNS=6 properly.
2011-10-16 08:14:12 +00:00
ed
225015e0ef
Fix build of m4 with WARNS=6.
...
Change the parser; rename `exp' to `exponent' not to collide with exp(3).
2011-10-16 08:09:17 +00:00
ed
7ccc19c3b8
Remove unneeded WARNS=3 lines.
...
It seems these two tools can be built properly with WARNS=6, even on
architectures that are stricter about alignment.
2011-10-16 08:04:43 +00:00
ed
26202ae0ce
Build at(1) with NO_WFORMAT instead of WARNS=1.
2011-10-16 07:57:01 +00:00
ed
e4b5520b25
Make some internal fixes to ruptime(1):
...
- Prevent possible unaligned access to struct whoent.
- Increase uptime column by one, to properly print hosts with an uptime
greater than 1000 days.
- Reduce code complexity by storing struct whod inside struct hs.
- Set WARNS to 6.
MFC after: 3 months
2011-10-16 07:36:27 +00:00
delphij
7f0cb2e0bc
According to the NetBSD foundation [1]:
...
Third parties are encouraged to change the license on any files which have
a 4-clause license contributed to the NetBSD Foundation to a 2-clause
license. We would also encourage you to inform us about these files, so
that we can continue to track the many places in which NetBSD is used.
http://www.netbsd.org/about/redistribution.html#why2clause [1]
Requested by: joel@
2011-10-16 07:35:26 +00:00
delphij
3192efecae
Partially revert r226274, the old code was right.
2011-10-16 07:05:43 +00:00
trociny
5edcf5899d
In r225809 the intention was to send VEOF only once if STDIN was not a
...
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sending VEOF.
Sent VEOF generates ^D\b\b echoed by the terminal, which was reported
in bin/161526. Note, we still send VEOF at least once. Otherwise
commands like below would hang forever:
echo 1 |script /tmp/script.out cat
PR: bin/161526
Reported by: Adrian Wontroba <aw1@stade.co.uk>, Stefan Bethke <stb@lassitu.de>
Tested by: Stefan Bethke <stb@lassitu.de>
MFC after: 3 days
2011-10-15 19:08:22 +00:00
ed
2f1e586900
Fix whitespace inconsistencies in systat(1).
...
According to md5(1), the resulting binary is the same.
2011-10-15 13:20:36 +00:00
ed
6f6341d894
Put parentheses in the right place.
...
Noted by: jilles@
Broken by: me. :-(
2011-10-14 10:43:55 +00:00
ed
a87680cb54
Make nl(1) build with WARNS=6.
...
Obtained from: NetBSD
2011-10-14 07:28:39 +00:00
ed
ec118486fa
Build last(1) and leave(1) with WARNS=6.
...
These ports were only built with WARNS=1, because they use certain
format extensions. We can use NO_WFORMAT for that instead.
2011-10-14 07:26:20 +00:00
ed
c532eb5b65
Build tr(1) with WARNS=6.
2011-10-14 07:25:20 +00:00
ed
9a877f97e7
Build look(1) with WARNS=6.
2011-10-14 07:24:48 +00:00
ed
a3dde8469a
Build finger(1) with WARNS=6.
2011-10-14 07:24:23 +00:00
rakuco
c4fe3bac8a
Add myself to committers-ports.dot and calendar.freebsd.
...
Approved by: avilla (mentor)
2011-10-13 20:36:43 +00:00
des
c9a3d28e97
Clean up mkioctls a bit, and fix cross-building by checking ${MACHINE}
...
instead of $(uname -m).
Pointed out by: nyan@
2011-10-13 16:29:24 +00:00
des
47b4a2d1c7
Make kdump compile cleanly at WARNS level 6, with one exception: the
...
ipfilter headers contain a duplicated function declaration. Turn off
-Werror to allow kdump to compile in spite of this.
It would be neat to be able to turn off -Werror on a file-by-file basis...
PR: bin/161478
Submitted by: Garrett Cooper <yanegomi@gmail.com>
2011-10-12 21:45:12 +00:00
gleb
71169bb7fd
Add myself
...
Approved by: mdf (mentor)
2011-10-12 20:18:13 +00:00
dim
eacdf4cafb
Add symlink from clang to clang-cpp, so you can use CPP=clang-cpp in
...
Makefiles. Also add a manpage symlink for it.
MFC after: 3 days
2011-10-12 17:47:15 +00:00