svn commit: r305613 - head/usr.bin/sort

2016-09-08 Thread Gabor Kovesdan
Author: gabor Date: Thu Sep 8 14:50:23 2016 New Revision: 305613 URL: https://svnweb.freebsd.org/changeset/base/305613 Log: - Fix typo PR: 211245 Submitted by: Christoph Schonweiler MFC after:5 days Modified: head/usr.bin/sort/sort.1.in Modified: head/usr.bin/sort/so

svn commit: r289751 - head/usr.bin/sort

2015-10-22 Thread Gabor Kovesdan
Author: gabor Date: Thu Oct 22 10:57:15 2015 New Revision: 289751 URL: https://svnweb.freebsd.org/changeset/base/289751 Log: -C and -c allow at most one input file. Ensure this is the case when the input files are specified through --files0-from. Submitted by: tim@OpenBSD Obtained from:

svn commit: r270132 - head/usr.bin/grep

2014-08-18 Thread Gabor Kovesdan
Author: gabor Date: Mon Aug 18 12:29:28 2014 New Revision: 270132 URL: http://svnweb.freebsd.org/changeset/base/270132 Log: - Do not look for more matching lines if -L is specified Submitted by: eadler (based on) MFC after:2 weeks Modified: head/usr.bin/grep/util.c Modified: hea

svn commit: r257801 - in head/release/doc: de_DE.ISO8859-1/early-adopter de_DE.ISO8859-1/errata de_DE.ISO8859-1/hardware/alpha de_DE.ISO8859-1/hardware/common de_DE.ISO8859-1/hardware/i386 de_DE.IS...

2013-11-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Nov 7 16:42:28 2013 New Revision: 257801 URL: http://svnweb.freebsd.org/changeset/base/257801 Log: - Update release noted to DocBook 5.0 so that they work with the new tree Deleted: head/release/doc/fr_FR.ISO8859-1/installation/common/abstract.xml head/release/doc/r

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-13 Thread Gabor Kovesdan
Em 13-08-2013 09:15, Peter Wemm escreveu: Author: peter Date: Tue Aug 13 07:15:01 2013 New Revision: 254273 URL:http://svnweb.freebsd.org/changeset/base/254273 Log: The iconv in libc did two things - implement the standard APIs, the GNU extensions and also tried to be link time compatible

svn commit: r251245 - head/usr.bin/sort

