Author: ed
Date: Sat May 25 12:11:20 2013
New Revision: 250980
URL: http://svnweb.freebsd.org/changeset/base/250980
Log:
Only call free() on something we allocated.
If we were already provided a struct _citrus_iconv (e.g. through
iconv_open_into()), we should not call free() in case
Author: ed
Date: Sat May 25 12:13:54 2013
New Revision: 250981
URL: http://svnweb.freebsd.org/changeset/base/250981
Log:
Make some tiny improvements to iconv_open().
- Remove an unneeded variable.
- Fix whitespace bugs.
- Fix typoes in comment.
- Improve string handling a bit. Don't
Hello all,
[ +gabor ]
2013/5/22 Ed Schouten e...@80386.nl:
Oh, the horror! I thought on FreeBSD, we used the LC_CTYPE files to do
a mapping to ISO 10646. Unfortunately, it seems to be the case that
these files are only used to do mappings to
uppercase/lowercase/runetype. Bummer.
So I think
Author: ed
Date: Sat May 25 15:36:15 2013
New Revision: 250984
URL: http://svnweb.freebsd.org/changeset/base/250984
Log:
Prevent shadowing.
The name line_number seems to be used as a function parameter name for
one of the Lex functions. Change the name to linenumber.
Modified:
Author: ed
Date: Sat May 25 16:58:12 2013
New Revision: 250985
URL: http://svnweb.freebsd.org/changeset/base/250985
Log:
Fix uchar.h in for C++11.
It turns out that in C++11, char16_t and char32_t are built-in types;
language keywords. Just fix this by putting traditional _*_T_DECLARED
Author: ed
Date: Sat May 25 18:04:24 2013
New Revision: 250989
URL: http://svnweb.freebsd.org/changeset/base/250989
Log:
Add missing #includes, to keep Clang silent.
Modified:
head/tools/regression/lib/libc/locale/test-btowc.c
head/tools/regression/lib/libc/locale/test-iswctype.c
Author: ed
Date: Sat May 25 18:55:55 2013
New Revision: 250990
URL: http://svnweb.freebsd.org/changeset/base/250990
Log:
Add C11 macros CMPLX(), CMPLXF() and CMPLXL().
Clang allows us to initialize complex numbers using an array
initializer, casted to a complex type. GCC has a builtin
Author: ed
Date: Thu May 23 18:07:01 2013
New Revision: 250938
URL: http://svnweb.freebsd.org/changeset/base/250938
Log:
Let iconv build on -HEAD properly.
- Add NO_WMISSING_VARIABLE_DECLARATIONS where we use Yacc/Lex.
- Add variable declarations where possible.
- Add missing static
your setup?
(P.S.: In the mean time I'm looking for a way to elegantly solve the
character set issues. More on that later.)
Thanks,
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src
Author: ed
Date: Wed May 22 22:34:48 2013
New Revision: 250919
URL: http://svnweb.freebsd.org/changeset/base/250919
Log:
Don't depend on the touch binary being present.
We can simply create an empty file by doing a no-op and redirecting stdout.
Modified:
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/include/uchar.hTue May 21 19:59:37 2013(r250883)
@@ -0,0 +1,60 @@
+/*-
+ * Copyright (c) 2013 Ed Schouten e...@freebsd.org
+ * All
Author: ed
Date: Tue May 21 21:20:10 2013
New Revision: 250887
URL: http://svnweb.freebsd.org/changeset/base/250887
Log:
Allow certain headers to be included more easily.
Spotted by: http://hacks.owlfolio.org/header-survey/
Modified:
head/include/arpa/tftp.h
head/include/fts.h
Author: ed
Date: Tue May 21 21:39:18 2013
New Revision: 250888
URL: http://svnweb.freebsd.org/changeset/base/250888
Log:
Update manpages for r250887.
Remove the lists of unneeded header files.
Requested by: eadler
Modified:
head/lib/libc/gen/fts.3
head/lib/libc/net/getifaddrs.3
2013/5/21 Eitan Adler ead...@freebsd.org:
Do the man pages need to be updated as well?
Sure. I've updated the manpages for the functions listed in these header files.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http
Author: ed
Date: Tue May 21 21:50:11 2013
New Revision: 250889
URL: http://svnweb.freebsd.org/changeset/base/250889
Log:
Add proper prerequisites for even two more headers.
Spotted by: http://hacks.owlfolio.org/header-survey/
Modified:
head/include/protocols/rwhod.h
are only used to do mappings to
uppercase/lowercase/runetype. Bummer.
I'll see what I can do to fix this. I'll likely implement something
like you suggested, that we return EILSEQ if the locale is not ASCII,
ISO8859-1 or UTF-8.
--
Ed Schouten e...@80386.nl
-TLS).
In my opinion we should not add __[a-z] definitions for things that
are part of C11. Doing this only makes our code less easily exportable
to other systems.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http
Author: ed
Date: Sun May 19 07:44:01 2013
New Revision: 250806
URL: http://svnweb.freebsd.org/changeset/base/250806
Log:
Remove lint case for _Thread_local.
I added this block, knowing that lint does not support _Thread_local.
When linting, we could argue that we don't care about TLS
panics. Copied by hand:
panic: No FIB on non header mbuf
..
db bt
kassert_panic()
rt_newaddrmsg_fib()
rtinit1()
in_scrubprefix()
in_control()
ifioctl()
kern_ioctl()
sys_ioctl()
amd64_syscall()
Xfast_syscall()
--
Ed Schouten e...@80386.nl
___
svn-src-head
2013/5/16 Julian Elischer jul...@freebsd.org:
see correcting commit
Thanks for fixing it so quickly!
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any
Author: ed
Date: Mon May 13 21:46:07 2013
New Revision: 250623
URL: http://svnweb.freebsd.org/changeset/base/250623
Log:
Rework the way C11 keywords are defined.
Instead of only checking the __STDC_VERSION__, we can also use Clang's
__has_extension() to check for features specifically.
Author: ed
Date: Mon May 13 21:47:17 2013
New Revision: 250624
URL: http://svnweb.freebsd.org/changeset/base/250624
Log:
Improve readability of static assertions for OFFSET_* macros.
Instead of doing all sorts of weird casting of constants to
pointer-pointers, simply use the standard C
reverted without bringing any
hard data to the table.
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
over our FreeBSD-specific solutions.
If the only objection is the spelling of these keywords (underscores,
uppercase, etc), be sure to:
#include stdalign.h /* For alignas/alignof. */
#include stdnoreturn.h /* For noreturn. */
#include threads.h /* For thread_local. */
--
Ed Schouten e...@80386.nl
Author: ed
Date: Sat Apr 27 21:18:34 2013
New Revision: 249995
URL: http://svnweb.freebsd.org/changeset/base/249995
Log:
Enable improved tgmath.h for Clang even when not using C11.
By using __has_extension(c_generic_selections), we can explicitly test
whether we're dealing with a version
Author: ed
Date: Sat Apr 27 04:56:02 2013
New Revision: 249968
URL: http://svnweb.freebsd.org/changeset/base/249968
Log:
Unbreak stdatomic.h on ARM + Clang.
Clang only supports atomic operations for ARMv6. For non-ARMv6, we still
need to emit these functions.
Clang's prototype for
Author: ed
Date: Sat Apr 27 05:01:29 2013
New Revision: 249969
URL: http://svnweb.freebsd.org/changeset/base/249969
Log:
Use C11 stdatomic.h instead of our non-standard machine/atomic.h.
Reviewed by: pjd
Modified:
head/sbin/hastd/primary.c
head/sbin/hastd/refcnt.h
Modified:
Author: ed
Date: Sat Apr 27 05:06:25 2013
New Revision: 249970
URL: http://svnweb.freebsd.org/changeset/base/249970
Log:
Partially revert my last change.
I forgot that I still had a locally applied patch to my copy of Clang
that needs to be pushed in before we should use C11 atomics.
Author: ed
Date: Sat Apr 27 05:44:39 2013
New Revision: 249971
URL: http://svnweb.freebsd.org/changeset/base/249971
Log:
Remove references to MK_IDEA.
As of r249959, we want to build with IDEA support enabled
unconditionally. As this change removed the MK_IDEA flag, update these
Author: ed
Date: Sun Apr 21 22:36:14 2013
New Revision: 249743
URL: http://svnweb.freebsd.org/changeset/base/249743
Log:
Unbreak the build of newfs_nandfs.
Mark global variables static. While there, make some small style(9)
cleanups and remove a variable that is unused.
Modified:
Author: ed
Date: Sun Apr 21 22:47:24 2013
New Revision: 249744
URL: http://svnweb.freebsd.org/changeset/base/249744
Log:
Add missing static keyword, to make the code build with WARNS=6.
Modified:
head/usr.sbin/nandsim/nandsim_cfgparse.c
Modified: head/usr.sbin/nandsim/nandsim_cfgparse.c
Author: ed
Date: Sat Apr 20 14:44:28 2013
New Revision: 249702
URL: http://svnweb.freebsd.org/changeset/base/249702
Log:
Enable libcompiler-rt on MIPS.
Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an
issue where __clzdi2 and __ctzdi2 would cause endless
Author: ed
Date: Fri Apr 19 19:38:39 2013
New Revision: 249656
URL: http://svnweb.freebsd.org/changeset/base/249656
Log:
Fix -Wmissing-variable-declarations compiler warnings.
References:
https://www.illumos.org/issues/3700
Modified:
head/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
Author: ed
Date: Fri Apr 19 19:45:00 2013
New Revision: 249657
URL: http://svnweb.freebsd.org/changeset/base/249657
Log:
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
This compiler flag enforces that that people either mark variables
static or use an external
Author: ed
Date: Tue Apr 9 06:50:11 2013
New Revision: 249293
URL: http://svnweb.freebsd.org/changeset/base/249293
Log:
Import a new version of NetBSD's mtree.
This version of mtree implements a new flag (-O) that can be used to
restrict the tool to certain pathnames. Also, it fixes a
Author: ed
Date: Tue Apr 9 16:16:34 2013
New Revision: 249311
URL: http://svnweb.freebsd.org/changeset/base/249311
Log:
Add static/const keywords to the arrays.
This theoretically allows a compiler to optimize (parts of) the array
away if unused.
While there, make the array size
Author: ed
Date: Mon Apr 8 08:03:42 2013
New Revision: 249244
URL: http://svnweb.freebsd.org/changeset/base/249244
Log:
Prevent the creation of an unused variable.
We're only interested in the enumeration fields; we don't want to create
a variable to store them.
MFC after:1
Author: ed
Date: Mon Apr 8 08:05:15 2013
New Revision: 249245
URL: http://svnweb.freebsd.org/changeset/base/249245
Log:
Mark the act_tbl static/const.
This table is only used within this source file and is only accessed
read-only.
MFC after:1 week
Modified:
that
your version is nicer, as our behaviour of cp with the trailing slash
contradicts POSIX.
Thanks,
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any
Author: ed
Date: Sat Nov 17 16:47:05 2012
New Revision: 243183
URL: http://svnweb.freebsd.org/changeset/base/243183
Log:
Fix whitespace.
MFC after:1 week
Modified:
head/usr.bin/w/extern.h
head/usr.bin/w/proc_compare.c
Modified: head/usr.bin/w/extern.h
2012/11/14 Baptiste Daroussin b...@freebsd.org:
Allow usernames up to 32 chars
Thanks!
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn
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-head@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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-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-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn
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: 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: 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
, similar to, say, fdrop(9).
Thanks for fixing this!
--
Ed Schouten e...@80386.nl
___
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
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: Sat Sep 1 08:45:58 2012
New Revision: 239974
URL: http://svn.freebsd.org/changeset/base/239974
Log:
While there, remove an unneeded blank line.
MFC after:1 month
Modified:
head/sys/sys/time.h
Modified: head/sys/sys/time.h
Author: ed
Date: Sat Sep 1 10:48:38 2012
New Revision: 239986
URL: http://svn.freebsd.org/changeset/base/239986
Log:
Remove unneeded struct timezone.
We're only interested in a timestamp -- not the timezone.
Modified:
head/usr.sbin/lmcconfig/lmcconfig.c
Modified:
Author: ed
Date: Sat Sep 1 10:56:15 2012
New Revision: 239988
URL: http://svn.freebsd.org/changeset/base/239988
Log:
Rework time handling.
After I made the previous commit, I noticed the code does some things it
shouldn't. It casts a struct timeval to a time_t, assuming tv_sec is the
Author: ed
Date: Sat Sep 1 14:45:15 2012
New Revision: 239991
URL: http://svn.freebsd.org/changeset/base/239991
Log:
Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:
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
.
+/*-
+ * 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
Author: ed
Date: Fri Aug 31 22:22:14 2012
New Revision: 239960
URL: http://svn.freebsd.org/changeset/base/239960
Log:
Properly enable Clang-style atomics when available.
In addition to testing against cxx_atomic, we must check c_atomic. The
former is only set when building C++ code. Also
Author: ed
Date: Fri Aug 31 22:37:08 2012
New Revision: 239961
URL: http://svn.freebsd.org/changeset/base/239961
Log:
Also relicense the ac(8) man page.
MFC after:1 month
Discussed with: Simon Gerraty and Chris Demetriou
Modified:
head/usr.sbin/ac/ac.8
Modified:
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 18:33:12 2012
New Revision: 239786
URL: http://svn.freebsd.org/changeset/base/239786
Log:
Use a proper destructor function.
When calling a revoke(2) on a dtrace device, dtrace_close() could be
called, even if threads are still stuck in the device. Defer the
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 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
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
Author: ed
Date: Wed Mar 21 08:38:42 2012
New Revision: 233271
URL: http://svn.freebsd.org/changeset/base/233271
Log:
Remove pty(4) from our kernel configurations.
As of FreeBSD 8, this driver should not be used. Applications that use
posix_openpt(2) and openpty(3) use the pts(4) that is
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: 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
separate struct fileops here?
--
Ed Schouten e...@80386.nl
WWW: http://80386.nl/
pgpG4wj7wUTnj.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/
pgpFLerv0Ihwi.pgp
Description: PGP
501 - 600 of 987 matches
Mail list logo