Searched hist:tr (Results 1 - 25 of 75) sorted by relevance

123

/src/tests/usr.bin/tr/
H A DMakefile1.1 Sat Aug 10 22:36:16 GMT 2013 dholland branches: 1.1.4; 1.1.8;
Add tests for tr, including an xfail one for PR 48113.

H A Dt_basic.sh1.1 Sat Aug 10 22:36:16 GMT 2013 dholland Add tests for tr, including an xfail one for PR 48113.
/src/sys/net/
H A Dether_sw_offload.h1.1 Wed Dec 12 01:40:20 GMT 2018 rin branches: 1.1.2; 1.1.6;
PR kern/53562

Add ether_sw_offload_[tr]x: handle TX/RX offload options in software.
Since this violates separation b/w L2 and L3/L4, new files are added
rather than having the routines in sys/net/if_ethersubr.c.

OK msaitoh thorpej

H A Dether_sw_offload.c1.1 Wed Dec 12 01:40:20 GMT 2018 rin PR kern/53562

Add ether_sw_offload_[tr]x: handle TX/RX offload options in software.
Since this violates separation b/w L2 and L3/L4, new files are added
rather than having the routines in sys/net/if_ethersubr.c.

OK msaitoh thorpej
/src/share/misc/
H A Ddomains.sed1.2 Sun Mar 02 21:32:33 GMT 2003 jhawk branches: 1.2.22;
Strip carriage returns in domains.sed, not with tr in Makefile.
/src/usr.bin/tr/
H A Dtr.c1.15 Sun Aug 11 00:28:46 GMT 2013 dholland Make tr -c work. Fixes PR 48113.

When -c is in effect, scan string1 first, complement it, and then
iterate over the results while scanning string2. Otherwise, scan
string1 and string2 together as before.
1.13 Sun Aug 11 00:11:46 GMT 2013 dholland Restore preexisting wrong behavior of tr -c (translates all characters
to the last letter in string2) instead of a different wrong behavior
(translates all characters to 0xff) accidentally just introduced.
1.2 Tue Apr 27 04:52:30 GMT 1993 glass integrated updated 'tr' from ftp.uu.net:bsd-sources
H A Dstr.c1.30 Sat May 26 11:20:30 GMT 2018 leot Do not accept invalid octal character values (>= 0400).

This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or
similars lead to them).

Reviewed and thanks to <pgoyette>!
1.14 Wed Sep 07 18:21:41 GMT 2011 riz Remove newly-introduced const qualifier from static CLASS classes[],
as CLASS->set gets changed in genclass(). Fixes a segfault doing:

tr '[:lower:]' '[:upper:]'

on (at least) amd64.
1.1 Tue Apr 27 04:52:28 GMT 1993 glass branches: 1.1.1; 1.1.2;
integrated updated 'tr' from ftp.uu.net:bsd-sources
H A Dtr.11.23 Wed May 29 11:27:34 GMT 2019 gutteridge tr.1: add a "see also" xref to ctype(3) (to align with an inline
reference), improve punctuation, etc.

XXX lines 177-191 have been commented out since they were imported in
r. 1.2 back in 1993, they should probably be re-examined, and revised
or removed.
1.14 Wed Mar 24 06:35:53 GMT 2004 fair Document that tr(1) was written for US-ASCII and may not work as
expected on other character sets which do not share ASCII's properties
(e.g. a symmetric set of capital and lower case characters), per PR 18738