2013-06-02 Thread Gabor Kovesdan
2 09:43:48 2013 (r251245) @@ -1,6 +1,6 @@ /*- * Copyright (C) 2009 Gabor Kovesdan - * Copyright (C) 2012 Oleg Moskalenko + * Copyright (C) 2012 Oleg Moskalenko * All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: head/usr.bin

Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale

2013-06-02 Thread Gabor Kovesdan
Em 25-05-2013 16:00, Ed Schouten escreveu: Jilles, Gabor, could you please take a look at the patch, whether it's any good? Now we still have the case where the system is built WITHOUT_ICONV=. I think it really depends on the future of iconv in base how complete we should attempt to make it. Gab

svn commit: r249588 - in head: share/i18n/csmapper/KAZAKH sys/amd64/include/xen sys/dev/xen/netback sys/fs/msdosfs sys/i386/isa

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:56:11 2013 New Revision: 249588 URL: http://svnweb.freebsd.org/changeset/base/249588 Log: - Correct spelling in comments Submitted by: Christoph Mallon (via private mail) Modified: head/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src head/share/i18n/csmappe

svn commit: r249587 - in head: share/i18n/csmapper/KAZAKH sys/dev/sound/pci tools/tools/notescheck

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:48:46 2013 New Revision: 249587 URL: http://svnweb.freebsd.org/changeset/base/249587 Log: - Correct mispellings of word and Submitted by: Christoph Mallon (via private mail) Modified: head/share/i18n/csmapper/KAZAKH/KZ1048%UCS.src head/share/i18n/csma

svn commit: r249586 - in head/sys: arm/ti/omap4 dev/isci/scil dev/mxge pc98/pc98

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:47:32 2013 New Revision: 249586 URL: http://svnweb.freebsd.org/changeset/base/249586 Log: - Correct mispellings of word resource Submitted by: Christoph Mallon Modified: head/sys/arm/ti/omap4/omap4_prcm_clks.c head/sys/dev/isci/scil/scic_sds_phy.c h

svn commit: r249585 - in head/sys: cam dev/bktr dev/ppbus dev/sound/pcm netinet pci

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:45:15 2013 New Revision: 249585 URL: http://svnweb.freebsd.org/changeset/base/249585 Log: - Corrrect mispellings of word useful Submitted by: Christoph Mallon (via private mail) Modified: head/sys/cam/cam_periph.h head/sys/dev/bktr/CHANGELOG.TXT hea

svn commit: r249584 - in head/sys: dev/usb/wlan i386/isa

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:43:46 2013 New Revision: 249584 URL: http://svnweb.freebsd.org/changeset/base/249584 Log: - Correct mispellings of word miscellaneous Submitted by: Christoph Mallon (via private mail) Modified: head/sys/dev/usb/wlan/if_zydreg.h head/sys/i386/isa/spic.

svn commit: r249583 - in head: include/rpcsvc sys/dev/cas sys/dev/xen/netback sys/fs/devfs sys/fs/msdosfs sys/kern sys/netgraph usr.sbin/nandsim

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:42:40 2013 New Revision: 249583 URL: http://svnweb.freebsd.org/changeset/base/249583 Log: - Correct mispellings of the word necessary Submitted by: Christoph Mallon (via private mail) Modified: head/include/rpcsvc/ypxfrd.x head/sys/dev/cas/if_casvar.h

svn commit: r249582 - in head: lib/libc/i386/string lib/libc/stdlib lib/libz sys/arm/include sys/arm/xscale/ixp425 sys/cam/scsi sys/dev/cxgb/common sys/dev/msk sys/dev/ppbus sys/dev/rndtest sys/ker...

2013-04-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Apr 17 11:40:10 2013 New Revision: 249582 URL: http://svnweb.freebsd.org/changeset/base/249582 Log: - Correct mispellings of the word occurrence Submitted by: Christoph Mallon (via private mail) Modified: head/lib/libc/i386/string/memchr.S head/lib/libc/i386/st

svn commit: r246114 - head

2013-01-30 Thread Gabor Kovesdan
Author: gabor Date: Wed Jan 30 10:23:38 2013 New Revision: 246114 URL: http://svnweb.freebsd.org/changeset/base/246114 Log: - Fix typo Submitted by: jkim Modified: head/UPDATING Modified: head/UPDATING == --- he

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

2013-01-29 Thread Gabor Kovesdan
Author: gabor Date: Tue Jan 29 17:05:21 2013 New Revision: 246075 URL: http://svnweb.freebsd.org/changeset/base/246075 Log: - Regen Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r246074 - in head: . gnu/usr.bin/patch share/mk tools/build/options usr.bin usr.bin/patch

2013-01-29 Thread Gabor Kovesdan
Author: gabor Date: Tue Jan 29 17:03:18 2013 New Revision: 246074 URL: http://svnweb.freebsd.org/changeset/base/246074 Log: - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch a

svn commit: r245998 - head/usr.bin/sort

2013-01-27 Thread Gabor Kovesdan
Author: gabor Date: Sun Jan 27 19:50:24 2013 New Revision: 245998 URL: http://svnweb.freebsd.org/changeset/base/245998 Log: - Remove forgotten commented out debug code Submitted by: Christoph Mallon Reviewed by: Oleg Moskalenko Modified: head/usr.bin/sort/sort.c Modified: head/usr.

svn commit: r245997 - head/usr.bin/sort

2013-01-27 Thread Gabor Kovesdan
Author: gabor Date: Sun Jan 27 19:49:10 2013 New Revision: 245997 URL: http://svnweb.freebsd.org/changeset/base/245997 Log: - Simplify and unify diagnostic and error message handling Submitted by: Christoph Mallon Reviewed by: Oleg Moskalenko Modified: head/usr.bin/sort/sort.c Modi

svn commit: r245688 - head/usr.bin/grep

2013-01-20 Thread Gabor Kovesdan
Author: gabor Date: Sun Jan 20 11:58:49 2013 New Revision: 245688 URL: http://svnweb.freebsd.org/changeset/base/245688 Log: - Avoid unnecessary strdup() Submitted by: ache MFC after:5 days Modified: head/usr.bin/grep/grep.c Modified: head/usr.bin/grep/grep.c ==

svn commit: r245057 - head/usr.bin/grep

2013-01-05 Thread Gabor Kovesdan
Author: gabor Date: Sat Jan 5 14:52:31 2013 New Revision: 245057 URL: http://svnweb.freebsd.org/changeset/base/245057 Log: - Fix handling of the case when multiple patterns are specified in a single command line argument, separated by newlines PR: bin/173673 Submitted by: a

svn commit: r244515 - head/usr.bin/sort

2012-12-20 Thread Gabor Kovesdan
Author: gabor Date: Thu Dec 20 22:30:40 2012 New Revision: 244515 URL: http://svnweb.freebsd.org/changeset/base/244515 Log: - Change the memory heuristics to an actually working one Submitted by: Oleg Moskalenko Prodded by: kib Modified: head/usr.bin/sort/sort.c Modified: head/usr.

svn commit: r244348 - head/share/i18n/csmapper

2012-12-17 Thread Gabor Kovesdan
Author: gabor Date: Mon Dec 17 10:12:12 2012 New Revision: 244348 URL: http://svnweb.freebsd.org/changeset/base/244348 Log: - Fix handling of .mps files PR: bin/161454 Submitted by: Yamaya Takashi Modified: head/share/i18n/csmapper/Makefile.part Modified: head/share/i18n/cs

svn commit: r244346 - head/usr.bin/sort

2012-12-17 Thread Gabor Kovesdan
Author: gabor Date: Mon Dec 17 09:36:43 2012 New Revision: 244346 URL: http://svnweb.freebsd.org/changeset/base/244346 Log: - Use unsigned int for values obtained with sysctlbyname(). This fixes sparc64 performance problems. Submitted by: Oleg Moskalenko Tested by:trasz Modifie

svn commit: r242430 - head/usr.bin/sort

2012-11-01 Thread Gabor Kovesdan
Author: gabor Date: Thu Nov 1 11:38:34 2012 New Revision: 242430 URL: http://svn.freebsd.org/changeset/base/242430 Log: - Portability changes for ARM - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko Modified: head/usr.bin/sort/bwstring.c head/usr.bin/sor

svn commit: r241515 - head

2012-10-13 Thread Gabor Kovesdan
Author: gabor Date: Sat Oct 13 19:37:58 2012 New Revision: 241515 URL: http://svn.freebsd.org/changeset/base/241515 Log: - Fix typo Spotted by: glebius Modified: head/UPDATING Modified: head/UPDATING == --- he

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

2012-10-13 Thread Gabor Kovesdan
Author: gabor Date: Sat Oct 13 19:29:38 2012 New Revision: 241514 URL: http://svn.freebsd.org/changeset/base/241514 Log: - Regen after GNU sort removal Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r241513 - head/share/mk

2012-10-13 Thread Gabor Kovesdan
Author: gabor Date: Sat Oct 13 19:29:07 2012 New Revision: 241513 URL: http://svn.freebsd.org/changeset/base/241513 Log: - Remove WITH_GNU_SORT support Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ==

svn commit: r241511 - in head: . contrib/gnu-sort gnu/usr.bin gnu/usr.bin/sort tools/build/options usr.bin/sort

2012-10-13 Thread Gabor Kovesdan
Author: gabor Date: Sat Oct 13 18:40:39 2012 New Revision: 241511 URL: http://svn.freebsd.org/changeset/base/241511 Log: - Remove GNU sort and the WITH_GNU_SORT knob Deleted: head/contrib/gnu-sort/ head/gnu/usr.bin/sort/ head/tools/build/options/WITH_GNU_SORT Modified: head/UPDATING h

svn commit: r240519 - in head/release/doc/fr_FR.ISO8859-1: early-adopter errata hardware/alpha hardware/common hardware/i386 hardware/ia64 hardware/pc98 hardware/sparc64 installation/alpha installa...

2012-09-14 Thread Gabor Kovesdan
Author: gabor Date: Fri Sep 14 21:36:01 2012 New Revision: 240519 URL: http://svn.freebsd.org/changeset/base/240519 Log: - Fix build of French release notes with the XMLified doc tree Modified: head/release/doc/fr_FR.ISO8859-1/early-adopter/article.sgml head/release/doc/fr_FR.ISO8859-1/erra

svn commit: r240516 - in head/release/doc/de_DE.ISO8859-1: early-adopter errata hardware/alpha hardware/i386 hardware/ia64 hardware/pc98 hardware/sparc64 installation/alpha installation/common inst...

2012-09-14 Thread Gabor Kovesdan
Author: gabor Date: Fri Sep 14 21:12:41 2012 New Revision: 240516 URL: http://svn.freebsd.org/changeset/base/240516 Log: - Fix build of the German release notes with the XMLified doc tree Modified: head/release/doc/de_DE.ISO8859-1/early-adopter/article.sgml head/release/doc/de_DE.ISO8859-1/

svn commit: r238108 - head/usr.bin/sort

2012-07-04 Thread Gabor Kovesdan
Author: gabor Date: Wed Jul 4 16:25:11 2012 New Revision: 238108 URL: http://svn.freebsd.org/changeset/base/238108 Log: - Change --nthreads parameter to --parallel for GNU compatibility - Change default sort method to mergesort, which has a better worst case performance than qsort Su

svn commit: r237696 - head

2012-06-28 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 28 08:22:00 2012 New Revision: 237696 URL: http://svn.freebsd.org/changeset/base/237696 Log: - Add UPDATING entry for BSD sort Modified: head/UPDATING Modified: head/UPDATING == --- head/U

Re: svn commit: r237628 - head/usr.bin/sort

2012-06-27 Thread Gabor Kovesdan
On 2012.06.27. 8:48, Eitan Adler wrote: >Log: > - Disable threaded sort by default Curious, why? We just want to test it a bit more before we enable it. Gabor ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-s

svn commit: r237631 - head/sys/sys

2012-06-26 Thread Gabor Kovesdan
Author: gabor Date: Wed Jun 27 06:08:02 2012 New Revision: 237631 URL: http://svn.freebsd.org/changeset/base/237631 Log: - Bump __FreeBSD_version: default sort is BSD sort Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

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

2012-06-26 Thread Gabor Kovesdan
Author: gabor Date: Wed Jun 27 06:00:58 2012 New Revision: 237630 URL: http://svn.freebsd.org/changeset/base/237630 Log: - Regen after BSD sort change Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r237629 - in head: gnu/usr.bin/sort share/mk tools/build/options usr.bin/sort

2012-06-26 Thread Gabor Kovesdan
Author: gabor Date: Wed Jun 27 05:59:01 2012 New Revision: 237629 URL: http://svn.freebsd.org/changeset/base/237629 Log: - Switch to BSD sort as default sort. GNU sort will still be installed as "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko . - GNU grep

svn commit: r237628 - head/usr.bin/sort

2012-06-26 Thread Gabor Kovesdan
Author: gabor Date: Wed Jun 27 05:50:15 2012 New Revision: 237628 URL: http://svn.freebsd.org/changeset/base/237628 Log: - Disable threaded sort by default - Fix typo in the NLS support Modified: head/usr.bin/sort/Makefile Modified: head/usr.bin/sort/Makefile ==

svn commit: r236764 - head/usr.bin/sort

2012-06-08 Thread Gabor Kovesdan
Author: gabor Date: Fri Jun 8 19:21:49 2012 New Revision: 236764 URL: http://svn.freebsd.org/changeset/base/236764 Log: - Remove the UNUSED_ARG macro and use __unused in argument lists Reviewed by: dim MFC after:3 days Modified: head/usr.bin/sort/coll.c head/usr.bin/sort/sort.h

Re: svn commit: r236759 - head/usr.bin/sort

2012-06-08 Thread Gabor Kovesdan
On 2012.06.08. 19:08, Dimitry Andric wrote: In usr.bin/sort, use another method of silencing warnings about unused arguments, which does not trigger self-assignment warnings in certain circumstances (for example, using clang with ccache). MFC after: 3 days Modified: head/usr.

svn commit: r236185 - head/lib/libkiconv

2012-05-28 Thread Gabor Kovesdan
Author: gabor Date: Mon May 28 14:45:12 2012 New Revision: 236185 URL: http://svn.freebsd.org/changeset/base/236185 Log: - Include forgotten bsd.own.mk and fix condition Reported by: Jan Beich Modified: head/lib/libkiconv/Makefile Modified: head/lib/libkiconv/Makefile

svn commit: r236028 - head/lib/libkiconv

2012-05-25 Thread Gabor Kovesdan
Author: gabor Date: Fri May 25 22:07:13 2012 New Revision: 236028 URL: http://svn.freebsd.org/changeset/base/236028 Log: - Add support for BSD iconv when it is build into libc PR: bin/162670 Submitted by: Jan Beich MFC after:2 weeks Modified: head/lib/libkiconv/Makefil

svn commit: r235987 - head/usr.bin/sort

2012-05-25 Thread Gabor Kovesdan
Author: gabor Date: Fri May 25 09:30:16 2012 New Revision: 235987 URL: http://svn.freebsd.org/changeset/base/235987 Log: - Only use multi-threading for large files - Do not use mmap() by default; it can be enabled by --mmap - Add some minor optimizations for -u - Update manual page accordi

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Gabor Kovesdan
On 2012.05.22. 17:03, Dimitry Andric wrote: ... > I mentioned it in a private email, but the issue is that the yacc >used during the build seems to be coming from the base system (despite >the fact that it's a bootstrap tool). Once I installed yacc onto my >stable-9 system at work, all of th

svn commit: r235546 - head/usr.bin/sort

2012-05-17 Thread Gabor Kovesdan
Author: gabor Date: Thu May 17 13:08:30 2012 New Revision: 235546 URL: http://svn.freebsd.org/changeset/base/235546 Log: - Fix -o option that was broken by my clang compile fix Submitted by: Oleg Moskalenko Modified: head/usr.bin/sort/sort.c Modified: head/usr.bin/sort/sort.c =

svn commit: r235435 - head/usr.bin/sort

2012-05-14 Thread Gabor Kovesdan
Author: gabor Date: Mon May 14 10:06:49 2012 New Revision: 235435 URL: http://svn.freebsd.org/changeset/base/235435 Log: - Eliminate initializations if global variables. Compilers are not required to optimize these so it may result in larger binary size. Pointed out by: kib Modi

svn commit: r235434 - head/usr.bin/sort/nls

2012-05-14 Thread Gabor Kovesdan
Author: gabor Date: Mon May 14 09:55:23 2012 New Revision: 235434 URL: http://svn.freebsd.org/changeset/base/235434 Log: - Update catalogs Modified: head/usr.bin/sort/nls/C.msg head/usr.bin/sort/nls/hu_HU.ISO8859-2.msg Modified: head/usr.bin/sort/nls/C.msg =

svn commit: r235432 - head/usr.bin/sort

2012-05-14 Thread Gabor Kovesdan
Author: gabor Date: Mon May 14 09:53:54 2012 New Revision: 235432 URL: http://svn.freebsd.org/changeset/base/235432 Log: - Fix build with clang Modified: head/usr.bin/sort/file.c head/usr.bin/sort/sort.c Modified: head/usr.bin/sort/file.c ===

Re: svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Gabor Kovesdan
On 2012.05.11. 15:02, Colin Percival wrote: On 05/11/12 05:48, Konstantin Belousov wrote: >On Fri, May 11, 2012 at 12:37:16PM +0000, Gabor Kovesdan wrote: >>+bool byte_sort = false; + +static wchar_t **wmonths = NULL; +static >>unsigned char **cmonths = NULL; > >Suc

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

2012-05-11 Thread Gabor Kovesdan
Author: gabor Date: Fri May 11 13:03:52 2012 New Revision: 235269 URL: http://svn.freebsd.org/changeset/base/235269 Log: - Regen Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == --

svn commit: r235268 - in head: gnu/usr.bin/sort share/mk tools/build/options usr.bin

2012-05-11 Thread Gabor Kovesdan
Author: gabor Date: Fri May 11 12:47:21 2012 New Revision: 235268 URL: http://svn.freebsd.org/changeset/base/235268 Log: - Hook up BSD sort to the build. By default, it will be installed as "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be t

svn commit: r235267 - in head/usr.bin/sort: . nls

2012-05-11 Thread Gabor Kovesdan
y added) +++ head/usr.bin/sort/bwstring.cFri May 11 12:37:16 2012 (r235267) @@ -0,0 +1,1138 @@ +/*- + * Copyright (C) 2009 Gabor Kovesdan + * Copyright (C) 2012 Oleg Moskalenko + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * m

svn commit: r228766 - head/usr.bin/mkesdb

2011-12-21 Thread Gabor Kovesdan
Author: gabor Date: Wed Dec 21 12:07:14 2011 New Revision: 228766 URL: http://svn.freebsd.org/changeset/base/228766 Log: - Remove a GCC-specific compiler flag that was added before to eliminate some warnings but at the moment does not seem to be necessary. Submitted by: arundel (via pri

svn commit: r228319 - head/usr.bin/grep

2011-12-07 Thread Gabor Kovesdan
Author: gabor Date: Wed Dec 7 12:25:28 2011 New Revision: 228319 URL: http://svn.freebsd.org/changeset/base/228319 Log: - Match GNU behavior of exit code - Rename variable that has a different meaning now PR: bin/162930 Submitted by: Jan Beich MFC after:1 week Modifie

svn commit: r228099 - head/usr.bin/grep

2011-11-28 Thread Gabor Kovesdan
Author: gabor Date: Mon Nov 28 20:16:55 2011 New Revision: 228099 URL: http://svn.freebsd.org/changeset/base/228099 Log: - Create links to the xz and lzma versions even if BSD grep is not the default. Nor GNU nor liblzma in base provides such functionality so it may be useful. MFC a

svn commit: r228097 - head/usr.bin/grep

2011-11-28 Thread Gabor Kovesdan
Author: gabor Date: Mon Nov 28 20:04:26 2011 New Revision: 228097 URL: http://svn.freebsd.org/changeset/base/228097 Log: - Call warnx() instead of errx() if a directory is not readable when using a recursive search. This is the expected behavior instead of aborting. PR: bin/1

svn commit: r228093 - head/usr.bin/grep

2011-11-28 Thread Gabor Kovesdan
Author: gabor Date: Mon Nov 28 20:00:31 2011 New Revision: 228093 URL: http://svn.freebsd.org/changeset/base/228093 Log: - Fix behavior of --null to match GNU grep PR: bin/162906 Submitted by: Jan Beich MFC after:3 days Modified: head/usr.bin/grep/util.c Modified: hea

svn commit: r226664 - head/usr.bin/grep

2011-10-23 Thread Gabor Kovesdan
Author: gabor Date: Sun Oct 23 16:04:07 2011 New Revision: 226664 URL: http://svn.freebsd.org/changeset/base/226664 Log: - Fix installation when WITH_BSD_GREP is set to yes Submitted by: Aleksandr Rybalko Modified: head/usr.bin/grep/Makefile Modified: head/usr.bin/grep/Makefile ===

svn commit: r226273 - head/usr.bin/grep

2011-10-11 Thread Gabor Kovesdan
Author: gabor Date: Wed Oct 12 01:09:57 2011 New Revision: 226273 URL: http://svn.freebsd.org/changeset/base/226273 Log: - Fix counting of match limit (-m) Reported by: Nali Toja Approved by: delphij (mentor) Modified: head/usr.bin/grep/util.c Modified: head/usr.bin/grep/util.c ===

svn commit: r226271 - in head/usr.bin/grep: . regex

2011-10-11 Thread Gabor Kovesdan
Author: gabor Date: Tue Oct 11 22:27:23 2011 New Revision: 226271 URL: http://svn.freebsd.org/changeset/base/226271 Log: - Use getprogname() instead of __progname - Allow disabling bzip2 support with WITHOUT_BZIP2 - Fix handling patterns that start with a dot - Remove superfluous semicolon

svn commit: r226035 - in head/usr.bin/grep: . regex

2011-10-05 Thread Gabor Kovesdan
tail; extern unsigned int dpatterns, fpatterns, patterns; -extern char**pattern; +extern struct pat *pattern; extern struct epat *dpattern, *fpattern; extern regex_t *er_pattern, *r_pattern; -extern fastgrep_t *fg_pattern; +extern fastmatch_t *fg_pattern; /* For regex errors */ #defin

