Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   christos
Date:           Sat Mar 12 19:52:48 UTC 2011

Modified Files:
        src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
            md.sparc64 shl.mi
        src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
            md.sparc64 mi shl.mi
        src/include: vis.h
        src/lib/libc: shlib_version
        src/lib/libc/compat/gen: Makefile.inc compat_unvis.c
        src/lib/libc/compat/include: vis.h
        src/lib/libc/gen: Makefile.inc unvis.3 unvis.c vis.3 vis.c
        src/lib/libc/include: namespace.h
        src/tests/lib/libc/gen: t_vis.c
Added Files:
        src/lib/libc/compat/gen: compat___unvis13.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.41 -r1.42 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.116 -r1.117 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.109 -r1.110 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.577 -r1.578 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.24 -r1.25 src/distrib/sets/lists/comp/ad.mips64eb \
    src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.102 -r1.103 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.88 -r1.89 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1597 -r1.1598 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.162 -r1.163 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.18 -r1.19 src/include/vis.h
cvs rdiff -u -r1.221 -r1.222 src/lib/libc/shlib_version
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/compat/gen/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/compat/gen/compat___unvis13.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/compat/gen/compat_unvis.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/compat/include/vis.h
cvs rdiff -u -r1.173 -r1.174 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/unvis.3
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/gen/unvis.c
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/vis.3
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/gen/vis.c
cvs rdiff -u -r1.146 -r1.147 src/lib/libc/include/namespace.h
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/t_vis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index