On Tue, 16 Apr 2013 15:44:36 +0200, Dimitry Andric wrote:
> On 2013-04-16 13:28, Bruce Evans wrote:
>> Extending the example a little gives the answer to my question:
>>
>> @ #include
>> @
>> @ typedef void vb(bool first);
>> @
>> @ vb foo;
>> @ void bar(vb *p);
>> @
>> @ void
>> @ foo(first)
>>
On Tue, 16 Apr 2013 11:03:01 +0200, Dimitry Andric wrote:
> On 2013-04-16 06:19, Γιώργος Κεραμίδας wrote:
>> On Sat, 16 Feb 2013 20:17:31 + (UTC), Dimitry Andric
>> wrote:
> ...
>>>Since clang 3.2 now has an option to suppress warnings about implicitly
>>>promoted K&R parameters, rem
) [-Wincompatible-pointer-types]
> @ bar(foo);
> @ ^~~
> @ z.c:6:14: note: passing argument to parameter 'p' here
> @ void bar(vb *p);
> @ ^
> @ 2 warnings generated.
>
> Apparently clang ignores the mismatched prototype after printing a warn
Author: keramida (doc committer)
Date: Sat Feb 23 12:31:52 2013
New Revision: 247189
URL: http://svnweb.freebsd.org/changeset/base/247189
Log:
Now that qsort(3) has a sample comparison function, point to that
example from bsearch(3) too, so that we don't have to duplicate
the example code in
Author: keramida (doc committer)
Date: Wed Feb 20 18:31:55 2013
New Revision: 247050
URL: http://svnweb.freebsd.org/changeset/base/247050
Log:
Various improvements to the qsort(3) usage example:
- Remove unused #include.
- Do not cast away const.
- Use the canonical idiom to compare two
On 2013-02-20 10:49, Stefan Farfeleder wrote:
>On Wed, Feb 20, 2013 at 09:32:43AM +, David Chisnall wrote:
>>On 20 Feb 2013, at 08:25, m...@freebsd.org wrote:
>>> These should be declared const int *. And the cast shouldn't be
>>> needed in C, since void * can be assigned to any other pointer
On 2013-02-20 09:32, David Chisnall wrote:
> On 20 Feb 2013, at 08:25, m...@freebsd.org wrote:
> > These should be declared const int *. And the cast shouldn't be
> > needed in C, since void * can be assigned to any other pointer type.
>
> In fact, the entire function body can be replaced with:
>
Author: keramida (doc committer)
Date: Tue Feb 19 23:57:39 2013
New Revision: 247014
URL: http://svnweb.freebsd.org/changeset/base/247014
Log:
Add a sample program that shows how a custom comparison function and
qsort(3) can work together to sort an array of integers.
PR: docs
Author: keramida (doc committer)
Date: Tue Feb 15 07:25:54 2011
New Revision: 218700
URL: http://svn.freebsd.org/changeset/base/218700
Log:
Note that a UFS filesystem can have up to 20 active snapshots.
PR: docs/151104
Submitted by: Aldis Berjoza
MFC after:3 days
Modifie
Author: keramida (doc committer)
Date: Tue Feb 15 07:16:27 2011
New Revision: 218699
URL: http://svn.freebsd.org/changeset/base/218699
Log:
Document TRYBROKEN in ports(7).
PR: docs/153542
Submitted by: Eitan Adler
MFC after:3 days
Modified:
head/share/man/man7/ports.7
Author: keramida (doc committer)
Date: Thu Feb 10 19:13:54 2011
New Revision: 218525
URL: http://svn.freebsd.org/changeset/base/218525
Log:
Add LIBEXECDIR to the bsd.own.mk vars, pointing to /usr/libexec by default
Some of the patches we are preparing for porting ATF from NetBSD
refer to
On Sun, 23 Jan 2011 19:50:40 -0800, Garrett Cooper wrote:
> On Sun, Jan 23, 2011 at 6:44 PM, Sergey Kandaurov wrote:
>> On 23 January 2011 14:08, Giorgos Keramidas wrote:
>>> Author: keramida (doc committer)
>>> Date: Sun Jan 23 11:08:39 2011
>>>
Author: keramida (doc committer)
Date: Sun Jan 23 11:08:39 2011
New Revision: 217746
URL: http://svn.freebsd.org/changeset/base/217746
Log:
Touch up the sample memory usage numbers a bit, to avoid wrapping
on terminal boundary. While here add definition for 'G' and fix
the indentation of 'K
Author: keramida (doc committer)
Date: Wed Jan 19 21:43:08 2011
New Revision: 217606
URL: http://svn.freebsd.org/changeset/base/217606
Log:
Bump .Dd date of manpage for r217481
Modified:
head/share/man/man5/xfs.5
Modified: head/share/man/man5/xfs.5
===
Author: keramida (doc committer)
Date: Sun Jan 16 20:10:55 2011
New Revision: 217481
URL: http://svn.freebsd.org/changeset/base/217481
Log:
Fix the mount example of xfDmitry Marakasov s(5)
filesystems by including the read-only
option. We only support ro mounts for xfs, so it's nice if the e
Author: keramida (doc committer)
Date: Sun Jan 9 22:05:09 2011
New Revision: 217208
URL: http://svn.freebsd.org/changeset/base/217208
Log:
regression/date: unset all LC_xxx vars and set LANG/LC_ALL
When running with a custom locale setup, it's easy to confuse the
date regression tests an
Author: keramida (doc committer)
Date: Thu Jan 6 20:05:24 2011
New Revision: 217064
URL: http://svn.freebsd.org/changeset/base/217064
Log:
tests: sort & fix includes, remove -include from CFLAGS of acct tests
- Sort the includes of pack.c, moving sys/*.h files near the top.
- Add a coupl
Author: keramida (doc committer)
Date: Wed Jan 5 09:45:20 2011
New Revision: 216987
URL: http://svn.freebsd.org/changeset/base/216987
Log:
Glen Barber is co-mentored by me and jkois, so add another
relationship edge to the committer graph to show this.
Modified:
head/share/misc/committers-
jkois [label="Johann kois\njk...@freebsd.org\n2004/11/11"]
joel [label="Joel dahl\nj...@freebsd.org\n2005/04/05"]
keramida [label="Giorgos keramidas\nkeram...@freebsd.org\n2001/10/12"]
@@ -111,6 +113,7 @@ keramida -> danger
keramida -> gabor
keramid
On Fri, 10 Sep 2010 06:44:52 +0200, Pawel Jakub Dawidek
wrote:
> On Fri, Sep 10, 2010 at 06:13:21AM +0300, Giorgos Keramidas wrote:
>> ZPOOL_CONFIG_IS_LOG is not visible in zfsimpl.c and it breaks the build
>> here with:
>>
>> /usr/src/sys/boot/zfs/zfsimpl
On Thu, 9 Sep 2010 21:19:10 + (UTC), Pawel Jakub Dawidek
wrote:
> Author: pjd
> Date: Thu Sep 9 21:19:09 2010
> New Revision: 212384
> URL: http://svn.freebsd.org/changeset/base/212384
>
> Log:
> Ignore log vdevs.
>
> MFC after: 2 weeks
> --- head/sys/boot/zfs/zfsimpl.c Thu Sep
Author: keramida (doc committer)
Date: Sat Jul 10 11:40:31 2010
New Revision: 209871
URL: http://svn.freebsd.org/changeset/base/209871
Log:
Fix reading of empty fifolog files. When we don't have anything
to inflate, skip the rest of the fifolog reader code to avoid
hitting the assert about
On Sun, 16 May 2010 20:43:17 + (UTC), Tim Kientzle
wrote:
> Author: kientzle
> Date: Sun May 16 20:43:17 2010
> New Revision: 208169
> URL: http://svn.freebsd.org/changeset/base/208169
>
> Log:
> Reorganize slightly in preparation for making lzma and bz2 support
> conditional.
>
> Modified
Author: keramida (doc committer)
Date: Wed Mar 31 12:52:19 2010
New Revision: 205978
URL: http://svn.freebsd.org/changeset/base/205978
Log:
Document DEBUG_FLAGS in a more visible place, in the build(7) manpage
Noticed by: Alexander Best
Reviewed by:jhb
MFC after: 1 week
M
On Sun, 21 Feb 2010 10:14:06 + (UTC), Gavin Atkinson
wrote:
> Author: gavin
> Date: Sun Feb 21 10:14:06 2010
> New Revision: 204165
> URL: http://svn.freebsd.org/changeset/base/204165
>
> Log:
> Add a "-x" option to chown(8)/chgrp(1) similar to the same option in
> du(1), cp(1) etc, to pr
25 matches
Mail list logo