svn commit: r225775 - head/share/man/man4

2011-09-27 Thread Gabor Kovesdan
Author: gabor Date: Tue Sep 27 07:00:24 2011 New Revision: 225775 URL: http://svn.freebsd.org/changeset/base/225775 Log: - Move misplaced reference [1] - Sort references [1] - s/Since/Because/ [2] Submitted by: arundel [1], Chad Perrin [2] MFC after:3 days Modifi

svn commit: r225678 - head/lib/libc/iconv

2011-09-19 Thread Gabor Kovesdan
Author: gabor Date: Mon Sep 19 22:49:36 2011 New Revision: 225678 URL: http://svn.freebsd.org/changeset/base/225678 Log: - Fix a trivial bug in iconv. When there is no space to perform the conversion, conversion must fail and errno must be set to E2BIG. PR: standards/160673

svn commit: r224938 - head/usr.bin/grep

2011-08-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Aug 17 13:58:39 2011 New Revision: 224938 URL: http://svn.freebsd.org/changeset/base/224938 Log: - Fix exclusion of directories from a recursive search - Use FTS_SKIP for exclusion instead of custom code Submitted by: ttse...@gmail.com Approved by: re (kib), del

svn commit: r224937 - head/usr.bin/grep

2011-08-17 Thread Gabor Kovesdan
Author: gabor Date: Wed Aug 17 13:56:33 2011 New Revision: 224937 URL: http://svn.freebsd.org/changeset/base/224937 Log: - Fix handling of environmental variables when they are set to empty string Submitted by: ttse...@gmail.com Approved by: re (kib), delphij (mentor) Modified: head/

