The NetBSD Project

CVS log for src/lib/libc/gen/vis.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:50 2013 UTC (13 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.44: +453 -340 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

resync with head

Revision 1.60 / (download) - annotate - [select for diffs], Thu Feb 21 16:21:20 2013 UTC (14 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver, HEAD
Changes since 1.59: +4 -2 lines
Diff to previous 1.59 (colored)

No ctassert in tool build

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 20 20:27:42 2013 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.58: +29 -16 lines
Diff to previous 1.58 (colored)

Minor nits, and make it compile in FreeBSD (NBBY needs sys/params.h)

Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 20 19:59:34 2013 UTC (14 months ago) by tron
Branch: MAIN
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

Don't declare a variable inside a "for" construct because it breaks the
tool build which doesn't use C99.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Feb 20 18:40:49 2013 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.56: +20 -8 lines
Diff to previous 1.56 (colored)

Make the masks 64 bit wide so that they fit 6 character wide conversions.
Explain what's wrong with MB_LEN_MAX currently.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 20 18:09:13 2013 UTC (14 months ago) by riz
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Initialize 'clen' to 0, to avoid "may be used uninitialized" warning.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 20 17:15:08 2013 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.54: +9 -9 lines
Diff to previous 1.54 (colored)

Fix whitespace

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 20 17:01:15 2013 UTC (14 months ago) by christos
Branch: MAIN
Changes since 1.53: +205 -113 lines
Diff to previous 1.53 (colored)

More fixes from J.R. Oldroyd. We introduce a new function that can
retrieve and return if there has been a conversion error, so that
it can keep performing char-by-char processing if a multi-byte
conversion occurred. Also some more code cleanups in the "extra"
processing.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 15 00:28:10 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.52: +57 -4 lines
Diff to previous 1.52 (colored)

More fixes from: J.R. Oldroyd
- The input loop control that I changed yesterday to:
	while (mbslength >= 0) {
  There are circumstances where this causes an extra \000 to
  be added at the end of some tests.  This error was showing
  in my own tests here, but I did not notice it yesterday.
  (I really need to add my tests to the test suite, catching
  every error by eye is hard.)  To fix, I've now changed the
  code to increment mbslength only if mbslength == 1 to start
  with.  (Note that this check for "== 1" is why the arg to
  strvisx() in vis(1) must be 1, not mbilen.)

- The cast sequence when manually inserting bytes after a
  multibyte conversion error:
	*src = (wint_t)(u_char)*mbsrc;
  is wrong.  This is causing problems in the case when an
  8859-1 input string is processed in the UTF-8 locale.
  It needs to be:
	*src = (wint_t)*mbsrc;
  Without the (u_char) all the locale mismatch combinations
  then work.

- The code:
	if (mblength < len)
		len = mblength;
  needs to be there.  It resets len for the single character
  input case after we've actually processed two input
  characters (c and nextc) because we incremented mbslength
  at the start of the loop.  Without this code, single
  character conversions end up with a \000 or other byte
  appended.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Feb 14 13:57:53 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

off by one.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 13 22:19:18 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.50: +3 -6 lines
Diff to previous 1.50 (colored)

remove patch botches.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Feb 13 22:15:43 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.49: +20 -24 lines
Diff to previous 1.49 (colored)

Fix from J.R. Oldroyd for wide chars > 2

Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 13 15:22:09 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.48: +6 -4 lines
Diff to previous 1.48 (colored)

Handle invalid character sequences.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 13 12:15:09 2013 UTC (14 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Match prototype with reality to fix tool build on platforms where
wint_t != int.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Feb 13 04:58:17 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.46: +10 -2 lines
Diff to previous 1.46 (colored)

explain we we want wide character support here.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Feb 13 04:49:59 2013 UTC (14 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.45: +250 -319 lines
Diff to previous 1.45 (colored)

Wide char support from J.R. Oldroyd

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:22 2013 UTC (15 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44: +9 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 14 21:38:18 2012 UTC (16 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.44: +9 -3 lines
Diff to previous 1.44 (colored)

Add VIS_GLOB (Brooks Davies)

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 12 19:52:48 2011 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.43: +157 -43 lines
Diff to previous 1.43 (colored)

Fix various vis/unvis issues:
- no need for all the weak symbols
- define a new _VIS_END flag for UNVIS_END so that there are no collisions
  between and vis and unvis flags.
- add bound versions of the vis and unvis functions that take the length of
  the destination buffer. Unlike the OpenBSD ones they return -1 or NULL if
  the buffer is not large enough, instead of silently truncating.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 12 05:23:41 2011 UTC (3 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

avoid c99

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 12 03:24:08 2011 UTC (3 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.41: +50 -14 lines
Diff to previous 1.41 (colored)

Prepare for strnvis functionality by providing a length to the encoding
functions.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 23 10:08:47 2009 UTC (4 years, 5 months ago) by plunky
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.40: +12 -5 lines
Diff to previous 1.40 (colored)

fix VIS_HTTPSTYLE to not convert "safe" ($-_.+) and "extra" (!*'(),)
characters as mentioned in rfc1738 and rfc1808 and, I think intended
all along in this code but the logic was inverted.

Don't use strchr as it also matches the NUL character which we want
to escape, just compare against the chars directly as done in the
FreeBSD code.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:23 2009 UTC (4 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38: +57 -31 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.40 / (download) - annotate - [select for diffs], Wed Feb 11 13:52:28 2009 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

fix typo * -> & from enami.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 10 23:06:31 2009 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.38: +57 -31 lines
Diff to previous 1.38 (colored)

Add RFC 2045 MIME Quoted-Printable support.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:21 2008 UTC (5 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.36: +100 -94 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Thu Sep 4 09:41:45 2008 UTC (5 years, 7 months ago) by lukem
Branch: christos-time_t
Changes since 1.38.6.1: +390 -0 lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

In strsvisx(), don't attempt to read the "next" character past the end
of the provided length.

Revision 1.38.6.1, Thu Sep 4 09:41:44 2008 UTC (5 years, 7 months ago) by lukem
Branch: christos-time_t
Changes since 1.38: +0 -390 lines
FILE REMOVED

file vis.c was added on branch christos-time_t on 2008-09-04 09:41:45 +0000

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 4 09:41:44 2008 UTC (5 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: jym-xensuspend, christos-time_t
Changes since 1.37: +6 -4 lines
Diff to previous 1.37 (colored)

In strsvisx(), don't attempt to read the "next" character past the end
of the provided length.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 25 22:29:23 2008 UTC (5 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.36: +98 -94 lines
Diff to previous 1.36 (colored)

Change the gross #defines HVIS and SVIS into local functions.

Revision 1.35.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:16 2008 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.35: +2 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 29 06:53:01 2008 UTC (5 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.35: +2 -5 lines
Diff to previous 1.35 (colored)

Convert to new 2 clause license

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 28 20:42:12 2006 UTC (7 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

Remove ad clause. Approved by board@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 18 08:32:46 2005 UTC (8 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.33: +4 -3 lines
Diff to previous 1.33 (colored)

Make the MAKEEXTRALIST macro safe to be called with string literals as
third argument - the old version relies on the compiler to use the same
address for identical strings.

Spotted by segv at netctl dot net in libnbcompat context, details
in PR pkg/32097.

Revision 1.33 / (download) - annotate - [select for diffs], Sat May 28 13:11:14 2005 UTC (8 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.32: +15 -37 lines
Diff to previous 1.32 (colored)

convert to ANSI prototypes.  some KNF

Revision 1.32 / (download) - annotate - [select for diffs], Sat May 28 13:06:14 2005 UTC (8 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

missed a free(3) in previous

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 28 12:57:48 2005 UTC (8 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.30: +47 -12 lines
Diff to previous 1.30 (colored)

Use malloc(3) instead of the non-standard alloca(3) in MAKEEXTRALIST(),
check the return value of malloc(3) and return "" (or equiv) upon failure,
and free the result of the malloc(3).

Revision 1.30 / (download) - annotate - [select for diffs], Fri May 20 01:22:48 2005 UTC (8 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.29: +19 -18 lines
Diff to previous 1.29 (colored)

Use a more standard TNF license (than one that has clause 3 for UCB
& refers to "THE REGENTS").
Confirmed with Lex, who added it.

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 16 13:13:12 2005 UTC (8 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.28: +3 -7 lines
Diff to previous 1.28 (colored)

Remove clause 3 from the UCB license.

XXX: the separate TNF copyright block should be converted to a standard TNF one

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 17 17:27:11 2005 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.27: +6 -5 lines
Diff to previous 1.27 (colored)

PR/21165: Christian Biere: ctype function misuse

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 26 23:01:15 2004 UTC (10 years, 1 month ago) by enami
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.26: +17 -17 lines
Diff to previous 1.26 (colored)

Fix indent and other whitespace usage.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Aug 7 16:43:00 2003 UTC (10 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.25: +34 -3 lines
Diff to previous 1.25 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 16 22:34:34 2003 UTC (10 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.24: +34 -28 lines
Diff to previous 1.24 (colored)

If VIS_CSTYLE is specified, use \ to escape any printable characters
(especially \ itself, and anything else in 'extra').
Fix strvis() and strvisx() to pass 0..255 to isgraph() etc.

Revision 1.19.6.7 / (download) - annotate - [select for diffs], Thu Aug 1 03:28:12 2002 UTC (11 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.19.6.6: +5 -4 lines
Diff to previous 1.19.6.6 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Catch up to -current.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 3 17:18:09 2002 UTC (11 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.23: +5 -4 lines
Diff to previous 1.23 (colored)

adapt for vis()/svis() check separation

Revision 1.19.6.6 / (download) - annotate - [select for diffs], Fri Jun 21 18:18:12 2002 UTC (11 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.5: +2 -6 lines
Diff to previous 1.19.6.5 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 26 14:03:20 2002 UTC (11 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

__STDC__ is always defined on NetBSD.

Revision 1.19.6.5 / (download) - annotate - [select for diffs], Thu Apr 25 04:01:42 2002 UTC (12 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.4: +70 -24 lines
Diff to previous 1.19.6.4 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Mar 23 17:38:27 2002 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.21: +70 -24 lines
Diff to previous 1.21 (colored)

- Add VIS_HTTPSTYLE from FreeBSD.
- svis, strsvis, strsvisx were not reversible, because they did not encode
  \\ unless it was passed in the extras array.
- Fix documentation to match the proper signature of the functions.

Revision 1.19.6.4 / (download) - annotate - [select for diffs], Fri Mar 22 21:36:12 2002 UTC (12 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.3: +38 -1 lines
Diff to previous 1.19.6.3 (colored) to branchpoint 1.19 (colored)

Correct merge botch.

Revision 1.19.6.3 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:14 2002 UTC (12 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.2: +0 -37 lines
Diff to previous 1.19.6.2 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Fri Mar 8 21:35:21 2002 UTC (12 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.1: +4 -8 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 31 22:43:39 2002 UTC (12 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.20: +4 -8 lines
Diff to previous 1.20 (colored)

Roll in fixes to permit cross-compiling from non-NetBSD hosts.  This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Mon Jan 28 20:50:38 2002 UTC (12 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19: +13 -7 lines
Diff to previous 1.19 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 21 21:33:42 2002 UTC (12 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.19: +13 -7 lines
Diff to previous 1.19 (colored)

Add hooks for reachover builds from src/tools/compat.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 22 22:42:45 2000 UTC (14 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: nathanw_sa
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Delint.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 22 22:19:13 2000 UTC (14 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +8 -8 lines
Diff to previous 1.17 (colored)

Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:40 1999 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.13: +195 -111 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Pull up to last week's -current.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 7 18:20:28 1999 UTC (14 years, 4 months ago) by wennmach
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.16: +9 -17 lines
Diff to previous 1.16 (colored)

In SVIS, encode all characters on the extra list either in C-style
fashion (if possible) or as octal representation (else).

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 28 22:51:37 1999 UTC (14 years, 4 months ago) by wennmach
Branch: MAIN
Changes since 1.15: +172 -169 lines
Diff to previous 1.15 (colored)

Suggested by christos:
o unexpand spaces to tabs
o don't initialize non-static array extra[]; \0 terminate extra[]
  using an explicit assignment instead

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 25 16:50:06 1999 UTC (14 years, 5 months ago) by wennmach
Branch: MAIN
Changes since 1.14: +233 -144 lines
Diff to previous 1.14 (colored)

Added new functions

     char *
     svis(char *dst, int c, int flag, int nextc, const char *extra);

     int
     strsvis(char *dst, const char *src, int flag, const char *extra);

     int
     strsvisx(char *dst, const char *src, size_t len, int flag,
             const char *extra);

These functions correspond to vis(), strvis(), and strvisx() but have an
additional argument extra, pointing to a NUL terminated list of characters.
These characters will be copied encoded or backslash-escaped into dst. These
functions are useful e. g.  to remove the special meaning of certain
characters to shells.

To implement the new functions, vis underwent a major rewrite. Most functions
now use a central macro, SVIS. Performance increase ~ factor 2.

Reviewed by Christos.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sat Nov 20 17:35:33 1999 UTC (14 years, 5 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Pull up revision 1.14 (requested by wennmach):
  Add some casts to u_char to get vis working again for characters
  > 0177 in VIS_OCTAL mode. Also, change the mask for the most
  significant tribble to 03.  Fixes PR#8802.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 17 15:52:13 1999 UTC (14 years, 5 months ago) by wennmach
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Add some casts to u_char to get vis working again for characters > 0177
in VIS_OCTAL mode. Also, change the mask for the most significant tribble
to 03.

Reviewed by christos.

Fixes PR 8802.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 20 04:39:07 1999 UTC (14 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.12: +2 -14 lines
Diff to previous 1.12 (colored)

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:07 1999 UTC (14 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.11: +27 -3 lines
Diff to previous 1.11 (colored)

* use _DIAGASSERT() to check pointer arguments against NULL and file
  descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 13 15:49:29 1998 UTC (15 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

delint

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 13 12:31:53 1998 UTC (15 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

delint

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 3 18:23:58 1998 UTC (16 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored)

remove obsolete register declarations

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 21 14:07:47 1997 UTC (16 years, 9 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.7: +9 -2 lines
Diff to previous 1.7 (colored)

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 13 19:43:00 1997 UTC (16 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

Fix RCSID's
Fix gcc warnings.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Thu Sep 19 20:04:27 1996 UTC (17 years, 7 months ago) by jtc
Branch: ivory_soap2
Changes since 1.6: +9 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

snapshot namespace cleanup: gen

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 25 15:40:09 1995 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: ivory_soap2
Changes since 1.5: +9 -4 lines
Diff to previous 1.5 (colored)

merge with Lite, keep local changes.  clean up id usage

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Feb 25 09:13:22 1995 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +17 -18 lines
Diff to previous 1.1.1.1 (colored)

from lite, with minor name rearrangement to fit.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 26 00:45:26 1993 UTC (20 years, 8 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0, ivory_soap
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Declare rcsid strings so they are stored in text segment.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 3 22:48:35 1993 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +8 -6 lines
Diff to previous 1.3 (colored)

I'm really mad now.  Not only did this `new' version have exactly the same
bugs as the `old' one, but it was almost identical!

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 30 07:57:54 1993 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +8 -14 lines
Diff to previous 1.2 (colored)

Latest versions from uunet.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 15 17:54:43 1993 UTC (20 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +14 -10 lines
Diff to previous 1.1 (colored)

(1) compare against UCHAR_MAX, don't use isascii().
(2) strvis() didn't work on 0-length input strings
(3) strvisx() didn't work at all

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (21 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (21 years, 1 month ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>