Author: ed
Date: Sun Nov 6 08:16:35 2011
New Revision: 227177
URL: http://svn.freebsd.org/changeset/base/227177
Log:
Add missing static keywords to rs(1)
Modified:
head/usr.bin/rs/rs.c
Modified: head/usr.bin/rs/rs.c
===
Author: ed
Date: Sun Nov 6 08:16:18 2011
New Revision: 227174
URL: http://svn.freebsd.org/changeset/base/227174
Log:
Add missing static keywords to mt(1)
Modified:
head/usr.bin/mt/mt.c
Modified: head/usr.bin/mt/mt.c
===
Author: ed
Date: Sun Nov 6 08:16:11 2011
New Revision: 227173
URL: http://svn.freebsd.org/changeset/base/227173
Log:
Add missing static keywords to ministat(1)
Modified:
head/usr.bin/ministat/ministat.c
Modified: head/usr.bin/ministat/ministat.c
=
Author: ed
Date: Sun Nov 6 08:16:06 2011
New Revision: 227172
URL: http://svn.freebsd.org/changeset/base/227172
Log:
Add missing static keywords to make(1)
Modified:
head/usr.bin/make/globals.h
Modified: head/usr.bin/make/globals.h
===
Author: ed
Date: Sun Nov 6 08:15:59 2011
New Revision: 227171
URL: http://svn.freebsd.org/changeset/base/227171
Log:
Add missing static keywords to look(1)
Modified:
head/usr.bin/look/look.c
Modified: head/usr.bin/look/look.c
=
Author: ed
Date: Sun Nov 6 08:15:53 2011
New Revision: 227170
URL: http://svn.freebsd.org/changeset/base/227170
Log:
Add missing static keywords to logger(1)
Modified:
head/usr.bin/logger/logger.c
Modified: head/usr.bin/logger/logger.c
===
Author: ed
Date: Sun Nov 6 08:15:35 2011
New Revision: 227167
URL: http://svn.freebsd.org/changeset/base/227167
Log:
Add missing static keywords to join(1)
Modified:
head/usr.bin/join/join.c
Modified: head/usr.bin/join/join.c
=
Author: ed
Date: Sun Nov 6 08:15:30 2011
New Revision: 227166
URL: http://svn.freebsd.org/changeset/base/227166
Log:
Add missing static keywords to id(1)
Modified:
head/usr.bin/id/id.c
Modified: head/usr.bin/id/id.c
===
Author: ed
Date: Sun Nov 6 08:15:17 2011
New Revision: 227164
URL: http://svn.freebsd.org/changeset/base/227164
Log:
Add missing static keywords to du(1)
Modified:
head/usr.bin/du/du.c
Modified: head/usr.bin/du/du.c
===
Author: ed
Date: Sun Nov 6 08:14:51 2011
New Revision: 227162
URL: http://svn.freebsd.org/changeset/base/227162
Log:
Add missing static keywords to cut(1)
Modified:
head/usr.bin/cut/cut.c
Modified: head/usr.bin/cut/cut.c
==
Author: ed
Date: Sun Nov 6 08:15:48 2011
New Revision: 227169
URL: http://svn.freebsd.org/changeset/base/227169
Log:
Add missing static keywords to lock(1)
Modified:
head/usr.bin/lock/lock.c
Modified: head/usr.bin/lock/lock.c
=
Author: ed
Date: Sun Nov 6 08:15:41 2011
New Revision: 227168
URL: http://svn.freebsd.org/changeset/base/227168
Log:
Add missing static keywords to last(1)
Modified:
head/usr.bin/last/last.c
Modified: head/usr.bin/last/last.c
=
Author: ed
Date: Sun Nov 6 08:15:23 2011
New Revision: 227165
URL: http://svn.freebsd.org/changeset/base/227165
Log:
Add missing static keywords to fold(1)
Modified:
head/usr.bin/fold/fold.c
Modified: head/usr.bin/fold/fold.c
=
Author: ed
Date: Sun Nov 6 08:14:57 2011
New Revision: 227163
URL: http://svn.freebsd.org/changeset/base/227163
Log:
Add missing static keywords to dc(1)
Modified:
head/usr.bin/dc/dc.c
Modified: head/usr.bin/dc/dc.c
===
Author: ed
Date: Sun Nov 6 08:14:40 2011
New Revision: 227160
URL: http://svn.freebsd.org/changeset/base/227160
Log:
Add missing static keywords to cpuset(1)
Modified:
head/usr.bin/cpuset/cpuset.c
Modified: head/usr.bin/cpuset/cpuset.c
===
Author: ed
Date: Sun Nov 6 08:14:34 2011
New Revision: 227159
URL: http://svn.freebsd.org/changeset/base/227159
Log:
Add missing static keywords to column(1)
Modified:
head/usr.bin/column/column.c
Modified: head/usr.bin/column/column.c
===
Author: ed
Date: Sun Nov 6 08:14:09 2011
New Revision: 227155
URL: http://svn.freebsd.org/changeset/base/227155
Log:
Add missing static keywords to catman(1)
Modified:
head/usr.bin/catman/catman.c
Modified: head/usr.bin/catman/catman.c
===
Author: ed
Date: Sun Nov 6 08:14:03 2011
New Revision: 227154
URL: http://svn.freebsd.org/changeset/base/227154
Log:
Add missing static keywords to cap_mkdb(1)
Modified:
head/usr.bin/cap_mkdb/cap_mkdb.c
Modified: head/usr.bin/cap_mkdb/cap_mkdb.c
=
Author: ed
Date: Sun Nov 6 08:13:58 2011
New Revision: 227153
URL: http://svn.freebsd.org/changeset/base/227153
Log:
Add missing static keywords to c99(1)
Modified:
head/usr.bin/c99/c99.c
Modified: head/usr.bin/c99/c99.c
==
Author: ed
Date: Sun Nov 6 08:14:45 2011
New Revision: 227161
URL: http://svn.freebsd.org/changeset/base/227161
Log:
Add missing static keywords to csplit(1)
Modified:
head/usr.bin/csplit/csplit.c
Modified: head/usr.bin/csplit/csplit.c
===
Author: ed
Date: Sun Nov 6 08:14:28 2011
New Revision: 227158
URL: http://svn.freebsd.org/changeset/base/227158
Log:
Add missing static keywords to colcrt(1)
Modified:
head/usr.bin/colcrt/colcrt.c
Modified: head/usr.bin/colcrt/colcrt.c
===
Author: ed
Date: Sun Nov 6 08:14:22 2011
New Revision: 227157
URL: http://svn.freebsd.org/changeset/base/227157
Log:
Add missing static keywords to col(1)
Modified:
head/usr.bin/col/col.c
Modified: head/usr.bin/col/col.c
==
Author: ed
Date: Sun Nov 6 08:14:16 2011
New Revision: 227156
URL: http://svn.freebsd.org/changeset/base/227156
Log:
Add missing static keywords to cmp(1)
Modified:
head/usr.bin/cmp/extern.h
Modified: head/usr.bin/cmp/extern.h
Author: ed
Date: Sun Nov 6 08:13:51 2011
New Revision: 227152
URL: http://svn.freebsd.org/changeset/base/227152
Log:
Add missing static keywords to banner(1)
Modified:
head/usr.bin/banner/banner.c
Modified: head/usr.bin/banner/banner.c
===
Author: ed
Date: Sun Nov 6 09:09:45 2011
New Revision: 227203
URL: http://svn.freebsd.org/changeset/base/227203
Log:
Correct the change made in r227166.
This function is only compiled in when building WITH_AUDIT.
Modified:
head/usr.bin/id/id.c
Modified: head/usr.bin/id/id.c
===
Author: ed
Date: Sat Nov 5 10:00:29 2011
New Revision: 227105
URL: http://svn.freebsd.org/changeset/base/227105
Log:
Remove an unused variable from pam_unix.
This variable was added in r82352 back in 2001, but even then it didn't
have any use. Because it's not marked static, the C compil
Author: ed
Date: Sat Nov 5 07:18:53 2011
New Revision: 227101
URL: http://svn.freebsd.org/changeset/base/227101
Log:
Add static keywords to variables and functions where possible in games/.
This allows us to detect unused functions and variables and allows the
compiler to do a better job
Author: ed
Date: Fri Nov 4 19:56:34 2011
New Revision: 227090
URL: http://svn.freebsd.org/changeset/base/227090
Log:
Fix a warning emitted by Clang.
The size passed to strlcat() must depend on the input length, not the
output length. Because the input and output buffers are equal in size
Author: ed
Date: Fri Nov 4 13:36:02 2011
New Revision: 227081
URL: http://svn.freebsd.org/changeset/base/227081
Log:
Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword,
even though their use is limited
Author: ed
Date: Mon Oct 31 08:59:17 2011
New Revision: 226961
URL: http://svn.freebsd.org/changeset/base/226961
Log:
Put some static keywords in the source code.
For these simple utilities, it doesn't harm to make all global variables
static. In fact, this allows the compiler to perform
Author: ed
Date: Thu Oct 27 17:21:41 2011
New Revision: 226847
URL: http://svn.freebsd.org/changeset/base/226847
Log:
Don't forget to kick the man page date.
Modified:
head/lib/libc/gen/getutxent.3
Modified: head/lib/libc/gen/getutxent.3
==
Author: ed
Date: Thu Oct 27 17:05:18 2011
New Revision: 226846
URL: http://svn.freebsd.org/changeset/base/226846
Log:
Make our utmpx more like System V.
When booting the system, truncate the utx.active file, but do write the
BOOT_TIME record into it afterwards. This allows one to obtain t
Author: ed
Date: Thu Oct 27 16:20:29 2011
New Revision: 226841
URL: http://svn.freebsd.org/changeset/base/226841
Log:
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 whe
' bits from the atmconfig source code itself
and add something like this to the Makefile:
.if !defined(RESCUE) && ${MK_BNSMP} != "no"
CFLAGS+= -DWITH_BSNMP
.endif
That way you can simply use `#ifdef WITH_BSNMP' throughout the source
files.
Thanks,
--
Ed Schouten
WWW
Author: ed
Date: Wed Oct 26 07:49:47 2011
New Revision: 226785
URL: http://svn.freebsd.org/changeset/base/226785
Log:
Attempt to fix build logic for gensnmptree.
There are two problems with the existing logic. It builds gensnmptree
on <700018, even if WITHOUT_BSNMP is set, but more import
Author: ed
Date: Tue Oct 25 17:10:15 2011
New Revision: 226742
URL: http://svn.freebsd.org/changeset/base/226742
Log:
Build swapon with WARNS=6.
Don't use a variable called stat, because it collides with stat(2).
Modified:
head/sbin/swapon/Makefile
head/sbin/swapon/swapon.c
Modified:
Author: ed
Date: Fri Oct 21 12:58:34 2011
New Revision: 226610
URL: http://svn.freebsd.org/changeset/base/226610
Log:
Add missing #includes.
According to POSIX, these two header files should be able to be included
by themselves, not depending on other headers. The header
uses struct so
Author: ed
Date: Tue Oct 18 08:09:44 2011
New Revision: 226500
URL: http://svn.freebsd.org/changeset/base/226500
Log:
Get rid of D_PSEUDO.
It seems the D_PSEUDO flag was meant to allow make_dev() to return NULL.
Nowadays we have a different interface for that; make_dev_p(). There's
no n
Author: ed
Date: Mon Oct 17 19:40:26 2011
New Revision: 226477
URL: http://svn.freebsd.org/changeset/base/226477
Log:
Fix whitespace.
Modified:
head/sys/sys/conf.h
Modified: head/sys/sys/conf.h
==
--- head/sys/sys/co
Author: ed
Date: Mon Oct 17 13:54:55 2011
New Revision: 226468
URL: http://svn.freebsd.org/changeset/base/226468
Log:
Sort header file names.
Spotted by: des
Modified:
head/usr.bin/look/look.c
Modified: head/usr.bin/look/look.c
=
Author: ed
Date: Sun Oct 16 19:23:43 2011
New Revision: 226445
URL: http://svn.freebsd.org/changeset/base/226445
Log:
Add missing #include.
Note to myself: don't write patches while watching a movie.
Modified:
head/usr.bin/look/look.c
Modified: head/usr.bin/look/look.c
=
Author: ed
Date: Sun Oct 16 19:15:25 2011
New Revision: 226444
URL: http://svn.freebsd.org/changeset/base/226444
Log:
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 si
(off_t)SIZE_T_MAX)
+ if ((uintmax_t)sb.st_size > (uintmax_t)SIZE_T_MAX)
errx(2, "%s: %s", file, strerror(EFBIG));
if (sb.st_size == 0) {
close(fd);
%%%
--
Ed Schouten
WWW: http://80386.nl/
pgpv7qLMTsZ26.pgp
Description: PGP signature
Author: ed
Date: Sun Oct 16 10:58:00 2011
New Revision: 226431
URL: http://svn.freebsd.org/changeset/base/226431
Log:
Forward declare mbuf and inpcb.
This fixes a compiler warning at WARNS=6 when including the header files
as follows:
#include
#include
#includ
Author: ed
Date: Sun Oct 16 10:00:28 2011
New Revision: 226429
URL: http://svn.freebsd.org/changeset/base/226429
Log:
Fix ncplist to build with WARNS=6.
Add some const and static keywords to get it all to build. Also add
missing #includes.
Modified:
head/usr.bin/ncplist/Makefile
head
Author: ed
Date: Sun Oct 16 09:09:33 2011
New Revision: 226428
URL: http://svn.freebsd.org/changeset/base/226428
Log:
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.
Modified:
head/usr.bin/su/M
Author: ed
Date: Sun Oct 16 08:54:41 2011
New Revision: 226427
URL: http://svn.freebsd.org/changeset/base/226427
Log:
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
Modifie
Author: ed
Date: Sun Oct 16 08:45:16 2011
New Revision: 226426
URL: http://svn.freebsd.org/changeset/base/226426
Log:
Change the SDP_GET* macros to cast to a const buffer.
This fixes a compiler warning when passing a const buffer to them.
Modified:
head/lib/libsdp/sdp.h
Modified: head/l
Author: ed
Date: Sun Oct 16 08:44:03 2011
New Revision: 226425
URL: http://svn.freebsd.org/changeset/base/226425
Log:
Change ncp_scan_bindery_object() to pass a constant search string.
The ncp_scan_bindery_object() function does not modify search_string
internally, so there is no need to
Author: ed
Date: Sun Oct 16 08:36:10 2011
New Revision: 226424
URL: http://svn.freebsd.org/changeset/base/226424
Log:
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
Modified:
head/usr.bin/systat/k
Author: ed
Date: Sun Oct 16 08:14:12 2011
New Revision: 226423
URL: http://svn.freebsd.org/changeset/base/226423
Log:
Remove WARNS line. This tool builds with WARNS=6 properly.
Modified:
head/usr.bin/su/Makefile
Modified: head/usr.bin/su/Makefile
=
Author: ed
Date: Sun Oct 16 08:09:17 2011
New Revision: 226422
URL: http://svn.freebsd.org/changeset/base/226422
Log:
Fix build of m4 with WARNS=6.
Change the parser; rename `exp' to `exponent' not to collide with exp(3).
Modified:
head/usr.bin/m4/Makefile
head/usr.bin/m4/expr.c
head
Author: ed
Date: Sun Oct 16 08:04:43 2011
New Revision: 226421
URL: http://svn.freebsd.org/changeset/base/226421
Log:
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.
Modified:
head/usr.
Author: ed
Date: Sun Oct 16 07:57:01 2011
New Revision: 226420
URL: http://svn.freebsd.org/changeset/base/226420
Log:
Build at(1) with NO_WFORMAT instead of WARNS=1.
Modified:
head/usr.bin/at/Makefile
Modified: head/usr.bin/at/Makefile
Author: ed
Date: Sun Oct 16 07:36:27 2011
New Revision: 226419
URL: http://svn.freebsd.org/changeset/base/226419
Log:
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
g
Author: ed
Date: Sat Oct 15 13:20:36 2011
New Revision: 226396
URL: http://svn.freebsd.org/changeset/base/226396
Log:
Fix whitespace inconsistencies in systat(1).
According to md5(1), the resulting binary is the same.
Modified:
head/usr.bin/systat/cmds.c
head/usr.bin/systat/cmdtab.c
Author: ed
Date: Fri Oct 14 10:43:55 2011
New Revision: 226363
URL: http://svn.freebsd.org/changeset/base/226363
Log:
Put parentheses in the right place.
Noted by: jilles@
Broken by:me. :-(
Modified:
head/usr.bin/tr/cset.c
Modified: head/usr.bin/tr/cset.c
=
Author: ed
Date: Fri Oct 14 07:28:39 2011
New Revision: 226362
URL: http://svn.freebsd.org/changeset/base/226362
Log:
Make nl(1) build with WARNS=6.
Obtained from:NetBSD
Modified:
head/usr.bin/nl/Makefile
head/usr.bin/nl/nl.c
Modified: head/usr.bin/nl/Makefile
Author: ed
Date: Fri Oct 14 07:26:20 2011
New Revision: 226361
URL: http://svn.freebsd.org/changeset/base/226361
Log:
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.
Mod
Author: ed
Date: Fri Oct 14 07:25:20 2011
New Revision: 226360
URL: http://svn.freebsd.org/changeset/base/226360
Log:
Build tr(1) with WARNS=6.
Modified:
head/usr.bin/tr/Makefile
head/usr.bin/tr/cset.c
head/usr.bin/tr/str.c
Modified: head/usr.bin/tr/Makefile
=
Author: ed
Date: Fri Oct 14 07:24:48 2011
New Revision: 226359
URL: http://svn.freebsd.org/changeset/base/226359
Log:
Build look(1) with WARNS=6.
Modified:
head/usr.bin/look/Makefile
head/usr.bin/look/look.c
Modified: head/usr.bin/look/Makefile
=
Author: ed
Date: Fri Oct 14 07:24:23 2011
New Revision: 226358
URL: http://svn.freebsd.org/changeset/base/226358
Log:
Build finger(1) with WARNS=6.
Modified:
head/usr.bin/finger/Makefile
head/usr.bin/finger/lprint.c
Modified: head/usr.bin/finger/Makefile
===
Author: ed
Date: Thu Oct 13 14:20:27 2011
New Revision: 226341
URL: http://svn.freebsd.org/changeset/base/226341
Log:
Link the demo application against ncursesw to make Unicode work.
Modified:
head/sys/teken/demo/Makefile
Modified: head/sys/teken/demo/Makefile
===
Author: ed
Date: Wed Oct 12 09:28:09 2011
New Revision: 226295
URL: http://svn.freebsd.org/changeset/base/226295
Log:
MFC r226099:
Tab should not blank cells.
It seems I was under the impression that a tab differs from a single
forward tabulation, namely that it blanks the unde
Author: ed
Date: Mon Oct 10 06:13:27 2011
New Revision: 226183
URL: http://svn.freebsd.org/changeset/base/226183
Log:
Properly use the cursor to bound the position for CUP.
We must take the origin region into account when clamping the cursor
position.
MFC after:3 days
Modified:
* Alexander Best , 20111009 03:11:
> is this what you had in mind?
Yes, exactly. :-)
--
Ed Schouten
WWW: http://80386.nl/
pgptTl7zhhxGR.pgp
Description: PGP signature
* Chris Rees , 20111008 20:25:
> Revert unapproved commit to bsd.port.mk.
You're very nice... :-)
--
Ed Schouten
WWW: http://80386.nl/
pgpnv11pU3IHJ.pgp
Description: PGP signature
-e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \
-e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \
-e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \
- {} + || /usr/bin/true
+ {} +
.ORDER: run-auto
Author: ed
Date: Sat Oct 8 07:20:12 2011
New Revision: 226141
URL: http://svn.freebsd.org/changeset/base/226141
Log:
Remove extraneous WARNS=7.
WARNS above 6 has no use. Also, all of usr.bin is also built with
WARNS=6 by default.
Discussed with: edwin
Modified:
head/usr.bin
Author: ed
Date: Fri Oct 7 15:05:24 2011
New Revision: 226111
URL: http://svn.freebsd.org/changeset/base/226111
Log:
Fix whitespace inconsistencies found in homegrown Symbol.maps.
Modified:
head/lib/libc/mips/Symbol.map
head/lib/libc/net/Symbol.map
head/lib/libc/sparc64/Symbol.map
head
Author: ed
Date: Fri Oct 7 12:42:03 2011
New Revision: 226100
URL: http://svn.freebsd.org/changeset/base/226100
Log:
Simply let teken_stress use arc4random.
This makes it run quite a bit faster, since it makes system calls less
often.
Modified:
head/sys/teken/stress/teken_stress.c
Mo
Author: ed
Date: Fri Oct 7 12:21:50 2011
New Revision: 226099
URL: http://svn.freebsd.org/changeset/base/226099
Log:
Tab should not blank cells.
It seems I was under the impression that a tab differs from a single
forward tabulation, namely that it blanks the underlying cells. This
see
* Alexander Best , 20111001 23:10:
> i'd like to propose the following patch. any objections?
Looks good!
Thanks,
--
Ed Schouten
WWW: http://80386.nl/
pgpnqHcKtE2IW.pgp
Description: PGP signature
* Garrett Cooper , 20111001 21:43:
> Why not use strlcpy, etc with dlen?
Well, I could, but it wouldn't change anything. In both cases, the size
of the buffer exceeds the size of _PATH_TTY.
--
Ed Schouten
WWW: http://80386.nl/
pgpjknhoTRcyW.pgp
Description: PGP signature
ve never seen the "TT" field
> contain an entry larger than 2 chars.
Also, it would be better if we replaced the "??" string with "-". When
we print "??", it actually means: this process has no controlling
terminal, not that we don't know which TTY it is.
--
Ed Schouten
WWW: http://80386.nl/
pgpiCiwTte4MN.pgp
Description: PGP signature
Sat Oct 1 11:59:45 2011(r225896)
+++ head/lib/libc/gen/ctermid.c Sat Oct 1 12:19:48 2011(r225897)
@@ -1,6 +1,6 @@
/*-
- * Copyright (c) 1990, 1993
- * The Regents of the University of California. All rights reserved.
+ * Copyright (c) 2011 Ed Schouten
+ *
Author: ed
Date: Sat Oct 1 09:16:07 2011
New Revision: 225893
URL: http://svn.freebsd.org/changeset/base/225893
Log:
Correct column with for device numbers made in previous change.
The device number should be displayed using only five columns -- not eight.
Modified:
head/usr.bin/fstat/f
Author: ed
Date: Wed Sep 28 18:53:36 2011
New Revision: 225847
URL: http://svn.freebsd.org/changeset/base/225847
Log:
Get rid of major/minor number distinction.
As of FreeBSD 6, devices can only be opened through devfs. These device
nodes don't have major and minor numbers anymore. The st
Author: ed
Date: Mon Sep 12 10:07:21 2011
New Revision: 225506
URL: http://svn.freebsd.org/changeset/base/225506
Log:
Fix error return codes for ioctls on init/lock state devices.
In revision 223722 we introduced support for driver ioctls on init/lock
state devices. Unfortunately the call
Author: ed
Date: Mon Sep 5 11:08:33 2011
New Revision: 225395
URL: http://svn.freebsd.org/changeset/base/225395
Log:
MFC r224659, r224674 and r224765:
Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.
We already modify various configuration files in /etc based on build
the majority of our userbase. So I propose the attached
> (along with reverting your change obviously).
I'm fine either way. Feel free to commit it (after re approval). :-)
--
Ed Schouten
WWW: http://80386.nl/
pgpKWvKh24sab.pgp
Description: PGP signature
Author: ed
Date: Fri Aug 5 17:33:12 2011
New Revision: 224659
URL: http://svn.freebsd.org/changeset/base/224659
Log:
Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.
We already modify various configuration files in /etc based on build
configuration. This is not done for nsswit
Author: ed
Date: Sun Jul 24 19:19:50 2011
New Revision: 224296
URL: http://svn.freebsd.org/changeset/base/224296
Log:
MFC r216696 and r216737:
Slightly improve output of lock(1).
- Remove the /dev/ portion of the TTY name.
- In case we use lock -p, print the username that was u
Author: ed
Date: Sun Jul 24 19:13:54 2011
New Revision: 224295
URL: http://svn.freebsd.org/changeset/base/224295
Log:
MFC r223744:
Improve portability of config(8).
- Use strlen(dp->d_name) instead of the unportable dp->d_namlen. Rename
i to len to make it slightly more descr
Author: ed
Date: Sun Jul 17 08:19:19 2011
New Revision: 224126
URL: http://svn.freebsd.org/changeset/base/224126
Log:
Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP.
Back in 2009 I changed the ABI of the GIO_KEYMAP and PIO_KEYMAP ioctls
to support wide characters. I created a
(uint16_t x)
| {
|
| x = (x & 0x) + ((x >> 1) & 0x);
| x = (x & 0x) + ((x >> 2) & 0x);
| x *= 0x;
| return (x >> 12);
| }
But some testing revealed it works for all inputs, except 65536. d'oh!
--
Ed Schouten
WWW: htt
Author: ed
Date: Tue Jul 5 14:12:48 2011
New Revision: 223786
URL: http://svn.freebsd.org/changeset/base/223786
Log:
Only print entries for which ut_host points to a character device.
Now that we use utmpx, we more often have entries for which the ut_line
is left blank. To prevent us fro
* Ed Schouten , 20110704 13:49:
> I could do another run at WARNS=1 if you like.
Done. Everything still builds.
--
Ed Schouten
WWW: http://80386.nl/
pgpn5ecEEpgZE.pgp
Description: PGP signature
Hi Ulrich,
* Ulrich Spoerlein , 20110704 13:43:
> Which WARNS<2 parts of our tree would trigger that warning, btw?
I have no idea. I just picked WARNS>=2, because levels lower than 2 are
often used for horrible code anyway. I could do another run at WARNS=1
if you like.
--
Ed Schou
I've run a `make universe' and it can be added to WARNS >= 2 without
breaking the build. Maybe we should add it after we have MFCd this
commit back to 8?
--
Ed Schouten
WWW: http://80386.nl/
pgpbn7KnyQ88A.pgp
Description: PGP signature
Author: ed
Date: Sun Jul 3 20:59:57 2011
New Revision: 223744
URL: http://svn.freebsd.org/changeset/base/223744
Log:
Improve portability of config(8).
- Use strlen(dp->d_name) instead of the unportable dp->d_namlen. Rename
i to len to make it slightly more descriptive and prevent negat
Author: ed
Date: Sat Jul 2 13:54:20 2011
New Revision: 223722
URL: http://svn.freebsd.org/changeset/base/223722
Log:
Reintroduce the cioctl() hook in the TTY layer for digi(4).
The cioctl() hook can be used by drivers to add ioctls to the *.init and
*.lock devices. This commit breaks the
Author: ed
Date: Sun Jun 26 18:27:17 2011
New Revision: 223576
URL: http://svn.freebsd.org/changeset/base/223576
Log:
Fix whitespace inconsistencies in libc in files copyrighted by me.
Modified:
head/lib/libc/gen/getutxent.3
head/lib/libc/gen/posix_spawn.3
head/lib/libc/gen/posix_spawn.c
Author: ed
Date: Sun Jun 26 18:26:20 2011
New Revision: 223575
URL: http://svn.freebsd.org/changeset/base/223575
Log:
Fix whitespace inconsistencies in the TTY layer and its drivers owned by me.
Modified:
head/sys/dev/pty/pty.c
head/sys/dev/snp/snp.c
head/sys/dev/syscons/scterm-teken.c
==
--- head/sys/teken/gensequences Sun Jun 26 17:54:11 2011(r223573)
+++ head/sys/teken/gensequences Sun Jun 26 18:25:10 2011 (r223574)
@@ -3,7 +3,7 @@
#-
# Copyright (c) 2008-2009 Ed Schouten
# All rights reserved.
-#
+#
# Redis
Author: ed
Date: Tue Jun 21 17:59:51 2011
New Revision: 223367
URL: http://svn.freebsd.org/changeset/base/223367
Log:
Minor cleanups to ulog-helper:
- Remove unneeded linking against libmd. libulog depends on this
library, but the ulog-helper tool itself does not.
- Change the comm
Author: ed
Date: Sat Jun 18 07:47:15 2011
New Revision: 223222
URL: http://svn.freebsd.org/changeset/base/223222
Log:
Let the size of the namebuf depend on the size of the ut_user field.
Modified:
head/usr.bin/users/users.c
Modified: head/usr.bin/users/users.c
===
Author: ed
Date: Fri Jun 17 21:31:13 2011
New Revision: 223210
URL: http://svn.freebsd.org/changeset/base/223210
Log:
Regenerate src.conf.5.
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
=
Author: ed
Date: Fri Jun 17 21:30:21 2011
New Revision: 223209
URL: http://svn.freebsd.org/changeset/base/223209
Log:
Add WITHOUT_UTMPX switch to the build system.
This knob removes the tools that are exclusively used to view and
maintain the databases maintained by utmpx, namely last, us
Author: ed
Date: Fri Jun 17 21:20:41 2011
New Revision: 223208
URL: http://svn.freebsd.org/changeset/base/223208
Log:
Don't remove the periodic script for ac(8) when setting WITHOUT_ACCT.
Modified:
head/tools/build/mk/OptionalObsoleteFiles.inc
Modified: head/tools/build/mk/OptionalObsoleteFi
901 - 1000 of 1912 matches
Mail list logo