Re: svn commit: r223296 - head/lib/libc/iconv

2011-06-19 Thread Gabor Kovesdan
Em 19-06-2011 14:35, Alexander Kabaev escreveu: Author: kan Date: Sun Jun 19 13:35:46 2011 New Revision: 223296 URL: http://svn.freebsd.org/changeset/base/223296 Log: Put a quick bandaid on internal citrus locking. The code is not quite right still, but it programs from deadlocking on

svn commit: r223009 - head/usr.bin/grep

2011-06-12 Thread Gabor Kovesdan
Author: gabor Date: Sun Jun 12 12:51:58 2011 New Revision: 223009 URL: http://svn.freebsd.org/changeset/base/223009 Log: - Use REG_NOSUB to bypass submatch counting when not necessary. This may yield in somewhat better performance in a few cases. Approved by: delphij (mentor) Modified

svn commit: r223008 - head/usr.bin/grep

2011-06-12 Thread Gabor Kovesdan
Author: gabor Date: Sun Jun 12 12:44:02 2011 New Revision: 223008 URL: http://svn.freebsd.org/changeset/base/223008 Log: - Fix -w behavior - Make -F and -w work together - Fix --color to colorize all of the matches PR: bin/156826 Submitted by: Yuri Pankov Approved by: de

svn commit: r222354 - head/lib/libc/iconv

