2012/11/14 Baptiste Daroussin b...@freebsd.org:
Allow usernames up to 32 chars
Thanks!
--
Ed Schouten e...@80386.nl
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn
.
+/*-
+ * Copyright (c) 1994 Christopher G. Demetriou
+ * Copyright (c) 1994 Simon J. Gerraty
+ * Copyright (c) 2012 Ed Schouten e...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
Author: ed
Date: Sun Nov 11 12:12:44 2012
New Revision: 242892
URL: http://svnweb.freebsd.org/changeset/base/242892
Log:
MFC r241161:
Fix faulty error code handling in read(2) on TTYs.
When performing a non-blocking read(2), on a TTY while no data is
available, we should
Author: ed
Date: Sun Nov 11 12:21:51 2012
New Revision: 242893
URL: http://svnweb.freebsd.org/changeset/base/242893
Log:
MFC r240422, r240426 and r240450:
Implement LIST_PREV().
Regular LISTs have been implemented in such a way that the prev-pointer
does not point to the
2012/11/5 Brooks Davis bro...@freebsd.org:
After years of hard work by many FreeBSD and LLVM developers, make
clang the default compiler on i386 and amd64 systems.
Woohoo!
--
Ed Schouten e...@80386.nl
___
svn-src-all@freebsd.org mailing list
http
Author: ed
Date: Sat Nov 3 22:21:37 2012
New Revision: 242529
URL: http://svn.freebsd.org/changeset/base/242529
Log:
Add tty_set_winsize().
This removes some of the signalling magic from the Syscons driver and
puts it in the TTY layer, where it belongs.
Modified:
the problem.
--
Ed Schouten e...@80386.nl
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
Author: ed
Date: Thu Oct 25 09:05:21 2012
New Revision: 242078
URL: http://svn.freebsd.org/changeset/base/242078
Log:
Correct SIGTTIN handling.
In the old TTY layer, SIGTTIN was correctly handled like this:
while (data should be read) {
send SIGTTIN if not
Author: ed
Date: Thu Oct 25 10:13:58 2012
New Revision: 242080
URL: http://svn.freebsd.org/changeset/base/242080
Log:
Pull in r166498 from upstream clang trunk:
Add a new warning -Wmissing-variable-declarations, to warn about variables
defined without a previous declaration. This is
Author: ed
Date: Thu Oct 25 20:16:38 2012
New Revision: 242091
URL: http://svn.freebsd.org/changeset/base/242091
Log:
Let lpr build with -Wmissing-variable-declarations.
Mark variables static where possible and place the uid/euid variables in
lp.h, so that we can compile-time enforce
Author: ed
Date: Mon Oct 22 21:14:26 2012
New Revision: 241914
URL: http://svn.freebsd.org/changeset/base/241914
Log:
Remove unused `vfslocked' variable.
I have no idea what this `vfslocked' thing means. I wonder how it ended
up here.
Modified:
head/sys/kern/vfs_syscalls.c
Modified:
Is this the right fix?
[...]
Yes! Sorry for the breakage and thanks for fixing/committing it.
--
Ed Schouten e...@80386.nl
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src
Author: ed
Date: Sat Oct 20 10:20:06 2012
New Revision: 241776
URL: http://svn.freebsd.org/changeset/base/241776
Log:
Remove redundant code.
Both mfi_flash.c and mfi_show.c contain very similar functions to print
a list of firmwares. Move these routines into mfiutil.c.
Reported by:
Author: ed
Date: Sat Oct 20 10:33:15 2012
New Revision: 241777
URL: http://svn.freebsd.org/changeset/base/241777
Log:
More -Wmissing-variable-declarations fixes.
In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
-
Author: ed
Date: Sat Oct 20 10:34:55 2012
New Revision: 241778
URL: http://svn.freebsd.org/changeset/base/241778
Log:
Move uniq() prototype into extern.h.
Modified:
head/usr.sbin/services_mkdb/extern.h
head/usr.sbin/services_mkdb/services_mkdb.c
head/usr.sbin/services_mkdb/uniq.c
Author: ed
Date: Fri Oct 19 13:26:40 2012
New Revision: 241733
URL: http://svn.freebsd.org/changeset/base/241733
Log:
Prefer __containerof() over __member2struct().
The former works better with qualifiers, but also properly type checks
the input pointer.
Modified:
Author: ed
Date: Fri Oct 19 14:29:03 2012
New Revision: 241736
URL: http://svn.freebsd.org/changeset/base/241736
Log:
Add missing const keywords.
Modified:
head/sbin/natd/natd.c
head/usr.bin/logger/logger.c
head/usr.sbin/syslogd/syslogd.c
Modified: head/sbin/natd/natd.c
Author: ed
Date: Fri Oct 19 14:49:42 2012
New Revision: 241737
URL: http://svn.freebsd.org/changeset/base/241737
Log:
More -Wmissing-variable-declarations fixes.
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
-
Hi John,
2012/10/19 John Baldwin j...@freebsd.org:
The fw_* changes here probably wasn't the right way to fix this. The
variables should be static. The problem is that 'scan_firmware()' is
duplicated and should probably be reduced to a single copy.
Good catch! Will fix!
--
Ed Schouten e
Author: ed
Date: Thu Oct 18 15:39:29 2012
New Revision: 241695
URL: http://svn.freebsd.org/changeset/base/241695
Log:
Remove WARNS=6 lines.
WARNS=6 is already implied at this point.
Modified:
head/lib/libstdbuf/Makefile
head/usr.bin/sort/Makefile
Modified: head/lib/libstdbuf/Makefile
Author: ed
Date: Thu Oct 18 19:28:31 2012
New Revision: 241702
URL: http://svn.freebsd.org/changeset/base/241702
Log:
Remove unneeded D_NEEDMINOR.
This is only needed when using clonelists. This got remove in r238693.
Modified:
head/sys/fs/fuse/fuse_device.c
Modified:
Author: ed
Date: Fri Oct 19 05:43:38 2012
New Revision: 241720
URL: http://svn.freebsd.org/changeset/base/241720
Log:
Fix warnings found by -Wmising-variable-declarations.
This self-written compiler warning, which is hopefully going to be
committed into LLVM sources soon, warns about
Author: ed
Date: Wed Oct 3 13:51:03 2012
New Revision: 241161
URL: http://svn.freebsd.org/changeset/base/241161
Log:
Fix faulty error code handling in read(2) on TTYs.
When performing a non-blocking read(2), on a TTY while no data is
available, we should return EAGAIN. But if there's a
Author: ed
Date: Tue Sep 25 10:41:30 2012
New Revision: 240915
URL: http://svn.freebsd.org/changeset/base/240915
Log:
Vendor import NetBSD's libedit of 2012/09/25 10:41:11 UTC.
Obtained from:NetBSD
Added:
vendor/NetBSD/libedit/dist/TEST/rl1.c
Author: ed
Date: Tue Sep 25 10:42:13 2012
New Revision: 240916
URL: http://svn.freebsd.org/changeset/base/240916
Log:
Tag the 2012/09/25 10:41:11 UTC import.
Added:
vendor/NetBSD/libedit/2012-09-25/
- copied from r240915, vendor/NetBSD/libedit/dist/
Author: ed
Date: Sat Sep 15 19:28:54 2012
New Revision: 240539
URL: http://svn.freebsd.org/changeset/base/240539
Log:
Prefer __containerof() above member2struct().
The first does proper checking of the argument types, while the latter
does not.
Modified:
head/sys/dev/drm2/drm_gem.c
Author: ed
Date: Thu Sep 13 08:13:01 2012
New Revision: 240450
URL: http://svn.freebsd.org/changeset/base/240450
Log:
Rename __member2struct() to __containerof().
Compared to __member2struct(), this macro has the following advantages:
- It ensures that the type of the pointer is
Author: ed
Date: Wed Sep 12 21:03:48 2012
New Revision: 240422
URL: http://svn.freebsd.org/changeset/base/240422
Log:
Implement LIST_PREV().
Regular LISTs have been implemented in such a way that the prev-pointer
does not point to the previous element, but to the next-pointer stored
in
Author: ed
Date: Wed Sep 12 22:16:31 2012
New Revision: 240425
URL: http://svn.freebsd.org/changeset/base/240425
Log:
Switch batch to an SLIST.
This code requires none of the features of LIST.
Modified:
head/usr.bin/last/last.c
Modified: head/usr.bin/last/last.c
Author: ed
Date: Wed Sep 12 22:54:11 2012
New Revision: 240426
URL: http://svn.freebsd.org/changeset/base/240426
Log:
Correctness: use __member2struct() on the correct fields.
The prev-pointers point to the next-pointers of the previous element --
not the ENTRY structure. The
Author: ed
Date: Sat Sep 1 08:45:19 2012
New Revision: 239973
URL: http://svn.freebsd.org/changeset/base/239973
Log:
Fix whitespace.
MFC after:1 month
Modified:
head/sys/sys/time.h
Modified: head/sys/sys/time.h
Author: ed
Date: Fri Aug 31 08:48:53 2012
New Revision: 239938
URL: http://svn.freebsd.org/changeset/base/239938
Log:
Use better variable naming.
MFC after:1 month
Modified:
head/usr.sbin/ac/ac.c
Modified: head/usr.sbin/ac/ac.c
Author: ed
Date: Thu Aug 30 16:45:27 2012
New Revision: 239910
URL: http://svn.freebsd.org/changeset/base/239910
Log:
Massively refactor ac(8).
- Use queue(3) -- not some homegrown implementation of linked lists.
- Rename structures to _entry, as they are entries in the linked list --
Author: ed
Date: Wed Aug 29 16:15:22 2012
New Revision: 239855
URL: http://svn.freebsd.org/changeset/base/239855
Log:
Fix whitespace.
Modified:
head/usr.sbin/ac/ac.c
Modified: head/usr.sbin/ac/ac.c
==
---
Author: ed
Date: Tue Aug 28 19:28:31 2012
New Revision: 239790
URL: http://svn.freebsd.org/changeset/base/239790
Log:
Remove unneeded G_PF_CANDELETE flag.
This flag is only used by GEOM so it can be propagated to the character
device's SI_CANDELETE. Unfortunately, SI_CANDELETE seems to
Author: ed
Date: Tue Aug 28 19:30:29 2012
New Revision: 239791
URL: http://svn.freebsd.org/changeset/base/239791
Log:
Remove unused SI_* flags.
The SI_DEVOPEN, SI_CONSOPEN and SI_CANDELETE flags are not used by any
piece of code in the tree.
Modified:
head/sys/kern/kern_conf.c
Author: ed
Date: Sat Aug 11 12:07:24 2012
New Revision: 239193
URL: http://svn.freebsd.org/changeset/base/239193
Log:
Rename aux.c to auxv.c.
On Windows, AUX is the auxiliary device, usually pointing to COM1.
Therefore it is forbidden to create a file named aux.c. To make it a bit
Author: ed
Date: Tue Jun 5 19:42:57 2012
New Revision: 236629
URL: http://svn.freebsd.org/changeset/base/236629
Log:
Fix a small typo. Fireware - firmware.
MFC after:2 weeks
Modified:
head/include/fmtmsg.h
Modified: head/include/fmtmsg.h
Author: ed
Date: Sat Jun 2 10:50:25 2012
New Revision: 236441
URL: http://svn.freebsd.org/changeset/base/236441
Log:
Remove invalid remark about pipes.
The stat structures returned on pipes seems to contain all the
information required by POSIX. Especially the wording and thus to a
Author: ed
Date: Sun May 27 09:34:47 2012
New Revision: 236140
URL: http://svn.freebsd.org/changeset/base/236140
Log:
Fix style and consistency:
- Use tabs, not spaces.
- Add tab after #define.
- Don't mix the use of BSD and ISO C unsigned integer types. Prefer the
ISO C ones.
Author: ed
Date: Fri May 25 21:50:48 2012
New Revision: 236026
URL: http://svn.freebsd.org/changeset/base/236026
Log:
Remove use of non-ISO-C integer types from system call tables.
These files already use ISO-C-style integer types, so make them less
inconsistent by preferring the
Author: ed
Date: Fri May 25 21:52:57 2012
New Revision: 236027
URL: http://svn.freebsd.org/changeset/base/236027
Log:
Regenerate system call tables.
Modified:
head/sys/amd64/linux32/linux32_proto.h
head/sys/amd64/linux32/linux32_syscall.h
head/sys/amd64/linux32/linux32_syscalls.c
Author: ed
Date: Thu Apr 19 15:28:15 2012
New Revision: 234462
URL: http://svn.freebsd.org/changeset/base/234462
Log:
Properly use SHA1_Final() instead of SHA_Final().
In this case it doesn't really matter, as long as we turn a TTY name
into a set of shuffled bytes. Still, for
Author: ed
Date: Thu Apr 19 21:12:08 2012
New Revision: 234469
URL: http://svn.freebsd.org/changeset/base/234469
Log:
Do a better job at determining the username of the login session.
When multiple users share the same UID, the old code will simply pick an
arbitrary username to attach to
Author: ed
Date: Fri Apr 6 11:06:47 2012
New Revision: 233942
URL: http://svn.freebsd.org/changeset/base/233942
Log:
MFC r233002, r233003 and r233012:
Remove impossible error condition from the man page.
On FreeBSD, all processes have a process group, so it is impossible for
Author: ed
Date: Fri Apr 6 11:07:44 2012
New Revision: 233943
URL: http://svn.freebsd.org/changeset/base/233943
Log:
MFC r232976:
Hide stty(1) errors.
If rc(8) is executed without using a TTY, this error appears at the
beginning:
stty: stdin isn't a terminal
Author: ed
Date: Fri Apr 6 11:09:49 2012
New Revision: 233944
URL: http://svn.freebsd.org/changeset/base/233944
Log:
MFC r232841:
Fix whitespace.
Modified:
stable/9/sbin/init/init.c
Directory Properties:
stable/9/sbin/init/ (props changed)
Modified: stable/9/sbin/init/init.c
Author: ed
Date: Fri Apr 6 13:06:01 2012
New Revision: 233945
URL: http://svn.freebsd.org/changeset/base/233945
Log:
Properly clear the O_NONBLOCK flag after opening the TTY.
Though we should open the TTY with O_NONBLOCK to prevent rc(8) execution
from potentially stalling, we must not
add a wrapper to
syscons.c.
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpicjlRAoaL6.pgp
Description: PGP signature
Author: ed
Date: Fri Mar 23 08:26:31 2012
New Revision: 233345
URL: http://svn.freebsd.org/changeset/base/233345
Log:
Make utmpx(3) thread safe if we support TLS.
Because the utmpx interface is generally not required to be thread-safe,
but it is nice to have, if easy to do so. Therefore
message, you probably
need to load pty(4).
Thanks,
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpNlY7kMsH6M.pgp
Description: PGP signature
Author: ed
Date: Sun Mar 18 09:19:40 2012
New Revision: 233108
URL: http://svn.freebsd.org/changeset/base/233108
Log:
MFC r228322,228330,228477,228495,228562,228564,228859,228897,229574,230277:
Bring sys/cdefs.h in sync with FreeBSD HEAD:
- Add an __alignof() for non-GCC and GCC
Author: ed
Date: Sat Mar 17 09:10:43 2012
New Revision: 233083
URL: http://svn.freebsd.org/changeset/base/233083
Log:
MFC r232780 and r232781:
Fix whitespace.
Modified:
stable/9/usr.sbin/watch/watch.c
Directory Properties:
stable/9/usr.sbin/watch/ (props changed)
Modified:
Author: ed
Date: Thu Mar 15 11:49:26 2012
New Revision: 233002
URL: http://svn.freebsd.org/changeset/base/233002
Log:
Remove impossible error condition from the man page.
On FreeBSD, all processes have a process group, so it is impossible for
kill(2) to fail this way. POSIX also doesn't
Author: ed
Date: Thu Mar 15 12:12:39 2012
New Revision: 233003
URL: http://svn.freebsd.org/changeset/base/233003
Log:
Extend the description for ESRCH a bit.
This errno can also be returned if the passed process identifier doesn't
correspond with a process group.
Discussed on: arch@
Author: ed
Date: Thu Mar 15 21:19:50 2012
New Revision: 233012
URL: http://svn.freebsd.org/changeset/base/233012
Log:
Remove non-existing error condition.
Just like kill(2), it is impossible for killpg(0, ...) to fail with
ESRCH, as a process always has a process group.
Discussed
Author: ed
Date: Wed Mar 14 16:10:39 2012
New Revision: 232976
URL: http://svn.freebsd.org/changeset/base/232976
Log:
Hide stty(1) errors.
If rc(8) is executed without using a TTY, this error appears at the
beginning:
stty: stdin isn't a terminal
Because this is to be
Author: ed
Date: Wed Mar 14 16:22:09 2012
New Revision: 232977
URL: http://svn.freebsd.org/changeset/base/232977
Log:
Make init(8) slightly more robust when /dev/console is missing.
If the environment doesn't offer a working /dev/console, the existing
version of init(8) will simply
Author: ed
Date: Sun Mar 11 22:30:06 2012
New Revision: 232841
URL: http://svn.freebsd.org/changeset/base/232841
Log:
Fix whitespace.
MFC after:1 week
Modified:
head/sbin/init/init.c
Modified: head/sbin/init/init.c
Author: ed
Date: Sat Mar 10 14:35:09 2012
New Revision: 232780
URL: http://svn.freebsd.org/changeset/base/232780
Log:
Fix whitespace.
MFC after:1 week
Modified:
head/usr.sbin/watch/watch.c
Modified: head/usr.sbin/watch/watch.c
Author: ed
Date: Sat Mar 10 14:38:34 2012
New Revision: 232781
URL: http://svn.freebsd.org/changeset/base/232781
Log:
Perform even more style changes.
- Remove unneeded whitespace for function calls.
- Add empty line at the top of functions without local variables.
- Change while (1)
Tijl,
* Tijl Coosemans t...@freebsd.org, 20120309 12:48:
Clean up x86 endian.h:
Wouldn't it be possible to simply place these macros in sys/endian.h
and only let machine/endian.h define the assembly versions for the
non-constant cases?
Thanks,
--
Ed Schouten e...@80386.nl
WWW: http
Author: ed
Date: Fri Mar 2 21:17:24 2012
New Revision: 232404
URL: http://svn.freebsd.org/changeset/base/232404
Log:
MFC r231376:
Remove outdated piece of information.
devtoname() always returns a pathname to the device. It will never
return a #major/minor string.
Modified:
Author: ed
Date: Fri Mar 2 21:29:57 2012
New Revision: 232405
URL: http://svn.freebsd.org/changeset/base/232405
Log:
MFC r231378:
Remove direct access to si_name.
Code should just use the devtoname() function to obtain the name of a
character device. Also add const keywords
Author: ed
Date: Fri Mar 2 21:36:24 2012
New Revision: 232406
URL: http://svn.freebsd.org/changeset/base/232406
Log:
MFC r231383, r231385 and r231648:
Detect file modification properly by using tv_nsec.
POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond
Author: ed
Date: Fri Mar 2 21:38:27 2012
New Revision: 232408
URL: http://svn.freebsd.org/changeset/base/232408
Log:
MFC r231514:
Set read buffer size to multiple of sizeof(struct futx).
If the utmpx database gets updated while an application is reading it,
there is a chance
separate struct fileops here?
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpU0wCEM8Cww.pgp
Description: PGP signature
* Dimitry Andric d...@freebsd.org, 20120221 21:55:
These warnings are tricky to fix without a lot of overhaul, and they are
harmless, so disable them for now.
What about marking it const? It seems to be never written to.
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl
Author: ed
Date: Tue Feb 14 09:29:37 2012
New Revision: 231648
URL: http://svn.freebsd.org/changeset/base/231648
Log:
Restore message in man page on VFS timestamp precision.
Requested by: bde, jhb
Modified:
head/usr.sbin/vipw/vipw.8
Modified: head/usr.sbin/vipw/vipw.8
Author: ed
Date: Mon Feb 13 11:59:59 2012
New Revision: 231584
URL: http://svn.freebsd.org/changeset/base/231584
Log:
Polish diff against upstream.
- Revert unneeded whitespace changes.
- Revert modifications to loginrec.c, as the upstream version already
does the right thing.
-
the BUG back as your change
didn't remove it.
I'll re-add it tomorrow. I do think I will extend the message a bit,
stating that this is only a problem if your file system doesn't do
fine-grained timestamps.
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpE0jtuf854Y.pgp
Description: PGP
Author: ed
Date: Sun Feb 12 18:29:56 2012
New Revision: 231564
URL: http://svn.freebsd.org/changeset/base/231564
Log:
Globally replace u_int*_t from (non-contributed) man pages.
The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people
Author: ed
Date: Sat Feb 11 11:11:13 2012
New Revision: 231514
URL: http://svn.freebsd.org/changeset/base/231514
Log:
Set read buffer size to multiple of sizeof(struct futx).
If the utmpx database gets updated while an application is reading it,
there is a chance the reading application
)
==
--- head/usr.sbin/utxrm/utxrm.8 Sat Feb 11 11:11:13 2012(r231514, copy
source)
+++ head/usr.sbin/utx/utx.8 Sat Feb 11 20:28:42 2012(r231530)
@@ -1,4 +1,4 @@
-.\ Copyright (c) 2011 Ed Schouten e...@freebsd.org
+.\ Copyright (c) 2011-2012
Author: ed
Date: Sat Feb 11 20:47:16 2012
New Revision: 231534
URL: http://svn.freebsd.org/changeset/base/231534
Log:
Move utmpx handling out of init(8).
This has the following advantages:
- During boot, the BOOT_TIME record is now written right after the file
systems become
Author: ed
Date: Sat Feb 11 21:49:23 2012
New Revision: 231536
URL: http://svn.freebsd.org/changeset/base/231536
Log:
Attempt to implement who -a.
According to POSIX, -a is equal to -bdlprtTu. It seems this is not true
in practice, as -b normally restricts the output to BOOT_TIME
Author: ed
Date: Sat Feb 11 21:50:44 2012
New Revision: 231537
URL: http://svn.freebsd.org/changeset/base/231537
Log:
And of course, I forgot to add -a to the usage.
Modified:
head/usr.bin/who/who.c
Modified: head/usr.bin/who/who.c
to ensure user services such as xdm,
# inetd, cron and kerberos are started after everything else, in case
%%%
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpQltUZ39mPm.pgp
Description: PGP signature
Author: ed
Date: Sun Feb 12 07:45:48 2012
New Revision: 231549
URL: http://svn.freebsd.org/changeset/base/231549
Log:
Avoid using BEFORE in the utx rc script.
Requested by: dougb
Modified:
head/etc/rc.d/LOGIN
head/etc/rc.d/utx
Modified: head/etc/rc.d/LOGIN
Author: ed
Date: Fri Feb 10 11:20:13 2012
New Revision: 231376
URL: http://svn.freebsd.org/changeset/base/231376
Log:
Remove outdated piece of information.
devtoname() always returns a pathname to the device. It will never
return a #major/minor string.
MFC after:2 weeks
Author: ed
Date: Fri Feb 10 12:35:57 2012
New Revision: 231378
URL: http://svn.freebsd.org/changeset/base/231378
Log:
Remove direct access to si_name.
Code should just use the devtoname() function to obtain the name of a
character device. Also add const keywords to pieces of code that
Author: ed
Date: Fri Feb 10 12:40:50 2012
New Revision: 231379
URL: http://svn.freebsd.org/changeset/base/231379
Log:
Merge si_name and __si_namebuf.
The si_name pointer always points to the __si_namebuf member inside the
same object. Remove it and rename __si_namebuf to si_name.
Author: ed
Date: Fri Feb 10 13:40:32 2012
New Revision: 231383
URL: http://svn.freebsd.org/changeset/base/231383
Log:
Detect file modification properly by using tv_nsec.
POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond
precision to detect file modification.
MFC
Author: ed
Date: Fri Feb 10 13:47:40 2012
New Revision: 231384
URL: http://svn.freebsd.org/changeset/base/231384
Log:
Unbreak build.
libprocstat still uses __si_namebuf.
Modified:
head/lib/libprocstat/common_kvm.c
Modified: head/lib/libprocstat/common_kvm.c
Author: ed
Date: Fri Feb 10 13:51:02 2012
New Revision: 231385
URL: http://svn.freebsd.org/changeset/base/231385
Log:
Correct date. It seems to be 2012.
Modified:
head/usr.sbin/vipw/vipw.8
Modified: head/usr.sbin/vipw/vipw.8
Author: ed
Date: Fri Feb 10 14:55:47 2012
New Revision: 231386
URL: http://svn.freebsd.org/changeset/base/231386
Log:
Remove unneeded newline. It fits in 80 columns now.
Pointed out by: jh
Modified:
head/sys/kern/kern_conf.c
Modified: head/sys/kern/kern_conf.c
Author: ed
Date: Thu Feb 9 15:21:54 2012
New Revision: 231279
URL: http://svn.freebsd.org/changeset/base/231279
Log:
MFC r226396:
Fix whitespace inconsistencies in systat(1).
According to md5(1), the resulting binary is the same.
Modified:
stable/9/usr.bin/systat/cmds.c
Author: ed
Date: Thu Feb 9 15:23:39 2012
New Revision: 231280
URL: http://svn.freebsd.org/changeset/base/231280
Log:
MFC r226424:
Use integer to store the result of getch().
We need to use an integer to make the comparison against ERR work.
Modified:
Author: ed
Date: Thu Feb 9 15:26:47 2012
New Revision: 231281
URL: http://svn.freebsd.org/changeset/base/231281
Log:
MFC r229385
Fix subtle typo: compare against idx -- not index.
In this context, index refers to the index(3) function. In this case it
doesn't really harm, as
Author: ed
Date: Thu Feb 9 15:28:28 2012
New Revision: 231282
URL: http://svn.freebsd.org/changeset/base/231282
Log:
MFC r229590 manually:
It turns out our GCC has quite an interesting bug:
typeof(1.0fi) != float _Complex
typeof((float _Complex)1.0fi) != float
Author: ed
Date: Thu Feb 9 16:55:20 2012
New Revision: 231289
URL: http://svn.freebsd.org/changeset/base/231289
Log:
MFC r228474:
Add support for __COUNTER__.
__COUNTER__ allows one to obtain incrementing (read: unique) numbers
from the C preprocesor. This is useful when
Author: ed
Date: Thu Feb 9 16:58:06 2012
New Revision: 231294
URL: http://svn.freebsd.org/changeset/base/231294
Log:
MFC r230330:
Remove remnants of dev_t.
These functions take a `struct cdev *' -- not a dev_t. Inside the
kernel, dev_t has the same use as in userspace, namely
(r231071)
@@ -0,0 +1,46 @@
+.\ Copyright (c) 2012 Ed Schouten e...@freebsd.org
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\ 1. Redistributions of source code
Author: ed
Date: Mon Feb 6 18:15:46 2012
New Revision: 231095
URL: http://svn.freebsd.org/changeset/base/231095
Log:
Fix whitespace inconsistencies in TTY code.
Modified:
head/sys/kern/tty.c
head/sys/kern/tty_info.c
head/sys/kern/tty_ttydisc.c
head/sys/sys/ttycom.h
from ever line of text.
Multiple successive empty lines are merged together.
+If the whitespace at the beginning of a sentence is exactly a multiple
+of eight spaces, the whitespace is replaced by tabs.
Also, spaces preceeding tabs will be merged into the tab character.
.Sh AUTHORS
.An Ed
Author: ed
Date: Sun Feb 5 09:17:49 2012
New Revision: 231011
URL: http://svn.freebsd.org/changeset/base/231011
Log:
Whitespace fixes.
- Remove redundant empty lines.
- Replace ^L by \014. This allows you to safely cat/grep/etc this file
without causing confusion.
Modified:
Author: ed
Date: Fri Feb 3 17:36:32 2012
New Revision: 230951
URL: http://svn.freebsd.org/changeset/base/230951
Log:
MFC r226785:
Attempt to fix build logic for gensnmptree.
There are two problems with the existing logic. It builds gensnmptree
on 700018, even if WITHOUT_BSNMP
Author: ed
Date: Fri Feb 3 17:50:39 2012
New Revision: 230952
URL: http://svn.freebsd.org/changeset/base/230952
Log:
MFC r227314:
Ensure pam_lastlog removes the /dev/ component of the TTY name.
Some consumers of PAM remove the /dev/ component (i.e. login), while
others don't
Author: ed
Date: Fri Feb 3 18:48:40 2012
New Revision: 230953
URL: http://svn.freebsd.org/changeset/base/230953
Log:
MFC r226610:
Add missing #includes.
According to POSIX, these two header files should be able to be included
by themselves, not depending on other headers. The
Hi Nathan,
* Nathan Whitehorn nwhiteh...@freebsd.org, 20120123 16:44:
TERM=xterm
This code is also used on pc98, right? I think on pc98 we still need to
use TERM=cons25w, to support Japanese character sets and keyboard input.
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl
601 - 700 of 1772 matches
Mail list logo