Change all double quotes to nroff macros.
Change "System V" references to the .At macro.
1.2 Tue Apr 27 04:52:29 GMT 1993 glass integrated updated 'tr' from ftp.uu.net:bsd-sources
H A DMakefile1.2 Tue Apr 27 04:52:26 GMT 1993 glass integrated updated 'tr' from ftp.uu.net:bsd-sources
H A Dextern.h1.1 Tue Apr 27 04:52:27 GMT 1993 glass branches: 1.1.1;
integrated updated 'tr' from ftp.uu.net:bsd-sources
/src/sys/arch/x86/x86/
H A Ddb_trace.c1.3 Thu Apr 21 00:24:07 GMT 2011 enami branches: 1.3.2; 1.3.4; 1.3.8;
lwpaddr is a boolean variable and thus doesn't hold an address of lwp.
Compare with correct value so that tr/t works again on current procecss.
/src/sys/dev/usb/
H A Dif_rumreg.h1.2 Sun Nov 25 09:30:10 GMT 2007 kiyohara branches: 1.2.18; 1.2.32;
+ Add COREGA CG-WLUSB2GL and ABOCOM WUG2700.
+ make sure ni->ni_txrate is always initialized to a meaningful value by
redefining ic->ic_newassoc.
this should prevent "bogus xmit rate" panics when operating in HostAP
mode.
+ s/RT2573_[TR]X_LIST_COUNT/RUM_[TR]X_LIST_COUNT/
+ Restore the workaround for rate==0 bug.
+ http://www.ralinktech.com/ domain name is for sale.
use official url instead: http://www.ralinktech.com.tw/
1.2 Sun Nov 25 09:30:10 GMT 2007 kiyohara branches: 1.2.18; 1.2.32;
+ Add COREGA CG-WLUSB2GL and ABOCOM WUG2700.
+ make sure ni->ni_txrate is always initialized to a meaningful value by
redefining ic->ic_newassoc.
this should prevent "bogus xmit rate" panics when operating in HostAP
mode.
+ s/RT2573_[TR]X_LIST_COUNT/RUM_[TR]X_LIST_COUNT/
+ Restore the workaround for rate==0 bug.
+ http://www.ralinktech.com/ domain name is for sale.
use official url instead: http://www.ralinktech.com.tw/
H A Dif_muevar.h1.5 Thu Jan 31 05:25:07 GMT 2019 rin Make MUE_[TR]X_LIST_CNT configurable for debugging.
H A Dif_rumvar.h1.4 Sun Nov 25 09:30:10 GMT 2007 kiyohara branches: 1.4.18; 1.4.32;
+ Add COREGA CG-WLUSB2GL and ABOCOM WUG2700.
+ make sure ni->ni_txrate is always initialized to a meaningful value by
redefining ic->ic_newassoc.
this should prevent "bogus xmit rate" panics when operating in HostAP
mode.
+ s/RT2573_[TR]X_LIST_COUNT/RUM_[TR]X_LIST_COUNT/
+ Restore the workaround for rate==0 bug.
+ http://www.ralinktech.com/ domain name is for sale.
use official url instead: http://www.ralinktech.com.tw/
1.4 Sun Nov 25 09:30:10 GMT 2007 kiyohara branches: 1.4.18; 1.4.32;
+ Add COREGA CG-WLUSB2GL and ABOCOM WUG2700.
+ make sure ni->ni_txrate is always initialized to a meaningful value by
redefining ic->ic_newassoc.
this should prevent "bogus xmit rate" panics when operating in HostAP
mode.
+ s/RT2573_[TR]X_LIST_COUNT/RUM_[TR]X_LIST_COUNT/
+ Restore the workaround for rate==0 bug.
+ http://www.ralinktech.com/ domain name is for sale.
use official url instead: http://www.ralinktech.com.tw/
/src/share/me/
H A Dme.71.10 Wed Nov 14 22:54:38 GMT 2007 wiz branches: 1.10.28; 1.10.34;
Revert 1.8: .tr does not want HTML-escaped characters.
While here, remove trailing whitespace.
/src/sys/netinet/
H A Din_offload.h1.12 Wed Dec 12 01:40:20 GMT 2018 rin PR kern/53562

Add ether_sw_offload_[tr]x: handle TX/RX offload options in software.
Since this violates separation b/w L2 and L3/L4, new files are added
rather than having the routines in sys/net/if_ethersubr.c.

OK msaitoh thorpej
/src/sys/dev/pci/
H A Dif_bcereg.h1.2 Sun Sep 28 01:03:07 GMT 2003 mrg from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>:
- if_bcereg.h should only have register definitions, so declarations
of softc structure etc. should be in if_bce.c.
- The types of DMA descriptors should be u_int32_t, not unsigned long.
- netinet headers are not required here.
- Values passed via bce_tx_ring should also be byte-swapped.
- byte-swapping is not needed for bus_space access.

from me:
- KNF
- mark all magic numbers with /* MAGIC */ so they can be identified at
some point. there are 33 in total though many appear to be the same
value, or related (eg, the 6 emac points.)