2011-05-27 Thread Gabor Kovesdan
Author: gabor Date: Fri May 27 10:40:34 2011 New Revision: 222354 URL: http://svn.freebsd.org/changeset/base/222354 Log: - Move some internal functions to the private namespace Submitted by: kan Approved by: delphij (mentor) Modified: head/lib/libc/iconv/Symbol.map Modified: head/lib

svn commit: r220422 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 13:03:35 2011 New Revision: 220422 URL: http://svn.freebsd.org/changeset/base/220422 Log: - Adjust a comment to actual behaviour - Makefile nit - Add more CVS/SVN keywords to make it easier to track changes from NetBSD in case they add further improvements

svn commit: r220421 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 13:01:03 2011 New Revision: 220421 URL: http://svn.freebsd.org/changeset/base/220421 Log: - Simplify the fixed string pattern preprocessing code - Improve readability Approved by: delphij (mentor) Obtained from:The NetBSD Project Modified: head

svn commit: r220420 - head/usr.bin/grep

2011-04-07 Thread Gabor Kovesdan
Author: gabor Date: Thu Apr 7 12:52:46 2011 New Revision: 220420 URL: http://svn.freebsd.org/changeset/base/220420 Log: - Replace some strcpy()-family functions with memcpy() ones. It has been discussed earlier that the extra safeness is not required in these cases and we can avoid the

