Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
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) >>

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
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

Re: svn commit: r246880 - in head: lib/libsm libexec/mail.local libexec/smrsh share/mk usr.bin/vacation usr.sbin/sendmail

2013-04-16 Thread Giorgos Keramidas
) [-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

svn commit: r247189 - head/lib/libc/stdlib

2013-02-23 Thread Giorgos Keramidas
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

svn commit: r247050 - head/lib/libc/stdlib

2013-02-20 Thread Giorgos Keramidas
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

Re: svn commit: r247014 - head/lib/libc/stdlib

2013-02-20 Thread Giorgos Keramidas
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

Re: svn commit: r247014 - head/lib/libc/stdlib

2013-02-20 Thread Giorgos Keramidas
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: >

svn commit: r247014 - head/lib/libc/stdlib

2013-02-19 Thread Giorgos Keramidas
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

svn commit: r218700 - head/sbin/mksnap_ffs

2011-02-14 Thread Giorgos Keramidas
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

svn commit: r218699 - head/share/man/man7

2011-02-14 Thread Giorgos Keramidas
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

svn commit: r218525 - head/share/mk

2011-02-10 Thread Giorgos Keramidas
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

Re: svn commit: r217746 - head/usr.bin/top

2011-01-24 Thread Giorgos Keramidas
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 >>>

svn commit: r217746 - head/usr.bin/top

2011-01-23 Thread Giorgos Keramidas
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

svn commit: r217606 - head/share/man/man5

2011-01-19 Thread Giorgos Keramidas
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 ===

svn commit: r217481 - head/share/man/man5

2011-01-16 Thread Giorgos Keramidas
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

svn commit: r217208 - head/tools/regression/bin/date

2011-01-09 Thread Giorgos Keramidas
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

svn commit: r217064 - head/tools/regression/acct

2011-01-06 Thread Giorgos Keramidas
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

svn commit: r216987 - head/share/misc

2011-01-05 Thread Giorgos Keramidas
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-

svn commit: r216986 - head/share/misc

2011-01-05 Thread Giorgos Keramidas
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

Re: svn commit: r212384 - head/sys/boot/zfs

2010-09-09 Thread Giorgos Keramidas
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

Re: svn commit: r212384 - head/sys/boot/zfs

2010-09-09 Thread Giorgos Keramidas
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

svn commit: r209871 - head/usr.sbin/fifolog/lib

2010-07-10 Thread Giorgos Keramidas
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

Re: svn commit: r208169 - head/lib/libarchive

2010-05-16 Thread Giorgos Keramidas
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

svn commit: r205978 - head/share/man/man7

2010-03-31 Thread Giorgos Keramidas
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

Re: svn commit: r204165 - head/usr.sbin/chown

2010-02-21 Thread Giorgos Keramidas
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