leaves these issues:
- RX pre-packet headers need to be byte-swapped or not?
- PAGE_SIZE bytes are allocated for both TX and RX DMA ring descriptors,
but they should be 1024 (== sizeof(struct bce_dma_slot) * N[TR]XDESC).
- the mcast filter.
H A Dif_vgereg.h1.3 Tue Oct 31 14:13:30 GMT 2006 tsutsui branches: 1.3.134; 1.3.142;
Make vge(4) look a NetBSD native driver like pcn(4) or epic(4) etc:
- merge if_vgevar.h into if_vge.c since no other file refers it
- rename some macro (VGE_TX_DESC_CNT -> VGE_NTXDESC etc.) and structs
- change prefixes of structure members to represent parents
- put TX and RX descriptors into single struct vge_control_data and
allocate DMA memory at once
- no need to specify BUS_DMA_ALLOCNOW
- define appropriate macro for offsets and addresses of DMA descriptors
- define struct vge_txsoft and vge_rxsoft, and put common data for
each descriptor into them
- remove struct vge_list_data and move its members into struct vge_softc
- remove #ifdef DEVICE_POLLING code we don't support
- merge vge_[tr]x_list_init() functions into vge_init()
- use aprint_error() to print errors
- put splnet(9) where appropriate and remove unused VGE_{LOCK,UNLOCK}() macro
- clear TX timeout only if there is no pending descriptor
- check dm_nsegs properly otherwise padding short packets could fail
- prepare zero'ed DMA memory to pad short packets rather than putting
random data
- fix a wrong VGE_TXDESCSYNC() usage which should be VGE_TXFRAGSYNC()

Tested on my i386 which is my development machine.
(more bus_dmamap_sync(9) cleanup will be done later)
/src/sys/dev/ic/
H A Dam7990reg.h1.2 Sun Mar 09 21:12:41 GMT 1997 leo - Turn the sc_[tr]bufaddr fields into arrays of addresses instead of just
the base address. This allows for a more flexible layout of buffers
in the Lance's memory.
- Add a new element 'sc_saved_csr0' to am7990_softc. It's value is or-ed
with the current csr0 value in the am7990_intr() function. This allowes
for a 'deferred' interrupt sceme.
/src/share/man/man4/
H A Daha.41.9 Sun May 28 22:37:46 GMT 2000 augustss Add mca(4) man page. Xref and add some tr(4) info.
H A Dmca.41.1 Sun May 28 22:37:46 GMT 2000 augustss Add mca(4) man page. Xref and add some tr(4) info.
/src/lib/libedit/
H A Dmakelist1.11 Sat Oct 22 16:45:03 GMT 2005 christos branches: 1.11.28;
change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems
work properly regardless of environment variable settings.
1.11 Sat Oct 22 16:45:03 GMT 2005 christos branches: 1.11.28;
change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems
work properly regardless of environment variable settings.
/src/games/fortune/datfiles/
H A DMakefile1.32 Wed Jan 30 19:41:39 GMT 2002 tv Don't put [] around the strings passed to tr -- those can be interpreted
by shells. Just quote 'em.
1.15 Thu Feb 29 00:21:16 GMT 1996 jtc Use tr instead of caesar to generate fortunes-o
/src/tests/usr.bin/make/
H A Dt_make.sh1.10 Thu Sep 10 17:33:16 GMT 2020 kre Replace use of tr to translate '-' in test names into '_' to satisfy ATF
requirements (correct sh variable/function name syntax). Use a sh
loop instead, and save one fork() one vfork() and one exec of tr for
each test case (many of which don't need anything done to them at all).

This might partially mitigate PR misc/55595
1.10 Thu Sep 10 17:33:16 GMT 2020 kre Replace use of tr to translate '-' in test names into '_' to satisfy ATF
requirements (correct sh variable/function name syntax). Use a sh
loop instead, and save one fork() one vfork() and one exec of tr for
each test case (many of which don't need anything done to them at all).

This might partially mitigate PR misc/55595
/src/lib/libc/time/
H A Dtime2posix.31.23 Sun Dec 11 17:57:23 GMT 2022 christos Merge in 2022g:

Although tzcode still works with C89, bugs found in recent routine
maintenance indicate that bitrot has set in and that in practice
C89 is no longer used to build tzcode. As it is a maintenance
burden, support for C89 is planned to be removed soon. Instead,
please use compilers compatible with C99, C11, C17, or C23.

timegm, which tzcode implemented in 1989, will finally be
standardized 34 years later as part of C23, so timegm is now
supported even if STD_INSPIRED is not defined.

Fix bug in zdump's tzalloc emulation on hosts that lack tm_zone.
(Problem reported by Đoàn Trần Công Danh.)

Fix bug in zic on hosts where malloc(0) yields NULL on success.
(Problem reported by Tim McBrayer for AIX 6.1.)

Fix zic configuration to avoid linkage failures on some platforms.
(Problems reported by Gilmore Davidson and Igor Ivanov.)

Work around MS-Windows nmake incompatibility with POSIX.
(Problem reported by Manuela Friedrich.)

Port mktime and strftime to debugging platforms where accessing
uninitialized data has undefined behavior (strftime problem
reported by Robert Elz).

Check more carefully for unlikely integer overflows, preferring
C23 <stdckdint.h> to overflow checking by hand, as the latter has
had obscure bugs.

Completed in 58 milliseconds

123