svn commit: r219020 - in head/tools: build/options test/iconv

2011-02-24 Thread Gabor Kovesdan
file is newly added) +++ head/tools/test/iconv/const-gnuism.cFri Feb 25 00:10:26 2011 (r219020) @@ -0,0 +1,70 @@ +/*- + * Copyright (C) 2010 Gabor Kovesdan + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are perm

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

2010-08-25 Thread Gabor Kovesdan
Author: gabor Date: Wed Aug 25 09:48:21 2010 New Revision: 211808 URL: http://svn.freebsd.org/changeset/base/211808 Log: - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREP Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

Re: svn commit: r211701 - in head: gnu/usr.bin share/mk sys/sys tools/build/options usr.bin

2010-08-23 Thread Gabor Kovesdan
Em 2010.08.23. 12:12, Brian Somers escreveu: Is this a permanent switch or is there a list of issues to be resolved before switching back to the BSD grep? I maintain my TODO list, which currently has the following items: - fix context grepping bug - fix loop on reading drectories on ZFS/NFS -

svn commit: r211701 - in head: gnu/usr.bin share/mk sys/sys tools/build/options usr.bin

2010-08-23 Thread Gabor Kovesdan
Author: gabor Date: Mon Aug 23 10:04:26 2010 New Revision: 211701 URL: http://svn.freebsd.org/changeset/base/211701 Log: - Change default grep back to GNU version. BSD grep can be built with the WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by:delph

Re: svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread Gabor Kovesdan
Em 2010.08.18. 22:48, m...@freebsd.org escreveu: On Wed, Aug 18, 2010 at 10:40 AM, Gabor Kovesdan wrote: Author: gabor Date: Wed Aug 18 17:40:10 2010 New Revision: 211463 URL: http://svn.freebsd.org/changeset/base/211463 Log: - Refactor file reading code to use pure syscalls and an

svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread Gabor Kovesdan
== --- head/usr.bin/grep/file.cWed Aug 18 17:39:47 2010(r211462) +++ head/usr.bin/grep/file.cWed Aug 18 17:40:10 2010(r211463) @@ -2,7 +2,8 @@ /*- * Copyright (c) 1999 James Howard and Dag-Erling Co�dan Sm�rgrav - * Copyright (C) 2008-2009 Gabor Kovesdan

svn commit: r211364 - head/usr.bin/grep

2010-08-15 Thread Gabor Kovesdan
Author: gabor Date: Sun Aug 15 22:15:04 2010 New Revision: 211364 URL: http://svn.freebsd.org/changeset/base/211364 Log: - Revert strlcpy() changes to memcpy() because it's more efficient and former may be safer but in this case it doesn't add extra safety [1] - Fix -w option [2] - F

svn commit: r211141 - head/etc/periodic/security

2010-08-10 Thread Gabor Kovesdan
Author: gabor Date: Tue Aug 10 11:15:17 2010 New Revision: 211141 URL: http://svn.freebsd.org/changeset/base/211141 Log: - Fixes to the chkportsum script to handle better some special cases, like spaces in filename Submitted by: Alex Kozlov Approved by: delphij (mentor) Modified:

svn commit: r210927 - head/usr.bin/grep/nls

2010-08-06 Thread Gabor Kovesdan
Author: gabor Date: Fri Aug 6 10:34:48 2010 New Revision: 210927 URL: http://svn.freebsd.org/changeset/base/210927 Log: - Some fixes to Ukranian catalog Submitted by: avg, Alex Kozlov Modified: head/usr.bin/grep/nls/uk_UA.UTF-8.msg Modified: head/usr.bin/grep/nls/uk_UA.UTF-8.msg =

svn commit: r210639 - head/usr.bin/grep/nls

2010-07-30 Thread Gabor Kovesdan
Author: gabor Date: Fri Jul 30 11:07:24 2010 New Revision: 210639 URL: http://svn.freebsd.org/changeset/base/210639 Log: - Add Ukranian catalog Submitted by: Alex Kozlov Added: head/usr.bin/grep/nls/uk_UA.UTF-8.msg (contents, props changed) Modified: head/usr.bin/grep/nls/Makefile.i

Re: svn commit: r210578 - head/usr.bin/grep

2010-07-29 Thread Gabor Kovesdan
Em 2010.07.29. 22:20, M. Warner Losh escreveu: In message:<20100729122034.ga28...@stack.nl> Jilles Tjoelker writes: : On Thu, Jul 29, 2010 at 12:11:14AM +, Gabor Kovesdan wrote: :> Author: gabor :> Date: Thu Jul 29 00:11:14 2010 :> New Revision: 21057

svn commit: r210622 - in head/usr.bin/grep: . nls

2010-07-29 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 29 18:02:57 2010 New Revision: 210622 URL: http://svn.freebsd.org/changeset/base/210622 Log: - Some minor changes to the messages to increase usefulness of error msgs Reviewed by: hrs (Japanese catalogs), pluknet (Russian catalog) Approved by:

svn commit: r210579 - head/usr.bin/grep/nls

2010-07-28 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 29 01:15:26 2010 New Revision: 210579 URL: http://svn.freebsd.org/changeset/base/210579 Log: - Add Japanese NLS catalogs Submitted by: hrs Approved by: delphij (mentor) Added: head/usr.bin/grep/nls/ja_JP.SJIS.msg (contents, props changed) head/usr.bin/g

svn commit: r210578 - head/usr.bin/grep

2010-07-28 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 29 00:11:14 2010 New Revision: 210578 URL: http://svn.freebsd.org/changeset/base/210578 Log: - Use the traditional behaviour for filename and directory name inclusion and exclusion patterns [1] - Some improvements on the exiting code, like replacing memcpy with

Re: svn commit: r210479 - head/usr.bin/grep

2010-07-25 Thread Gabor Kovesdan
Em 2010.07.25. 22:17, Doug Barton escreveu: On Sun, 25 Jul 2010, Gabor Kovesdan wrote: Author: gabor Date: Sun Jul 25 18:57:48 2010 New Revision: 210479 URL: http://svn.freebsd.org/changeset/base/210479 Log: - Fix -l and -L by really surpressing output and just showing filenames Submitted

svn commit: r210479 - head/usr.bin/grep

2010-07-25 Thread Gabor Kovesdan
Author: gabor Date: Sun Jul 25 18:57:48 2010 New Revision: 210479 URL: http://svn.freebsd.org/changeset/base/210479 Log: - Fix -l and -L by really surpressing output and just showing filenames Submitted by: swel...@gmail.com Approved by: delphij (mentor) Modified: head/usr.bin/grep/ut

svn commit: r210461 - head/usr.bin/grep

2010-07-25 Thread Gabor Kovesdan
Author: gabor Date: Sun Jul 25 08:42:18 2010 New Revision: 210461 URL: http://svn.freebsd.org/changeset/base/210461 Log: - Fix --color behaviour to only output color sequences if stdout is a tty or if forced mode is specified [1] - While here, add some alternative names for the options and

Re: svn commit: r210430 - head/usr.bin/grep

2010-07-23 Thread Gabor Kovesdan
Em 2010.07.23. 21:36, Xin LI escreveu: Author: delphij Date: Fri Jul 23 19:36:11 2010 New Revision: 210430 URL: http://svn.freebsd.org/changeset/base/210430 Log: Fix crashes when using grep -R: - Explicitly pre-zero memory for fts_open parameters. - Don't test against directory patte

svn commit: r210426 - in head/usr.bin/grep: . nls

2010-07-23 Thread Gabor Kovesdan
Author: gabor Date: Fri Jul 23 17:42:42 2010 New Revision: 210426 URL: http://svn.freebsd.org/changeset/base/210426 Log: - Add Russian catalog [1] - Fix two minor nits in manpage [2] - style.Makefile(5) Submitted by: pluknet [1], Alex Kozlov [2] Reviewe

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

2010-07-22 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 22 19:30:13 2010 New Revision: 210392 URL: http://svn.freebsd.org/changeset/base/210392 Log: - Regenerate after adding WITH_GNU_GREP Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

svn commit: r210390 - head/sys/sys

2010-07-22 Thread Gabor Kovesdan
Author: gabor Date: Thu Jul 22 19:15:26 2010 New Revision: 210390 URL: http://svn.freebsd.org/changeset/base/210390 Log: - Bump __FreeBSD_version for BSD grep import Approved by: delphij (mentor) Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r210389 - in head: . share/mk tools/build/options usr.bin usr.bin/grep usr.bin/grep/nls

2010-07-22 Thread Gabor Kovesdan
+/*- + * Copyright (c) 1999 James Howard and Dag-Erling Co�dan Sm�rgrav + * Copyright (C) 2008 Gabor Kovesdan + * 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

svn commit: r210255 - head/usr.sbin/sysinstall

2010-07-19 Thread Gabor Kovesdan
Author: gabor Date: Mon Jul 19 20:22:21 2010 New Revision: 210255 URL: http://svn.freebsd.org/changeset/base/210255 Log: - Add Latinamerican keymaps to sysinstall's Makefile so that it can find them [1] - While here, also add a missing Spanish entry PR: bin/67365 [1] Submi

svn commit: r210254 - in head/etc: defaults periodic/security

2010-07-19 Thread Gabor Kovesdan
Author: gabor Date: Mon Jul 19 20:19:14 2010 New Revision: 210254 URL: http://svn.freebsd.org/changeset/base/210254 Log: - Add a periodic script, which can be used to find installed ports' files with mismatched checksum PR: conf/124641 Submitted by: Alex Kozlov Approved b

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Gabor Kovesdan
Em 2010.07.09. 23:31, Dag-Erling Smørgrav escreveu: Alexey Dokuchaev writes: Colin Percival writes: But a more *sensual* message is probably not necessary. :-) He'd probably meant sensitive. This is getting better and better... Actually, I was trying to guess the

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-09 Thread Gabor Kovesdan
Em 2010.07.09. 23:24, Randi Harper escreveu: 2010/7/9 Dag-Erling Smørgrav: Gabor Kovesdan writes: First I tried freebsd-update but it [...] was unable to produce any sensual error message Frankly, I'd be more worried if it had *succeeded* to produce sensual error mes

Re: svn commit: r209832 - head/usr.sbin/sysinstall

2010-07-08 Thread Gabor Kovesdan
Em 2010.07.08. 23:26, Randi Harper escreveu: Author: randi Date: Thu Jul 8 21:26:26 2010 New Revision: 209832 URL: http://svn.freebsd.org/changeset/base/209832 Log: Revert r209787 pending further discussion. Approved by: cperciva (mentor) Thanks! As I mentioned on IRC, I'll also try

Re: svn commit: r209787 - head/usr.sbin/sysinstall

2010-07-08 Thread Gabor Kovesdan
Em 2010.07.08. 10:53, Colin Percival escreveu: I just used this feature yesterday to repair my -CURRENT installation on a netbook with an USB snapshot image. First I tried freebsd-update but it just failed to fetch the keys from the servers and was unable to produce any sensual error message

  1   2   >