Re: svn commit: r333919 - in head/contrib/file: . doc magic magic/Magdir python src tests

2018-05-20 Thread Stefan Esser
Am 20.05.18 um 22:30 schrieb Antoine Brodin: > On Sun, May 20, 2018 at 7:06 AM, Eitan Adler wrote: >> Author: eadler >> Date: Sun May 20 05:06:42 2018 >> New Revision: 333919 >> URL: https://svnweb.freebsd.org/changeset/base/333919 >> >> Log: >> MFV: file 5.33 >> >> Merge the latest file(1) in

Re: svn commit: r333995 - head/sys/teken

2018-05-22 Thread Stefan Esser
Am 22.05.18 um 03:18 schrieb Bruce Evans: > On Mon, 21 May 2018, [UTF-8] Jean-Sébastien Pédron wrote: >> -CS    Cursor style    ^[ [ SP q    r >> +DECSCUSR    Set Cursor Style    ^[ [ SP q    r >> DA1    Primary Device Attributes    ^[ [ c    r >> DA2    Secondary Device Att

Re: svn commit: r333388 - in head: . share/man/man4 sys/conf sys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/tools tools/tools/nxge usr.sbin/bsdconfig/share

2018-05-23 Thread Stefan Esser
Am 23.05.18 um 20:14 schrieb Rodney W. Grimes: >> On Wed, May 23, 2018 at 10:41:17AM -0700, Gleb Smirnoff wrote: >>> If end of sales and support is enough to remove 10g driver from the kernel, >>> can we please delete all 10Mbit, 100Mbit 10+ year old drivers from the >>> kernel? >> >> Depends on h

Re: svn commit: r334617 - in head: . etc

2018-06-06 Thread Stefan Esser
Am 05.06.18 um 22:43 schrieb Brad Davis: > > On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: >> On 05/06/18 15:26, Konstantin Belousov wrote: >> > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: >> >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: >> >>> I find it

Re: svn commit: r327086 - head/sys/dev/lmc

2018-01-04 Thread Stefan Esser
Am 04.01.18 um 00:41 schrieb Pedro Giffuni: > Either the license is very naively stated or the device should have been added > in the contrib/gnu branches. This appears to be one of the dual-licensed drivers, that are the result of some BSD driver having been ported to Linux with the original copy

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-24 Thread Stefan Esser
Am 24.10.20 um 09:48 schrieb Alex Kozlov: On Fri, Oct 23, 2020 at 09:22:23AM +, Stefan Eßer wrote: Author: se Date: Fri Oct 23 09:22:23 2020 New Revision: 366962 URL: https://svnweb.freebsd.org/changeset/base/366962 Log: Add search of LOCALBASE/share/calendar for calendars supplied by a

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-25 Thread Stefan Esser
Am 25.10.20 um 04:46 schrieb Rodney W. Grimes: On Sat, Oct 24, 2020 at 8:51 PM Rodney W. Grimes wrote: +#define _PATH_LOCALBASE "/usr/local" + Something feels very wrong about this becoming a defined path in base, it is further dependence on /usr/local which in the early days we spent a

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-25 Thread Stefan Esser
Am 25.10.20 um 06:56 schrieb Alex Kozlov: On Sat, Oct 24, 2020 at 04:37:45PM +0200, Stefan Esser wrote: Am 24.10.20 um 09:48 schrieb Alex Kozlov: [...] You are hardcoding assumption that LOCALBASE = /usr/local. Please make it overridable with LOCALBASE environment variable. This was a

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-26 Thread Stefan Esser
Am 26.10.20 um 00:55 schrieb Rodney W. Grimes: [ Charset ISO-8859-1 unsupported, converting... ] On Sat, Oct 24, 2020 at 04:37:45PM +0200, Stefan Esser wrote: Am 24.10.20 um 09:48 schrieb Alex Kozlov: On Fri, Oct 23, 2020 at 09:22:23AM +, Stefan E?er wrote: Author: se Date: Fri Oct 23 09

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-26 Thread Stefan Esser
Am 26.10.20 um 09:08 schrieb Baptiste Daroussin: On Mon, Oct 26, 2020 at 02:05:28AM -0600, Scott Long wrote: On Oct 26, 2020, at 1:50 AM, Baptiste Daroussin wrote: On Mon, Oct 26, 2020 at 12:11:56AM -0600, Warner Losh wrote: [...] So, first off, it's already hard coded. Stefan's changes ch

Re: svn commit: r366962 - in head: include usr.bin/calendar

2020-10-27 Thread Stefan Esser
Am 27.10.20 um 08:37 schrieb Alex Kozlov: On Mon, Oct 26, 2020 at 12:11:56AM -0600, Warner Losh wrote: So, first off, it's already hard coded. Stefan's changes change the hard coding from 'impossible to change' to 'changeable with a recompile' which is an improvement. It might even wind up as a

Re: svn commit: r367103 - head/usr.bin/calendar

2020-10-28 Thread Stefan Esser
Am 28.10.20 um 14:12 schrieb Kyle Evans:>> Modified: head/usr.bin/calendar/io.c == --- head/usr.bin/calendar/io.c Wed Oct 28 11:54:09 2020(r367102) +++ head/usr.bin/calendar/io.c Wed Oct 28 13:06:39 2020

Re: svn commit: r367103 - head/usr.bin/calendar

2020-10-28 Thread Stefan Esser
Am 28.10.20 um 14:34 schrieb Kyle Evans: On Wed, Oct 28, 2020 at 8:24 AM Stefan Esser wrote: I'm thinking about support for nested conditionals and #else in calendar files, but I'm not sure about the possibility to MFC such a change and I do not want to invite users to create cale

Re: svn commit: r367196 - head/lib/libc/gen

2020-10-31 Thread Stefan Esser
Sorry for the bad bug that I introduced with this attempted style fix! The correct code has been committed as r367199. Am 31.10.20 um 12:46 schrieb xto...@hotmail.com: Stefan Eßer wrote: Author: se Date: Sat Oct 31 11:44:10 2020 New Revision: 367196 URL: https://svnweb.freebsd.org/changeset/ba

Re: svn commit: r367221 - head

2020-11-01 Thread Stefan Esser
Am 01.11.20 um 18:16 schrieb Dan Mack: Are lines 29 and 36 in /usr/src/UPDATING supposed to be 2020 or is the 2010 correct ? Fixed in SVN rev. r367254 Thanks for spotting this error! Regards, STefan OpenPGP_signature Description: OpenPGP digital signature

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, 2020, Stefan Eßer > wrote: Author: se Date: Mon Nov  2 18:48:06 2020 New Revision: 367280 URL: https://svnweb.freebsd.org/changeset/base/367280

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 22:49 schrieb Emmanuel Vadot: On Mon, 2 Nov 2020 22:41:38 +0100 Stefan Esser wrote: Am 02.11.20 um 20:20 schrieb Oliver Pinter:> On Monday, November 2, 2020, Stefan Eßer <mailto:s...@freebsd.org>> wrote: Author: se Date: Mon Nov  2 18:48:06 2020

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-02 Thread Stefan Esser
Am 02.11.20 um 23:10 schrieb Konstantin Belousov: On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: I think that the first question we want to ask is : Do we want to support LOCALBASE being different than /usr/local I honestly don't see any advantages of making it !=/usr/local/

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-03 Thread Stefan Esser
I think that the first question we want to ask is : Do we want to support LOCALBASE being different than /usr/local The big majority of users will keep the default value, and I do not see a good reason for a change, except if there is a large installed base that traditionally uses another pre

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-05 Thread Stefan Esser
Am 04.11.20 um 20:40 schrieb Baptiste Daroussin: On Wed, Nov 04, 2020 at 11:04:37AM -0800, Rodney W. Grimes wrote: For 25 years PREFIX has been rigidly a part of the ports infustructure, why is it that the BASE system has been allowed to de-evolve from this concept as documented and REQUIRED by:

Re: svn commit: r367280 - head/lib/libc/gen

2020-11-05 Thread Stefan Esser
Am 04.11.20 um 20:49 schrieb Konstantin Belousov: On Mon, Nov 02, 2020 at 11:51:12PM +0100, Stefan Esser wrote: Am 02.11.20 um 23:10 schrieb Konstantin Belousov: On Mon, Nov 02, 2020 at 10:49:07PM +0100, Emmanuel Vadot wrote: I think that the first question we want to ask is : Do we want

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:15 schrieb Jessica Clarke: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set localbase - this should use atomic ops. +* The amount of memory allocated above may

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:27 schrieb Jessica Clarke: On 18 Nov 2020, at 21:15, Jessica Clarke wrote: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set localbase - this should use atomic ops. +

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 22:40 schrieb Mateusz Guzik: +{ + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; There is no use for this to be static. Why not? This makes it part of the constant initialized data of the library, which is more efficient under run-time and memory space as

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 23:14 schrieb Jessica Clarke: On 18 Nov 2020, at 21:52, Stefan Esser wrote: Am 18.11.20 um 22:15 schrieb Jessica Clarke: On 18 Nov 2020, at 19:44, Stefan Eßer wrote: + /* +* Check for some other thread already having +* set

Re: svn commit: r367813 - head/lib/libutil

2020-11-18 Thread Stefan Esser
Am 18.11.20 um 23:39 schrieb Jessica Clarke: On 18 Nov 2020, at 22:32, Stefan Esser wrote: Am 18.11.20 um 22:40 schrieb Mateusz Guzik: +{ + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE}; There is no use for this to be static. Why not? This makes it part of the

Re: svn commit: r367813 - head/lib/libutil

2020-11-25 Thread Stefan Esser
Am 19.11.20 um 01:37 schrieb Mateusz Guzik: On 11/19/20, Stefan Esser wrote: [...] I just wanted to provide an implementation of this functionality to be used in a number of programs where other developers had expressed interest in such a feature (and one of these programs has been worked on

Re: svn commit: r367813 - head/lib/libutil

2020-11-25 Thread Stefan Esser
Am 19.11.20 um 00:20 schrieb Brooks Davis: On Thu, Nov 19, 2020 at 12:05:51AM +0100, Stefan Esser wrote: Am 18.11.20 um 23:14 schrieb Jessica Clarke: Why not? There could easily be code out there calling getenv in a multi-threaded context so this is inadequate as a replacement. Yes it&#

Re: svn commit: r368072 - in head/contrib/bc: . gen include manuals manuals/bc manuals/dc src src/bc src/dc src/history src/rand tests

2020-11-26 Thread Stefan Esser
Am 26.11.20 um 19:19 schrieb O. Hartmann: svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org" Buildworld fails with "don't know how to make bc/bc.c": ===> usr.sbin/ndp (all) - ---

Re: svn commit: r368072 - in head/contrib/bc: . gen include manuals manuals/bc manuals/dc src src/bc src/dc src/history src/rand tests

2020-11-26 Thread Stefan Esser
Am 26.11.20 um 21:03 schrieb Cy Schubert:> But this is still a problem: ld: error: undefined symbol: bc_lib_name referenced by vm.c:752 (/opt/src/svn-current/contrib/bc/src/vm.c:752) lto.tmp:(bc_vm_boot) ld: error: undefined symbol: bc_lib referenced by lex.c:225 (/opt/src/svn

Re: svn commit: r368072 - in head/contrib/bc: . gen include manuals manuals/bc manuals/dc src src/bc src/dc src/history src/rand tests

2020-11-26 Thread Stefan Esser
23 schrieb Stefan Esser: Am 26.11.20 um 21:03 schrieb Cy Schubert:> But this is still a problem: ld: error: undefined symbol: bc_lib_name referenced by vm.c:752 (/opt/src/svn-current/contrib/bc/src/vm.c:752)    lto.tmp:(bc_vm_boot) ld: error: undefined symbol: bc_lib referenced

Re: svn commit: r368072 - in head/contrib/bc: . gen include manuals manuals/bc manuals/dc src src/bc src/dc src/history src/rand tests

2020-11-27 Thread Stefan Esser
Am 26.11.20 um 23:47 schrieb Cy Schubert: A clean build (sort of) did fix it: rm the appropriate subdir actually. Now I see what caused your issues: The file lib.c is created by running strgen.sh with parameters from the Makefile, and the invocation of this script changed. I have made the gen

Re: svn commit: r368606 - head/usr.bin/calendar

2020-12-13 Thread Stefan Esser
Am 13.12.20 um 12:13 schrieb Yuri Pankov: Stefan Eßer wrote: Author: se Date: Sun Dec 13 09:38:50 2020 New Revision: 368606 URL: https://svnweb.freebsd.org/changeset/base/368606 Log:    Fix WITHOUT_ICONV build    There was an unprotected use of nl_langinfo() to determine the order of    day

svn commit: r355382 - head/sys/dev/pci

2019-12-04 Thread Stefan Esser
Modified: head/sys/dev/pci/hostb_pci.c == --- head/sys/dev/pci/hostb_pci.cWed Dec 4 04:01:53 2019 (r355381) +++ head/sys/dev/pci/hostb_pci.cWed Dec 4 08:03:33 2019 (r355382) @@ -1,8 +1,7 @@ /*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * - * C

svn commit: r355591 - head/share/vt/keymaps

2019-12-10 Thread Stefan Esser
Author: se Date: Tue Dec 10 19:52:29 2019 New Revision: 355591 URL: https://svnweb.freebsd.org/changeset/base/355591 Log: Replace two remaining hex values for control codes with their names. These were the only values in the range from 0 to 0x1f that were defined as hex values, all other

svn commit: r324721 - in head/share/man: man5 man8

2017-10-18 Thread Stefan Esser
Author: se Date: Wed Oct 18 13:25:44 2017 New Revision: 324721 URL: https://svnweb.freebsd.org/changeset/base/324721 Log: Add references to sysrc(8). Reported by: Kurt Jaeger (lists at opsec.eu) Modified: head/share/man/man5/rc.conf.5 head/share/man/man8/rc.8 Modified: head/share/man

svn commit: r324823 - in head/share/man: man5 man8

2017-10-21 Thread Stefan Esser
Author: se Date: Sat Oct 21 16:55:52 2017 New Revision: 324823 URL: https://svnweb.freebsd.org/changeset/base/324823 Log: Mention sysrc(8) as scripting interface for the modification of config files. This is a follow up commit to r324721, which added sysrc(8) to the SEE ALSO list. Submi

Re: svn commit: r325954 - in head: . share/mk sys/conf usr.sbin/config

2017-11-18 Thread Stefan Esser
Am 18.11.17 um 03:31 schrieb Pedro Giffuni: > >> On Nov 17, 2017, at 20:34, Rodney W. Grimes >> wrote: >> >> [ Charset UTF-8 unsupported, converting... ] >>> Kib@ posted to arch that we were removing it, nobody objected, we removed >>> it. If it was a working feature that might have a few users,

Re: svn commit: r325954 - in head: . share/mk sys/conf usr.sbin/config

2017-11-18 Thread Stefan Esser
Am 18.11.17 um 16:01 schrieb Pedro Giffuni: > Hi; > > On 11/18/17 09:15, Stefan Esser wrote: >> Am 18.11.17 um 03:31 schrieb Pedro Giffuni: >>>> On Nov 17, 2017, at 20:34, Rodney W. Grimes >>>> wrote: >>>> >>>> [ Charset UTF-8 unsu

svn commit: r228572 - head/sys/dev/drm

2011-12-16 Thread Stefan Esser
Author: se Date: Fri Dec 16 12:42:02 2011 New Revision: 228572 URL: http://svn.freebsd.org/changeset/base/228572 Log: Fix format string Z --> z, since the former is a deprecated and (in FreeBSD) unsupported form of the latter. This change has been reviewed and accepted in the -hackers list.

svn commit: r223596 - head/share/mk

2011-06-27 Thread Stefan Esser
Author: se Date: Mon Jun 27 13:23:51 2011 New Revision: 223596 URL: http://svn.freebsd.org/changeset/base/223596 Log: Add macros to specify owner, group and mode of config files for installation. Submitted by: Chris Rees (crees) Modified: head/share/mk/bsd.own.mk Modified: head/share/mk

svn commit: r223881 - head/bin/expr

2011-07-09 Thread Stefan Esser
Author: se Date: Sat Jul 9 12:05:53 2011 New Revision: 223881 URL: http://svn.freebsd.org/changeset/base/223881 Log: Make /bin/expr support 64bit numeric range and range checks by default, again. This brings back the behaviour of expr in FreeBSD-4, which had been reverted due to an assumed

svn commit: r223882 - head/bin/expr

2011-07-09 Thread Stefan Esser
Author: se Date: Sat Jul 9 12:14:57 2011 New Revision: 223882 URL: http://svn.freebsd.org/changeset/base/223882 Log: Some refactoring for easier maintenance of the code. This is a follow-up to re-establishment of 64bit arithmetic, but is committed separately, to not obscure that conversion.

svn commit: r223883 - head/bin/expr

2011-07-09 Thread Stefan Esser
Author: se Date: Sat Jul 9 12:20:15 2011 New Revision: 223883 URL: http://svn.freebsd.org/changeset/base/223883 Log: Fix style, since this file has just been touched in a major way. No actual code changes. Modified: head/bin/expr/expr.y Modified: head/bin/expr/expr.y =

svn commit: r226470 - head/etc/periodic/daily

2011-10-17 Thread Stefan Esser
Author: se Date: Mon Oct 17 14:33:41 2011 New Revision: 226470 URL: http://svn.freebsd.org/changeset/base/226470 Log: Fix error message in case the backup storage directory does not exist and cannot be created ($daily_backup_pkgdb_dbdir -> $daily_backup_pkgdb_dir). MFC after:1 week Modi

svn commit: r226471 - head/etc/defaults

2011-10-17 Thread Stefan Esser
Author: se Date: Mon Oct 17 14:37:24 2011 New Revision: 226471 URL: http://svn.freebsd.org/changeset/base/226471 Log: Add missing default values for daily/800.scrub-zfs for documentation purposes. No functional change, since all parameters are set to their default values. MFC after:1 w

Re: svn commit: r338253 - head/sbin/pfctl

2018-08-23 Thread Stefan Esser
Am 23.08.18 um 18:10 schrieb Patrick Kelsey: > Author: pkelsey > Date: Thu Aug 23 16:10:28 2018 > New Revision: 338253 > URL: https://svnweb.freebsd.org/changeset/base/338253 > > Log: > Extend tbrsize heuristic in pfctl(8) to provide a sensible value for > higher bandwidth interfaces. The new

svn commit: r321859 - head/share/vt/keymaps

2017-08-01 Thread Stefan Esser
Author: se Date: Tue Aug 1 09:34:15 2017 New Revision: 321859 URL: https://svnweb.freebsd.org/changeset/base/321859 Log: Adjust path to X11 locale files (/usr/X11 has been changed to /usr/local a long ago) in comment. No functional change. Modified: head/share/vt/keymaps/INDEX.keymaps Mod

svn commit: r321858 - head/share/vt/keymaps

2017-08-01 Thread Stefan Esser
Author: se Date: Tue Aug 1 09:30:21 2017 New Revision: 321858 URL: https://svnweb.freebsd.org/changeset/base/321858 Log: Add alternate Turkish keyboard layout F. The layout and menu texts have been provided by Ufuk Güler, with minor changes for consistency by me. Submitted by: Ufuk Güler

svn commit: r340428 - in head: . usr.sbin/ctm/ctm

2018-11-14 Thread Stefan Esser
Author: se Date: Wed Nov 14 08:45:48 2018 New Revision: 340428 URL: https://svnweb.freebsd.org/changeset/base/340428 Log: Prepare move of ctm from base to a port (misc/ctm) by: - Adding a note to UPDATING - Adding a note to the history section of the manpage ctm.1 - Adding a message printe

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Stefan Esser
Am 10.12.18 um 07:47 schrieb Warner Losh: > > > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert wrote: > > In message <201812100619.wba6jb0c064...@pdx.rh.cn85.dnsmgr.net > >, > "Rodney W. Gri >

svn commit: r342126 - in head: share/man/man5 tools/build/mk tools/build/options usr.sbin usr.sbin/ctm

2018-12-15 Thread Stefan Esser
Author: se Date: Sat Dec 15 16:53:15 2018 New Revision: 342126 URL: https://svnweb.freebsd.org/changeset/base/342126 Log: Remove CTM from 13-CURRENT after the release of FreeBSD-12.0. The removal (and creation of a port) has been pre-announced in UPDATING 1 month ago. Packages are availab

svn commit: r342162 - head

2018-12-17 Thread Stefan Esser
Author: se Date: Mon Dec 17 10:17:56 2018 New Revision: 342162 URL: https://svnweb.freebsd.org/changeset/base/342162 Log: Add removed CTM files to ObsoleteFiles.inc as a follow-up to r342126. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r343303 - head/usr.sbin/kbdmap

2019-01-22 Thread Stefan Esser
Author: se Date: Tue Jan 22 13:11:15 2019 New Revision: 343303 URL: https://svnweb.freebsd.org/changeset/base/343303 Log: Silence a CI warning regarding the use of strcpy(). While this is a false positive (a sufficiently large buffer has been allocated in the line above), the use of strdu

svn commit: r343339 - head/usr.sbin/kbdcontrol

2019-01-23 Thread Stefan Esser
Author: se Date: Wed Jan 23 10:05:27 2019 New Revision: 343339 URL: https://svnweb.freebsd.org/changeset/base/343339 Log: Silence Clang Scan warning about use of unitialized variable. While the warning is a false positive, it is possible to clarify the code by always initializing the vari

svn commit: r343408 - head/usr.bin/whereis

2019-01-24 Thread Stefan Esser
Author: se Date: Thu Jan 24 18:39:45 2019 New Revision: 343408 URL: https://svnweb.freebsd.org/changeset/base/343408 Log: Silence Clang Scan warnings regarding the use of strcp(). While these warnings are false positives, the use of strdup() instead of malloc() and strcpy() simplifies and

svn commit: r343479 - head/libexec/getty

2019-01-26 Thread Stefan Esser
Author: se Date: Sat Jan 26 20:43:28 2019 New Revision: 343479 URL: https://svnweb.freebsd.org/changeset/base/343479 Log: Fix potential buffer overflow and undefined behavior. The buffer allocated in read_chat() could be 1 element too short, if the chatstr parameter passed in is 1 or 3 ch

svn commit: r343480 - head/lib/libfigpar

2019-01-26 Thread Stefan Esser
Author: se Date: Sat Jan 26 21:30:26 2019 New Revision: 343480 URL: https://svnweb.freebsd.org/changeset/base/343480 Log: Silence Clang Scan warning about potentially unsafe use of strcpy. While this is a false positive, the use of strdup() simplifies the code. MFC after:2 weeks M

svn commit: r343482 - head/lib/libfigpar

2019-01-26 Thread Stefan Esser
Author: se Date: Sat Jan 26 22:24:15 2019 New Revision: 343482 URL: https://svnweb.freebsd.org/changeset/base/343482 Log: Slightly improve previous commit that silenced a Clang Scan warning. The strdup() call does not take advantage of the known length of the source string. Replace by mal

Re: svn commit: r343480 - head/lib/libfigpar

2019-01-26 Thread Stefan Esser
Am 26.01.19 um 22:59 schrieb Colin Percival: > On 1/26/19 1:36 PM, Rodney W. Grimes wrote: >>> Author: se >>> Date: Sat Jan 26 21:30:26 2019 >>> New Revision: 343480 >>> URL: https://svnweb.freebsd.org/changeset/base/343480 >>> >>> Log: >>> Silence Clang Scan warning about potentially unsafe use

svn commit: r269119 - head/usr.sbin/kbdcontrol

2014-07-26 Thread Stefan Esser
Author: se Date: Sat Jul 26 12:17:26 2014 New Revision: 269119 URL: http://svnweb.freebsd.org/changeset/base/269119 Log: Fix obvious off by one error: prefix[1] should be set to the path of the newcons specific keymap files, not prefix[2]. The result of this bug was that kbdcontrol ignored t

svn commit: r269120 - head/usr.sbin/kbdcontrol

2014-07-26 Thread Stefan Esser
Author: se Date: Sat Jul 26 13:14:28 2014 New Revision: 269120 URL: http://svnweb.freebsd.org/changeset/base/269120 Log: The previous commit (r269119) introduced a regression: It removed the ability to specify the the full path name of the keymap file. Instead leave the original search or

svn commit: r269976 - head/usr.sbin/kbdmap

2014-08-14 Thread Stefan Esser
Author: se Date: Thu Aug 14 14:22:12 2014 New Revision: 269976 URL: http://svnweb.freebsd.org/changeset/base/269976 Log: Add support for NEWCONS to kbdmap and vidfont. The path to keymaps and fonts is selected based on the existence and value of "sysctl kern.vty". MFC after:1 wee

svn commit: r270098 - head/share/syscons/keymaps

2014-08-17 Thread Stefan Esser
Author: se Date: Sun Aug 17 11:59:23 2014 New Revision: 270098 URL: http://svnweb.freebsd.org/changeset/base/270098 Log: Add a few missing entries and fix entries that are obviously wrong. The use of the old ISO language code "iw" for Hebrew was inconsistent and it is replaced by the new lan

svn commit: r270114 - head/share/vt/keymaps

2014-08-17 Thread Stefan Esser
Author: se Date: Sun Aug 17 19:54:21 2014 New Revision: 270114 URL: http://svnweb.freebsd.org/changeset/base/270114 Log: Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS. I have spent many hours comparing source and destination formats, and hope to have caught the mo

Re: svn commit: r270114 - head/share/vt/keymaps

2014-08-17 Thread Stefan Esser
Am 17.08.2014 um 22:20 schrieb Pedro Giffuni: > > On 08/17/14 14:54, Stefan Esser wrote: >> Author: se >> Date: Sun Aug 17 19:54:21 2014 >> New Revision: 270114 >> URL: http://svnweb.freebsd.org/changeset/base/270114 >> >> Log: >>Attempt at c

svn commit: r270131 - head/tools/tools/vt/keymaps

2014-08-18 Thread Stefan Esser
Author: se Date: Mon Aug 18 09:40:19 2014 New Revision: 270131 URL: http://svnweb.freebsd.org/changeset/base/270131 Log: Import the tools used to convert the keymap files from SYSCONS (in locale dependent encoding) to NEWCONS (Unicode). The file "LANG.map" is used to convert INDEX.keymaps

Re: svn commit: r270114 - head/share/vt/keymaps

2014-08-18 Thread Stefan Esser
Am 17.08.2014 um 23:40 schrieb Pedro Giffuni: > > Il giorno 17/ago/2014, alle ore 16:09, Stefan Esser <mailto:s...@freebsd.org>> ha scritto: >> Therefore, what you'd name "es_LA" (or es-la) is now latinamerican >> (it could be "latinamerican-es&qu

svn commit: r270152 - head/tools/tools/vt/keymaps

2014-08-18 Thread Stefan Esser
Author: se Date: Mon Aug 18 20:55:11 2014 New Revision: 270152 URL: http://svnweb.freebsd.org/changeset/base/270152 Log: Minor fixes to convert-keymap.pl (conversion of 8bit characters in the form 'x' with high bit set) and to KBDFILES.map (fix encodings and comment out a few redundant keyma

svn commit: r270153 - head/share/syscons/keymaps

2014-08-18 Thread Stefan Esser
Author: se Date: Mon Aug 18 20:58:17 2014 New Revision: 270153 URL: http://svnweb.freebsd.org/changeset/base/270153 Log: Fix minor problems found while converting to NEWCONS format. MFC after:3 days Modified: head/share/syscons/keymaps/be.iso.acc.kbd head/share/syscons/keymaps/cs.l

svn commit: r270156 - head/share/vt/keymaps

2014-08-18 Thread Stefan Esser
Author: se Date: Mon Aug 18 21:07:12 2014 New Revision: 270156 URL: http://svnweb.freebsd.org/changeset/base/270156 Log: Fix a few conversion problems (e.g. when a keymap is derived from ISO8859-1, but shall provide an Euro sign - similar for Japanese Yen). The Brazilian keymap "br.kbd" n

svn commit: r270199 - head/tools/tools/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 07:46:28 2014 New Revision: 270199 URL: http://svnweb.freebsd.org/changeset/base/270199 Log: Fix further conversion errors found while testing the converted keymaps. MFC after:3 days Modified: head/tools/tools/vt/keymaps/convert-keymap.pl head/tools/tool

svn commit: r270200 - head/share/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 07:48:09 2014 New Revision: 270200 URL: http://svnweb.freebsd.org/changeset/base/270200 Log: Fix conversion errors leading to malformed keymap files. MFC after:3 days Modified: head/share/vt/keymaps/cz.kbd head/share/vt/keymaps/fr.dvorak.acc.kbd head/s

svn commit: r270229 - head/share/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 17:00:47 2014 New Revision: 270229 URL: http://svnweb.freebsd.org/changeset/base/270229 Log: Another rpund of fixes, after checking keymaps for plausibility and with several updates to the converter tools. There is now support for hybrid source keymaps, which e.g.

svn commit: r270232 - head/tools/tools/vt/keymaps

2014-08-20 Thread Stefan Esser
Author: se Date: Wed Aug 20 17:07:41 2014 New Revision: 270232 URL: http://svnweb.freebsd.org/changeset/base/270232 Log: The conversion tools have been further improved and some erroneous conversions have been detected and fixed. It is now possible to add options after the encoding in the

svn commit: r270300 - head/share/vt/keymaps

2014-08-21 Thread Stefan Esser
Author: se Date: Thu Aug 21 20:33:09 2014 New Revision: 270300 URL: http://svnweb.freebsd.org/changeset/base/270300 Log: Next round of fixes. MFC after:3 days Added: head/share/vt/keymaps/bg.phonetic.kbd - copied unchanged from r270290, head/share/vt/keymaps/bg.bds.ctrlcaps.kbd

svn commit: r270301 - head/tools/tools/vt/keymaps

2014-08-21 Thread Stefan Esser
Author: se Date: Thu Aug 21 20:35:39 2014 New Revision: 270301 URL: http://svnweb.freebsd.org/changeset/base/270301 Log: Modify a few output file names as used with vt. MFC after:3 days Modified: head/tools/tools/vt/keymaps/KBDFILES.map Modified: head/tools/tools/vt/keymaps/KBDFILES

svn commit: r250943 - head/usr.bin/patch

2013-05-23 Thread Stefan Esser
Author: se Date: Thu May 23 20:57:20 2013 New Revision: 250943 URL: http://svnweb.freebsd.org/changeset/base/250943 Log: Fix target selection logic, which did not comply with the man page. Instead of using the file with the least order of path name components, shortest filename and finall

svn commit: r250972 - head/usr.bin/patch

2013-05-24 Thread Stefan Esser
Author: se Date: Fri May 24 18:54:52 2013 New Revision: 250972 URL: http://svnweb.freebsd.org/changeset/base/250972 Log: The error handling for writes to the target file could lead to the final fclose() being skipped. Fix this by using boolean "&" and "|" instead of short-cut operators "&&"

Re: svn commit: r250972 - head/usr.bin/patch

2013-05-26 Thread Stefan Esser
Am 25.05.2013 06:31, schrieb Bruce Evans: > On Fri, 24 May 2013, Stefan Esser wrote: > >> ... >> Log: >> The error handling for writes to the target file could lead to the final >> fclose() being skipped. Fix this by using boolean "&" and &qu

svn commit: r265433 - in head/sys: conf modules/drm2

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 11:12:56 2014 New Revision: 265433 URL: http://svnweb.freebsd.org/changeset/base/265433 Log: Fix buildkernel breakage, which was fall-out from the move of options to src.opts.mk. Modified: head/sys/conf/kmod.mk head/sys/modules/drm2/Makefile Modified: head/sys

svn commit: r265436 - head/usr.bin/bmake

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 12:31:17 2014 New Revision: 265436 URL: http://svnweb.freebsd.org/changeset/base/265436 Log: Fix include statement to accept src.opts.mk from a source directory instead of from /usr/share/mk. I'm not sure that this will let buildworld complete on a system with

svn commit: r265443 - head/usr.bin/bmake

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 14:01:48 2014 New Revision: 265443 URL: http://svnweb.freebsd.org/changeset/base/265443 Log: Revert r265436, since it is not the correct fix. Modified: head/usr.bin/bmake/Makefile.inc Modified: head/usr.bin/bmake/Makefile.inc ==

svn commit: r258687 - head/share/misc

2013-11-27 Thread Stefan Esser
263,7 @@ sbruno [label="Sean Bruno\nsbruno@FreeBS scf [label="Sean C. Farley\n...@freebsd.org\n2007/06/24"] schweikh [label="Jens Schweikhardt\nschwe...@freebsd.org\n2001/04/06"] scottl [label="Scott Long\nsco...@freebsd.org\n2000/09/28"] +se [label="Stefan Esser

svn commit: r259609 - head/sys/kern

2013-12-19 Thread Stefan Esser
Author: se Date: Thu Dec 19 09:01:46 2013 New Revision: 259609 URL: http://svnweb.freebsd.org/changeset/base/259609 Log: Fix overflow for timeout values of more than 68 years, which is the maximum covered by sbintime (LONG_MAX seconds). Some programs use timeout values in excess of 1000 y

Re: svn commit: r259609 - head/sys/kern

2013-12-19 Thread Stefan Esser
Am 19.12.2013 11:49, schrieb Bruce Evans: > On Thu, 19 Dec 2013, Stefan Esser wrote: > >> Log: >> Fix overflow for timeout values of more than 68 years, which is the >> maximum >> covered by sbintime (LONG_MAX seconds). > > Not LONG_MAX seconds, but INT

Re: svn commit: r259609 - head/sys/kern

2013-12-19 Thread Stefan Esser
Am 19.12.2013 21:46, schrieb Andreas Tobler: > On 19.12.13 18:00, Stefan Esser wrote: > >> I'd replace the two occurances of LLONG_MAX with INT64_MAX and add the >> missing empty line: >> >> static __inline sbintime_t >> timer2sbintime(intptr_t data

svn commit: r259633 - head/sys/kern

2013-12-19 Thread Stefan Esser
Author: se Date: Thu Dec 19 21:35:33 2013 New Revision: 259633 URL: http://svnweb.freebsd.org/changeset/base/259633 Log: Fix compilation on 32 bit architectures and use INT64_MAX instead of LONG_MAX for the upper bound check. Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/ker

svn commit: r277798 - head/bin/expr

2015-01-27 Thread Stefan Esser
Author: se Date: Tue Jan 27 18:04:41 2015 New Revision: 277798 URL: https://svnweb.freebsd.org/changeset/base/277798 Log: Fix overflow check for multiplication: - Add special test to detect the case of -1 * INTMAX_MIN - Protect against elimination of the test division by the optimizer G

svn commit: r270647 - in head: etc/defaults share/man/man4 share/man/man5 share/man/man7 share/man/man8

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 08:13:30 2014 New Revision: 270647 URL: http://svnweb.freebsd.org/changeset/base/270647 Log: Add references to vt(4) and the configuration files in /usr7share/vt where appropriate (i.e. where syscons was already mentioned and vt supports the feature). Comments in

svn commit: r270652 - head/usr.sbin/kbdcontrol

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 09:37:43 2014 New Revision: 270652 URL: http://svnweb.freebsd.org/changeset/base/270652 Log: Remove band.aid that made kbdcontrol lookup keymap files in the syscons path even under vt, which is no longer useful, since the syscons keymap files have been converted a

svn commit: r270653 - head/usr.sbin/kbdcontrol

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 09:40:14 2014 New Revision: 270653 URL: http://svnweb.freebsd.org/changeset/base/270653 Log: Update man-pages to correctly refer to changed pathes and naming conventions for systems with vt(4) consoles. MFC after:3 days Modified: head/usr.sbin/kbdcontrol

svn commit: r270657 - in head: usr.bin/lock usr.sbin/bsdconfig usr.sbin/bsdinstall usr.sbin/kbdmap

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 10:55:08 2014 New Revision: 270657 URL: http://svnweb.freebsd.org/changeset/base/270657 Log: More man pages that need to know about vt in addition to syscons. MFC after:3 dayS Modified: head/usr.bin/lock/lock.1 head/usr.sbin/bsdconfig/bsdconfig.8 head/

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

2014-08-26 Thread Stefan Esser
Author: se Date: Tue Aug 26 11:13:07 2014 New Revision: 270660 URL: http://svnweb.freebsd.org/changeset/base/270660 Log: Back-out the references to vt(4) from this man-page. It appears that the splash support in vt is implemented within the vt driver and does not depend on splash(4). Su

Re: svn commit: r270647 - in head: etc/defaults share/man/man4 share/man/man5 share/man/man7 share/man/man8

2014-08-26 Thread Stefan Esser
Am 26.08.2014 um 10:53 schrieb Marius Strobl: > On Tue, Aug 26, 2014 at 08:13:30AM +0000, Stefan Esser wrote: >> Author: se >> Date: Tue Aug 26 08:13:30 2014 >> New Revision: 270647 >> URL: http://svnweb.freebsd.org/changeset/base/270647 >> >> Lo

svn commit: r270931 - head/usr.sbin/smbmsg

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:12:29 2014 New Revision: 270931 URL: http://svnweb.freebsd.org/changeset/base/270931 Log: Fix typo (by -> be). MFC after:3 days Modified: head/usr.sbin/smbmsg/smbmsg.8 Modified: head/usr.sbin/smbmsg/smbmsg.8

svn commit: r270933 - in head: sbin/conscontrol usr.sbin/vidcontrol

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:25:08 2014 New Revision: 270933 URL: http://svnweb.freebsd.org/changeset/base/270933 Log: Add references to vt(4) to further man-pages. MFC after:3 days Modified: head/sbin/conscontrol/conscontrol.8 head/usr.sbin/vidcontrol/vidcontrol.1 Modified: hea

svn commit: r270934 - head/tools/tools/vt/keymaps

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:26:57 2014 New Revision: 270934 URL: http://svnweb.freebsd.org/changeset/base/270934 Log: Final patches to the tools used to convert syscons keymaps for use with vt. MFC after:3 days Modified: head/tools/tools/vt/keymaps/KBDFILES.map head/tools/tool

svn commit: r270935 - head/etc/rc.d

2014-09-01 Thread Stefan Esser
Author: se Date: Mon Sep 1 16:51:57 2014 New Revision: 270935 URL: http://svnweb.freebsd.org/changeset/base/270935 Log: Add vt(4) support to the console initialisation script, specifically: - Identify the console driver used and print syscons or vt as appropriate. - If vt is used and

svn commit: r271108 - head/tools/tools/vt/keymaps

2014-09-04 Thread Stefan Esser
Author: se Date: Thu Sep 4 17:19:16 2014 New Revision: 271108 URL: http://svnweb.freebsd.org/changeset/base/271108 Log: Fix debug output that has erroneously been committed with the last update. Obtained from:Jan Beich MFC after:3 days Modified: head/tools/tools/vt/keymaps

  1   2   >