diffstat-1.68/ 0000755 0000000 0000000 00000000000 15002525514 011751 5 ustar root root diffstat-1.68/configure.in 0000644 0000000 0000000 00000005210 14714370446 014273 0 ustar root root dnl Process this file with 'autoconf' to produce a 'configure' script
dnl $Id: configure.in,v 1.35 2024/11/11 11:57:26 tom Exp $
dnl ---------------------------------------------------------------------------
dnl Copyright 1994-2023,2024 Thomas E. Dickey
dnl
dnl Permission is hereby granted, free of charge, to any person obtaining a
dnl copy of this software and associated documentation files (the "Software"),
dnl to deal in the Software without restriction, including without limitation
dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
dnl and/or sell copies of the Software, and to permit persons to whom the
dnl Software is furnished to do so, subject to the following conditions:
dnl
dnl The above copyright notice and this permission notice shall be included in
dnl all copies or substantial portions of the Software.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
dnl IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
dnl FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
dnl THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
dnl LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
dnl FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
dnl DEALINGS IN THE SOFTWARE.
dnl
dnl Except as contained in this notice, the name(s) of the above copyright
dnl holders shall not be used in advertising or otherwise to promote the sale,
dnl use or other dealings in this Software without prior written
dnl authorization.
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20190901)
AC_REVISION($Revision: 1.35 $)
AC_INIT(diffstat.c)
AC_CONFIG_HEADER(config.h:config_h.in)
CF_CHECK_CACHE
CF_PROG_CC
AC_PROG_INSTALL
CF_PROG_LINT
CF_MAKE_TAGS
CF_DISABLE_ECHO
CF_WITH_INSTALL_PREFIX
with_full_paths=no
CF_PATH_PROG(BZCAT, bzcat)
CF_PATH_PROG(BZIP2, bzip2)
CF_PATH_PROG(COMPRESS, compress, gzip)
CF_PATH_PROG(GZIP, gzip)
CF_PATH_PROG(LZCAT, lzcat, xz)
CF_PATH_PROG(PCAT, pcat)
CF_PATH_PROG(UNCOMPRESS, uncompress.real, uncompress)
CF_PATH_PROG(XZ, xz, lzcat)
CF_PATH_PROG(ZCAT, zcat)
CF_PATH_PROG(ZSTD, zstd)
CF_XOPEN_SOURCE
CF_WITH_WARNINGS
AC_CONST
AC_CHECK_DECL(exit)
AC_HAVE_HEADERS(ioctl.h search.h sys/ioctl.h)
AC_TYPE_SIZE_T
CF_LOCALE
AC_CHECK_FUNCS(\
mkdtemp \
opendir \
strdup \
tsearch \
)
CF_FUNC_LSTAT
CF_FUNC_GETOPT(getopt,\$(srcdir)/porting)
CF_FUNC_POPEN(popen,\$(srcdir)/porting)
CF_FUNC_MBSTOWCWIDTH
CF_STDIO_UNLOCKED(getc_unlocked)
CF_TERMIOS
CF_WITH_MAN2HTML
CF_DISABLE_LEAKS
### output makefile and config.h
AC_OUTPUT(makefile,,,cat)
CF_MAKE_DOCS(diffstat,1)
diffstat-1.68/config.guess 0000755 0000000 0000000 00000143067 14651355010 014305 0 ustar root root #! /bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-2024 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2024-07-27'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see .
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").
#
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
#
# You can get the latest version of this script from:
# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
#
# Please send patches to .
# The "shellcheck disable" line above the timestamp inhibits complaints
# about features and limitations of the classic Bourne shell that were
# superseded or lifted in POSIX. However, this script identifies a wide
# variety of pre-POSIX systems that do not have POSIX shells at all, and
# even some reasonably current systems (Solaris 10 as case-in-point) still
# have a pre-POSIX /bin/sh.
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
Usage: $0 [OPTION]
Output the configuration name of the system '$me' is run on.
Options:
-h, --help print this help, then exit
-t, --time-stamp print date of last modification, then exit
-v, --version print version number, then exit
Report bugs and patches to ."
version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright 1992-2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help="
Try '$me --help' for more information."
# Parse command line
while test $# -gt 0 ; do
case $1 in
--time-stamp | --time* | -t )
echo "$timestamp" ; exit ;;
--version | -v )
echo "$version" ; exit ;;
--help | --h* | -h )
echo "$usage"; exit ;;
-- ) # Stop option processing
shift; break ;;
- ) # Use stdin as input.
break ;;
-* )
echo "$me: invalid option $1$help" >&2
exit 1 ;;
* )
break ;;
esac
done
if test $# != 0; then
echo "$me: too many arguments$help" >&2
exit 1
fi
# Just in case it came from the environment.
GUESS=
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
# compiler to aid in system detection is discouraged as it requires
# temporary files to be created and, as you can see below, it is a
# headache to deal with in a portable fashion.
# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
# use 'HOST_CC' if defined, but it is deprecated.
# Portable tmp directory creation inspired by the Autoconf team.
tmp=
# shellcheck disable=SC2172
trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
set_cc_for_build() {
# prevent multiple calls if $tmp is already set
test "$tmp" && return 0
: "${TMPDIR=/tmp}"
# shellcheck disable=SC2039,SC3028
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
dummy=$tmp/dummy
case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
,,) echo "int x;" > "$dummy.c"
for driver in cc gcc c17 c99 c89 ; do
if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
CC_FOR_BUILD=$driver
break
fi
done
if test x"$CC_FOR_BUILD" = x ; then
CC_FOR_BUILD=no_compiler_found
fi
;;
,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac
}
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 1994-08-24)
if test -f /.attbin/uname ; then
PATH=$PATH:/.attbin ; export PATH
fi
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
case $UNAME_SYSTEM in
Linux|GNU|GNU/*)
LIBC=unknown
set_cc_for_build
cat <<-EOF > "$dummy.c"
#if defined(__ANDROID__)
LIBC=android
#else
#include
#if defined(__UCLIBC__)
LIBC=uclibc
#elif defined(__dietlibc__)
LIBC=dietlibc
#elif defined(__GLIBC__)
LIBC=gnu
#elif defined(__LLVM_LIBC__)
LIBC=llvm
#else
#include
/* First heuristic to detect musl libc. */
#ifdef __DEFINED_va_list
LIBC=musl
#endif
#endif
#endif
EOF
cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
eval "$cc_set_libc"
# Second heuristic to detect musl libc.
if [ "$LIBC" = unknown ] &&
command -v ldd >/dev/null &&
ldd --version 2>&1 | grep -q ^musl; then
LIBC=musl
fi
# If the system lacks a compiler, then just pick glibc.
# We could probably try harder.
if [ "$LIBC" = unknown ]; then
LIBC=gnu
fi
;;
esac
# Note: order is significant - the case branches are not exclusive.
case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
*:NetBSD:*:*)
# NetBSD (nbsd) targets should (where applicable) match one or
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
# switched to ELF, *-*-netbsd* would select the old
# object file format. This provides both forward
# compatibility and a consistent mechanism for selecting the
# object file format.
#
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
/usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
echo unknown)`
case $UNAME_MACHINE_ARCH in
aarch64eb) machine=aarch64_be-unknown ;;
armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
earmv*)
arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
machine=${arch}${endian}-unknown
;;
*) machine=$UNAME_MACHINE_ARCH-unknown ;;
esac
# The Operating System including object format, if it has switched
# to ELF recently (or will in the future) and ABI.
case $UNAME_MACHINE_ARCH in
earm*)
os=netbsdelf
;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
os=netbsd
else
os=netbsdelf
fi
;;
*)
os=netbsd
;;
esac
# Determine ABI tags.
case $UNAME_MACHINE_ARCH in
earm*)
expr='s/^earmv[0-9]/-eabi/;s/eb$//'
abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
;;
esac
# The OS release
# Debian GNU/NetBSD machines have a different userland, and
# thus, need a distinct triplet. However, they do not need
# kernel version information, so it can be replaced with a
# suitable tag, in the style of linux-gnu.
case $UNAME_VERSION in
Debian*)
release='-gnu'
;;
*)
release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
GUESS=$machine-${os}${release}${abi-}
;;
*:Bitrig:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
;;
*:OpenBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE
;;
*:SecBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE
;;
*:LibertyBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
;;
*:MidnightBSD:*:*)
GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
;;
*:ekkoBSD:*:*)
GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
;;
*:SolidBSD:*:*)
GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
;;
*:OS108:*:*)
GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
;;
macppc:MirBSD:*:*)
GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
;;
*:MirBSD:*:*)
GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE
;;
*:Sortix:*:*)
GUESS=$UNAME_MACHINE-unknown-sortix
;;
*:Twizzler:*:*)
GUESS=$UNAME_MACHINE-unknown-twizzler
;;
*:Redox:*:*)
GUESS=$UNAME_MACHINE-unknown-redox
;;
mips:OSF1:*.*)
GUESS=mips-dec-osf1
;;
alpha:OSF1:*:*)
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
trap '' 0
case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
# types through head -n 1, so we only detect the type of CPU 0.
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
case $ALPHA_CPU_TYPE in
"EV4 (21064)")
UNAME_MACHINE=alpha ;;
"EV4.5 (21064)")
UNAME_MACHINE=alpha ;;
"LCA4 (21066/21068)")
UNAME_MACHINE=alpha ;;
"EV5 (21164)")
UNAME_MACHINE=alphaev5 ;;
"EV5.6 (21164A)")
UNAME_MACHINE=alphaev56 ;;
"EV5.6 (21164PC)")
UNAME_MACHINE=alphapca56 ;;
"EV5.7 (21164PC)")
UNAME_MACHINE=alphapca57 ;;
"EV6 (21264)")
UNAME_MACHINE=alphaev6 ;;
"EV6.7 (21264A)")
UNAME_MACHINE=alphaev67 ;;
"EV6.8CB (21264C)")
UNAME_MACHINE=alphaev68 ;;
"EV6.8AL (21264B)")
UNAME_MACHINE=alphaev68 ;;
"EV6.8CX (21264D)")
UNAME_MACHINE=alphaev68 ;;
"EV6.9A (21264/EV69A)")
UNAME_MACHINE=alphaev69 ;;
"EV7 (21364)")
UNAME_MACHINE=alphaev7 ;;
"EV7.9 (21364A)")
UNAME_MACHINE=alphaev79 ;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
;;
Amiga*:UNIX_System_V:4.0:*)
GUESS=m68k-unknown-sysv4
;;
*:[Aa]miga[Oo][Ss]:*:*)
GUESS=$UNAME_MACHINE-unknown-amigaos
;;
*:[Mm]orph[Oo][Ss]:*:*)
GUESS=$UNAME_MACHINE-unknown-morphos
;;
*:OS/390:*:*)
GUESS=i370-ibm-openedition
;;
*:z/VM:*:*)
GUESS=s390-ibm-zvmoe
;;
*:OS400:*:*)
GUESS=powerpc-ibm-os400
;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
GUESS=arm-acorn-riscix$UNAME_RELEASE
;;
arm*:riscos:*:*|arm*:RISCOS:*:*)
GUESS=arm-unknown-riscos
;;
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
GUESS=hppa1.1-hitachi-hiuxmpp
;;
Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
case `(/bin/universe) 2>/dev/null` in
att) GUESS=pyramid-pyramid-sysv3 ;;
*) GUESS=pyramid-pyramid-bsd ;;
esac
;;
NILE*:*:*:dcosx)
GUESS=pyramid-pyramid-svr4
;;
DRS?6000:unix:4.0:6*)
GUESS=sparc-icl-nx6
;;
DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
case `/usr/bin/uname -p` in
sparc) GUESS=sparc-icl-nx7 ;;
esac
;;
s390x:SunOS:*:*)
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
;;
sun4H:SunOS:5.*:*)
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=sparc-hal-solaris2$SUN_REL
;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=sparc-sun-solaris2$SUN_REL
;;
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
GUESS=i386-pc-auroraux$UNAME_RELEASE
;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
set_cc_for_build
SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
if test "$CC_FOR_BUILD" != no_compiler_found; then
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
SUN_ARCH=x86_64
fi
fi
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=sparc-sun-solaris3$SUN_REL
;;
sun4*:SunOS:*:*)
case `/usr/bin/arch -k` in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
esac
# Japanese Language versions have a version number like '4.1.3-JL'.
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
GUESS=sparc-sun-sunos$SUN_REL
;;
sun3*:SunOS:*:*)
GUESS=m68k-sun-sunos$UNAME_RELEASE
;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
case `/bin/arch` in
sun3)
GUESS=m68k-sun-sunos$UNAME_RELEASE
;;
sun4)
GUESS=sparc-sun-sunos$UNAME_RELEASE
;;
esac
;;
aushp:SunOS:*:*)
GUESS=sparc-auspex-sunos$UNAME_RELEASE
;;
# The situation for MiNT is a little confusing. The machine name
# can be virtually everything (everything which is not
# "atarist" or "atariste" at least should have a processor
# > m68000). The system name ranges from "MiNT" over "FreeMiNT"
# to the lowercase version "mint" (or "freemint"). Finally
# the system name "TOS" denotes a system which is actually not
# MiNT. But MiNT is downward compatible to TOS, so this should
# be no problem.
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
GUESS=m68k-atari-mint$UNAME_RELEASE
;;
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
GUESS=m68k-atari-mint$UNAME_RELEASE
;;
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
GUESS=m68k-atari-mint$UNAME_RELEASE
;;
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
GUESS=m68k-milan-mint$UNAME_RELEASE
;;
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
GUESS=m68k-hades-mint$UNAME_RELEASE
;;
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
GUESS=m68k-unknown-mint$UNAME_RELEASE
;;
m68k:machten:*:*)
GUESS=m68k-apple-machten$UNAME_RELEASE
;;
powerpc:machten:*:*)
GUESS=powerpc-apple-machten$UNAME_RELEASE
;;
RISC*:Mach:*:*)
GUESS=mips-dec-mach_bsd4.3
;;
RISC*:ULTRIX:*:*)
GUESS=mips-dec-ultrix$UNAME_RELEASE
;;
VAX*:ULTRIX*:*:*)
GUESS=vax-dec-ultrix$UNAME_RELEASE
;;
2020:CLIX:*:* | 2430:CLIX:*:*)
GUESS=clipper-intergraph-clix$UNAME_RELEASE
;;
mips:*:*:UMIPS | mips:*:*:RISCos)
set_cc_for_build
sed 's/^ //' << EOF > "$dummy.c"
#ifdef __cplusplus
#include /* for printf() prototype */
int main (int argc, char *argv[]) {
#else
int main (argc, argv) int argc; char *argv[]; {
#endif
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
#endif
#endif
exit (-1);
}
EOF
$CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
{ echo "$SYSTEM_NAME"; exit; }
GUESS=mips-mips-riscos$UNAME_RELEASE
;;
Motorola:PowerMAX_OS:*:*)
GUESS=powerpc-motorola-powermax
;;
Motorola:*:4.3:PL8-*)
GUESS=powerpc-harris-powermax
;;
Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
GUESS=powerpc-harris-powermax
;;
Night_Hawk:Power_UNIX:*:*)
GUESS=powerpc-harris-powerunix
;;
m88k:CX/UX:7*:*)
GUESS=m88k-harris-cxux7
;;
m88k:*:4*:R4*)
GUESS=m88k-motorola-sysv4
;;
m88k:*:3*:R3*)
GUESS=m88k-motorola-sysv3
;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
then
if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
test "$TARGET_BINARY_INTERFACE"x = x
then
GUESS=m88k-dg-dgux$UNAME_RELEASE
else
GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
fi
else
GUESS=i586-dg-dgux$UNAME_RELEASE
fi
;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
GUESS=m88k-dolphin-sysv3
;;
M88*:*:R3*:*)
# Delta 88k system running SVR3
GUESS=m88k-motorola-sysv3
;;
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
GUESS=m88k-tektronix-sysv3
;;
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
GUESS=m68k-tektronix-bsd
;;
*:IRIX*:*:*)
IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
GUESS=mips-sgi-irix$IRIX_REL
;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id
;; # Note that: echo "'`uname -s`'" gives 'AIX '
i*86:AIX:*:*)
GUESS=i386-ibm-aix
;;
ia64:AIX:*:*)
if test -x /usr/bin/oslevel ; then
IBM_REV=`/usr/bin/oslevel`
else
IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
fi
GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
set_cc_for_build
sed 's/^ //' << EOF > "$dummy.c"
#include
int
main ()
{
if (!__power_pc())
exit(1);
puts("powerpc-ibm-aix3.2.5");
exit(0);
}
EOF
if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
then
GUESS=$SYSTEM_NAME
else
GUESS=rs6000-ibm-aix3.2.5
fi
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
GUESS=rs6000-ibm-aix3.2.4
else
GUESS=rs6000-ibm-aix3.2
fi
;;
*:AIX:*:[4567])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000
else
IBM_ARCH=powerpc
fi
if test -x /usr/bin/lslpp ; then
IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \
awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
else
IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
fi
GUESS=$IBM_ARCH-ibm-aix$IBM_REV
;;
*:AIX:*:*)
GUESS=rs6000-ibm-aix
;;
ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
GUESS=romp-ibm-bsd4.4
;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
GUESS=rs6000-bull-bosx
;;
DPX/2?00:B.O.S.:*:*)
GUESS=m68k-bull-sysv3
;;
9000/[34]??:4.3bsd:1.*:*)
GUESS=m68k-hp-bsd
;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
GUESS=m68k-hp-bsd4.4
;;
9000/[34678]??:HP-UX:*:*)
HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
case $UNAME_MACHINE in
9000/31?) HP_ARCH=m68000 ;;
9000/[34]??) HP_ARCH=m68k ;;
9000/[678][0-9][0-9])
if test -x /usr/bin/getconf; then
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
case $sc_cpu_version in
523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
case $sc_kernel_bits in
32) HP_ARCH=hppa2.0n ;;
64) HP_ARCH=hppa2.0w ;;
'') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
esac ;;
esac
fi
if test "$HP_ARCH" = ""; then
set_cc_for_build
sed 's/^ //' << EOF > "$dummy.c"
#define _HPUX_SOURCE
#include
#include
int
main ()
{
#if defined(_SC_KERNEL_BITS)
long bits = sysconf(_SC_KERNEL_BITS);
#endif
long cpu = sysconf (_SC_CPU_VERSION);
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
case CPU_PA_RISC2_0:
#if defined(_SC_KERNEL_BITS)
switch (bits)
{
case 64: puts ("hppa2.0w"); break;
case 32: puts ("hppa2.0n"); break;
default: puts ("hppa2.0"); break;
} break;
#else /* !defined(_SC_KERNEL_BITS) */
puts ("hppa2.0"); break;
#endif
default: puts ("hppa1.0"); break;
}
exit (0);
}
EOF
(CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
test -z "$HP_ARCH" && HP_ARCH=hppa
fi ;;
esac
if test "$HP_ARCH" = hppa2.0w
then
set_cc_for_build
# hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
# 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
# generating 64-bit code. GNU and HP use different nomenclature:
#
# $ CC_FOR_BUILD=cc ./config.guess
# => hppa2.0w-hp-hpux11.23
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
grep -q __LP64__
then
HP_ARCH=hppa2.0w
else
HP_ARCH=hppa64
fi
fi
GUESS=$HP_ARCH-hp-hpux$HPUX_REV
;;
ia64:HP-UX:*:*)
HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
GUESS=ia64-hp-hpux$HPUX_REV
;;
3050*:HI-UX:*:*)
set_cc_for_build
sed 's/^ //' << EOF > "$dummy.c"
#include
int
main ()
{
long cpu = sysconf (_SC_CPU_VERSION);
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
results, however. */
if (CPU_IS_PA_RISC (cpu))
{
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
default: puts ("hppa-hitachi-hiuxwe2"); break;
}
}
else if (CPU_IS_HP_MC68K (cpu))
puts ("m68k-hitachi-hiuxwe2");
else puts ("unknown-hitachi-hiuxwe2");
exit (0);
}
EOF
$CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
{ echo "$SYSTEM_NAME"; exit; }
GUESS=unknown-hitachi-hiuxwe2
;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
GUESS=hppa1.1-hp-bsd
;;
9000/8??:4.3bsd:*:*)
GUESS=hppa1.0-hp-bsd
;;
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
GUESS=hppa1.0-hp-mpeix
;;
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
GUESS=hppa1.1-hp-osf
;;
hp8??:OSF1:*:*)
GUESS=hppa1.0-hp-osf
;;
i*86:OSF1:*:*)
if test -x /usr/sbin/sysversion ; then
GUESS=$UNAME_MACHINE-unknown-osf1mk
else
GUESS=$UNAME_MACHINE-unknown-osf1
fi
;;
parisc*:Lites*:*:*)
GUESS=hppa1.1-hp-lites
;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
GUESS=c1-convex-bsd
;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
GUESS=c34-convex-bsd
;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
GUESS=c38-convex-bsd
;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
GUESS=c4-convex-bsd
;;
CRAY*Y-MP:*:*:*)
CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
GUESS=ymp-cray-unicos$CRAY_REL
;;
CRAY*[A-Z]90:*:*:*)
echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
-e 's/\.[^.]*$/.X/'
exit ;;
CRAY*TS:*:*:*)
CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
GUESS=t90-cray-unicos$CRAY_REL
;;
CRAY*T3E:*:*:*)
CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
GUESS=alphaev5-cray-unicosmk$CRAY_REL
;;
CRAY*SV1:*:*:*)
CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
GUESS=sv1-cray-unicos$CRAY_REL
;;
*:UNICOS/mp:*:*)
CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
GUESS=craynv-cray-unicosmp$CRAY_REL
;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
;;
sparc*:BSD/OS:*:*)
GUESS=sparc-unknown-bsdi$UNAME_RELEASE
;;
*:BSD/OS:*:*)
GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE
;;
arm:FreeBSD:*:*)
UNAME_PROCESSOR=`uname -p`
set_cc_for_build
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi
else
FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf
fi
;;
*:FreeBSD:*:*)
UNAME_PROCESSOR=`uname -p`
case $UNAME_PROCESSOR in
amd64)
UNAME_PROCESSOR=x86_64 ;;
i386)
UNAME_PROCESSOR=i586 ;;
esac
FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
;;
i*:CYGWIN*:*)
GUESS=$UNAME_MACHINE-pc-cygwin
;;
*:MINGW64*:*)
GUESS=$UNAME_MACHINE-pc-mingw64
;;
*:MINGW*:*)
GUESS=$UNAME_MACHINE-pc-mingw32
;;
*:MSYS*:*)
GUESS=$UNAME_MACHINE-pc-msys
;;
i*:PW*:*)
GUESS=$UNAME_MACHINE-pc-pw32
;;
*:SerenityOS:*:*)
GUESS=$UNAME_MACHINE-pc-serenity
;;
*:Interix*:*)
case $UNAME_MACHINE in
x86)
GUESS=i586-pc-interix$UNAME_RELEASE
;;
authenticamd | genuineintel | EM64T)
GUESS=x86_64-unknown-interix$UNAME_RELEASE
;;
IA64)
GUESS=ia64-unknown-interix$UNAME_RELEASE
;;
esac ;;
i*:UWIN*:*)
GUESS=$UNAME_MACHINE-pc-uwin
;;
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
GUESS=x86_64-pc-cygwin
;;
prep*:SunOS:5.*:*)
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
GUESS=powerpcle-unknown-solaris2$SUN_REL
;;
*:GNU:*:*)
# the GNU system
GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL
;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
;;
x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
;;
*:[Mm]anagarm:*:*)
GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
;;
*:Minix:*:*)
GUESS=$UNAME_MACHINE-unknown-minix
;;
aarch64:Linux:*:*)
set_cc_for_build
CPU=$UNAME_MACHINE
LIBCABI=$LIBC
if test "$CC_FOR_BUILD" != no_compiler_found; then
ABI=64
sed 's/^ //' << EOF > "$dummy.c"
#ifdef __ARM_EABI__
#ifdef __ARM_PCS_VFP
ABI=eabihf
#else
ABI=eabi
#endif
#endif
EOF
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
eval "$cc_set_abi"
case $ABI in
eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
esac
fi
GUESS=$CPU-unknown-linux-$LIBCABI
;;
aarch64_be:Linux:*:*)
UNAME_MACHINE=aarch64_be
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
EV5) UNAME_MACHINE=alphaev5 ;;
EV56) UNAME_MACHINE=alphaev56 ;;
PCA56) UNAME_MACHINE=alphapca56 ;;
PCA57) UNAME_MACHINE=alphapca56 ;;
EV6) UNAME_MACHINE=alphaev6 ;;
EV67) UNAME_MACHINE=alphaev67 ;;
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
arm*:Linux:*:*)
set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_EABI__
then
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
else
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
| grep -q __ARM_PCS_VFP
then
GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
else
GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
fi
fi
;;
avr32*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
cris:Linux:*:*)
GUESS=$UNAME_MACHINE-axis-linux-$LIBC
;;
crisv32:Linux:*:*)
GUESS=$UNAME_MACHINE-axis-linux-$LIBC
;;
e2k:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
frv:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
hexagon:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
i*86:Linux:*:*)
GUESS=$UNAME_MACHINE-pc-linux-$LIBC
;;
ia64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
k1om:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
kvx:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
kvx:cos:*:*)
GUESS=$UNAME_MACHINE-unknown-cos
;;
kvx:mbr:*:*)
GUESS=$UNAME_MACHINE-unknown-mbr
;;
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
m32r*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
m68*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
mips:Linux:*:* | mips64:Linux:*:*)
set_cc_for_build
IS_GLIBC=0
test x"${LIBC}" = xgnu && IS_GLIBC=1
sed 's/^ //' << EOF > "$dummy.c"
#undef CPU
#undef mips
#undef mipsel
#undef mips64
#undef mips64el
#if ${IS_GLIBC} && defined(_ABI64)
LIBCABI=gnuabi64
#else
#if ${IS_GLIBC} && defined(_ABIN32)
LIBCABI=gnuabin32
#else
LIBCABI=${LIBC}
#endif
#endif
#if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
CPU=mipsisa64r6
#else
#if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
CPU=mipsisa32r6
#else
#if defined(__mips64)
CPU=mips64
#else
CPU=mips
#endif
#endif
#endif
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
MIPS_ENDIAN=el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
MIPS_ENDIAN=
#else
MIPS_ENDIAN=
#endif
#endif
EOF
cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'`
eval "$cc_set_vars"
test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; }
;;
mips64el:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
openrisc*:Linux:*:*)
GUESS=or1k-unknown-linux-$LIBC
;;
or32:Linux:*:* | or1k*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
padre:Linux:*:*)
GUESS=sparc-unknown-linux-$LIBC
;;
parisc64:Linux:*:* | hppa64:Linux:*:*)
GUESS=hppa64-unknown-linux-$LIBC
;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
*) GUESS=hppa-unknown-linux-$LIBC ;;
esac
;;
ppc64:Linux:*:*)
GUESS=powerpc64-unknown-linux-$LIBC
;;
ppc:Linux:*:*)
GUESS=powerpc-unknown-linux-$LIBC
;;
ppc64le:Linux:*:*)
GUESS=powerpc64le-unknown-linux-$LIBC
;;
ppcle:Linux:*:*)
GUESS=powerpcle-unknown-linux-$LIBC
;;
riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
s390:Linux:*:* | s390x:Linux:*:*)
GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
;;
sh64*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
sh*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
sparc:Linux:*:* | sparc64:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
tile*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
vax:Linux:*:*)
GUESS=$UNAME_MACHINE-dec-linux-$LIBC
;;
x86_64:Linux:*:*)
set_cc_for_build
CPU=$UNAME_MACHINE
LIBCABI=$LIBC
if test "$CC_FOR_BUILD" != no_compiler_found; then
ABI=64
sed 's/^ //' << EOF > "$dummy.c"
#ifdef __i386__
ABI=x86
#else
#ifdef __ILP32__
ABI=x32
#endif
#endif
EOF
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
eval "$cc_set_abi"
case $ABI in
x86) CPU=i686 ;;
x32) LIBCABI=${LIBC}x32 ;;
esac
fi
GUESS=$CPU-pc-linux-$LIBCABI
;;
xtensa*:Linux:*:*)
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# earlier versions are messed up and put the nodename in both
# sysname and nodename.
GUESS=i386-sequent-sysv4
;;
i*86:UNIX_SV:4.2MP:2.*)
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
;;
i*86:OS/2:*:*)
# If we were able to find 'uname', then EMX Unix compatibility
# is probably installed.
GUESS=$UNAME_MACHINE-pc-os2-emx
;;
i*86:XTS-300:*:STOP)
GUESS=$UNAME_MACHINE-unknown-stop
;;
i*86:atheos:*:*)
GUESS=$UNAME_MACHINE-unknown-atheos
;;
i*86:syllable:*:*)
GUESS=$UNAME_MACHINE-pc-syllable
;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
GUESS=i386-unknown-lynxos$UNAME_RELEASE
;;
i*86:*DOS:*:*)
GUESS=$UNAME_MACHINE-pc-msdosdjgpp
;;
i*86:*:4.*:*)
UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
else
GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
fi
;;
i*86:*:5:[678]*)
# UnixWare 7.x, OpenUNIX and OpenServer 6.
case `/bin/uname -X | grep "^Machine"` in
*486*) UNAME_MACHINE=i486 ;;
*Pentium) UNAME_MACHINE=i586 ;;
*Pent*|*Celeron) UNAME_MACHINE=i686 ;;
esac
GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
;;
i*86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586
(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
&& UNAME_MACHINE=i686
(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
&& UNAME_MACHINE=i686
GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
else
GUESS=$UNAME_MACHINE-pc-sysv32
fi
;;
pc:*:*:*)
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
# prints for the "djgpp" host, or else GDB configure will decide that
# this is a cross-build.
GUESS=i586-pc-msdosdjgpp
;;
Intel:Mach:3*:*)
GUESS=i386-pc-mach3
;;
paragon:*:*:*)
GUESS=i860-intel-osf1
;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
else # Add other i860-SVR4 vendors below as they are discovered.
GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
fi
;;
mini*:CTIX:SYS*5:*)
# "miniframe"
GUESS=m68010-convergent-sysv
;;
mc68k:UNIX:SYSTEM5:3.51m)
GUESS=m68k-convergent-sysv
;;
M680?0:D-NIX:5.3:*)
GUESS=m68k-diab-dnix
;;
M68*:*:R3V[5678]*:*)
test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4; exit; } ;;
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
OS_REL='.3'
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
&& { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
GUESS=m68k-unknown-lynxos$UNAME_RELEASE
;;
mc68030:UNIX_System_V:4.*:*)
GUESS=m68k-atari-sysv4
;;
TSUNAMI:LynxOS:2.*:*)
GUESS=sparc-unknown-lynxos$UNAME_RELEASE
;;
rs6000:LynxOS:2.*:*)
GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
;;
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
;;
SM[BE]S:UNIX_SV:*:*)
GUESS=mips-dde-sysv$UNAME_RELEASE
;;
RM*:ReliantUNIX-*:*:*)
GUESS=mips-sni-sysv4
;;
RM*:SINIX-*:*:*)
GUESS=mips-sni-sysv4
;;
*:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
GUESS=$UNAME_MACHINE-sni-sysv4
else
GUESS=ns32k-sni-sysv
fi
;;
PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
# says
GUESS=i586-unisys-sysv4
;;
*:UNIX_System_V:4*:FTX*)
# From Gerald Hewes .
# How about differentiating between stratus architectures? -djm
GUESS=hppa1.1-stratus-sysv4
;;
*:*:*:FTX*)
# From seanf@swdc.stratus.com.
GUESS=i860-stratus-sysv4
;;
i*86:VOS:*:*)
# From Paul.Green@stratus.com.
GUESS=$UNAME_MACHINE-stratus-vos
;;
*:VOS:*:*)
# From Paul.Green@stratus.com.
GUESS=hppa1.1-stratus-vos
;;
mc68*:A/UX:*:*)
GUESS=m68k-apple-aux$UNAME_RELEASE
;;
news*:NEWS-OS:6*:*)
GUESS=mips-sony-newsos6
;;
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
if test -d /usr/nec; then
GUESS=mips-nec-sysv$UNAME_RELEASE
else
GUESS=mips-unknown-sysv$UNAME_RELEASE
fi
;;
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
GUESS=powerpc-be-beos
;;
BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
GUESS=powerpc-apple-beos
;;
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
GUESS=i586-pc-beos
;;
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
GUESS=i586-pc-haiku
;;
ppc:Haiku:*:*) # Haiku running on Apple PowerPC
GUESS=powerpc-apple-haiku
;;
*:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
GUESS=$UNAME_MACHINE-unknown-haiku
;;
SX-4:SUPER-UX:*:*)
GUESS=sx4-nec-superux$UNAME_RELEASE
;;
SX-5:SUPER-UX:*:*)
GUESS=sx5-nec-superux$UNAME_RELEASE
;;
SX-6:SUPER-UX:*:*)
GUESS=sx6-nec-superux$UNAME_RELEASE
;;
SX-7:SUPER-UX:*:*)
GUESS=sx7-nec-superux$UNAME_RELEASE
;;
SX-8:SUPER-UX:*:*)
GUESS=sx8-nec-superux$UNAME_RELEASE
;;
SX-8R:SUPER-UX:*:*)
GUESS=sx8r-nec-superux$UNAME_RELEASE
;;
SX-ACE:SUPER-UX:*:*)
GUESS=sxace-nec-superux$UNAME_RELEASE
;;
Power*:Rhapsody:*:*)
GUESS=powerpc-apple-rhapsody$UNAME_RELEASE
;;
*:Rhapsody:*:*)
GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE
;;
arm64:Darwin:*:*)
GUESS=aarch64-apple-darwin$UNAME_RELEASE
;;
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p`
case $UNAME_PROCESSOR in
unknown) UNAME_PROCESSOR=powerpc ;;
esac
if command -v xcode-select > /dev/null 2> /dev/null && \
! xcode-select --print-path > /dev/null 2> /dev/null ; then
# Avoid executing cc if there is no toolchain installed as
# cc will be a stub that puts up a graphical alert
# prompting the user to install developer tools.
CC_FOR_BUILD=no_compiler_found
else
set_cc_for_build
fi
if test "$CC_FOR_BUILD" != no_compiler_found; then
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
case $UNAME_PROCESSOR in
i386) UNAME_PROCESSOR=x86_64 ;;
powerpc) UNAME_PROCESSOR=powerpc64 ;;
esac
fi
# On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_PPC >/dev/null
then
UNAME_PROCESSOR=powerpc
fi
elif test "$UNAME_PROCESSOR" = i386 ; then
# uname -m returns i386 or x86_64
UNAME_PROCESSOR=$UNAME_MACHINE
fi
GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE
;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p`
if test "$UNAME_PROCESSOR" = x86; then
UNAME_PROCESSOR=i386
UNAME_MACHINE=pc
fi
GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE
;;
*:QNX:*:4*)
GUESS=i386-pc-qnx
;;
NEO-*:NONSTOP_KERNEL:*:*)
GUESS=neo-tandem-nsk$UNAME_RELEASE
;;
NSE-*:NONSTOP_KERNEL:*:*)
GUESS=nse-tandem-nsk$UNAME_RELEASE
;;
NSR-*:NONSTOP_KERNEL:*:*)
GUESS=nsr-tandem-nsk$UNAME_RELEASE
;;
NSV-*:NONSTOP_KERNEL:*:*)
GUESS=nsv-tandem-nsk$UNAME_RELEASE
;;
NSX-*:NONSTOP_KERNEL:*:*)
GUESS=nsx-tandem-nsk$UNAME_RELEASE
;;
*:NonStop-UX:*:*)
GUESS=mips-compaq-nonstopux
;;
BS2000:POSIX*:*:*)
GUESS=bs2000-siemens-sysv
;;
DS/*:UNIX_System_V:*:*)
GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE
;;
*:Plan9:*:*)
# "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# operating systems.
if test "${cputype-}" = 386; then
UNAME_MACHINE=i386
elif test "x${cputype-}" != x; then
UNAME_MACHINE=$cputype
fi
GUESS=$UNAME_MACHINE-unknown-plan9
;;
*:TOPS-10:*:*)
GUESS=pdp10-unknown-tops10
;;
*:TENEX:*:*)
GUESS=pdp10-unknown-tenex
;;
KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
GUESS=pdp10-dec-tops20
;;
XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
GUESS=pdp10-xkl-tops20
;;
*:TOPS-20:*:*)
GUESS=pdp10-unknown-tops20
;;
*:ITS:*:*)
GUESS=pdp10-unknown-its
;;
SEI:*:*:SEIUX)
GUESS=mips-sei-seiux$UNAME_RELEASE
;;
*:DragonFly:*:*)
DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL
;;
*:*VMS:*:*)
UNAME_MACHINE=`(uname -p) 2>/dev/null`
case $UNAME_MACHINE in
A*) GUESS=alpha-dec-vms ;;
I*) GUESS=ia64-dec-vms ;;
V*) GUESS=vax-dec-vms ;;
esac ;;
*:XENIX:*:SysV)
GUESS=i386-pc-xenix
;;
i*86:skyos:*:*)
SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`
GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL
;;
i*86:rdos:*:*)
GUESS=$UNAME_MACHINE-pc-rdos
;;
i*86:Fiwix:*:*)
GUESS=$UNAME_MACHINE-pc-fiwix
;;
*:AROS:*:*)
GUESS=$UNAME_MACHINE-unknown-aros
;;
x86_64:VMkernel:*:*)
GUESS=$UNAME_MACHINE-unknown-esx
;;
amd64:Isilon\ OneFS:*:*)
GUESS=x86_64-unknown-onefs
;;
*:Unleashed:*:*)
GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
;;
*:Ironclad:*:*)
GUESS=$UNAME_MACHINE-unknown-ironclad
;;
esac
# Do we have a guess based on uname results?
if test "x$GUESS" != x; then
echo "$GUESS"
exit
fi
# No uname command or uname output not recognized.
set_cc_for_build
cat > "$dummy.c" <
#include
#endif
#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
#if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
#include
#if defined(_SIZE_T_) || defined(SIGLOST)
#include
#endif
#endif
#endif
int
main ()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
#include
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
#else
""
#endif
); exit (0);
#endif
#endif
#if defined (NeXT)
#if !defined (__ARCHITECTURE__)
#define __ARCHITECTURE__ "m68k"
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
if (version < 4)
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
else
printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
exit (0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf ("ns32k-encore-sysv\n"); exit (0);
#else
#if defined (CMU)
printf ("ns32k-encore-mach\n"); exit (0);
#else
printf ("ns32k-encore-bsd\n"); exit (0);
#endif
#endif
#endif
#if defined (__386BSD__)
printf ("i386-pc-bsd\n"); exit (0);
#endif
#if defined (sequent)
#if defined (i386)
printf ("i386-sequent-dynix\n"); exit (0);
#endif
#if defined (ns32000)
printf ("ns32k-sequent-dynix\n"); exit (0);
#endif
#endif
#if defined (_SEQUENT_)
struct utsname un;
uname(&un);
if (strncmp(un.version, "V2", 2) == 0) {
printf ("i386-sequent-ptx2\n"); exit (0);
}
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
printf ("i386-sequent-ptx1\n"); exit (0);
}
printf ("i386-sequent-ptx\n"); exit (0);
#endif
#if defined (vax)
#if !defined (ultrix)
#include
#if defined (BSD)
#if BSD == 43
printf ("vax-dec-bsd4.3\n"); exit (0);
#else
#if BSD == 199006
printf ("vax-dec-bsd4.3reno\n"); exit (0);
#else
printf ("vax-dec-bsd\n"); exit (0);
#endif
#endif
#else
printf ("vax-dec-bsd\n"); exit (0);
#endif
#else
#if defined(_SIZE_T_) || defined(SIGLOST)
struct utsname un;
uname (&un);
printf ("vax-dec-ultrix%s\n", un.release); exit (0);
#else
printf ("vax-dec-ultrix\n"); exit (0);
#endif
#endif
#endif
#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
#if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
#if defined(_SIZE_T_) || defined(SIGLOST)
struct utsname *un;
uname (&un);
printf ("mips-dec-ultrix%s\n", un.release); exit (0);
#else
printf ("mips-dec-ultrix\n"); exit (0);
#endif
#endif
#endif
#if defined (alliant) && defined (i860)
printf ("i860-alliant-bsd\n"); exit (0);
#endif
exit (1);
}
EOF
$CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` &&
{ echo "$SYSTEM_NAME"; exit; }
# Apollos put the system type in the environment.
test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; }
echo "$0: unable to guess system type" >&2
case $UNAME_MACHINE:$UNAME_SYSTEM in
mips:Linux | mips64:Linux)
# If we got here on MIPS GNU/Linux, output extra information.
cat >&2 <&2 <&2 </dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
hostinfo = `(hostinfo) 2>/dev/null`
/bin/universe = `(/bin/universe) 2>/dev/null`
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
/bin/arch = `(/bin/arch) 2>/dev/null`
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
UNAME_MACHINE = "$UNAME_MACHINE"
UNAME_RELEASE = "$UNAME_RELEASE"
UNAME_SYSTEM = "$UNAME_SYSTEM"
UNAME_VERSION = "$UNAME_VERSION"
EOF
fi
exit 1
# Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
diffstat-1.68/package/ 0000755 0000000 0000000 00000000000 15002510305 013334 5 ustar root root diffstat-1.68/package/debian/ 0000755 0000000 0000000 00000000000 15002510305 014556 5 ustar root root diffstat-1.68/package/debian/copyright 0000644 0000000 0000000 00000012673 15002510305 016522 0 ustar root root Upstream source http://invisible-island.net/diffstat/diffstat.html
/******************************************************************************
* Copyright 1994-2024,2025 by Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
* the rights to use, copy, modify, merge, publish, distribute, sublicense, *
* and/or sell copies of the Software, and to permit persons to whom the *
* Software is furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *
* THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
* DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the sale, *
* use or other dealings in this Software without prior written *
* authorization. *
******************************************************************************/
-------------------------------------------------------------------------------
Files: install-sh
Copyright: 1994 X Consortium
Licence: other-BSD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.
FSF changes to this file are in the public domain.
Calling this script install-sh is preferred over install.sh, to prevent
`make' implicit rules from creating a file called install from it
when there is no Makefile.
This script is compatible with the BSD install script, but was written
from scratch. It can only install one file at a time, a restriction
shared with many OS's install programs.
Files: debian/*
Copyright: 2010-2024,2025 Thomas E. Dickey
Licence: other-BSD
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written
authorization.
On Debian systems, the complete text of the GNU General
Public License can be found in '/usr/share/common-licenses/GPL-2'
diffstat-1.68/package/debian/docs 0000644 0000000 0000000 00000000007 11417276261 015446 0 ustar root root README
diffstat-1.68/package/debian/compat 0000644 0000000 0000000 00000000003 13777433427 016007 0 ustar root root 11
diffstat-1.68/package/debian/rules 0000755 0000000 0000000 00000004272 14714425616 015666 0 ustar root root #!/usr/bin/make -f
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Cristoph Lameter.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
configure: configure-stamp
configure-stamp:
dh_testdir
CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--sysconfdir=/etc
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) clean
rm -f configure-stamp build-stamp install-stamp \
config.cache config.h config.status config.log makefile
rm -f *.o diffstat
dh_clean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/diffstat
touch install-stamp
# Build architecture-independent files here.
binary-indep: build install
# No binary-indep target.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_lintian
dh_installdocs
dh_installexamples
dh_installchangelogs CHANGES
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install install-stamp
diffstat-1.68/package/debian/control 0000644 0000000 0000000 00000001105 13335073244 016173 0 ustar root root Source: diffstat
Maintainer: Thomas E. Dickey
Section: devel
Priority: optional
Standards-Version: 3.8.4
Build-Depends: debhelper (>= 5)
Homepage: http://invisible-island.net/diffstat/
Package: diffstat
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: produces graph of changes introduced by a diff between files.
Diffstat is useful for reviewing large, complex patch files. It reads from
one or more input files which contain output from diff, producing a histogram
of the total lines changed for each file referenced.
diffstat-1.68/package/debian/source/ 0000755 0000000 0000000 00000000000 11454443274 016077 5 ustar root root diffstat-1.68/package/debian/source/format 0000644 0000000 0000000 00000000015 11454443274 017306 0 ustar root root 3.0 (native)
diffstat-1.68/package/debian/watch 0000644 0000000 0000000 00000000145 14554675403 015635 0 ustar root root version=3
opts=passive https://invisible-island.net/archives/diffstat-(\d+)\.tgz \
debian uupdate
diffstat-1.68/package/debian/changelog 0000644 0000000 0000000 00000005221 15002510141 016426 0 ustar root root diffstat (1.68) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Thu, 24 Apr 2025 15:26:21 -0400
diffstat (1.67) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Mon, 11 Nov 2024 10:57:43 -0500
diffstat (1.66) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Sun, 05 Feb 2023 09:59:05 -0500
diffstat (1.65) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Sat, 08 Oct 2022 18:46:54 -0400
diffstat (1.64) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Mon, 11 Jan 2021 04:10:59 -0500
diffstat (1.63) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Sun, 24 Nov 2019 13:02:47 -0500
diffstat (1.62) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Tue, 14 Aug 2018 20:24:27 -0400
diffstat (1.61) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Tue, 05 Jan 2016 19:51:23 -0500
diffstat (1.60) unstable; urgency=low
* handle quoted files from diffutils 3.3
-- Thomas E. Dickey Mon, 06 Jul 2015 19:27:58 -0400
diffstat (1.59) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Thu, 05 Jun 2014 17:12:15 -0400
diffstat (1.58) unstable; urgency=low
* maintenance updates
-- Thomas E. Dickey Mon, 28 Oct 2013 17:40:54 -0400
diffstat (1.57) unstable; urgency=low
* fix for diff 2.8.4 "Binary" message
-- Thomas E. Dickey Mon, 15 Apr 2013 20:48:36 -0400
diffstat (1.56) unstable; urgency=low
* Configure-script updates
* Debian #675475
-- Thomas E. Dickey Tue, 03 Jan 2012 04:39:50 -0500
diffstat (1.55) unstable; urgency=low
* Add -R option.
* Documentation fixes.
-- Thomas E. Dickey Tue, 03 Jan 2012 04:39:50 -0500
diffstat (1.54) unstable; urgency=low
* Fix counts for -S/-D options.
* change source format to native.
-- Thomas E. Dickey Sun, 10 Oct 2010 14:13:13 -0400
diffstat (1.53) unstable; urgency=low
* Fix regression in "-c" option.
-- Thomas E. Dickey Thu, 15 Jul 2010 19:39:36 -0400
diffstat (1.52) unstable; urgency=low
* Add package scripts to upstream source, for test-builds.
-- Thomas E. Dickey Thu, 15 Jul 2010 19:39:36 -0400
diffstat-1.68/package/diffstat.spec 0000644 0000000 0000000 00000002647 15002510057 016031 0 ustar root root Summary: Make histogram from diff-output
%define AppProgram diffstat
%define AppVersion 1.68
# $XTermId: diffstat.spec,v 1.22 2025/04/24 19:25:35 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: 1
License: MIT
Group: Applications/Development
URL: https://invisible-island.net/archives/%{AppProgram}
Source0: %{AppProgram}-%{AppVersion}.tgz
Packager: Thomas Dickey
%description
Diffstat is is useful for reviewing large, complex patch files. It reads from
one or more input files which contain output from diff, producing a histogram
of the total lines changed for each file referenced.
%prep
%define debug_package %{nil}
%setup -q -n %{AppProgram}-%{AppVersion}
%build
INSTALL_PROGRAM='${INSTALL}' \
%configure \
--target %{_target_platform} \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT%{_bindir}/%{AppProgram}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_prefix}/bin/%{AppProgram}
%{_mandir}/man1/%{AppProgram}.*
%changelog
# each patch should add its ChangeLog entries here
* Fri Jan 26 2024 Thomas Dickey
- update URLs
* Wed Aug 15 2018 Thomas Dickey
- use recommended compiler-flags
* Thu Jul 15 2010 Thomas Dickey
- initial version
diffstat-1.68/makefile.in 0000644 0000000 0000000 00000006460 13334674763 014105 0 ustar root root # $Id: makefile.in,v 1.35 2018/08/15 00:55:15 tom Exp $
# Makefile-template for 'diffstat'
THIS = diffstat
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
DESTDIR = @DESTDIR@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
bindir = @bindir@
mandir = @mandir@
CC = @CC@
LINK = $(CC)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
LINT = @LINT@
LINTOPTS = @LINT_OPTS@
CTAGS = @CTAGS@
ETAGS = @ETAGS@
CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@
CPPFLAGS = -I. -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
o = .@OBJEXT@
x = @EXEEXT@
EXTRA_OBJS = @EXTRA_OBJS@
BINDIR = $(DESTDIR)$(bindir)
MANDIR = $(DESTDIR)$(mandir)
#### End of system configuration section. ####
SHELL = /bin/sh
man1dir = $(MANDIR)/man1
manext = 1
PROG = $(THIS)$x
SRC = CHANGES \
README $(THIS).c $(THIS).1 \
config_h.in install-sh \
makefile.in configure.in aclocal.m4 \
makefile.wnt
PORTFILES = porting/getopt.c \
porting/getopt.h \
porting/system.h \
porting/wildcard.c
TESTFILES = testing/README \
testing/run_test.sh \
testing/case0[1-5]*
DISTFILES = configure config.guess config.sub $(SRC)
.SUFFIXES: .c $o
.c$o:
@RULE_CC@
@ECHO_CC@$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
all : $(PROG)
$(PROG) : diffstat$o $(EXTRA_OBJS)
@ECHO_LD@$(LINK) $(LDFLAGS) -o $@ diffstat$o $(EXTRA_OBJS) $(LIBS)
install : all installdirs
$(INSTALL_PROGRAM) $(PROG) $(BINDIR)/$(PROG)
$(INSTALL_DATA) $(srcdir)/$(THIS).1 $(man1dir)/$(THIS).$(manext)
installdirs :
mkdir -p $(BINDIR) $(man1dir)
uninstall :
rm -f $(BINDIR)/$(PROG) $(man1dir)/$(THIS).$(manext)
mostlyclean ::
rm -f *.o core *~ *.out *.err *.BAK *.atac
clean :: mostlyclean
rm -f $(PROG)
distclean :: clean
rm -f makefile config.log config.cache config.status config.h man2html.tmp
rm -f tags TAGS # don't remove configure!
realclean :: distclean
check : $(PROG)
$(SHELL) -c 'PATH=`pwd`:$${PATH}; export PATH; \
$(SHELL) $(srcdir)/testing/run_test.sh $(srcdir)/testing/case*.pat'
lint :
$(LINT) $(CPPFLAGS) $(LINTOPTS) $(THIS).c
tags :
$(CTAGS) $(THIS).c $(HDRS)
@MAKE_UPPER_TAGS@TAGS :
@MAKE_UPPER_TAGS@ $(ETAGS) $(THIS).c $(HDRS)
dist: makefile $(DISTFILES)
# make a list of the files to distribute
echo $(THIS)-`sed \
-e '/"$$[A-Za-z]*: $(THIS)\.c.*$$"/!d' \
-e 's/^.*$(THIS)[^ ]*[ ]*//' \
-e 's/[ ].*$$//' \
-e q $(srcdir)/$(THIS).c` > .fname
rm -rf `cat .fname`
# contents of top directory
mkdir `cat .fname`
for file in $(DISTFILES); do \
ln $(srcdir)/$$file `cat .fname` \
|| { echo copying $$file instead; cp -p $$file `cat .fname`; }; \
done
# contents of top/porting directory
mkdir `cat .fname`/porting
for file in $(PORTFILES); do \
ln $(srcdir)/$$file `cat .fname`/porting \
|| { echo copying $$file instead; cp -p $$file `cat .fname`/porting; }; \
done
# contents of top/testing directory
mkdir `cat .fname`/testing
for file in $(TESTFILES); do \
ln $(srcdir)/$$file `cat .fname`/testing \
|| { echo copying $$file instead; cp -p $$file `cat .fname`/testing; }; \
done
# tar and cleanup
tar -cf - `cat .fname` | gzip >`cat .fname`.tgz
rm -rf `cat .fname` .fname
$(THIS).o : config.h
$(SRC) :
getopt.o : $(srcdir)/porting/getopt.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(srcdir)/porting/getopt.c
diffstat-1.68/config_h.in 0000644 0000000 0000000 00000000371 05576717302 014073 0 ustar root root /*
* $Id: config_h.in,v 1.1 1994/06/12 23:48:18 tom Exp $
* config_h.in is a template file used by configure to produce config.h.
* config_h is then transformed (by config.status) into the header file
* config.h -- Kevin Buettner.
*/
@DEFS@
diffstat-1.68/README 0000644 0000000 0000000 00000000453 07361163222 012636 0 ustar root root $Id: README,v 1.5 2001/10/11 00:23:46 tom Exp $
Readme file for DiffStat.
This program is a simple filter that reads the output of the 'diff' program,
and produces a histogram of the total number of lines that were changed. It is
useful for scanning a patch file to see which files were changed.
diffstat-1.68/CHANGES 0000644 0000000 0000000 00000036630 15002507462 012756 0 ustar root root -- $Id: CHANGES,v 1.116 2025/04/24 19:21:22 tom Exp $
2025/04/24 (diffstat 1.68)
+ correct len parameter of mbsrtowcs (Redhat #2362049).
+ improve configure script:
CF_CONST_X_STRING, simplify with $ac_includes_default
CF_GCC_WARNINGS, add gcc15 warning for zero vs NULL
CF_PROG_LINT add options for lint program on NetBSD, and make a
"predefined" symbol to help with cppcheck false-positives
2024/11/11 (diffstat 1.67)
+ align license text with xterm, i.e., "MIT-X11"
+ add decompression for zstd files
+ improve configure script checks, reducing compiler warnings
+ update config.guess, config.sub
2024/01/28 (diffstat 1.66)
+ improve handling of git diff's
+ update install-sh
+ improve configure script checks, reducing compiler warnings
2022/10/09 (diffstat 1.65)
+ correct case where there is no unified-context.
+ trim trailing '/' from pathnames, e.g., to handle
"diff -ru FOO/ BAR/ | diffstat -K"
(report by "paxsali").
+ update configure macros
+ update config.guess, config.sub
2021/01/12 (diffstat 1.64)
+ recognize binary files mentioned in "git diff --binary", and
"git log -p --binary" formatted files (report by Faheem Mitha).
+ update configure macros
+ update config.guess, config.sub
2019/11/29 (diffstat 1.63)
+ eliminate fixed buffer when decoding range.
+ use locale in computing filename column-width.
+ improve parsing for git diffs.
+ use terminal-width as default for -w to tty.
+ minor fix in do_merging (Miloslaw Smyk).
+ improve relative-pathname matching in count_lines()
+ add a parsing-case for svn diff.
+ quote filenames in -t/-T output.
+ fix cppcheck warnings about sscanf.
+ update configure macros
+ update config.guess, config.sub
2018/08/15 (diffstat 1.62)
+ improve checks for unmodified files when -S and -D options are
given.
+ improve test-packages, to check warning-options.
+ minor fixes for manpage (Debian #895963)
+ update configure macros
+ update config.guess, config.sub
+ minor fixes for prefix-stripping with -S option.
2016/01/14 (diffstat 1.61)
+ add -T option to show amount of changes next to histogram.
+ if -S option is given, check for unmodified files and add those to
the report.
+ update configure macros
+ update config.guess, config.sub
2015/07/07 (diffstat 1.60)
+ handle double-quotes, e.g., from diffutils 3.3 when filenames have
embedded spaces.
+ add configure option --with-man2html
+ update configure macros
+ update config.guess, config.sub
2014/06/05 (diffstat 1.59)
+ add -E option to filter escape-sequences, e.g., from colordiff
(Ubuntu #1304262).
+ merge/adapt improvements to makefile and configure script from
openembedded.org (forwarded by Ross Burton).
+ remove unused $(libdir) from makefile "installdirs" target
+ amend definition in CF_POPEN_TEST to permit use of autoheader.
+ workaround for gratuitous renaming of AC_ACVERSION in 2.69
+ added "docs" rule to makefile
+ improvements to configure macros:
+ added check for -Wlogical-op to gcc warnings
+ suppress check for defining _XOPEN_SOURCE on Solaris
+ trim an unwanted -no-gcc option for Intel compiler
+ update config.guess, config.sub
2013/10/28 (diffstat 1.58)
+ add COPYING file (request by Dagobert Michelsen).
+ improved portability for cross-compiling, by supplying missing
getopt function as well as improving checks for popen/pclose
prototypes.
+ updated configure macros, e.g., for MingW and MSYS fixes.
+ update config.guess, config.sub
2013/04/15 (diffstat 1.57)
+ improve treatment of binary files in ambiguous message introduced in
diffutils 2.8.4, and finally corrected in 3.0 (report by Moritz
Barsnick).
2013/02/11 (diffstat 1.56)
+ add -K option which attempts to improve the annotation of "only"
files by looking for a match in the resulting set of files and
inferring whether the file was added or removed (request by Marc
Haber).
+ add check of command-line options for valid numbers.
+ improve merging of patches for the same filename (report/testcase by
Paul E McKenney).
+ document -d option in manpage.
+ document -b, -C, -s option in usage (patch by Tim Waugh, RedHat
#852770)
+ modify configure script as done for byacc in 2012/10/03, making the
2.52-patches the prerequisite and adding support for --datarootdir
option.
+ update config.guess, config.sub
+ add logic to handle SVN diffs when the pathnames contain spaces
(patch by Stuart Prescott, Debian #675465).
+ fix typo in package/debian/control
2012/01/03 (diffstat 1.55)
+ add -R option, like patch's, to reverse the order of the comparison.
+ FreeBSD ports/148604, ports/149500 reported that lzcat may not
support extracting files compressed in xz format (patch by Frederic
Culot, FreeBSD #149500).
+ address documentation issue raised in Novell #739210
+ correct typo s/Solaris/Solar/.
+ updated configure script macros:
CF_ANSI_CC_CHECK CF_DISABLE_LEAKS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS
CF_MAKE_TAGS CF_MSG_LOG CF_PATH_PROG CF_WITH_INSTALL_PREFIX
CF_XOPEN_SOURCE
+ update config.guess, config.sub
2010/10/10 (diffstat 1.54)
+ change Debian package script to use native format.
+ correct counts used for new files when -S/-D options are used.
+ minor typography improvement to manpage (patch by Solar Designer)
+ remove the temporary directory on error, introduced in 1.48+ (patch
by Solar Designer).
2010/07/19 (diffstat 1.53)
+ add missing "break" statement which left "-c" option falling-through
into "-C".
2010/07/16 (diffstat 1.52)
+ add "-C" option to show the histogram using SGR colors.
+ add "-s" option to show only the summary line.
+ add configure check for "xz", using this in preference to "lzcat"
(FreeBSD #148604).
+ also escape literal dashes used as part of the histogram in the
manpage.
+ modify hyphens vs dashes in manpage per
http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
(patch by Francois Marier).
+ drop mkdirs.sh, use "mkdir -p"
+ add configure checks for ctags and lint.
+ updated configure macros
+ reformat CHANGES to work with metrics script.
+ fix strict gcc warnings, e.g., using const.
+ improve a case where filenames have embedded blanks (patch by Reinier
Post).
+ update config.guess, config.sub
2009/11/07 (diffstat 1.51)
+ correct suffix-check for ".xz" files as command-line parameters
rather than as piped input (report by Moritz Barsnick).
2009/11/6 (diffstat 1.50)
+ build/test fixes for MSYS, i.e., MinGW.
+ improve configure check for get_unlocked function.
+ use $TMPDIR for path of temporary file used in decompression.
+ correct else-condition for detecting compression type (patch by Zach
Hirsch).
2009/08/31 (diffstat 1.49)
+ improve lzma support, add support for xz (patch by Eric Blake).
+ add special case for no-newline message from some diff's (Ubuntu
#269895).
+ improve configure check for getopt header.
+ add configure special case for HPUX 11 with _XOPEN_SOURCE definition.
+ update config.guess, config.sub
2009/08/11 (diffstat 1.48)
+ add decompression tests for lzma and pack file types.
+ check for zcat and uncompress in preference to "compress -dc".
+ modify to check the first few bytes of standard input, and use a
corresponding decompression utility if the stream appears to be
compressed. This requires making a temporary copy of the data
(Debian #491575).
+ add -N option, to truncate filenames.
+ use getc_unlocked() rather than fgetc_unlocked()
+ modify to recognize Perforce-style diffs (patch by Ed Schouten).
+ updated configure macros to improve compiler warning checks, use
$PATH_SEPARATOR rather than $PATH_SEP (for consistency with some
autoconf versions),
+ fix typo in configure --with-install-prefix option (report by
Dagobert Michelsen).
+ update config.guess, config.sub
2009/03/29 (diffstat 1.47)
modify to work with patch ".rej" files, which do not have a header to
tell which file is affected.
fix typo in usage message (reports by Moritz Barsnick, John McNamara,
Richard Quadling).
2008-08-06 (diffstat 1.46)
+ add "-S", "-D" and "-m" options to provide a way to show the amount
of difference relative to the total sizes of the files.
+ add "-q" option (Debian #488248, patch by Greg Norris).
2007/09/04 (diffstat 1.45)
+ add "-b" option (Debian #379380, patch by Greg Norris).
2007/08/26 (diffstat 1.44)
+ add a check for default-diff output, e.g., "diff foo bar|diffstat",
which has no "diff" command in the output for diffstat to guess that
a diff is beginning.
+ add a check after completing a chunk for unified diff to ensure that
the next line either begins another chunk for the diff, or starts
another diff, e.g., a context diff (report by Adrian Bunk).
+ add configure options for leak-checking valgrind, etc.
+ use install-sh rather than install.sh
+ updated config.guess and config.sub
+ updated configure macros CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_MSG_LOG
CF_PATH_SYNTAX CF_VERBOSE CF_XOPEN_SOURCE
2006/07/16 (diffstat 1.43)
+ fix to avoid modifying data which is being used by tsearch() for
ordering the binary tree (report by Adrian Bunk).
2006/07/02 (diffstat 1.42)
+ do not ignore pathnames in /tmp/, since some tools create usable
for both old/new files there (Debian #376086).
+ correct ifdef for fgetc_unlocked().
+ updated configure macros CF_GCC_VERSION, CF_PATH_SYNTAX and
CF_XOPEN_SOURCE
+ add configure check for compress, gzip and bzip2 programs that may be
used to decompress files.
2005/08/24 (diffstat 1.41)
+ update usage message for options added in 1.40 (report by Eric Blake).
2005-08-15 (diffstat 1.40)
+ add options -l, -r and -t. add to -f option (patch, comments by
Jean Delvare, Michael Burian).
+ improve I/O on Linux using fgetc_locked().
+ improve searching of long sorted lists using tsearch()
+ improve configure-script checks for Intel compiler warnings.
2005-04-10 (diffstat 1.39)
+ change order of merging and prefix-stripping so stripping all prefixes,
e.g., with -p9, will be sorted as expected (patch by Jean Delvare).
+ correct a reference to freed memory after merging found with valgrind.
2005-01-16 (diffstat 1.38)
+ add makefile.wnt, etc., for win32 port.
+ fix "make check" to work even when PATH or the build directory has
spaces in it (patch by Eric Blake).
+ add support for '--help' and '--version' command line arguments, for a
consistent interface with GNU tools, and still compatible to POSIX
requirements on utility options (patch by Eric Blake).
2004-12-18
+ modify makefile.in and run_test.sh to allow "make check" to be run
from a build directory which is not the same as the source directory,
i.e., when the configure --srcdir option is used (request by Eric
Blake).
+ modify distribution to include sample of regression tests, so a
"make check" will work (request by Eric Blake).
2004-12-16 (diffstat 1.37)
+ fix a different case for data beginning with "--" which was treated
as a header line.
2004-12-14 (diffstat 1.36)
+ Fix allocation problems. Open files in binary mode for reading.
Getopt returns -1, not necessarily EOF. Add const where useful. Use
NO_IDENT where necessary. malloc() comes from in standard
systems (Patch by Eric Blake .)
2004-11-08 (diffstat 1.35)
+ modify makefile.in to work with configure --srcdir option (report by
Eric Blake).
+ minor fix for resync of unified diffs checks for range (line beginning
with '@' without header lines (successive lines beginning with "---"
and "+++") (Debian #264098).
+ miscellaneous updates for configure script
2003-11-09 (diffstat 1.34)
+ improve check for certain lines (not those that begin a chunk) that
begin with '-', treating all except "---" as a delete (report by
James Rowe ).
+ minor updates to configure script.
2003-02-14 (diffstat 1.33)
+ modified to work around a case where the filename+date was incomplete,
i.e., missing one of the components such as the day of the month.
While diffstat does not use the date directly, it helps distinguish
some lines from non-patches (report by Moritz Barsnick
).
+ add "-h" option (request by Moritz Barsnick).
+ fix a typo in usage message (report by Moritz Barsnick).
+ add "-e" and "-o" options to simplify testing on OS/2 EMX.
2003-01-04 (diffstat 1.32)
+ modified to handle patches generated by makepatch-2.00_09, which uses
both "Index" and "diff" lines (report by D Roland Walker). As a side
effect, the additional merging eliminates occasional reports with
zero differences.
+ modified to avoid buffer overflows.
+ fixes for Debian #155000 (did not handle a '-' in first
content-column of a unified diff) and Debian #170947 (option to turn
the progress messages off).
+ updated configure script using aclocal.m4 macros
+ update makefile.in to improve use of autoconf (report/patch by Nix
).
2002-08-20 (diffstat 1.31)
+ add -u, -k options to override diffstat's normal sorting (-u) and
merging (-k) of identical filenames. (-u requested by H Peter Anvin
).
2002-08-09 (diffstat 1.30)
+ allow either '/' or '-' as delimiters in dates, to accommodate
gendiff (report by Rik van Riel ). This
corresponds to the time format used in diffutils 2.8 whose changelog
states that this is ISO 8601 (though online references differ).
2001-10-10 (diffstat 1.29)
+ add bzip2 (.bz2) suffix (suggested by Gregory T Norris
, Debian #82969).
+ add check for diff from RCS archive where the "diff" lines do not
reference a filename.
2000-03-29 (diffstat 1.28)
+ Add -c option (to prefix output with '#' comment), eliminating a step
in my script that combines diffstat output with a patch. This is a
workaround for OSF1's broken sed utility.
+ Check for compressed file suffixes .Z and .gz, read uncompressed data
via pipe (Debian #53975 by ch@lathspell.westend.com).
+ Simplified makefile based on comments by M Sweger
+ Adapted changes from Troy Engel as "-f" option.
1998-05-27 (diffstat 1.27)
+ Debian diff's don't show dates on the lines where we expect to see
filenames.
1998-01-16 (diffstat 1.26, Patch 5)
+ Change copyright terms.
+ Accommodate patches w/o tabs in header lines (e.g., from cut/paste).
Still prefer the tabs because otherwise we cannot have spaces in
filenames.
+ Strip suffixes such as ".orig", to avoid confusing output.
1996-03-16 (diffstat 1.24, Patch 4)
+ Corrected state-transition after "Binary".
+ Added testing subdirectory
+ Added -p option.
+ Handle differences from /tmp (e.g., for X11R5 patches).
1995-05-06 (diffstat 1.17, Patch 3)
+ Repost whole program to comp.sources.misc (1.17)
+ Mods to scaling: limit to 1:1 if only a few changes were made; added
logic to accumulate error across +/-/! calls.
+ added logic to recognize 'rcsdiff -u' output.
1994-12-26 (diffstat 1.15, Patch 2)
+ Strip common pathname prefix (1.15)
1994-11-13 (diffstat 1.14, Patch 1)
+ Test for vs
+ Corrected error in 'match()' that didn't handle properly the case
when an argument was a null string (i.e., blank lines in a unified
diff).
+ Added options '-n' and '-V'
+ Added patchlev.h, CHANGES files.
+ Added install.sh, for autoconf 2.1
1994-06-13 (diffstat 1.12, Patch 0)
+ Initial release of 'diffstat' (1.12).
diffstat-1.68/diffstat.1 0000644 0000000 0000000 00000021554 15002510420 013634 0 ustar root root .\"*****************************************************************************
.\" Copyright 1994-2024,2025 by Thomas E. Dickey
.\"
.\" Permission is hereby granted, free of charge, to any person obtaining a
.\" copy of this software and associated documentation files (the "Software"),
.\" to deal in the Software without restriction, including without limitation
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
.\" and/or sell copies of the Software, and to permit persons to whom the
.\" Software is furnished to do so, subject to the following conditions:
.\"
.\" The above copyright notice and this permission notice shall be included in
.\" all copies or substantial portions of the Software.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
.\" THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
.\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
.\" DEALINGS IN THE SOFTWARE.
.\"
.\" Except as contained in this notice, the name(s) of the above copyright
.\" holders shall not be used in advertising or otherwise to promote the sale,
.\" use or other dealings in this Software without prior written authorization.
.\"*****************************************************************************
.\" $Id: diffstat.1,v 1.46 2025/04/24 19:29:20 tom Exp $
.TH DIFFSTAT 1 2025-04-24 "1.68" "User commands"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.\}
.el \{\
.ie t .ds `` ``
.el .ds `` ""
.ie t .ds '' ''
.el .ds '' ""
.\}
.SH NAME
\fBdiffstat\fP \-
make histogram from diff-output
.SH SYNOPSIS
\fBdiffstat\fI [options] [file-specifications]\fR
.SH DESCRIPTION
This program reads the output of \fBdiff\fP and displays a histogram
of the insertions, deletions, and modifications per-file.
\fBDiffstat\fP is a program that is useful for reviewing large,
complex patch files.
It reads from one or more input files which contain output from \fBdiff\fP,
producing a histogram of the total lines changed for each file referenced.
.PP
If the input filename ends with
\*(``.bz2\*('',
\*(``.gz\*('',
\*(``.lzma\*('',
\*(``.xz\*('',
\*(``.zst\*('',
\*(``.z\*('' or
\*(``.Z\*('',
\fBdiffstat\fP will read the
uncompressed data via a pipe from the corresponding program.
It also can infer the compression type from files piped via the standard input.
.PP
\fBDiffstat\fP recognizes the most popular types of output from \fBdiff\fP:
.RS 3
.TP
unified
preferred by the \fBpatch\fP utility.
.TP
context
best for readability, but not very compact.
.TP
default
not good for much, but simple to generate.
.RE
.PP
\fBDiffstat\fP detects the lines that are output by \fBdiff\fP to
tell which files are compared, and then counts the markers in the
first column that denote the type of change (insertion, deletion
or modification).
These are shown in the histogram as "+", "\-" and "!" characters.
.PP
If no filename is given on the command line,
\fBdiffstat\fP reads the differences from the standard input.
.SH OPTIONS
.TP
.B \-b
ignore lines matching "Binary files XXX and YYY differ" in the \fBdiff\fP
.TP
.B \-c
prefix each line of output with "#", making it a comment-line for shell
scripts.
.TP
.B \-C
add SGR color escape sequences to highlight the histogram.
.TP
.BI \-D " destination"
specify a directory containing files which can be referred to as
the result of applying the differences.
\fBdiffstat\fP will count the lines in the corresponding files
(after adjusting the names by the \fB\-p\fP option)
to obtain the total number of lines in each file.
.IP
The remainder, after subtracting modified and deleted lines,
is shown as "unchanged lines".
.TP
.B \-d
The debug prints a lot of information.
It is normally compiled-in, but can be suppressed.
.TP
.BI \-e " file"
redirect standard error to \fIfile\fR.
.TP
.B \-E
strip out ANSI escape sequences on each line before parsing the differences.
This allows \fBdiffstat\fP to be used with \fBcolordiff\fP.
.TP
.BI \-f " format"
specify the format of the histogram.
.RS
.TP 3
0
for concise, which shows only the value and a single histogram code for each of
insert (+),
delete (\-) or
modify (!)
.TP 3
1
for normal output,
.TP 3
2
to fill in the histogram with dots,
.TP 3
4
to print each value with the histogram.
.RE
.IP
Any nonzero value gives a histogram.
The dots and individual values can be combined,
e.g., \fB\-f6\fP gives both.
.TP
.B \-h
prints the usage message and exits.
.TP
.B \-k
suppress the merging of filenames in the report.
.TP
.B \-K
attempt to improve the annotation of "only" files
by looking for a match in the resulting set of files and
inferring whether the file was added or removed.
.IP
This does not currently work in combination with \fB\-R\fP because
\fBdiffstat\fP maintains only the resulting set of files.
.TP
.B \-l
lists only the filenames.
No histogram is generated.
.TP
.B \-m
merge insert/delete counts from each "chunk" of the patch file to
approximate a count of the modified lines.
.TP
.BI \-n " number"
specify the minimum width used for filenames.
If you do not specify this, \fBdiffstat\fP uses the length of the longest
filename, after stripping common prefixes.
.TP
.BI \-N " number"
specify the maximum width used for filenames.
Names longer than this limit are truncated on the left.
If you do not specify this, \fBdiffstat\fP next checks the \fB\-n\fP option.
.TP
.BI \-o " file"
redirect standard output to \fIfile\fR.
.TP
.BI \-p " number"
override the logic that strips common pathnames, simulating the \fBpatch\fP
"\-p" option.
.IP
If you do not give a \fB\-p\fP option, \fBdiffstat\fP examines the
differences and strips the common prefix from the pathnames.
This is not what \fBpatch\fP does.
.TP
.B \-q
suppress the "0 files changed" message for empty diffs.
.TP
.B \-r " code"
provides optional rounding of the data shown in histogram,
rather than truncating with error adjustments.
.RS
.TP 3
0
is the default.
No rounding is performed,
but accumulated errors are added to following columns.
.TP 3
1
rounds the data
.TP 3
2
rounds the data and adjusts the histogram to ensure that
it displays something if there are any differences even if
those would normally be rounded to zero.
.RE
.TP
.B \-R
Assume patch was created with old and new files swapped.
.TP
.B \-s
show only the summary line, e.g., number of insertions and deletions.
.TP
.BI \-S " source"
this is like the \fB\-D\fP option, but specifies a location where
the original files (before applying differences) can be found.
.TP
.B \-t
overrides the histogram,
generates output of comma separated values for the number of
changed lines found in the differences for each file:
inserted, deleted and modified.
.IP
If \fB\-S\fP or \fB\-D\fP options are given, the number of unchanged
lines precedes the number of changes.
.TP
.B \-T
prints the numbers that the \fB\-t\fP option would show,
between the pathname and histogram.
.IP
The width of the number of changes is determined
by the largest value (but at least 3).
The width given in the \fB\-w\fP option is separate from the width of these
numbers.
.TP
.B \-u
suppress the sorting of filenames in the report.
.TP
.B \-v
show progress,
e.g., if the output is redirected to a file,
write progress messages to the standard error.
.TP
.B \-V
prints the current version number and exits.
.TP
.BI \-w " number"
specify the maximum width of the histogram.
The histogram will never be shorter than 10 columns,
just in case the filenames get too large.
.IP
The default is 80 columns,
unless the output is to a terminal.
In that case, the default width is the terminal's width.
.SH ENVIRONMENT
\fBDiffstat\fP runs in a POSIX environment.
.PP
You can override the compiled-in paths of programs used for decompressing
input files by setting environment variables corresponding to their name:
.sp
.RS
.nf
DIFFSTAT_BZCAT_PATH
DIFFSTAT_BZIP2_PATH
DIFFSTAT_COMPRESS_PATH
DIFFSTAT_GZIP_PATH
DIFFSTAT_LZCAT_PATH
DIFFSTAT_PCAT_PATH
DIFFSTAT_UNCOMPRESS_PATH
DIFFSTAT_XZ_PATH
DIFFSTAT_ZCAT_PATH
DIFFSTAT_ZSTD_PATH
.fi
.RE
.PP
However, \fBdiffstat\fP assumes that the resulting program uses the
same command-line options, e.g., "\-c" to decompress to the standard output.
.SH FILES
\fBDiffstat\fP is a single binary module, which uses no auxiliary files.
.SH BUGS
\fBDiffstat\fP makes a lot of assumptions
about the format of \fBdiff\fP's output.
.PP
There is no way to obtain a filename from the standard \fBdiff\fP between
two files with no options.
Context diffs work,
as well as unified diffs.
.PP
There's no easy way to determine the degree of overlap between the
"before" and "after" displays of modified lines.
\fBdiffstat\fP simply counts the number of inserted and deleted lines
to approximate modified lines for the \fB\-m\fP option.
.SH AUTHORS
Thomas Dickey .
.SH SEE ALSO
.BR diff (1),
.BR patch (1).
diffstat-1.68/makefile.wnt 0000644 0000000 0000000 00000001212 11247065730 014262 0 ustar root root #
# makefile for 'diffstat' on WIN32 using Microsoft Visual C++
#
# $Id: makefile.wnt,v 1.2 2009/09/01 00:33:28 tom Exp $
#
!include
P = porting
CFLAGS = $(cvars) $(cdebug) -nologo -G4 -W3 -I. -DWIN32 -I$P
LDFLAGS = -nologo -pdb:none
NAME = diffstat
OBJ = $(NAME).obj \
$P/getopt.obj \
$P/wildcard.obj
.c.obj:
$(cc) $(CFLAGS) -c $< -Fo$@
all: $(NAME).exe
$(NAME).exe: $(OBJ)
$(link) $(LDFLAGS) $(OBJ) setargv.obj $(ldebug) $(conlflags) $(conlibs) -out:$@ user32.lib
$(OBJ) : #system.h
install: $(NAME).exe
copy $(NAME).exe c:\com
clean:
- del $(NAME).exe
- del /f/s/q *.obj
- del /f/s/q *.bak
- del /f/s/q *.pdb
diffstat-1.68/diffstat.c 0000644 0000000 0000000 00000256243 15002525514 013735 0 ustar root root /******************************************************************************
* Copyright 1994-2024,2025 by Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
* the rights to use, copy, modify, merge, publish, distribute, sublicense, *
* and/or sell copies of the Software, and to permit persons to whom the *
* Software is furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included in *
* all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *
* THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *
* DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the sale, *
* use or other dealings in this Software without prior written *
* authorization. *
******************************************************************************/
#ifndef NO_IDENT
static const char *Id = "$Id: diffstat.c,v 1.68 2025/04/24 21:21:16 tom Exp $";
#endif
/*
* Title: diffstat.c
* Author: T.E.Dickey
* Created: 02 Feb 1992
* Modified:
* 24 Apr 2025, correct len parameter of mbsrtowcs.
* 11 Nov 2024, add decompression for zstd
* 28 Jan 2024, fixes for stricter gcc warnings
* 01 Mar 2023, ignore ".git" directories, etc., in -S/-D options.
* 09 Oct 2022, trim trailing '/' from directories. Correct case
* where there is no unified-context.
* 12 Jan 2021, check for git --binary diffs.
* 29 Nov 2019, eliminate fixed buffer when decoding range.
* 28 Nov 2019, use locale in computing filename column-width.
* improve parsing for git diffs.
* use terminal-width as default for -w to tty.
* minor fix in do_merging (Miloslaw Smyk).
* 27 Nov 2019, improve relative-pathname matching in count_lines()
* add a parsing-case for svn diff.
* quote filenames in -t/-T output.
* 24 Nov 2019, fix cppcheck-warnings about sscanf.
* 14 Aug 2018, revise -S/-D option to improve count of unmodified
* files.
* 14 Jan 2016, extend -S option to count unmodified files.
* add -T option to show values with histogram
* 06 Jul 2015, handle double-quotes, e.g., from diffutils 3.3
* when filenames have embedded spaces.
* 05 Jun 2014, add -E option to filter colordiff output.
* 28 Oct 2013, portability improvements for MinGW.
* 15 Apr 2013, modify to accommodate output of "diff -q", which
* tells only if the files are different. Work
* around the equivalent ambiguous message introduced
* in diffutils 2.8.4 and finally removed for 3.0
* 11 Feb 2013, add -K option. Use strtol() to provide error
* checking of optarg values.
* 10 Feb 2013, document -b, -C, -s option in usage (patch by
* Tim Waugh, Red Hat #852770). Improve pathname
* merging.
* 02 Jun 2012, fix for svn diff with spaces in path (patch by
* Stuart Prescott, Debian #675465).
* 03 Jan 2012, Correct case for "xz" suffix in is_compressed()
* (patch from Frederic Culot in FreeBSD ports). Add
* "-R" option. Improve dequoting of filenames in
* headers.
* 10 Oct 2010, correct display of new files when -S/-D options
* are used. Remove the temporary directory on
* error, introduced in 1.48+ (patch by Solar
* Designer).
* 19 Jul 2010, add missing "break" statement which left "-c"
* option falling-through into "-C".
* 16 Jul 2010, configure "xz" path explicitly, in case lzcat
* does not support xz format. Add "-s" (summary)
* and "-C" (color) options.
* 15 Jul 2010, fix strict gcc warnings, e.g., using const.
* 10 Jan 2010, improve a case where filenames have embedded blanks
* (patch by Reinier Post).
* 07 Nov 2009, correct suffix-check for ".xz" files as
* command-line parameters rather than as piped
* input (report by Moritz Barsnick).
* 06 Oct 2009, fixes to build/run with MSYS or MinGW. use
* $TMPDIR for path of temporary file used in
* decompression. correct else-condition for
* detecting compression type (patch by Zach Hirsch).
* 31 Aug 2009, improve lzma support, add support for xz (patch by
* Eric Blake). Add special case for no-newline
* message from some diff's (Ubuntu #269895).
* Improve configure check for getopt().
* 11 Aug 2009, Add logic to check standard input, decompress if
* possible. Add -N option, to truncate long names.
* Add pack/pcat as a compression type.
* Add lzma/lzcat as a compression type.
* Allow overriding program paths with environment.
* 10 Aug 2009, modify to work with Perforce-style diffs (patch
* by Ed Schouten).
* 29 Mar 2009, modify to work with patch ".rej" files, which have
* no filename header (use the name of the ".rej"
* file if it is available).
* 29 Sep 2008, fix typo in usage message.
* 06 Aug 2008, add "-m", "-S" and "-D" options.
* 05 Aug 2008, add "-q" option to suppress 0-files-changed
* message (patch by Greg Norris).
* 04 Sep 2007, add "-b" option to suppress binary-files (patch
* by Greg Norris).
* 26 Aug 2007, add "-d" option to show debugging traces, rather
* than by defining DEBUG. Add check after
* unified-diff chunk to avoid adding non-diff text
* (report by Adrian Bunk). Quote pathname passed
* in command to gzip/uncompress. Add a check for
* default-diff output without the "diff" command
* supplied to provide filename, mark as "unknown".
* 16 Jul 2006, fix to avoid modifying which is being used by
* tsearch() for ordering the binary tree (report by
* Adrian Bunk).
* 02 Jul 2006, do not ignore pathnames in /tmp/, since some tools
* create usable pathnames for both old/new files
* there (Debian #376086). Correct ifdef for
* fgetc_unlocked(). Add configure check for
* compress, gzip and bzip2 programs that may be used
* to decompress files.
* 24 Aug 2005, update usage message for -l, -r changes.
* 15 Aug 2005, apply PLURAL() to num_files (Jean Delvare).
* add -l option (request by Michael Burian).
* Use fgetc_locked() if available.
* 14 Aug 2005, add -r2 option (rounding with adjustment to ensure
* that nonzero values always display a histogram
* bar), adapted from patch by Jean Delvare. Extend
* the -f option (2=filled, 4=verbose).
* 12 Aug 2005, modify to use tsearch() for sorted lists.
* 11 Aug 2005, minor fixes to scaling of modified lines. Add
* -r (round) option.
* 05 Aug 2005, add -t (table) option.
* 10 Apr 2005, change order of merging and prefix-stripping so
* stripping all prefixes, e.g., with -p9, will be
* sorted as expected (Patch by Jean Delvare
* ).
* 10 Jan 2005, add support for '--help' and '--version' (Patch
* by Eric Blake .)
* 16 Dec 2004, fix a different case for data beginning with "--"
* which was treated as a header line.
* 14 Dec 2004, Fix allocation problems. Open files in binary
* mode for reading. Getopt returns -1, not
* necessarily EOF. Add const where useful. Use
* NO_IDENT where necessary. malloc() comes from
* in standard systems (Patch by Eric
* Blake .)
* 08 Nov 2004, minor fix for resync of unified diffs checks for
* range (line beginning with '@' without header
* lines (successive lines beginning with "---" and
* "+++"). Fix a few problems reported by valgrind.
* 09 Nov 2003, modify check for lines beginning with '-' or '+'
* to treat only "---" in old-style diffs as a
* special case.
* 14 Feb 2003, modify check for filenames to allow for some cases
* of incomplete dates (the reported example omitted
* the day of the month). Correct a typo in usage().
* Add -e, -h, -o options.
* 04 Jan 2003, improve tracking of chunks in unified diff, in
* case the original files contained a '+' or '-' in
* the first column (Debian #155000). Add -v option
* (Debian #170947). Modify to allocate buffers big
* enough for long input lines. Do additional
* merging to handle unusual Index/diff constructs in
* recent makepatch script.
* 20 Aug 2002, add -u option to tell diffstat to preserve the
* order of filenames as given rather than sort them
* (request by H Peter Anvin ). Add
* -k option for completeness.
* 09 Aug 2002, allow either '/' or '-' as delimiters in dates,
* to accommodate diffutils 2.8 (report by Rik van
* Riel ).
* 10 Oct 2001, add bzip2 (.bz2) suffix as suggested by
* Gregory T Norris in Debian
* bug report #82969).
* add check for diff from RCS archive where the
* "diff" lines do not reference a filename.
* 29 Mar 2000, add -c option. Check for compressed input, read
* via pipe. Change to ANSI C. Adapted change from
* Troy Engel to add option that displays a number
* only, rather than a histogram.
* 17 May 1998, handle Debian diff files, which do not contain
* dates on the header lines.
* 16 Jan 1998, accommodate patches w/o tabs in header lines (e.g.,
* from cut/paste). Strip suffixes such as ".orig".
* 24 Mar 1996, corrected -p0 logic, more fixes in do_merging.
* 16 Mar 1996, corrected state-change for "Binary". Added -p
* option.
* 17 Dec 1995, corrected matching algorithm in 'do_merging()'
* 11 Dec 1995, mods to accommodate diffs against /dev/null or
* /tmp/XXX (tempfiles).
* 06 May 1995, limit scaling -- only shrink-to-fit.
* 29 Apr 1995, recognize 'rcsdiff -u' format.
* 26 Dec 1994, strip common pathname-prefix.
* 13 Nov 1994, added '-n' option. Corrected logic of 'match'.
* 17 Jun 1994, ifdef-
* 12 Jun 1994, recognize unified diff, and output of makepatch.
* 04 Oct 1993, merge multiple diff-files, busy message when the
* output is piped to a file.
*
* Function: this program reads the output of 'diff' and displays a histogram
* of the insertions/deletions/modifications per-file.
*/
#if defined(HAVE_CONFIG_H)
#include
#endif
#if defined(WIN32) && !defined(HAVE_CONFIG_H)
#define HAVE_STDLIB_H
#define HAVE_STRING_H
#define HAVE_MALLOC_H
#define HAVE_GETOPT_H
#endif
#include
#include
#ifdef HAVE_STRING_H
#include
#else
#include
#define strchr index
#define strrchr rindex
#endif
#ifdef HAVE_STDLIB_H
#include
#else
extern int atoi(const char *);
#endif
#ifdef HAVE_UNISTD_H
#include
#else
extern int isatty(int);
#endif
#ifdef HAVE_OPENDIR
#include
#endif
#ifdef HAVE_MALLOC_H
#include
#endif
#if defined(HAVE_SEARCH_H) && defined(HAVE_TSEARCH)
#include
#else
#undef HAVE_TSEARCH
#endif
#ifdef HAVE_MBSTOWCWIDTH
#include
#include
#endif
#ifdef HAVE_GETC_UNLOCKED
#define MY_GETC getc_unlocked
#else
#define MY_GETC getc
#endif
#ifdef HAVE_GETOPT_H
#include
#elif !defined(HAVE_GETOPT_HEADER)
extern int getopt(int, char *const *, const char *);
extern char *optarg;
extern int optind;
#endif
#include
#include
#if defined(HAVE_TERMIOS_H) && defined(HAVE_TCGETATTR)
#ifdef HAVE_IOCTL_H
#include
#else
#ifdef HAVE_SYS_IOCTL_H
#include
#endif
#endif
#if !defined(sun) || !defined(NL0)
#include
#endif
#endif /* HAVE_TERMIOS_H */
#if defined(HAVE_POPEN) && !defined(HAVE_POPEN_PROTOTYPE)
extern FILE *popen(const char *, const char *);
extern int pclose(FILE *);
#endif
#if !defined(EXIT_SUCCESS)
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
#endif
#ifndef BZCAT_PATH
#define BZCAT_PATH ""
#endif
#ifndef BZIP2_PATH
#define BZIP2_PATH ""
#endif
#ifndef COMPRESS_PATH
#define COMPRESS_PATH ""
#endif
#ifndef GZIP_PATH
#define GZIP_PATH ""
#endif
#ifndef LZCAT_PATH
#define LZCAT_PATH ""
#endif
#ifndef PCAT_PATH
#define PCAT_PATH ""
#endif
#ifndef UNCOMPRESS_PATH
#define UNCOMPRESS_PATH ""
#endif
#ifndef XZ_PATH
#define XZ_PATH ""
#endif
#ifndef ZCAT_PATH
#define ZCAT_PATH ""
#endif
#ifndef ZSTD_PATH
#define ZSTD_PATH ""
#endif
/******************************************************************************/
#if defined(__MINGW32__) || defined(WIN32)
#define MKDIR(name,mode) mkdir(name)
#else
#define MKDIR(name,mode) mkdir(name,mode)
#endif
#if defined(WIN32) && !defined(__MINGW32__)
#define PATHSEP '\\'
#else
#define PATHSEP '/'
#endif
#define BACKSL '\\'
#define LPAREN '('
#define RPAREN ')'
#define DQUOTE '"'
#define SQUOTE '\''
#define ESCAPE '\033'
#define EOS '\0'
#define TAB '\t'
#define BLANK ' '
#define DEL '\177'
#define UC(c) ((unsigned char)(c))
#define isoctal(c) (((c) >= '0') && ((c) <= '7'))
#ifndef OPT_TRACE
#define OPT_TRACE 1
#endif
#if OPT_TRACE
#define TRACE(p) if (trace_opt) printf p
#else
#define TRACE(p) /*nothing */
#endif
#define NonNull(s) (((s) != NULL ? (s) : ""))
#define contain_any(s,reject) (strcspn(s,reject) != strlen(s))
#define maximum(a,b) ((a) < (b) ? (b) : (a))
#define HAVE_NOTHING 0
#define HAVE_GENERIC 1 /* e.g., "Index: foo" w/o pathname */
#define HAVE_PATH 2 /* reference-file from "diff dirname/foo" */
#define HAVE_PATH2 4 /* comparison-file from "diff dirname/foo" */
#define FMT_CONCISE 0
#define FMT_NORMAL 1
#define FMT_FILLED 2
#define FMT_VERBOSE 4
typedef enum comment {
Normal, Only, OnlyLeft, OnlyRight, Binary, Differs, Either
} Comment;
#define MARKS 4 /* each of +, - and ! */
typedef enum {
cInsert = 0,
cDelete,
cModify,
cEquals
} Change;
#define InsOf(p) (p)->count[cInsert] /* "+" count inserted lines */
#define DelOf(p) (p)->count[cDelete] /* "-" count deleted lines */
#define ModOf(p) (p)->count[cModify] /* "!" count modified lines */
#define EqlOf(p) (p)->count[cEquals] /* "=" count unmodified lines */
#define TotalOf(p) (InsOf(p) + DelOf(p) + ModOf(p) + EqlOf(p))
#define for_each_mark(n) for (n = 0; n < num_marks; ++n)
typedef struct _data {
struct _data *link;
char *original; /* the original filename */
char *modified; /* the modified filename */
int copy; /* true if filename is const-literal */
int base; /* beginning of name if -p option used */
Comment cmt;
int pending;
long chunks; /* total number of chunks */
long chunk[MARKS]; /* counts for the current chunk */
long count[MARKS]; /* counts for the file */
} DATA;
typedef enum {
dcNone = 0,
dcBzip,
dcCompress,
dcGzip,
dcLzma,
dcPack,
dcXz,
dcZstd,
dcEmpty
} Decompress;
static const char marks[MARKS + 1] = "+-!=";
static const int colors[MARKS + 1] =
{2, 1, 6, 4};
static DATA *all_data;
static char *S_option = NULL;
static char *D_option = NULL;
static const char *comment_opt = "";
static char *path_opt = NULL;
static int count_files; /* true if we count added/deleted files */
static int format_opt = FMT_NORMAL;
static int max_name_wide; /* maximum amount reserved for filenames */
static int max_width = 80; /* the specified width-limit */
static int merge_names = 1; /* true if we merge similar filenames */
static int merge_opt = 0; /* true if we merge ins/del as modified */
static int min_name_wide; /* minimum amount reserved for filenames */
static int names_only; /* true if we list filenames only */
static int num_marks = 3; /* 3 or 4, according to "-P" option */
static int path_dest; /* true if path_opt is destination (patched) */
static int plot_width; /* the amount left over for histogram */
static int prefix_opt = -1; /* if positive, controls stripping of PATHSEP */
static int quiet = 0; /* -q option */
static int reverse_opt; /* true if results are reversed */
static int round_opt = 0; /* if nonzero, round data for histogram */
static int show_colors; /* true if showing SGR colors */
static int show_progress; /* if not writing to tty, show progress */
static int sort_names = 1; /* true if we sort filenames */
static int summary_only = 0; /* true if only summary line is shown */
static int suppress_binary = 0; /* -b option */
static int trim_escapes = 0; /* -E option */
static int table_opt = 0; /* if 1/2, write table instead/also plot */
static int trace_opt = 0; /* if nonzero, write debugging information */
static int unchanged = 0; /* special-case for -S vs modified-files */
static int verbose = 0; /* -v option */
static long plot_scale; /* the effective scale (1:maximum) */
#ifdef HAVE_TSEARCH
static int use_tsearch;
static void *sorted_data;
#endif
static int number_len = 5;
static int prefix_len = -1;
/******************************************************************************/
#ifdef GCC_NORETURN
static void failed(const char *) GCC_NORETURN;
#endif
static void
failed(const char *s)
{
perror(s);
exit(EXIT_FAILURE);
}
/* malloc wrapper that never returns NULL */
static void *
xmalloc(size_t s)
{
void *p;
if ((p = malloc(s)) == NULL)
failed("malloc");
return p;
}
static int
do_stat(const char *name, struct stat *sb)
{
int rc;
if (name != NULL) {
#ifdef HAVE_LSTAT
rc = lstat(name, sb);
#else
rc = stat(name, sb);
#endif
} else {
rc = -1;
}
return rc;
}
static mode_t
get_stat(const char *name)
{
struct stat sb;
int rc = do_stat(name, &sb);
return ((rc == 0) ? (sb.st_mode & S_IFMT) : 0);
}
static int
is_dir(const char *name)
{
return get_stat(name) == S_IFDIR;
}
static int
is_file(const char *name)
{
return get_stat(name) == S_IFREG;
}
static int
same_file(const char *source, const char *target)
{
int rc = 0;
struct stat ssb;
struct stat dsb;
if (do_stat(source, &ssb) == 0 && S_ISREG(ssb.st_mode)
&& do_stat(target, &dsb) == 0 && S_ISREG(dsb.st_mode)
&& ssb.st_size == dsb.st_size) {
FILE *ip = fopen(source, "r");
if (ip != NULL) {
FILE *op = fopen(target, "r");
if (op != NULL) {
int a = EOF;
int b = EOF;
rc = 1;
while (1) {
a = fgetc(ip);
b = fgetc(op);
if (a != b) {
rc = 0;
break;
}
if (a == EOF) {
break;
}
}
if (a != b) {
rc = 0;
}
fclose(op);
}
fclose(ip);
}
}
return rc;
}
static void
blip(int c)
{
if (show_progress) {
(void) fflush(stdout);
(void) fputc(c, stderr);
(void) fflush(stderr);
}
}
#ifdef HAVE_STRDUP
#define new_string(s) strdup(s)
#else
static char *
new_string(const char *s)
{
return strcpy((char *) xmalloc((size_t) (strlen(s) + 1)), s);
}
#endif
static int
compare_data(const void *a, const void *b)
{
const DATA *p = (const DATA *) a;
const DATA *q = (const DATA *) b;
return ((p != NULL)
? ((q != NULL)
? strcmp(p->modified + p->base, q->modified + q->base)
: 1)
: -1);
}
static void
init_data(DATA * data, const char *original, const char *modified, int copy, int base)
{
memset(data, 0, sizeof(*data));
data->original = (char *) original;
data->modified = (char *) modified;
data->copy = copy;
data->base = base;
data->cmt = Normal;
}
static DATA *
new_data(const char *original, const char *modified, int base)
{
DATA *r = (DATA *) xmalloc(sizeof(DATA));
if (original == NULL) {
TRACE(("new_data: no original for %s\n", modified));
original = modified; /* FIXME */
}
init_data(r, new_string(original), new_string(modified), 0, base);
return r;
}
#ifdef HAVE_TSEARCH
static DATA *
add_tsearch_data(const char *original, const char *modified, int base)
{
DATA find;
DATA *result;
void *pp;
init_data(&find, NULL, modified, 1, base);
if ((pp = tfind(&find, &sorted_data, compare_data)) != NULL) {
result = *(DATA **) pp;
return result;
}
result = new_data(original, modified, base);
(void) tsearch(result, &sorted_data, compare_data);
result->link = all_data;
all_data = result;
return result;
}
#endif
static int
count_prefix(const char *name)
{
int count = 0;
const char *s;
while ((s = strchr(name, PATHSEP)) != NULL) {
name = s + 1;
++count;
}
return count;
}
static const char *
skip_prefix(const char *name, int prefix, int *base)
{
if (prefix >= 0) {
int n;
*base = 0;
for (n = prefix; n > 0; n--) {
const char *s = strchr(name + *base, PATHSEP);
if (s == NULL || *++s == EOS) {
name = s;
break;
}
*base = (int) (s - name);
}
TRACE(("** base set to %d\n", *base));
}
return name;
}
static DATA *
find_data(const char *original, const char *modified)
{
DATA *r;
int base = 0;
TRACE(("** find_data(%s => %s)\n", NonNull(original), NonNull(modified)));
/* Compute the base offset if the prefix option is used */
if (prefix_opt >= 0) {
(void) skip_prefix(modified, prefix_opt, &base);
}
/* Insert into sorted list (usually sorted). If we are not sorting or
* merging names, we fall off the end and link the new entry to the end of
* the list. If the prefix option is used, the prefix is ignored by the
* merge and sort operations.
*
* If we have tsearch(), we will maintain the sorted list using it and
* tfind().
*/
#ifdef HAVE_TSEARCH
if (use_tsearch) {
r = add_tsearch_data(original, modified, base);
} else
#endif
{
DATA *p;
DATA find;
DATA *q;
init_data(&find, original, modified, 1, base);
for (p = all_data, q = NULL; p != NULL; q = p, p = p->link) {
int cmp = compare_data(p, &find);
if (merge_names && (cmp == 0))
return p;
if (sort_names && (cmp > 0))
break;
}
r = new_data(original, modified, base);
if (q != NULL)
q->link = r;
else
all_data = r;
r->link = p;
}
return r;
}
/*
* Remove a unneeded data item from the linked list. Free the name as well.
*/
static int
delink(DATA * data)
{
DATA *p, *q;
TRACE(("** delink '%s'\n", data->modified));
#ifdef HAVE_TSEARCH
if (use_tsearch) {
if (tdelete(data, &sorted_data, compare_data) == NULL)
return 0;
}
#endif
for (p = all_data, q = NULL; p != NULL; q = p, p = p->link) {
if (p == data) {
if (q != NULL)
q->link = p->link;
else
all_data = p->link;
if (!p->copy) {
free(p->original);
free(p->modified);
}
free(p);
return 1;
}
}
return 0;
}
/*
* Compare string 's' against a constant, returning either a pointer just
* past the matched part of 's' if it matches exactly, or null if a mismatch
* was found.
*/
static char *
match(char *s, const char *p)
{
int ok = 0;
while (*s != EOS) {
if (*p == EOS) {
ok = 1;
break;
}
if (*s++ != *p++)
break;
if (*s == EOS && *p == EOS) {
ok = 1;
break;
}
}
return ok ? s : NULL;
}
static int
version_num(const char *s)
{
int main_ver, sub_ver;
char temp[2];
return (sscanf(s, "%d.%d%c", &main_ver, &sub_ver, temp) == 2);
}
/*
* Check for a range of line-numbers, used in editing scripts.
*/
static int
edit_range(const char *s)
{
int first, last;
char temp[2];
return (sscanf(s, "%d,%d%c", &first, &last, temp) == 2)
|| (sscanf(s, "%d%c", &first, temp) == 1);
}
/*
* Decode a range for default diff.
*/
static int
decode_default(char *s,
long *first, long *first_size,
long *second, long *second_size)
{
int rc = 0;
char *next;
if (isdigit(UC(*s))) {
*first_size = 1;
*second_size = 1;
*first = strtol(s, &next, 10);
if (next != NULL && next != s) {
if (*next == ',') {
s = ++next;
*first_size = strtol(s, &next, 10) + 1 - *first;
}
}
if (next != NULL && next != s) {
switch (*next++) {
case 'a':
case 'c':
case 'd':
s = next;
*second = strtol(s, &next, 10);
if (next != NULL && next != s) {
if (*next == ',') {
s = ++next;
*second_size = strtol(s, &next, 10) + 1 - *second;
}
}
if (next != NULL && next != s && *next == EOS)
rc = 1;
break;
}
}
}
return rc;
}
/*
* Decode a range for unified diff. Oddly, the comments in diffutils code
* claim that both numbers are line-numbers. However, inspection of the output
* shows that the numbers are a line-number followed by a count.
*/
static char *
decode_range(char *s, int *first, int *second)
{
if (isdigit(UC(*s))) {
int count = 0;
int value[2];
value[0] = 0;
value[1] = 0;
while (*s != EOS) {
int ch = UC(*s);
if (isdigit(ch)) {
value[count] = (10 * value[count]) + (ch - '0');
} else if (ch == ',') {
if (++count > 1) {
s = NULL;
break;
}
value[count] = 0;
} else {
break;
}
++s;
}
if (s != NULL) {
*first = value[0];
if (count == 0) {
*second = 1;
} else {
*second = value[1];
}
#if OPT_TRACE
if (*second) {
TRACE(("** decode_range [%d..%d]\n",
*first, *first + *second - 1));
} else {
TRACE(("** decode_range [%d]\n",
*first));
}
#endif
}
}
return s;
}
static int
HadDiffs(const DATA * data)
{
return InsOf(data) != 0
|| DelOf(data) != 0
|| ModOf(data) != 0
|| data->cmt != Normal;
}
/*
* If the given path is not one of the "ignore" paths, then return true.
*/
static int
can_be_merged(const char *path)
{
int result = 0;
if (strcmp(path, "")
&& strcmp(path, "/dev/null"))
result = 1;
return result;
}
static int
is_leaf(const char *theLeaf, const char *path)
{
const char *s;
if (strchr(theLeaf, PATHSEP) == NULL
&& (s = strrchr(path, PATHSEP)) != NULL
&& !strcmp(++s, theLeaf))
return 1;
return 0;
}
static char *
trim_datapath(DATA ** datap, size_t length, int *localp)
{
char *target = (*datap)->modified;
(void) localp;
#ifdef HAVE_TSEARCH
/*
* If we are using tsearch(), make a local copy of the data
* so we can trim it without interfering with tsearch's
* notion of the ordering of data. That will create some
* spurious empty data, so we add the changed() macro in a
* few places to skip over those.
*/
if (use_tsearch) {
char *trim = new_string(target);
if (trim != NULL) {
trim[length] = EOS;
*datap = add_tsearch_data(NULL, trim, (*datap)->base);
target = (*datap)->modified;
free(trim);
*localp = 1;
}
} else
#endif
target[length] = EOS;
return target;
}
static size_t
compare_tails(const char *target, const char *source, int *diff)
{
size_t len1 = strlen(target);
size_t len2 = strlen(source);
size_t n;
size_t matched = 0;
*diff = 0;
for (n = 1; n <= len1 && n <= len2; n++) {
if (target[len1 - n] != source[len2 - n]) {
*diff = (int) n;
break;
}
if (source[len2 - n] == PATHSEP) {
matched = n;
}
}
return matched;
}
/*
* The 'data' parameter points to the first of two markers, while
* 'path' is the pathname from the second marker.
*
* On the first call for
* a given file, the 'data' parameter stores no differences.
*/
static char *
do_merging(DATA * data, char *path, int *freed)
{
char *target = reverse_opt ? path : data->modified;
char *source = reverse_opt ? data->modified : path;
char *result = source;
int diff;
TRACE(("** do_merging(\"%s\" -> \"%s\",\"%s\") diffs:%d\n",
NonNull(data->original),
NonNull(data->modified),
path, HadDiffs(data)));
*freed = 0;
if (!HadDiffs(data)) {
if (is_leaf(target, source)) {
TRACE(("** is_leaf: \"%s\" vs \"%s\"\n", target, source));
if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
} else {
TRACE((".. will delink @%d\n", __LINE__));
*freed = delink(data);
}
} else if (can_be_merged(target)
&& can_be_merged(source)) {
size_t len1 = strlen(target);
size_t len2 = strlen(source);
int local = 0;
/*
* If the source/target differ only by some suffix, e.g., ".orig"
* or ".bak", strip that off. The target may may also be a
* temporary filename (which would not be merged since it has no
* apparent relationship to the current).
*/
if (len1 > len2) {
if (!strncmp(target, source, len2)) {
TRACE(("** trimming data \"%s\" to \"%.*s\"\n",
target, (int) len2, target));
if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
} else {
target = trim_datapath(&data, len2, &local);
}
}
} else if (len1 < len2) {
if (!strncmp(target, source, len1)) {
TRACE(("** trimming source \"%s\" to \"%.*s\"\n",
source, (int) len1, source));
if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
} else {
source[len2 = len1] = EOS;
}
}
}
/*
* If there was no "-p" option, look for the best match by
* stripping prefixes from both source/target strings.
*/
if (prefix_opt < 0) {
int matched = 0;
/*
* Now (whether or not we trimmed a suffix), scan back from the
* end of source/target strings to find if they happen to share
* a common ending, e.g., a/b/c versus d/b/c. If the strings
* are not identical, then 'diff' will be set, but if they have
* a common ending then 'matched' will be set.
*/
diff = 0;
matched = (int) compare_tails(target, source, &diff);
TRACE(("** merge @%d, prefix_opt=%d matched=%d diff=%d\n",
__LINE__, prefix_opt, matched, diff));
if (matched != 0 && diff) {
if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
} else {
result = source + ((int) len2 - matched + 1);
}
}
}
if (!local) {
if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
} else {
TRACE((".. will delink @%d\n", __LINE__));
*freed = delink(data);
}
}
} else if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
if (can_be_merged(source)) {
TRACE(("** merge @%d\n", __LINE__));
} else {
TRACE(("** do not merge, retain @%d\n", __LINE__));
/* must not merge, retain existing name */
result = target;
}
} else {
if (can_be_merged(source)) {
TRACE(("** merge @%d\n", __LINE__));
*freed = delink(data);
} else {
TRACE(("** do not merge, retain @%d\n", __LINE__));
/* must not merge, retain existing name */
result = target;
}
}
} else if (reverse_opt) {
TRACE((".. no action @%d\n", __LINE__));
if (can_be_merged(source)) {
TRACE(("** merge @%d\n", __LINE__));
result = target;
} else {
TRACE(("** do not merge, retain @%d\n", __LINE__));
}
} else {
if (can_be_merged(source)) {
TRACE(("** %smerge @%d\n", merge_names ? "" : "do not ", __LINE__));
if (merge_names
&& *target != EOS
&& prefix_opt < 0) {
size_t matched = compare_tails(target, source, &diff);
if (matched && !diff)
result = target + (int) (strlen(target) - matched);
}
} else {
TRACE(("** do not merge, retain @%d\n", __LINE__));
result = target;
}
}
TRACE(("** finish do_merging ->\"%s\"\n", result));
return result;
}
static int
begin_data(const DATA * p)
{
TRACE(("...begin_data(\"%s\" -> \"%s\")\n",
NonNull(p->original),
NonNull(p->modified)));
if (!can_be_merged(p->modified)
&& strchr(p->modified, PATHSEP) != NULL) {
TRACE(("** begin_data:HAVE_PATH\n"));
return HAVE_PATH;
}
TRACE(("** begin_data:HAVE_GENERIC\n"));
return HAVE_GENERIC;
}
static char *
skip_blanks(char *s)
{
while (isspace(UC(*s)))
++s;
return s;
}
/*
* Skip a filename, which may be in quotes, to allow embedded blanks in the
* name.
*/
static char *
skip_filename(char *s)
{
int delim = (*s == SQUOTE) ? SQUOTE : DQUOTE;
if ((*s == delim) && (s[1] != EOS) && (strchr) (s + 1, delim) != NULL) {
++s;
while (*s != EOS && (*s != delim) && isprint(UC(*s))) {
++s;
}
++s;
} else {
while (*s != EOS && isgraph(UC(*s))) {
++s;
}
}
return s;
}
static char *
skip_options(char *params)
{
while (*params != EOS) {
params = skip_blanks(params);
if (*params == '-') {
while (isgraph(UC(*params)))
params++;
} else {
break;
}
}
return skip_blanks(params);
}
/*
* Strip single-quotes from a name (needed for recent makepatch versions).
*/
static void
dequote(char *s)
{
size_t len = strlen(s);
int delim = (*s == SQUOTE) ? SQUOTE : DQUOTE;
if (*s == delim && len > 2 && s[len - 1] == delim) {
int n;
for (n = 0; (s[n] = s[n + 1]) != EOS; ++n) {
;
}
s[len - 2] = EOS;
}
}
/*
* Allocate a fixed-buffer
*/
static void
fixed_buffer(char **buffer, size_t want)
{
*buffer = (char *) xmalloc(want);
}
/*
* Reallocate a fixed-buffer
*/
static void
adjust_buffer(char **buffer, size_t want)
{
if ((*buffer = (char *) realloc(*buffer, want)) == NULL)
failed("realloc");
}
/*
* Read until newline or end-of-file, allocating the line-buffer so it is long
* enough for the input.
*/
static int
get_line(char **buffer, size_t *have, FILE *fp)
{
int ch;
size_t used = 0;
while ((ch = MY_GETC(fp)) != EOF) {
if (used + 2 > *have) {
adjust_buffer(buffer, *have *= 2);
}
(*buffer)[used++] = (char) ch;
if (ch == '\n')
break;
}
(*buffer)[used] = EOS;
return (used != 0);
}
static const char *
data_filename(const DATA * p)
{
return p ? (p->modified + (prefix_opt >= 0 ? p->base : prefix_len)) : "";
}
static int
count_lines2(const char *filename)
{
int result = 0;
FILE *fp;
TRACE(("count_lines \"%s\"\n", filename));
if ((fp = fopen(filename, "r")) != NULL) {
int ch;
result = 0;
while ((ch = MY_GETC(fp)) != EOF) {
if (ch == '\n')
++result;
}
(void) fclose(fp);
TRACE(("->%d lines\n", result));
} else {
(void) fflush(stdout);
fprintf(stderr, "Cannot open \"%s\"\n", filename);
}
return result;
}
/*
* Count the (new)lines in a file, return -1 if the file is not found.
*/
static int
count_lines(const DATA * p)
{
int result = -1;
char *filename = NULL;
const char *filetail = data_filename(p);
size_t want = strlen(path_opt) + 2 + strlen(filetail) + strlen(p->modified);
if ((filename = xmalloc(want)) != NULL) {
int merge = 0;
if (path_dest && *path_opt != EOS && *filetail != PATHSEP) {
size_t path_len = strlen(path_opt);
size_t tail_len = strlen(filetail);
const char *tail_sep = strchr(filetail, PATHSEP);
size_t n;
for (n = path_len - 1; (int) n >= 0; --n) {
if ((path_len - n) > tail_len)
break;
if ((n == 0 || path_opt[n - 1] == PATHSEP)
&& filetail[path_len - n] == PATHSEP) {
if (!strncmp(path_opt + n, filetail, path_len - n)) {
merge = 1;
strcpy(filename, path_opt);
strcpy(filename + n, filetail);
break;
}
}
}
if (merge == 0 && tail_sep != NULL) {
tail_len = (size_t) (tail_sep - filetail);
if (tail_len != 0 && tail_len <= path_len) {
if (tail_len < path_len
&& path_opt[path_len - tail_len - 1] != PATHSEP) {
merge = 0;
} else if (!strncmp(path_opt + path_len - tail_len,
filetail,
tail_len - 1)) {
merge = 1;
if (path_len > tail_len) {
sprintf(filename, "%.*s%c%s",
(int) (path_len - tail_len),
path_opt,
PATHSEP,
filetail);
} else {
strcpy(filename, filetail);
}
}
}
}
}
if (!merge) {
if (!path_opt) {
strcpy(filename, p->modified);
} else {
sprintf(filename, "%s%c%s", path_opt, PATHSEP, filetail);
}
}
result = count_lines2(filename);
free(filename);
} else {
failed("count_lines");
}
return result;
}
static void
update_chunk(DATA * p, Change change)
{
if (merge_opt) {
p->pending += 1;
p->chunk[change] += 1;
} else {
p->count[change] += 1;
}
}
static void
finish_chunk(DATA * p)
{
if (p->pending) {
int i;
p->pending = 0;
p->chunks += 1;
if (merge_opt) {
/*
* This is crude, but to make it really precise we would have
* to keep an array of line-numbers to which which in a chunk
* are marked as insert/delete.
*/
if (p->chunk[cInsert] && p->chunk[cDelete]) {
long change;
if (p->chunk[cInsert] > p->chunk[cDelete]) {
change = p->chunk[cDelete];
} else {
change = p->chunk[cInsert];
}
p->chunk[cInsert] -= change;
p->chunk[cDelete] -= change;
p->chunk[cModify] += change;
}
}
for_each_mark(i) {
p->count[i] += p->chunk[i];
p->chunk[i] = 0;
}
}
}
static char *
copy_notabs(char *target, char *source, size_t limit)
{
char *result = NULL;
if (limit-- != 0) { /* count trailing null */
char ch;
int found = 0;
while ((ch = *source) != EOS) {
if (ch == TAB) {
if (found)
result = source;
break;
} else if (limit-- == 0) {
break;
}
*target++ = ch;
*target = EOS;
++source;
found = 1;
}
}
return result;
}
static char *
copy_graphs(char *target, char *source, size_t limit)
{
int found = 0;
if (limit-- != 0) { /* count trailing null */
char ch;
while ((ch = *source) != EOS) {
if (ch == TAB || ch == BLANK) {
break;
} else if (limit-- == 0) {
found = 0;
break;
}
*target++ = ch;
*target = EOS;
++source;
found = 1;
}
}
return found ? source : NULL;
}
/*
* Tested with git 2.11:
* git uses dummy directory-names "a" and "b" rather than the actual working
* directory. Also, it allows non-printable characters, encoded in C-style
* backslash sequences. When those are used, it double-quotes the string.
*/
static char *
copy_git_name(char *target, char *source, size_t limit)
{
int found = 0;
int quoted = 0;
/*
* Account for double-quote.
*/
if (*source == DQUOTE) {
quoted = 1;
++source;
limit--;
}
/*
* Check for the dummy directory paths, and quit if not used.
*/
if (limit <= 2 || (strncmp(source, "a/", 2) && strncmp(source, "b/", 2))) {
limit = 0;
} else {
if (path_dest && !strncmp(source, "b/", 2)) {
source += 2; /* tweak to help with counting lines */
}
}
if (limit-- != 0) { /* count trailing null */
char ch;
while ((ch = *source) != EOS) {
if (quoted) {
if (ch == DQUOTE) {
if (*++source != EOS)
found = 0;
break;
} else if (ch == BACKSL) {
int fail = 0;
if ((ch = *++source) == EOS) {
fail = 1;
} else if (isoctal(UC(ch))) {
int need = 3;
int value = 0;
/* decode octal escapes into UTF-8 bytes */
while (need-- > 0) {
if (isoctal(*source)) {
value <<= 3;
value |= (UC(*source) - '0');
if (need) {
++source;
}
} else {
fail = 1;
break;
}
}
ch = (char) value;
} else {
--limit;
switch (ch) {
case BACKSL:
/* FALLTHRU */
case DQUOTE:
break;
case 'b':
ch = '\b';
break;
case 'n':
ch = '\n';
break;
case 'r':
ch = '\r';
break;
case 't':
ch = '\t';
break;
default:
fail = 1;
break;
}
}
if (fail) {
found = 0;
break;
}
}
} else if (!isprint(UC(ch))) {
break;
}
if (limit-- == 0) {
found = 0;
break;
}
*target++ = ch;
*target = EOS;
++source;
found = 1;
}
}
return found ? source : NULL;
}
/* perforce */
static char *
copy_p4_name(char *target, char *source, size_t limit)
{
int found = 0;
if (limit-- != 0) { /* count trailing null */
char ch;
while ((ch = *source) != EOS) {
if (ch == TAB || ch == BLANK || ch == '#') {
break;
} else if (limit-- == 0) {
found = 0;
break;
}
*target++ = ch;
*target = EOS;
++source;
found = 1;
}
}
return found ? source : NULL;
}
static char *
copy_integer(int *target, const char *source)
{
char *next = NULL;
long value = strtol(source, &next, 10);
*target = (int) value;
return next;
}
static char *
need_blanks(char *source)
{
int found = 0;
while (*source != EOS) {
char ch = *source++;
if (ch == BLANK || ch == TAB)
found = 1;
}
return found ? source : NULL;
}
static char *
need_graphs(char *source)
{
char *result = NULL;
int found = 0;
while (*source != EOS) {
char ch = *source;
if (ch == BLANK || ch == TAB || ch == EOS) {
if (found)
result = source;
break;
}
++source;
found = 1;
}
return result;
}
static char *
need_nospcs(char *source)
{
char *result = NULL;
int found = 0;
while (*source != EOS) {
char ch = *source;
if (ch == BLANK || ch == EOS) {
if (found)
result = source;
break;
}
++source;
found = 1;
}
return result;
}
/* this is used with SVN */
static char *
need_parens(char *source)
{
char *result = NULL;
if (*source++ == LPAREN) {
while (*source != EOS) {
if (*source++ == RPAREN) {
result = source;
break;
}
}
}
return result;
}
#define date_delims(a,b) (((a)=='/' && (b)=='/') || ((a) == '-' && (b) == '-'))
#define CASE_TRACE() TRACE(("** handle case for '%c' %d:%s\n", *buffer, ok, that ? that->modified : ""))
static void
do_file(FILE *fp, const char *default_name)
{
static const char *only_stars = "***************";
DATA dummy;
DATA *that = &dummy;
DATA *prev = NULL;
char *buffer = NULL;
char *b_fname = NULL;
size_t length = 0;
size_t fixed = 0;
int ok = HAVE_NOTHING;
int marker;
int freed = 0;
int unified = 0;
int old_unify = 0;
int new_unify = 0;
int expect_unify = 0;
long old_dft = 0;
long new_dft = 0;
int context = 1;
int either = 0;
int first_ch;
int git_diff = 0;
char *s;
#if OPT_TRACE
int line_no = 0;
#endif
init_data(&dummy, "", "", 1, 0);
fixed_buffer(&buffer, fixed = length = BUFSIZ);
fixed_buffer(&b_fname, length);
while (get_line(&buffer, &length, fp)) {
/*
* Adjust size of fixed-buffers so that a sscanf cannot overflow.
*/
if (length > fixed) {
fixed = length;
adjust_buffer(&b_fname, length);
}
/*
* Trim trailing newline.
*/
for (s = buffer + strlen(buffer); s != buffer; s--) {
if ((UC(s[-1]) == '\n') || (UC(s[-1]) == '\r'))
s[-1] = EOS;
else
break;
}
/*
* Trim escapes from colordiff.
*/
#define isFINAL(c) (UC(*s) >= '\140' && UC(*s) <= '\176')
if (trim_escapes && (strchr(buffer, '\033') != NULL)) {
char *d = buffer;
s = d;
while (*s != EOS) {
if (*s == '\033') {
while (*s != EOS && !isFINAL(*s)) {
++s;
}
if (*s != EOS) {
++s;
continue;
} else {
break;
}
}
*d++ = *s++;
}
*d = EOS;
}
++line_no;
TRACE(("[%05d] %s\n", line_no, buffer));
/*
* "patch -U" can create ".rej" files lacking a filename header,
* in unified format. Check for those.
*/
if (line_no == 1 && !strncmp(buffer, "@@", (size_t) 2)) {
unified = 2;
that = find_data(default_name, default_name);
ok = begin_data(that);
}
/*
* The lines identifying files in a context diff depend on how it was
* invoked. But after the header, each chunk begins with a line
* containing 15 *'s. Each chunk may contain a line-range with '***'
* for the "before", and a line-range with '---' for the "after". The
* part of the chunk depicting the deletion may be absent, though the
* edit line is present.
*
* The markers for unified diff are a little different from the normal
* context-diff. Also, the edit-lines in a unified diff won't have a
* space in column 2. Because of the missing space, we have to count
* lines to ensure we do not confuse the marker lines.
*/
marker = 0;
if (that != &dummy && !strcmp(buffer, only_stars)) {
finish_chunk(that);
TRACE(("** begin context chunk\n"));
context = 2;
} else if (line_no == 1 && !strcmp(buffer, only_stars)) {
TRACE(("** begin context chunk\n"));
context = 2;
that = find_data(default_name, default_name);
ok = begin_data(that);
} else if (context == 2 && match(buffer, "*** ")) {
context = 1;
} else if (context == 1 && match(buffer, "--- ")) {
marker = 1;
context = 0;
} else if (match(buffer, "*** ")) {
} else if ((old_unify + new_unify) == 0 && match(buffer, "==== ")) {
finish_chunk(that);
unified = 2;
} else if ((old_unify + new_unify) == 0 && match(buffer, "--- ")) {
finish_chunk(that);
marker = unified = 1;
} else if ((old_unify + new_unify) == 0 && match(buffer, "+++ ")) {
marker = unified = 2;
} else if (unified == 2
|| ((old_unify + new_unify) == 0 && (*buffer == '@'))) {
finish_chunk(that);
unified = 0;
if (*buffer == '@') {
int old_base, new_base;
int old_size = 0;
int new_size = 0;
char *sp;
old_unify = new_unify = 0;
if ((sp = match(buffer, "@@ -")) != NULL
&& (sp = decode_range(sp, &old_base, &old_size)) != NULL
&& (sp = match(sp, " +")) != NULL
&& (sp = decode_range(sp, &new_base, &new_size)) != NULL
&& match(sp, " @") != NULL) {
old_unify = old_size;
new_unify = new_size;
unified = -1;
}
}
} else if (unified == 1 && !context) {
/*
* If unified==1, we guessed we would find a "+++" line, but since
* we are here, we did not find that. The context check ensures
* we do not mistake the "---" for a unified diff with that for
* a context diff's "after" line-range.
*
* If we guessed wrong, then we probably found a data line with
* "--" in the first two columns of the diff'd file.
*/
unified = 0;
TRACE(("?? Expected \"+++\" for unified diff\n"));
if (prev != NULL
&& prev != that
&& InsOf(that) == 0
&& DelOf(that) == 0
&& strcmp(prev->modified, that->modified)) {
TRACE(("?? giveup on %ld/%ld %s\n", InsOf(that),
DelOf(that), that->modified));
TRACE(("?? revert to %ld/%ld %s\n", InsOf(prev),
DelOf(prev), prev->modified));
(void) delink(that);
that = prev;
update_chunk(that, cDelete);
}
} else if (old_unify + new_unify) {
switch (*buffer) {
case '-':
if (old_unify)
--old_unify;
break;
case '+':
if (new_unify)
--new_unify;
break;
case EOS:
case ' ':
if (old_unify)
--old_unify;
if (new_unify)
--new_unify;
break;
case BACKSL:
if (strstr(buffer, "newline") != NULL) {
break;
}
/* FALLTHRU */
default:
TRACE(("?? expected more in chunk\n"));
old_unify = new_unify = 0;
break;
}
if (!(old_unify + new_unify)) {
expect_unify = 2;
}
} else {
long old_base, new_base;
unified = 0;
if (line_no == 1
&& decode_default(buffer,
&old_base, &old_dft,
&new_base, &new_dft)) {
TRACE(("DFT %ld,%ld -> %ld,%ld\n",
old_base, old_base + old_dft - 1,
new_base, new_base + new_dft - 1));
finish_chunk(that);
that = find_data("unknown", "unknown");
ok = begin_data(that);
}
}
/*
* If the previous line ended a chunk of a unified diff, we may begin
* another chunk, or begin another type of diff. If neither, do not
* continue to accumulate counts for the unified diff which has ended.
*/
if (expect_unify != 0) {
if (expect_unify-- == 1) {
if (unified == 0) {
TRACE(("?? did not get chunk\n"));
finish_chunk(that);
that = &dummy;
}
}
}
/*
* Override the beginning of the line to simplify the case statement
* below.
*/
if (marker > 0) {
TRACE(("** have marker=%d, override %s\n", marker, buffer));
(void) memcpy(buffer, "***", (size_t) 3);
}
first_ch = *buffer;
/*
* GIT binary diffs can contain blocks of data that might be confused
* with the ordinary line-oriented sections in diff output. Skip the
* case statement if we are processing a GIT binary diff.
*/
switch (git_diff) {
default:
break;
case 1:
/* expect "index" */
if (match(buffer, "index") != NULL
|| match(buffer, "rename") != NULL
|| match(buffer, "similarity") != NULL) {
git_diff = 2;
continue;
} else {
git_diff = 0;
}
break;
case 2:
/* perhaps "GIT binary patch" */
if (match(buffer, "GIT binary patch") != NULL) {
git_diff = 3;
that->cmt = Binary;
continue;
} else if (match(buffer, "Binary files ") != NULL) {
git_diff = 0;
that->cmt = Binary;
continue;
}
break;
case 3:
/* had "GIT binary patch", wait for next "diff" line */
if (first_ch != 'd')
continue;
break;
}
/*
* Use the first character of the input line to determine its
* type:
*/
switch (first_ch) {
case 'O': /* Only */
CASE_TRACE();
if (match(buffer, "Only in ")) {
char *path = buffer + 8;
int found = 0;
for (s = path; *s != EOS; s++) {
if (match(s, ": ")) {
found = 1;
if ((s - path) >= 2 && s[-1] == PATHSEP) {
while ((s[0] = s[2]) != EOS)
s++;
} else {
*s++ = PATHSEP;
while ((s[0] = s[1]) != EOS)
s++;
}
break;
}
}
if (found) {
blip('.');
finish_chunk(that);
that = find_data(NULL, path);
that->cmt = Only;
ok = HAVE_NOTHING;
}
}
break;
/*
* Several different scripts produce "Index:" lines
* (e.g., "makepatch"). Not all bother to put the
* pathname of the files; some put only the leaf names.
*/
case 'I':
CASE_TRACE();
if ((s = match(buffer, "Index: ")) != NULL) {
s = skip_blanks(s);
dequote(s);
blip('.');
finish_chunk(that);
s = do_merging(that, s, &freed);
that = find_data(NULL, s);
ok = begin_data(that);
}
break;
case 'd': /* diff command trace */
CASE_TRACE();
if ((s = match(buffer, "diff ")) != NULL
&& *(s = skip_options(s)) != EOS) {
char *original = NULL;
char *modified = NULL;
char *to_blank = NULL;
if (reverse_opt) {
modified = s;
to_blank = skip_filename(s);
original = skip_blanks(to_blank);
*to_blank = EOS;
} else {
original = s;
to_blank = skip_filename(s);
s = skip_blanks(to_blank);
modified = s;
*to_blank = EOS;
}
if (match(buffer, "diff --git ") != NULL) {
size_t old_len = strlen(original);
size_t new_len = strlen(modified);
char *temp = xmalloc(old_len + new_len + 1);
git_diff = 1;
if (copy_git_name(temp, original, old_len) != NULL)
original = new_string(temp);
if (copy_git_name(temp, modified, new_len) != NULL)
modified = new_string(temp);
free(temp);
} else {
git_diff = 0;
dequote(original);
dequote(modified);
}
blip('.');
finish_chunk(that);
modified = do_merging(that, modified, &freed);
that = find_data(original, modified);
ok = begin_data(that);
}
break;
case '*':
CASE_TRACE();
if (!(ok & HAVE_PATH)) {
int ddd, hour, minute, second;
int day, month, year;
char yrmon, monday;
char *stars = match(buffer, "*** ");
char *sp;
if (stars == NULL)
break; /* ignore */
/* check for tab-delimited first, so we can
* accept filenames containing spaces.
*/
if (((sp = copy_notabs(b_fname, stars, length)) != NULL
&& (sp = match(sp, "\t")) != NULL
&& (sp = need_nospcs(sp)) != NULL
&& (sp = match(sp, " ")) != NULL
&& (sp = need_nospcs(sp)) != NULL
&& sscanf(sp,
" %d %d:%d:%d %d",
&ddd,
&hour, &minute, &second, &year) == 5)
|| ((sp = copy_notabs(b_fname, stars, length)) != NULL
&& sscanf(sp,
"\t%d%c%d%c%d %d:%d:%d",
&year, &yrmon, &month, &monday, &day,
&hour, &minute, &second) == 8
&& date_delims(yrmon, monday)
&& !version_num(b_fname))
|| ((sp = copy_notabs(b_fname, stars, length)) != NULL
&& (sp = match(sp, "\t")) != NULL
&& (sp = need_parens(sp)) != NULL
&& (sp = match(sp, "\t")) != NULL
&& need_parens(sp) != NULL
&& !version_num(b_fname))
|| ((sp = copy_notabs(b_fname, stars, length)) != NULL
&& (sp = match(sp, "\t")) != NULL
&& (sp = need_parens(sp)) != NULL
&& (*skip_blanks(sp) == EOS))
|| ((sp = copy_graphs(b_fname, stars, length)) != NULL
&& (sp = need_blanks(sp)) != NULL
&& (sp = need_nospcs(sp)) != NULL
&& (sp = match(sp, " ")) != NULL
&& (sp = need_nospcs(sp)) != NULL
&& sscanf(sp,
" %d %d:%d:%d %d",
&ddd, &hour, &minute, &second, &year) == 5)
|| ((sp = copy_graphs(b_fname, stars, length)) != NULL
&& (sp = need_blanks(sp)) != NULL
&& sscanf(sp,
"%d%c%d%c%d %d:%d:%d",
&year, &yrmon, &month, &monday, &day,
&hour, &minute, &second) == 8
&& date_delims(yrmon, monday)
&& !version_num(b_fname))
|| ((sp = copy_git_name(b_fname, stars, length)) != NULL
&& *skip_blanks(sp) == EOS)
|| ((sp = copy_graphs(b_fname, stars, length)) != NULL
&& (*sp == EOS || *sp == BLANK || *sp == TAB)
&& !version_num(b_fname)
&& !contain_any(b_fname, "*")
&& !edit_range(b_fname))
) {
const char *git_source = NULL;
prev = that;
finish_chunk(that);
dequote(b_fname);
/*
* Git diff's may reflect a renamed file. For this case,
* we want to keep track of the original file, for the
* -S/-D comparison.
*/
if ((marker > 1) && git_diff) {
char *tt = that->original;
if (strlen(tt) > 2
&& (!strncmp("a/", tt, 2)
|| !strncmp("b/", tt, 2))) {
tt += 2;
}
git_source = new_string(tt);
}
s = do_merging(that, b_fname, &freed);
if (freed)
prev = NULL;
that = find_data(git_source, s);
ok = begin_data(that);
TRACE(("** after merge:%d:%s\n", ok, s));
}
}
break;
case '=':
CASE_TRACE();
if (!(ok & HAVE_PATH)) {
int rev;
char *bars, *sp;
if ((bars = match(buffer, "==== ")) != NULL
&& (bars = copy_p4_name(b_fname, bars, length)) != NULL
&& (bars = match(bars, "#")) != NULL
&& (bars = copy_integer(&rev, bars)) != NULL
&& (((sp = match(bars, " - ")) != NULL
&& need_graphs(sp) != NULL)
|| (((sp = match(bars, " ")) != NULL
&& (sp = need_parens(sp)) != NULL
&& (sp = match(sp, " - ")) != NULL
&& need_graphs(sp) != NULL)))
&& !version_num(b_fname)
&& !contain_any(b_fname, "*")
&& !edit_range(b_fname)) {
TRACE(("** found p4-diff\n"));
prev = that;
finish_chunk(that);
dequote(b_fname);
s = do_merging(that, b_fname, &freed);
if (freed)
prev = NULL;
that = find_data(NULL, s);
ok = begin_data(that);
TRACE(("** after merge:%d:%s\n", ok, s));
}
}
break;
case '+':
/* FALL-THRU */
case '>':
CASE_TRACE();
if (ok) {
update_chunk(that, cInsert);
}
break;
case '-':
if (!ok) {
CASE_TRACE();
break;
}
if (!unified && !strcmp(buffer, "---")) {
CASE_TRACE();
break;
}
/* fall-thru */
case '<':
CASE_TRACE();
if (ok) {
update_chunk(that, cDelete);
}
break;
case '!':
CASE_TRACE();
if (ok) {
update_chunk(that, cModify);
}
break;
/* Expecting "Files XXX and YYY differ" */
case 'F': /* FALL-THRU */
case 'f':
CASE_TRACE();
if ((s = match(buffer + 1, "iles ")) != NULL) {
char *first = skip_blanks(s);
/* blindly assume the first filename does not contain " and " */
char *at_and = strstr(s, " and ");
s = strrchr(buffer, BLANK);
if ((at_and != NULL) && !strcmp(s, " differ")) {
char *second = skip_blanks(at_and + 5);
if (reverse_opt) {
*at_and = EOS;
s = first;
} else {
*s = EOS;
s = second;
}
blip('.');
finish_chunk(that);
that = find_data(NULL, s);
that->cmt = Either;
ok = HAVE_NOTHING;
either = 1;
}
}
break;
/* Expecting "Binary files XXX and YYY differ" */
case 'B': /* FALL-THRU */
case 'b':
CASE_TRACE();
if ((s = match(buffer + 1, "inary files ")) != NULL) {
char *first = skip_blanks(s);
/* blindly assume the first filename does not contain " and " */
char *at_and = strstr(s, " and ");
s = strrchr(buffer, BLANK);
if ((at_and != NULL) && !strcmp(s, " differ")) {
char *second = skip_blanks(at_and + 5);
if (reverse_opt) {
*at_and = EOS;
s = first;
} else {
*s = EOS;
s = second;
}
blip('.');
finish_chunk(that);
that = find_data(NULL, s);
that->cmt = Binary;
ok = HAVE_NOTHING;
}
}
break;
}
}
blip('\n');
finish_chunk(that);
finish_chunk(&dummy);
if (either) {
int pass;
int fixup_diffs = 0;
for (pass = 0; pass < 2; ++pass) {
DATA *p;
for (p = all_data; p; p = p->link) {
switch (p->cmt) {
default:
break;
case Normal:
fixup_diffs = 1;
break;
case Either:
if (pass) {
if (fixup_diffs) {
p->cmt = Binary;
} else {
p->cmt = Differs;
}
}
break;
}
}
}
}
free(buffer);
free(b_fname);
}
static void
show_color(int color)
{
if (color >= 0)
printf("\033[%dm", color + 30);
else
printf("\033[0;39m");
}
static long
plot_bar(long count, int c, int color)
{
long result = count;
if (show_colors && result != 0)
show_color(color);
while (--count >= 0)
(void) putchar(c);
if (show_colors && result != 0)
show_color(-1);
return result;
}
/*
* Each call to 'plot_num()' prints a scaled bar of 'c' characters. The
* 'extra' parameter is used to keep the accumulated error in the bar's total
* length from getting large.
*/
static long
plot_num(long num_value, int c, int color, long *extra)
{
long result = 0;
/* the value to plot */
/* character to display in the bar */
/* accumulated error in the bar */
if (num_value) {
long product = (plot_width * num_value);
result = ((product + *extra) / plot_scale);
*extra = product - (result * plot_scale) - *extra;
plot_bar(result, c, color);
}
return result;
}
static long
plot_round1(const long num[MARKS])
{
long result = 0;
long scaled[MARKS];
long remain[MARKS];
long want = 0;
long have = 0;
long half = (plot_scale / 2);
int i;
memset(scaled, 0, sizeof(scaled));
memset(remain, 0, sizeof(remain));
for_each_mark(i) {
long product = (plot_width * num[i]);
scaled[i] = (product / plot_scale);
remain[i] = (product % plot_scale);
want += product;
have += product - remain[i];
}
while (want > have) {
int j = -1;
for_each_mark(i) {
if (remain[i] != 0
&& (remain[i] > (j >= 0 ? remain[j] : half))) {
j = i;
}
}
if (j >= 0) {
have += remain[j];
remain[j] = 0;
scaled[j] += 1;
} else {
break;
}
}
for_each_mark(i) {
plot_bar(scaled[i], marks[i], colors[i]);
result += scaled[i];
}
return result;
}
/*
* Print a scaled bar of characters, where c[0] is for insertions, c[1]
* for deletions and c[2] for modifications. The num array contains the
* count for each type of change, in the same order.
*/
static long
plot_round2(const long num[MARKS])
{
long result = 0;
long scaled[MARKS];
long remain[MARKS];
long total = 0;
int i;
for (i = 0; i < MARKS; i++)
total += num[i];
if (total == 0)
return result;
total = (total * plot_width + (plot_scale / 2)) / plot_scale;
/* display at least one character */
if (total == 0)
total++;
for_each_mark(i) {
scaled[i] = num[i] * plot_width / plot_scale;
remain[i] = num[i] * plot_width - scaled[i] * plot_scale;
total -= scaled[i];
}
/* assign the missing chars using the largest remainder algo */
while (total) {
int largest, largest_count; /* largest is a bit field */
long max_remain;
/* search for the largest remainder */
largest = largest_count = 0;
max_remain = 0;
for_each_mark(i) {
if (remain[i] > max_remain) {
largest = 1 << i;
largest_count = 1;
max_remain = remain[i];
} else if (remain[i] == max_remain) { /* ex aequo */
largest |= 1 << i;
largest_count++;
}
}
/* if there are more greatest remainders than characters
missing, don't assign them at all */
if (total < largest_count)
break;
/* allocate the extra characters */
for_each_mark(i) {
if (largest & (1 << i)) {
scaled[i]++;
total--;
remain[i] -= plot_width;
}
}
}
for_each_mark(i) {
result += plot_bar(scaled[i], marks[i], colors[i]);
}
return result;
}
static void
plot_numbers(const DATA * p)
{
long temp = 0;
int i;
printf("%5ld ", TotalOf(p));
if (format_opt & FMT_VERBOSE) {
printf("%5ld ", InsOf(p));
printf("%5ld ", DelOf(p));
printf("%5ld ", ModOf(p));
if (path_opt)
printf("%5ld ", EqlOf(p));
}
if (format_opt == FMT_CONCISE) {
for_each_mark(i) {
printf("\t%ld %c", p->count[i], marks[i]);
}
} else {
long used = 0;
switch (round_opt) {
default:
for_each_mark(i) {
used += plot_num(p->count[i], marks[i], colors[i], &temp);
}
break;
case 1:
used = plot_round1(p->count);
break;
case 2:
used = plot_round2(p->count);
break;
}
if ((format_opt & FMT_FILLED) != 0) {
if (used > plot_width)
printf("%ld", used - plot_width); /* oops */
else
plot_bar(plot_width - used, '.', 0);
}
}
}
static int
columns_of(const char *value)
{
int result;
int n;
int ch;
#ifdef HAVE_MBSTOWCWIDTH
int fixup = 0;
for (n = 0; (ch = UC(value[n])) != EOS; ++n) {
if (ch >= DEL || ch < BLANK) {
fixup = 1;
break;
}
}
result = (int) strlen(value);
if (fixup) {
size_t needed;
mbstate_t state;
const char *source;
size_t length = strlen(value);
memset(&state, 0, sizeof(state));
source = value;
needed = mbsrtowcs(NULL, &source, length, &state);
if (needed != (size_t) (-1)) {
wchar_t *target = calloc(1 + needed, sizeof(wchar_t));
memset(&state, 0, sizeof(state));
source = value;
if (mbsrtowcs(target, &source, needed, &state) == needed) {
size_t n2;
result = 0;
for (n2 = 0; n2 < needed; ++n2) {
int nw = wcwidth(target[n2]);
if (nw > 0)
result += nw;
else if (target[n2] < BLANK || target[n2] == DEL)
result += 2;
else
result += 4; /* show as octal */
}
}
free(target);
}
}
#else
result = (int) strlen(value);
for (n = 0; (ch = UC(value[n])) != EOS; ++n) {
if (ch == DEL || ch < BLANK) {
result += 1;
} else if (ch > DEL) {
result += 3; /* show as octal */
}
}
#endif
return result;
}
#define adjustwide(width,name) width += (int) strlen(name) - columns_of(name)
static void
show_quoted(const char *value)
{
int ch;
putchar(DQUOTE);
while ((ch = UC(*value++)) != EOS) {
if (ch == DQUOTE)
putchar(DQUOTE);
putchar(ch);
}
putchar(DQUOTE);
}
static void
show_unquoted(const char *value, int limit)
{
int ch;
while ((ch = UC(*value++)) != EOS) {
if (ch < BLANK) {
if (strchr("\b\n\r\t\\\"", ch) != NULL) {
putchar(BACKSL);
switch (ch) {
case '\b':
ch = 'b';
break;
case '\n':
ch = 'n';
break;
case '\r':
ch = 'r';
break;
case '\t':
ch = 't';
break;
}
} else {
putchar('^');
ch |= '@';
}
} else if (ch == DEL) {
putchar('^');
ch = '?';
}
#ifndef HAVE_MBSTOWCWIDTH
else if (ch > DEL) {
char temp[5];
sprintf(temp, "\\%03o", ch & 0xff);
ch = temp[3];
temp[3] = EOS;
fputs(temp, stdout);
}
#endif
putchar(ch);
--limit;
}
while (limit-- > 0) {
putchar(BLANK);
}
}
#define changed(p) (!merge_names \
|| (p)->cmt != Normal \
|| (TotalOf(p)) != 0)
static void
show_data(const DATA * p)
{
const char *name = data_filename(p);
if (summary_only) {
;
} else if (!changed(p)) {
;
} else if (p->cmt == Binary && suppress_binary == 1) {
;
} else if (table_opt == 1) {
if (names_only) {
show_quoted(name);
} else {
printf("%ld,%ld,%ld,",
InsOf(p),
DelOf(p),
ModOf(p));
if (path_opt)
printf("%ld,", EqlOf(p));
if (count_files && !reverse_opt)
printf("%d,%d,%d,",
(p->cmt == OnlyRight),
(p->cmt == OnlyLeft),
(p->cmt == Binary));
show_quoted(name);
}
printf("\n");
} else if (names_only) {
printf("%s\n", name);
} else {
int width;
printf("%s ", comment_opt);
if (max_name_wide > 0
&& max_name_wide < min_name_wide
&& max_name_wide < ((width = (int) columns_of(name)))) {
printf("%.*s", max_name_wide, name + (width - max_name_wide));
} else {
width = ((max_name_wide > 0 && max_name_wide < min_name_wide)
? max_name_wide
: min_name_wide);
adjustwide(width, name);
show_unquoted(name, width);
}
if (table_opt == 2) {
putchar('|');
if (path_opt)
printf("%*ld ", number_len, EqlOf(p));
printf("%*ld ", number_len, InsOf(p));
printf("%*ld ", number_len, DelOf(p));
printf("%*ld", number_len, ModOf(p));
}
putchar('|');
switch (p->cmt) {
default:
case Normal:
plot_numbers(p);
break;
case Binary:
printf("binary");
break;
case Differs:
printf("differ");
break;
case Only:
printf("only");
break;
case OnlyLeft:
printf(count_files ? "deleted" : "only");
break;
case OnlyRight:
printf(count_files ? "added" : "only");
break;
}
printf("\n");
}
}
#ifdef HAVE_TSEARCH
static void
show_tsearch(const void *nodep, const VISIT which, const int depth)
{
const DATA *p = *(DATA * const *) nodep;
(void) depth;
if (which == postorder || which == leaf)
show_data(p);
}
#endif
static int
ignore_data(DATA * p)
{
return ((!changed(p))
|| (p->cmt == Binary && suppress_binary));
}
/*
* Return the length of any directory-prefix from the given path.
*/
static size_t
path_length(const char *path)
{
size_t result = 0;
char *mark = strrchr(path, PATHSEP);
if (mark != NULL && mark != path)
result = (size_t) (mark + 1 - path);
return result;
}
/*
* If we have an "only" filename, we can guess whether it was added or removed
* by looking at its directory and comparing that to other files' directories.
*
* TODO: -K -R combination is not yet supported because that relies on storing
* both left-/right-paths for each file; only the right-path is currently used.
*/
static Comment
resolve_only(const DATA * p)
{
Comment result = p->cmt;
if (result == Only && !reverse_opt) {
DATA *q;
size_t len1 = path_length(p->modified);
if (len1 != 0) {
for (q = all_data; q; q = q->link) {
result = OnlyLeft;
if (q->cmt == Normal || q->cmt == Binary) {
size_t len2 = path_length(q->modified);
if (len2 >= len1) {
if (!strncmp(p->modified, q->modified, len1)) {
result = OnlyRight;
break;
}
}
}
}
}
}
return result;
}
#ifdef HAVE_OPENDIR
static void
count_unmodified_files(const char *pathname, long *files, long *lines)
{
DATA *p;
char *name;
TRACE(("count_unmodified_files \"%s\"\n", pathname));
if (is_dir(pathname)) {
DIR *dp = opendir(pathname);
if (dp != NULL) {
const struct dirent *de;
while ((de = readdir(dp)) != NULL) {
if (!strcmp(de->d_name, ".") || !strcmp(de->d_name, ".."))
continue;
name = xmalloc(strlen(pathname) + 2 + strlen(de->d_name));
if (name != NULL) {
sprintf(name, "%s%c%s", pathname, PATHSEP, de->d_name);
if ((strcmp(de->d_name, ".git")
&& strcmp(de->d_name, ".svn")
&& strcmp(de->d_name, "CVS")
&& strcmp(de->d_name, "RCS")) || !is_dir(name)) {
count_unmodified_files(name, files, lines);
}
free(name);
}
}
closedir(dp);
}
} else if (is_file(pathname)) {
/*
* Given the pathname from the (-D) source directory, derive a
* corresponding path for the source directory. Then check if
* that path appears in the list of modified files.
*/
const char *ref_name = ((all_data && !unchanged)
? all_data->modified
: pathname);
char *source = NULL;
if (ref_name == NULL)
return;
if (prefix_opt >= 0) {
int level_s = count_prefix(path_opt);
int base_s = 0;
int base_d = 0;
(void) skip_prefix(pathname, level_s + 1, &base_s);
(void) skip_prefix(ref_name, level_s + 1, &base_d);
name = xmalloc(2 + strlen(pathname) + strlen(ref_name));
sprintf(name, "%.*s%s", base_d, ref_name, base_s + pathname);
source = xmalloc(strlen(ref_name) + 2 + strlen(pathname) +
strlen(S_option));
sprintf(source, "%s%c%s",
S_option,
PATHSEP,
base_s + pathname);
} else {
const char *mark = unchanged ? ref_name : data_filename(all_data);
int skip = 1 + (int) strlen(path_opt);
name = xmalloc(strlen(ref_name) + 2 + strlen(pathname));
sprintf(name, "%.*s%s",
(int) (mark - ref_name),
ref_name,
pathname + skip);
source = xmalloc(strlen(ref_name) + 2 + strlen(pathname) +
strlen(S_option));
sprintf(source, "%s%c%.*s%s",
S_option,
PATHSEP,
(int) (mark - ref_name),
ref_name,
pathname + skip);
}
if (same_file(source, pathname)) {
int found = 0;
for (p = all_data; p != NULL && !found; p = p->link) {
if (!strcmp(name, p->modified)) {
found = 1;
}
}
if (!found) {
p = find_data(NULL, name);
*files += 1;
EqlOf(p) = count_lines(p);
*lines += EqlOf(p);
if (unchanged) {
int len = columns_of(p->modified);
if (min_name_wide < (len - p->base))
min_name_wide = (len - p->base);
}
}
}
free(name);
free(source);
}
}
#endif
static void
update_min_name_wide(long longest_name)
{
if (prefix_opt < 0) {
if (prefix_len < 0)
prefix_len = 0;
if ((longest_name - prefix_len) > min_name_wide)
min_name_wide = (int) (longest_name - prefix_len);
}
if (min_name_wide < 1)
min_name_wide = 0;
min_name_wide++; /* make sure it's nonzero */
}
static void
summarize(void)
{
DATA *p;
long total_ins = 0;
long total_del = 0;
long total_mod = 0;
long total_eql = 0;
long files_added = 0;
long files_equal = 0;
long files_binary = 0;
long files_removed = 0;
long temp;
int num_files = 0, shortest_name = -1, longest_name = -1;
plot_scale = 0;
for (p = all_data; p; p = p->link) {
int len = columns_of(p->modified);
if (ignore_data(p))
continue;
/*
* If "-pX" option is given, prefix_opt is positive.
*
* "-p0" gives the whole pathname unmodified. "-p1" strips
* through the first path-separator, etc.
*/
if (prefix_opt >= 0) {
/* p->base has been computed at node creation */
if (min_name_wide < (len - p->base))
min_name_wide = (len - p->base);
} else {
/*
* If "-pX" option is not given, strip off any prefix which is
* shared by all of the names.
*/
if (len < prefix_len || prefix_len < 0)
prefix_len = len;
while (prefix_len > 0) {
if (p->modified[prefix_len - 1] != PATHSEP)
prefix_len--;
else if (strncmp(all_data->modified, p->modified, (size_t) prefix_len))
prefix_len--;
else
break;
}
if (len > longest_name)
longest_name = len;
if (len < shortest_name || shortest_name < 0)
shortest_name = len;
}
}
/*
* Get additional counts for files where we cannot count lines changed.
*/
if (count_files) {
for (p = all_data; p; p = p->link) {
switch (p->cmt) {
case Binary:
files_binary++;
break;
case Only:
switch (resolve_only(p)) {
case OnlyRight:
p->cmt = OnlyRight;
files_added++;
break;
case OnlyLeft:
p->cmt = OnlyLeft;
files_removed++;
break;
default:
/* ignore - we could not guess */
break;
}
default:
break;
}
}
}
/*
* Use a separate loop after computing prefix_len so we can apply the "-S"
* or "-D" options to find files that we can use as reference for the
* unchanged-count.
*/
for (p = all_data; p; p = p->link) {
if (!ignore_data(p)) {
EqlOf(p) = 0;
if (reverse_opt) {
long save_ins = InsOf(p);
long save_del = DelOf(p);
InsOf(p) = save_del;
DelOf(p) = save_ins;
}
if (path_opt != NULL) {
int count = count_lines(p);
if (count >= 0) {
EqlOf(p) = count - ModOf(p);
if (path_dest != 0) {
EqlOf(p) -= InsOf(p);
} else {
EqlOf(p) -= DelOf(p);
}
if (EqlOf(p) < 0)
EqlOf(p) = 0;
}
}
num_files++;
total_ins += InsOf(p);
total_del += DelOf(p);
total_mod += ModOf(p);
total_eql += EqlOf(p);
temp = TotalOf(p);
if (temp > plot_scale)
plot_scale = temp;
}
}
update_min_name_wide(longest_name);
#ifdef HAVE_OPENDIR
if (S_option != NULL && D_option != NULL) {
unchanged = (all_data == NULL);
count_unmodified_files(D_option, &files_equal, &total_eql);
if (unchanged) {
for (p = all_data; p; p = p->link) {
int len = columns_of(p->modified);
if (longest_name < len)
longest_name = len;
temp = TotalOf(p);
if (temp > plot_scale)
plot_scale = temp;
}
update_min_name_wide(longest_name);
}
}
#endif
plot_width = (max_width - min_name_wide - 8);
if (plot_width < 10)
plot_width = 10;
if (plot_scale < plot_width)
plot_scale = plot_width; /* 1:1 */
if (table_opt == 1) {
if (!names_only) {
printf("INSERTED,DELETED,MODIFIED,");
if (path_opt)
printf("UNCHANGED,");
if (count_files && !reverse_opt)
printf("FILE-ADDED,FILE-DELETED,FILE-BINARY,");
}
printf("FILENAME\n");
} else if (table_opt == 2) {
long largest = 0;
for (p = all_data; p; p = p->link) {
if (path_opt)
largest = maximum(largest, EqlOf(p));
largest = maximum(largest, InsOf(p));
largest = maximum(largest, DelOf(p));
largest = maximum(largest, ModOf(p));
}
number_len = 0;
while (largest > 0) {
number_len++;
largest /= 10;
}
number_len = maximum(number_len, 3);
}
#ifdef HAVE_TSEARCH
if (use_tsearch) {
twalk(sorted_data, show_tsearch);
} else
#endif
for (p = all_data; p; p = p->link) {
show_data(p);
}
if ((table_opt != 1) && !names_only) {
#define PLURAL(n) n, n != 1 ? "s" : ""
if (num_files > 0 || !quiet) {
printf("%s %d file%s changed", comment_opt, PLURAL(num_files));
if (total_ins)
printf(", %ld insertion%s(+)", PLURAL(total_ins));
if (total_del)
printf(", %ld deletion%s(-)", PLURAL(total_del));
if (total_mod)
printf(", %ld modification%s(!)", PLURAL(total_mod));
if (total_eql && path_opt != NULL)
printf(", %ld unchanged line%s(=)", PLURAL(total_eql));
if (count_files) {
if (files_added)
printf(", %ld file%s added", PLURAL(files_added));
if (files_removed)
printf(", %ld file%s removed", PLURAL(files_removed));
if (files_binary)
printf(", %ld binary file%s", PLURAL(files_binary));
}
(void) putchar('\n');
}
}
}
#ifdef HAVE_POPEN
static const char *
get_program(const char *name, const char *dft)
{
const char *result = getenv(name);
if (result == NULL || *result == EOS)
result = dft;
TRACE(("get_program(%s) = %s\n", name, result));
return result;
}
#define GET_PROGRAM(name) get_program("DIFFSTAT_" #name, name)
static char *
decompressor(Decompress which, const char *name)
{
const char *verb = NULL;
const char *opts = "";
char *result = NULL;
switch (which) {
case dcBzip:
verb = GET_PROGRAM(BZCAT_PATH);
if (*verb == EOS) {
verb = GET_PROGRAM(BZIP2_PATH);
opts = "-dc";
}
break;
case dcCompress:
verb = GET_PROGRAM(ZCAT_PATH);
if (*verb == EOS) {
verb = GET_PROGRAM(UNCOMPRESS_PATH);
opts = "-c";
if (*verb == EOS) {
/* not all compress's recognize the options, test this last */
verb = GET_PROGRAM(COMPRESS_PATH);
opts = "-dc";
}
}
break;
case dcGzip:
verb = GET_PROGRAM(GZIP_PATH);
opts = "-dc";
break;
case dcLzma:
verb = GET_PROGRAM(LZCAT_PATH);
opts = "-dc";
break;
case dcPack:
verb = GET_PROGRAM(PCAT_PATH);
break;
case dcXz:
verb = GET_PROGRAM(XZ_PATH);
opts = "-dc";
break;
case dcZstd:
verb = GET_PROGRAM(ZSTD_PATH);
opts = "-qdcf";
break;
case dcEmpty:
/* FALLTHRU */
case dcNone:
break;
}
if (verb != NULL && *verb != EOS) {
result = (char *) xmalloc(strlen(verb) + 10 + strlen(name));
sprintf(result, "%s %s", verb, opts);
if (*name != EOS) {
sprintf(result + strlen(result), " \"%s\"", name);
}
}
return result;
}
static char *
is_compressed(const char *name)
{
size_t len = strlen(name);
Decompress which;
#define CHKEND(end) \
(len > (sizeof(end) - 1) && \
!strcmp(name + len - (sizeof(end) - 1), end))
if (CHKEND(".Z")) {
which = dcCompress;
} else if (CHKEND(".z")) {
which = dcPack;
} else if (CHKEND(".gz")) {
which = dcGzip;
} else if (CHKEND(".bz2")) {
which = dcBzip;
} else if (CHKEND(".lzma")) {
which = dcLzma;
} else if (CHKEND(".xz")) {
which = dcXz;
} else if (CHKEND(".zst")) {
which = dcZstd;
} else {
which = dcNone;
}
return decompressor(which, name);
}
#ifdef HAVE_MKDTEMP
#define MY_MKDTEMP(path) mkdtemp(path)
#else
/*
* mktemp is supposedly marked obsolete at the same point that mkdtemp is
* introduced.
*/
static char *
my_mkdtemp(char *path)
{
char *result = mktemp(path);
if (result != 0) {
if (MKDIR(result, 0700) < 0) {
result = 0;
}
}
return path;
}
#define MY_MKDTEMP(path) my_mkdtemp(path)
#endif
static char *
copy_stdin(char **dirpath)
{
const char *tmp = getenv("TMPDIR");
char *result = NULL;
if (tmp == NULL)
tmp = "/tmp/";
*dirpath = xmalloc(strlen(tmp) + 12);
strcpy(*dirpath, tmp);
strcat(*dirpath, "/diffXXXXXX");
if (MY_MKDTEMP(*dirpath) != NULL) {
FILE *fp;
result = xmalloc(strlen(*dirpath) + 10);
sprintf(result, "%s/stdin", *dirpath);
if ((fp = fopen(result, "w")) != NULL) {
int ch;
while ((ch = MY_GETC(stdin)) != EOF) {
fputc(ch, fp);
}
(void) fclose(fp);
} else {
free(result);
result = NULL;
rmdir(*dirpath); /* Assume that the /stdin file was not created */
free(*dirpath);
*dirpath = NULL;
}
} else {
free(*dirpath);
*dirpath = NULL;
}
return result;
}
#endif
static void
set_path_opt(char *value, int destination)
{
path_opt = value;
path_dest = destination;
if (*path_opt != 0) {
if (is_dir(path_opt)) {
num_marks = 4;
} else {
(void) fflush(stdout);
fprintf(stderr, "Not a directory:%s\n", path_opt);
exit(EXIT_FAILURE);
}
}
}
static void
usage(FILE *fp)
{
static const char *msg[] =
{
"Usage: diffstat [options] [files]",
"",
"Reads from one or more input files which contain output from 'diff',",
"producing a histogram of total lines changed for each file referenced.",
"If no filename is given on the command line, reads from standard input.",
"",
"Options:",
" -b ignore lines matching \"Binary files XXX and YYY differ\"",
" -c prefix each line with comment (#)",
" -C add SGR color escape sequences to highlight the histogram",
#if OPT_TRACE
" -d debug - prints a lot of information",
#endif
" -D PATH specify location of patched files, use for unchanged-count",
" -e FILE redirect standard error to FILE",
" -E trim escape-sequences, e.g., from colordiff",
" -f NUM format (0=concise, 1=normal, 2=filled, 4=values)",
" -h print this message",
" -k do not merge filenames",
" -K resolve ambiguity of \"only\" filenames",
" -l list filenames only",
" -m merge insert/delete data in chunks as modified-lines",
" -n NUM specify minimum width for the filenames (default: auto)",
" -N NUM specify maximum width for the filenames (default: auto)",
" -o FILE redirect standard output to FILE",
" -O inspect only files listed in diff for -S/-D options",
" -p NUM specify number of pathname-separators to strip (default: common)",
" -q suppress the \"0 files changed\" message for empty diffs",
" -r NUM specify rounding for histogram (0=none, 1=simple, 2=adjusted)",
" -R assume patch was created with old and new files swapped",
" -s show only the summary line",
" -S PATH specify location of original files, use for unchanged-count",
" -t print a table (comma-separated-values) rather than histogram",
" -T print amounts (like -t option) in addition to histogram",
" -u do not sort the input list",
" -v show progress if output is redirected to a file",
" -V prints the version number",
" -w NUM specify maximum width of the output (default: 80)",
};
unsigned j;
for (j = 0; j < sizeof(msg) / sizeof(msg[0]); j++)
fprintf(fp, "%s\n", msg[j]);
}
/* Wrapper around getopt that also parses "--help" and "--version".
* argc, argv, opts, return value, and globals optarg, optind,
* opterr, and optopt are as in getopt(). help and version designate
* what should be returned if --help or --version are encountered. */
static int
getopt_helper(int argc, char *const argv[], const char *opts,
int help, int version)
{
if (optind < argc && argv[optind] != NULL) {
if (strcmp(argv[optind], "--help") == 0) {
optind++;
return help;
} else if (strcmp(argv[optind], "--version") == 0) {
optind++;
return version;
}
}
return getopt(argc, argv, opts);
}
static int
getopt_value(void)
{
char *next = NULL;
long value = strtol(optarg, &next, 0);
if (next == NULL || *next != EOS) {
(void) fflush(stdout);
fprintf(stderr, "expected a number, have '%s'\n", optarg);
exit(EXIT_FAILURE);
}
return (int) value;
}
#define OPTIONS "\
b\
cC\
dD:\
e:E\
f:\
h\
kK\
l\
m\
n:N:\
o:\
p:\
q\
r:R\
sS:\
tT\
uv\
Vw:"
int
main(int argc, char *argv[])
{
int j;
char version[80];
#if defined(HAVE_TCGETATTR) && defined(TIOCGWINSZ)
if (isatty(fileno(stdout))) {
struct winsize data;
if (ioctl(fileno(stdout), TIOCGWINSZ, &data) == 0) {
max_width = data.ws_col;
}
}
#endif
#ifdef HAVE_MBSTOWCWIDTH
setlocale(LC_CTYPE, "");
#endif
while ((j = getopt_helper(argc, argv, OPTIONS, 'h', 'V'))
!= -1) {
switch (j) {
case 'b':
suppress_binary = 1;
break;
case 'c':
comment_opt = "#";
break;
case 'C':
show_colors = 1;
break;
#if OPT_TRACE
case 'd':
trace_opt = 1;
break;
#endif
case 'D':
D_option = optarg;
break;
case 'e':
if (freopen(optarg, "w", stderr) == NULL)
failed(optarg);
break;
case 'E':
trim_escapes = 1;
break;
case 'f':
format_opt = getopt_value();
break;
case 'h':
usage(stdout);
return (EXIT_SUCCESS);
case 'k':
merge_names = 0;
break;
case 'K':
count_files = 1;
break;
case 'l':
names_only = 1;
break;
case 'm':
merge_opt = 1;
break;
case 'n':
min_name_wide = getopt_value();
break;
case 'N':
max_name_wide = getopt_value();
break;
case 'o':
if (freopen(optarg, "w", stdout) == NULL)
failed(optarg);
break;
case 'p':
prefix_opt = getopt_value();
break;
case 'r':
round_opt = getopt_value();
break;
case 'R':
reverse_opt = 1;
break;
case 's':
summary_only = 1;
break;
case 'S':
S_option = optarg;
break;
case 't':
table_opt = 1;
break;
case 'T':
table_opt = 2;
break;
case 'u':
sort_names = 0;
break;
case 'v':
verbose = 1;
break;
case 'V':
#ifndef NO_IDENT
if (!sscanf(Id, "%*s %*s %30s", version))
#endif
(void) strcpy(version, "?");
printf("diffstat version %s\n", version);
return (EXIT_SUCCESS);
case 'w':
max_width = getopt_value();
break;
case 'q':
quiet = 1;
break;
default:
usage(stderr);
return (EXIT_FAILURE);
}
}
/*
* The numbers from -S/-D options will only be useful if the merge option
* is added.
*/
if (S_option)
set_path_opt(S_option, 0);
if (D_option)
set_path_opt(D_option, 1);
if (path_opt)
merge_opt = 1;
show_progress = verbose && (!isatty(fileno(stdout))
&& isatty(fileno(stderr)));
#ifdef HAVE_TSEARCH
use_tsearch = (sort_names && merge_names);
#endif
if (optind < argc) {
while (optind < argc) {
FILE *fp;
const char *name = argv[optind++];
#ifdef HAVE_POPEN
char *command = is_compressed(name);
if (command != NULL) {
if ((fp = popen(command, "r")) != NULL) {
if (show_progress) {
(void) fflush(stdout);
(void) fprintf(stderr, "%s\n", name);
(void) fflush(stderr);
}
do_file(fp, name);
(void) pclose(fp);
}
free(command);
} else
#endif
if ((fp = fopen(name, "rb")) != NULL) {
if (show_progress) {
(void) fflush(stdout);
(void) fprintf(stderr, "%s\n", name);
(void) fflush(stderr);
}
do_file(fp, name);
(void) fclose(fp);
} else {
failed(name);
}
}
} else {
#ifdef HAVE_POPEN
Decompress which = dcEmpty;
char *stdin_dir = NULL;
char *myfile;
char sniff[8];
int ch;
unsigned got = 0;
if ((ch = MY_GETC(stdin)) != EOF) {
which = dcNone;
if (ch == 'B') { /* perhaps bzip2 (poor magic design...) */
sniff[got++] = (char) ch;
while (got < 5) {
if ((ch = MY_GETC(stdin)) == EOF)
break;
sniff[got++] = (char) ch;
}
if (got == 5
&& !strncmp(sniff, "BZh", (size_t) 3)
&& isdigit(UC(sniff[3]))
&& isdigit(UC(sniff[4]))) {
which = dcBzip;
}
} else if (ch == ']') { /* perhaps lzma */
sniff[got++] = (char) ch;
while (got < 4) {
if ((ch = MY_GETC(stdin)) == EOF)
break;
sniff[got++] = (char) ch;
}
if (got == 4
&& !memcmp(sniff, "]\0\0\200", (size_t) 4)) {
which = dcLzma;
}
} else if (ch == 0xfd) { /* perhaps xz */
sniff[got++] = (char) ch;
while (got < 6) {
if ((ch = MY_GETC(stdin)) == EOF)
break;
sniff[got++] = (char) ch;
}
if (got == 6
&& !memcmp(sniff, "\3757zXZ\0", (size_t) 6)) {
which = dcXz;
}
} else if (ch >= 0x22 && ch <= 0x28) { /* perhaps zstd */
sniff[got++] = (char) ch;
while (got < 4) {
if ((ch = MY_GETC(stdin)) == EOF)
break;
sniff[got++] = (char) ch;
}
if (got == 4 /* vi:{ */
&& !memcmp(sniff + 1, "\265/\375", (size_t) 3)) {
which = dcZstd;
}
} else if (ch == '\037') { /* perhaps compress, etc. */
sniff[got++] = (char) ch;
if ((ch = MY_GETC(stdin)) != EOF) {
sniff[got++] = (char) ch;
switch (ch) {
case 0213:
which = dcGzip;
break;
case 0235:
which = dcCompress;
break;
case 0036:
which = dcPack;
break;
}
}
} else {
sniff[got++] = (char) ch;
}
}
/*
* The C standard only guarantees one ungetc;
* virtually everyone allows more.
*/
while (got != 0) {
ungetc((unsigned char) sniff[--got], stdin);
}
if (which != dcNone
&& which != dcEmpty
&& (myfile = copy_stdin(&stdin_dir)) != NULL) {
FILE *fp;
char *command;
/* open pipe to decompress temporary file */
command = decompressor(which, myfile);
if ((fp = popen(command, "r")) != NULL) {
do_file(fp, "stdin");
(void) pclose(fp);
}
free(command);
unlink(myfile);
free(myfile);
myfile = NULL;
rmdir(stdin_dir);
free(stdin_dir);
stdin_dir = NULL;
} else if (which != dcEmpty)
#endif
do_file(stdin, "stdin");
}
summarize();
#if defined(NO_LEAKS)
while (all_data != 0) {
delink(all_data);
}
#endif
return (EXIT_SUCCESS);
}
diffstat-1.68/config.sub 0000755 0000000 0000000 00000115441 14627414553 013756 0 ustar root root #! /bin/sh
# Configuration validation subroutine script.
# Copyright 1992-2024 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
timestamp='2024-05-27'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see .
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").
# Please send patches to .
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# You can get the latest version of this script from:
# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
# Each package is responsible for reporting which valid configurations
# it does not support. The user should be able to distinguish
# a failure to support a valid configuration from a meaningless
# configuration.
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
# The "shellcheck disable" line above the timestamp inhibits complaints
# about features and limitations of the classic Bourne shell that were
# superseded or lifted in POSIX. However, this script identifies a wide
# variety of pre-POSIX systems that do not have POSIX shells at all, and
# even some reasonably current systems (Solaris 10 as case-in-point) still
# have a pre-POSIX /bin/sh.
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
Canonicalize a configuration name.
Options:
-h, --help print this help, then exit
-t, --time-stamp print date of last modification, then exit
-v, --version print version number, then exit
Report bugs and patches to ."
version="\
GNU config.sub ($timestamp)
Copyright 1992-2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
help="
Try '$me --help' for more information."
# Parse command line
while test $# -gt 0 ; do
case $1 in
--time-stamp | --time* | -t )
echo "$timestamp" ; exit ;;
--version | -v )
echo "$version" ; exit ;;
--help | --h* | -h )
echo "$usage"; exit ;;
-- ) # Stop option processing
shift; break ;;
- ) # Use stdin as input.
break ;;
-* )
echo "$me: invalid option $1$help" >&2
exit 1 ;;
*local*)
# First pass through any local machine types.
echo "$1"
exit ;;
* )
break ;;
esac
done
case $# in
0) echo "$me: missing argument$help" >&2
exit 1;;
1) ;;
*) echo "$me: too many arguments$help" >&2
exit 1;;
esac
# Split fields of configuration type
saved_IFS=$IFS
IFS="-" read field1 field2 field3 field4 <&2
exit 1
;;
*-*-*-*)
basic_machine=$field1-$field2
basic_os=$field3-$field4
;;
*-*-*)
# Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
# parts
maybe_os=$field2-$field3
case $maybe_os in
cloudabi*-eabi* \
| kfreebsd*-gnu* \
| knetbsd*-gnu* \
| kopensolaris*-gnu* \
| linux-* \
| managarm-* \
| netbsd*-eabi* \
| netbsd*-gnu* \
| nto-qnx* \
| os2-emx* \
| rtmk-nova* \
| storm-chaos* \
| uclinux-gnu* \
| uclinux-uclibc* \
| windows-* )
basic_machine=$field1
basic_os=$maybe_os
;;
android-linux)
basic_machine=$field1-unknown
basic_os=linux-android
;;
*)
basic_machine=$field1-$field2
basic_os=$field3
;;
esac
;;
*-*)
case $field1-$field2 in
# Shorthands that happen to contain a single dash
convex-c[12] | convex-c3[248])
basic_machine=$field2-convex
basic_os=
;;
decstation-3100)
basic_machine=mips-dec
basic_os=
;;
*-*)
# Second component is usually, but not always the OS
case $field2 in
# Do not treat sunos as a manufacturer
sun*os*)
basic_machine=$field1
basic_os=$field2
;;
# Manufacturers
3100* \
| 32* \
| 3300* \
| 3600* \
| 7300* \
| acorn \
| altos* \
| apollo \
| apple \
| atari \
| att* \
| axis \
| be \
| bull \
| cbm \
| ccur \
| cisco \
| commodore \
| convergent* \
| convex* \
| cray \
| crds \
| dec* \
| delta* \
| dg \
| digital \
| dolphin \
| encore* \
| gould \
| harris \
| highlevel \
| hitachi* \
| hp \
| ibm* \
| intergraph \
| isi* \
| knuth \
| masscomp \
| microblaze* \
| mips* \
| motorola* \
| ncr* \
| news \
| next \
| ns \
| oki \
| omron* \
| pc533* \
| rebel \
| rom68k \
| rombug \
| semi \
| sequent* \
| siemens \
| sgi* \
| siemens \
| sim \
| sni \
| sony* \
| stratus \
| sun \
| sun[234]* \
| tektronix \
| tti* \
| ultra \
| unicom* \
| wec \
| winbond \
| wrs)
basic_machine=$field1-$field2
basic_os=
;;
zephyr*)
basic_machine=$field1-unknown
basic_os=$field2
;;
*)
basic_machine=$field1
basic_os=$field2
;;
esac
;;
esac
;;
*)
# Convert single-component short-hands not valid as part of
# multi-component configurations.
case $field1 in
386bsd)
basic_machine=i386-pc
basic_os=bsd
;;
a29khif)
basic_machine=a29k-amd
basic_os=udi
;;
adobe68k)
basic_machine=m68010-adobe
basic_os=scout
;;
alliant)
basic_machine=fx80-alliant
basic_os=
;;
altos | altos3068)
basic_machine=m68k-altos
basic_os=
;;
am29k)
basic_machine=a29k-none
basic_os=bsd
;;
amdahl)
basic_machine=580-amdahl
basic_os=sysv
;;
amiga)
basic_machine=m68k-unknown
basic_os=
;;
amigaos | amigados)
basic_machine=m68k-unknown
basic_os=amigaos
;;
amigaunix | amix)
basic_machine=m68k-unknown
basic_os=sysv4
;;
apollo68)
basic_machine=m68k-apollo
basic_os=sysv
;;
apollo68bsd)
basic_machine=m68k-apollo
basic_os=bsd
;;
aros)
basic_machine=i386-pc
basic_os=aros
;;
aux)
basic_machine=m68k-apple
basic_os=aux
;;
balance)
basic_machine=ns32k-sequent
basic_os=dynix
;;
blackfin)
basic_machine=bfin-unknown
basic_os=linux
;;
cegcc)
basic_machine=arm-unknown
basic_os=cegcc
;;
cray)
basic_machine=j90-cray
basic_os=unicos
;;
crds | unos)
basic_machine=m68k-crds
basic_os=
;;
da30)
basic_machine=m68k-da30
basic_os=
;;
decstation | pmax | pmin | dec3100 | decstatn)
basic_machine=mips-dec
basic_os=
;;
delta88)
basic_machine=m88k-motorola
basic_os=sysv3
;;
dicos)
basic_machine=i686-pc
basic_os=dicos
;;
djgpp)
basic_machine=i586-pc
basic_os=msdosdjgpp
;;
ebmon29k)
basic_machine=a29k-amd
basic_os=ebmon
;;
es1800 | OSE68k | ose68k | ose | OSE)
basic_machine=m68k-ericsson
basic_os=ose
;;
gmicro)
basic_machine=tron-gmicro
basic_os=sysv
;;
go32)
basic_machine=i386-pc
basic_os=go32
;;
h8300hms)
basic_machine=h8300-hitachi
basic_os=hms
;;
h8300xray)
basic_machine=h8300-hitachi
basic_os=xray
;;
h8500hms)
basic_machine=h8500-hitachi
basic_os=hms
;;
harris)
basic_machine=m88k-harris
basic_os=sysv3
;;
hp300 | hp300hpux)
basic_machine=m68k-hp
basic_os=hpux
;;
hp300bsd)
basic_machine=m68k-hp
basic_os=bsd
;;
hppaosf)
basic_machine=hppa1.1-hp
basic_os=osf
;;
hppro)
basic_machine=hppa1.1-hp
basic_os=proelf
;;
i386mach)
basic_machine=i386-mach
basic_os=mach
;;
isi68 | isi)
basic_machine=m68k-isi
basic_os=sysv
;;
m68knommu)
basic_machine=m68k-unknown
basic_os=linux
;;
magnum | m3230)
basic_machine=mips-mips
basic_os=sysv
;;
merlin)
basic_machine=ns32k-utek
basic_os=sysv
;;
mingw64)
basic_machine=x86_64-pc
basic_os=mingw64
;;
mingw32)
basic_machine=i686-pc
basic_os=mingw32
;;
mingw32ce)
basic_machine=arm-unknown
basic_os=mingw32ce
;;
monitor)
basic_machine=m68k-rom68k
basic_os=coff
;;
morphos)
basic_machine=powerpc-unknown
basic_os=morphos
;;
moxiebox)
basic_machine=moxie-unknown
basic_os=moxiebox
;;
msdos)
basic_machine=i386-pc
basic_os=msdos
;;
msys)
basic_machine=i686-pc
basic_os=msys
;;
mvs)
basic_machine=i370-ibm
basic_os=mvs
;;
nacl)
basic_machine=le32-unknown
basic_os=nacl
;;
ncr3000)
basic_machine=i486-ncr
basic_os=sysv4
;;
netbsd386)
basic_machine=i386-pc
basic_os=netbsd
;;
netwinder)
basic_machine=armv4l-rebel
basic_os=linux
;;
news | news700 | news800 | news900)
basic_machine=m68k-sony
basic_os=newsos
;;
news1000)
basic_machine=m68030-sony
basic_os=newsos
;;
necv70)
basic_machine=v70-nec
basic_os=sysv
;;
nh3000)
basic_machine=m68k-harris
basic_os=cxux
;;
nh[45]000)
basic_machine=m88k-harris
basic_os=cxux
;;
nindy960)
basic_machine=i960-intel
basic_os=nindy
;;
mon960)
basic_machine=i960-intel
basic_os=mon960
;;
nonstopux)
basic_machine=mips-compaq
basic_os=nonstopux
;;
os400)
basic_machine=powerpc-ibm
basic_os=os400
;;
OSE68000 | ose68000)
basic_machine=m68000-ericsson
basic_os=ose
;;
os68k)
basic_machine=m68k-none
basic_os=os68k
;;
paragon)
basic_machine=i860-intel
basic_os=osf
;;
parisc)
basic_machine=hppa-unknown
basic_os=linux
;;
psp)
basic_machine=mipsallegrexel-sony
basic_os=psp
;;
pw32)
basic_machine=i586-unknown
basic_os=pw32
;;
rdos | rdos64)
basic_machine=x86_64-pc
basic_os=rdos
;;
rdos32)
basic_machine=i386-pc
basic_os=rdos
;;
rom68k)
basic_machine=m68k-rom68k
basic_os=coff
;;
sa29200)
basic_machine=a29k-amd
basic_os=udi
;;
sei)
basic_machine=mips-sei
basic_os=seiux
;;
sequent)
basic_machine=i386-sequent
basic_os=
;;
sps7)
basic_machine=m68k-bull
basic_os=sysv2
;;
st2000)
basic_machine=m68k-tandem
basic_os=
;;
stratus)
basic_machine=i860-stratus
basic_os=sysv4
;;
sun2)
basic_machine=m68000-sun
basic_os=
;;
sun2os3)
basic_machine=m68000-sun
basic_os=sunos3
;;
sun2os4)
basic_machine=m68000-sun
basic_os=sunos4
;;
sun3)
basic_machine=m68k-sun
basic_os=
;;
sun3os3)
basic_machine=m68k-sun
basic_os=sunos3
;;
sun3os4)
basic_machine=m68k-sun
basic_os=sunos4
;;
sun4)
basic_machine=sparc-sun
basic_os=
;;
sun4os3)
basic_machine=sparc-sun
basic_os=sunos3
;;
sun4os4)
basic_machine=sparc-sun
basic_os=sunos4
;;
sun4sol2)
basic_machine=sparc-sun
basic_os=solaris2
;;
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
basic_os=
;;
sv1)
basic_machine=sv1-cray
basic_os=unicos
;;
symmetry)
basic_machine=i386-sequent
basic_os=dynix
;;
t3e)
basic_machine=alphaev5-cray
basic_os=unicos
;;
t90)
basic_machine=t90-cray
basic_os=unicos
;;
toad1)
basic_machine=pdp10-xkl
basic_os=tops20
;;
tpf)
basic_machine=s390x-ibm
basic_os=tpf
;;
udi29k)
basic_machine=a29k-amd
basic_os=udi
;;
ultra3)
basic_machine=a29k-nyu
basic_os=sym1
;;
v810 | necv810)
basic_machine=v810-nec
basic_os=none
;;
vaxv)
basic_machine=vax-dec
basic_os=sysv
;;
vms)
basic_machine=vax-dec
basic_os=vms
;;
vsta)
basic_machine=i386-pc
basic_os=vsta
;;
vxworks960)
basic_machine=i960-wrs
basic_os=vxworks
;;
vxworks68)
basic_machine=m68k-wrs
basic_os=vxworks
;;
vxworks29k)
basic_machine=a29k-wrs
basic_os=vxworks
;;
xbox)
basic_machine=i686-pc
basic_os=mingw32
;;
ymp)
basic_machine=ymp-cray
basic_os=unicos
;;
*)
basic_machine=$1
basic_os=
;;
esac
;;
esac
# Decode 1-component or ad-hoc basic machines
case $basic_machine in
# Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular.
w89k)
cpu=hppa1.1
vendor=winbond
;;
op50n)
cpu=hppa1.1
vendor=oki
;;
op60c)
cpu=hppa1.1
vendor=oki
;;
ibm*)
cpu=i370
vendor=ibm
;;
orion105)
cpu=clipper
vendor=highlevel
;;
mac | mpw | mac-mpw)
cpu=m68k
vendor=apple
;;
pmac | pmac-mpw)
cpu=powerpc
vendor=apple
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
cpu=m68000
vendor=att
;;
3b*)
cpu=we32k
vendor=att
;;
bluegene*)
cpu=powerpc
vendor=ibm
basic_os=cnk
;;
decsystem10* | dec10*)
cpu=pdp10
vendor=dec
basic_os=tops10
;;
decsystem20* | dec20*)
cpu=pdp10
vendor=dec
basic_os=tops20
;;
delta | 3300 | delta-motorola | 3300-motorola | motorola-delta | motorola-3300)
cpu=m68k
vendor=motorola
;;
# This used to be dpx2*, but that gets the RS6000-based
# DPX/20 and the x86-based DPX/2-100 wrong. See
# https://oldskool.silicium.org/stations/bull_dpx20.htm
# https://www.feb-patrimoine.com/english/bull_dpx2.htm
# https://www.feb-patrimoine.com/english/unix_and_bull.htm
dpx2 | dpx2[23]00 | dpx2[23]xx)
cpu=m68k
vendor=bull
;;
dpx2100 | dpx21xx)
cpu=i386
vendor=bull
;;
dpx20)
cpu=rs6000
vendor=bull
;;
encore | umax | mmax)
cpu=ns32k
vendor=encore
;;
elxsi)
cpu=elxsi
vendor=elxsi
basic_os=${basic_os:-bsd}
;;
fx2800)
cpu=i860
vendor=alliant
;;
genix)
cpu=ns32k
vendor=ns
;;
h3050r* | hiux*)
cpu=hppa1.1
vendor=hitachi
basic_os=hiuxwe2
;;
hp3k9[0-9][0-9] | hp9[0-9][0-9])
cpu=hppa1.0
vendor=hp
;;
hp9k2[0-9][0-9] | hp9k31[0-9])
cpu=m68000
vendor=hp
;;
hp9k3[2-9][0-9])
cpu=m68k
vendor=hp
;;
hp9k6[0-9][0-9] | hp6[0-9][0-9])
cpu=hppa1.0
vendor=hp
;;
hp9k7[0-79][0-9] | hp7[0-79][0-9])
cpu=hppa1.1
vendor=hp
;;
hp9k78[0-9] | hp78[0-9])
# FIXME: really hppa2.0-hp
cpu=hppa1.1
vendor=hp
;;
hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
# FIXME: really hppa2.0-hp
cpu=hppa1.1
vendor=hp
;;
hp9k8[0-9][13679] | hp8[0-9][13679])
cpu=hppa1.1
vendor=hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
cpu=hppa1.0
vendor=hp
;;
i*86v32)
cpu=`echo "$1" | sed -e 's/86.*/86/'`
vendor=pc
basic_os=sysv32
;;
i*86v4*)
cpu=`echo "$1" | sed -e 's/86.*/86/'`
vendor=pc
basic_os=sysv4
;;
i*86v)
cpu=`echo "$1" | sed -e 's/86.*/86/'`
vendor=pc
basic_os=sysv
;;
i*86sol2)
cpu=`echo "$1" | sed -e 's/86.*/86/'`
vendor=pc
basic_os=solaris2
;;
j90 | j90-cray)
cpu=j90
vendor=cray
basic_os=${basic_os:-unicos}
;;
iris | iris4d)
cpu=mips
vendor=sgi
case $basic_os in
irix*)
;;
*)
basic_os=irix4
;;
esac
;;
miniframe)
cpu=m68000
vendor=convergent
;;
*mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
cpu=m68k
vendor=atari
basic_os=mint
;;
news-3600 | risc-news)
cpu=mips
vendor=sony
basic_os=newsos
;;
next | m*-next)
cpu=m68k
vendor=next
;;
np1)
cpu=np1
vendor=gould
;;
op50n-* | op60c-*)
cpu=hppa1.1
vendor=oki
basic_os=proelf
;;
pa-hitachi)
cpu=hppa1.1
vendor=hitachi
basic_os=hiuxwe2
;;
pbd)
cpu=sparc
vendor=tti
;;
pbb)
cpu=m68k
vendor=tti
;;
pc532)
cpu=ns32k
vendor=pc532
;;
pn)
cpu=pn
vendor=gould
;;
power)
cpu=power
vendor=ibm
;;
ps2)
cpu=i386
vendor=ibm
;;
rm[46]00)
cpu=mips
vendor=siemens
;;
rtpc | rtpc-*)
cpu=romp
vendor=ibm
;;
sde)
cpu=mipsisa32
vendor=sde
basic_os=${basic_os:-elf}
;;
simso-wrs)
cpu=sparclite
vendor=wrs
basic_os=vxworks
;;
tower | tower-32)
cpu=m68k
vendor=ncr
;;
vpp*|vx|vx-*)
cpu=f301
vendor=fujitsu
;;
w65)
cpu=w65
vendor=wdc
;;
w89k-*)
cpu=hppa1.1
vendor=winbond
basic_os=proelf
;;
none)
cpu=none
vendor=none
;;
leon|leon[3-9])
cpu=sparc
vendor=$basic_machine
;;
leon-*|leon[3-9]-*)
cpu=sparc
vendor=`echo "$basic_machine" | sed 's/-.*//'`
;;
*-*)
saved_IFS=$IFS
IFS="-" read cpu vendor <&2
exit 1
;;
esac
;;
esac
# Here we canonicalize certain aliases for manufacturers.
case $vendor in
digital*)
vendor=dec
;;
commodore*)
vendor=cbm
;;
*)
;;
esac
# Decode manufacturer-specific aliases for certain operating systems.
if test x"$basic_os" != x
then
# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
# set os.
obj=
case $basic_os in
gnu/linux*)
kernel=linux
os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
;;
os2-emx)
kernel=os2
os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
;;
nto-qnx*)
kernel=nto
os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
;;
*-*)
saved_IFS=$IFS
IFS="-" read kernel os <&2
fi
;;
*)
echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2
exit 1
;;
esac
case $obj in
aout* | coff* | elf* | pe*)
;;
'')
# empty is fine
;;
*)
echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2
exit 1
;;
esac
# Here we handle the constraint that a (synthetic) cpu and os are
# valid only in combination with each other and nowhere else.
case $cpu-$os in
# The "javascript-unknown-ghcjs" triple is used by GHC; we
# accept it here in order to tolerate that, but reject any
# variations.
javascript-ghcjs)
;;
javascript-* | *-ghcjs)
echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2
exit 1
;;
esac
# As a final step for OS-related things, validate the OS-kernel combination
# (given a valid OS), if there is a kernel.
case $kernel-$os-$obj in
linux-gnu*- | linux-android*- | linux-dietlibc*- | linux-llvm*- \
| linux-mlibc*- | linux-musl*- | linux-newlib*- \
| linux-relibc*- | linux-uclibc*- | linux-ohos*- )
;;
uclinux-uclibc*- | uclinux-gnu*- )
;;
managarm-mlibc*- | managarm-kernel*- )
;;
windows*-msvc*-)
;;
-dietlibc*- | -llvm*- | -mlibc*- | -musl*- | -newlib*- | -relibc*- \
| -uclibc*- )
# These are just libc implementations, not actual OSes, and thus
# require a kernel.
echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2
exit 1
;;
-kernel*- )
echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2
exit 1
;;
*-kernel*- )
echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2
exit 1
;;
*-msvc*- )
echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2
exit 1
;;
kfreebsd*-gnu*- | knetbsd*-gnu*- | netbsd*-gnu*- | kopensolaris*-gnu*-)
;;
vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-)
;;
nto-qnx*-)
;;
os2-emx-)
;;
rtmk-nova-)
;;
*-eabi*- | *-gnueabi*-)
;;
none--*)
# None (no kernel, i.e. freestanding / bare metal),
# can be paired with an machine code file format
;;
-*-)
# Blank kernel with real OS is always fine.
;;
--*)
# Blank kernel and OS with real machine code file format is always fine.
;;
*-*-*)
echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2
exit 1
;;
esac
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
case $vendor in
unknown)
case $cpu-$os in
*-riscix*)
vendor=acorn
;;
*-sunos* | *-solaris*)
vendor=sun
;;
*-cnk* | *-aix*)
vendor=ibm
;;
*-beos*)
vendor=be
;;
*-hpux*)
vendor=hp
;;
*-mpeix*)
vendor=hp
;;
*-hiux*)
vendor=hitachi
;;
*-unos*)
vendor=crds
;;
*-dgux*)
vendor=dg
;;
*-luna*)
vendor=omron
;;
*-genix*)
vendor=ns
;;
*-clix*)
vendor=intergraph
;;
*-mvs* | *-opened*)
vendor=ibm
;;
*-os400*)
vendor=ibm
;;
s390-* | s390x-*)
vendor=ibm
;;
*-ptx*)
vendor=sequent
;;
*-tpf*)
vendor=ibm
;;
*-vxsim* | *-vxworks* | *-windiss*)
vendor=wrs
;;
*-aux*)
vendor=apple
;;
*-hms*)
vendor=hitachi
;;
*-mpw* | *-macos*)
vendor=apple
;;
*-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
vendor=atari
;;
*-vos*)
vendor=stratus
;;
esac
;;
esac
echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}"
exit
# Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "timestamp='"
# time-stamp-format: "%:y-%02m-%02d"
# time-stamp-end: "'"
# End:
diffstat-1.68/install-sh 0000755 0000000 0000000 00000035776 13761220263 014002 0 ustar root root #!/bin/sh
# install - install a program, script, or datafile
scriptversion=2020-11-14.01; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
tab=' '
nl='
'
IFS=" $tab$nl"
# Set DOITPROG to "echo" to test this script.
doit=${DOITPROG-}
doit_exec=${doit:-exec}
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_mkdir=
# Desired mode of installed file.
mode=0755
# Create dirs (including intermediate dirs) using mode 755.
# This is like GNU 'install' as of coreutils 8.32 (2020).
mkdir_umask=22
backupsuffix=
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
is_target_a_directory=possibly
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-p pass -p to $cpprog.
-s $stripprog installed files.
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
By default, rm is invoked with -f; when overridden with RMPROG,
it's up to you to specify -f if you want it.
If -S is not specified, no backups are attempted.
Email bug reports to bug-automake@gnu.org.
Automake home page: https://www.gnu.org/software/automake/
"
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-p) cpprog="$cpprog -p";;
-s) stripcmd=$stripprog;;
-S) backupsuffix="$2"
shift;;
-t)
is_target_a_directory=always
dst_arg=$2
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
shift;;
-T) is_target_a_directory=never;;
--version) echo "$0 $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
# We allow the use of options -d and -T together, by making -d
# take the precedence; this is for compatibility with GNU install.
if test -n "$dir_arg"; then
if test -n "$dst_arg"; then
echo "$0: target directory not allowed when installing a directory." >&2
exit 1
fi
fi
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
if test $# -gt 1 || test "$is_target_a_directory" = always; then
if test ! -d "$dst_arg"; then
echo "$0: $dst_arg: Is not a directory." >&2
exit 1
fi
fi
fi
if test -z "$dir_arg"; then
do_exit='(exit $ret); exit $ret'
trap "ret=129; $do_exit" 1
trap "ret=130; $do_exit" 2
trap "ret=141; $do_exit" 13
trap "ret=143; $do_exit" 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
# Don't chown directories that already exist.
if test $dstdir_status = 0; then
chowncmd=""
fi
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# If destination is a directory, append the input filename.
if test -d "$dst"; then
if test "$is_target_a_directory" = never; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dstbase=`basename "$src"`
case $dst in
*/) dst=$dst$dstbase;;
*) dst=$dst/$dstbase;;
esac
dstdir_status=0
else
dstdir=`dirname "$dst"`
test -d "$dstdir"
dstdir_status=$?
fi
fi
case $dstdir in
*/) dstdirslash=$dstdir;;
*) dstdirslash=$dstdir/;;
esac
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
# The $RANDOM variable is not portable (e.g., dash). Use it
# here however when possible just to lower collision chance.
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap '
ret=$?
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
exit $ret
' 0
# Because "mkdir -p" follows existing symlinks and we likely work
# directly in world-writeable /tmp, make sure that the '$tmpdir'
# directory is successfully created first before we actually test
# 'mkdir -p'.
if (umask $mkdir_umask &&
$mkdirprog $mkdir_mode "$tmpdir" &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
test_tmpdir="$tmpdir/a"
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
fi
trap '' 0;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
[-=\(\)!]*) prefix='./';;
*) prefix='';;
esac
oIFS=$IFS
IFS=/
set -f
set fnord $dstdir
shift
set +f
IFS=$oIFS
prefixes=
for d
do
test X"$d" = X && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=${dstdirslash}_inst.$$_
rmtmp=${dstdirslash}_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask &&
{ test -z "$stripcmd" || {
# Create $dsttmp read-write so that cp doesn't create it read-only,
# which would cause strip to fail.
if test -z "$doit"; then
: >"$dsttmp" # No need to fork-exec 'touch'.
else
$doit touch "$dsttmp"
fi
}
} &&
$doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# If $backupsuffix is set, and the file being installed
# already exists, attempt a backup. Don't worry if it fails,
# e.g., if mv doesn't support -f.
if test -n "$backupsuffix" && test -f "$dst"; then
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
fi
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
# time-stamp-end: "; # UTC"
# End:
diffstat-1.68/testing/ 0000755 0000000 0000000 00000000000 14714413543 013435 5 ustar root root diffstat-1.68/testing/case45p1.ref 0000644 0000000 0000000 00000001216 14320603177 015455 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case15r1.ref 0000644 0000000 0000000 00000001200 10277702416 015450 0 ustar root root build/Makefile.in | 38 +++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1 +
debian/control | 19 +++++++++++
debian/copyright | 40 +++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1 +
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case38rf0.ref 0000644 0000000 0000000 00000000374 12546615551 015641 0 ustar root root READ ME! | 5 0 + 5 - 0 !
README ? | 5 5 + 0 - 0 !
run atac.sh | 6 0 + 6 - 0 !
run test.sh | 51 0 + 51 - 0 !
run_atac.sh | 6 6 + 0 - 0 !
run_test.sh | 51 51 + 0 - 0 !
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case31uf0.ref 0000644 0000000 0000000 00000000120 11240121111 015570 0 ustar root root usbdevs | 14 11 + 3 - 0 !
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case31u.ref 0000644 0000000 0000000 00000000121 11234653123 015363 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case18Rp0.ref 0000644 0000000 0000000 00000000062 11700545540 015572 0 ustar root root tst/foo | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case08b.ref 0000644 0000000 0000000 00000000502 10667374022 015356 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case19p9.ref 0000644 0000000 0000000 00000000114 10300164552 015453 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case29p1.ref 0000644 0000000 0000000 00000000204 11163734345 015457 0 ustar root root testing/case29.pat | 70 ++++++++++++++++++++++++++---------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case32r1.ref 0000644 0000000 0000000 00000000105 11246713507 015452 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case38rRp0.ref 0000644 0000000 0000000 00000000536 12546615551 015775 0 ustar root root testing/READ ME! | 5 +++++
testing/README ? | 5 -----
testing/run atac.sh | 6 ++++++
testing/run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
testing/run_atac.sh | 6 ------
testing/run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case22.pat 0000644 0000000 0000000 00000060341 07623024301 015215 0 ustar root root --- pgp-menu-traditional/PATCHES Dec 2002 17:44:54 -0000 3.6
+++ pgp-menu-traditional/PATCHES Feb 2003 11:26:39 -0000
@@ -0,0 +1 @@
+patch-1.5.3.dw.pgp-menu-traditional.1
--- pgp-menu-traditional/compose.c Dec 2002 11:19:39 -0000 3.8
+++ pgp-menu-traditional/compose.c Feb 2003 11:26:42 -0000
@@ -145,2 +145,6 @@ static void redraw_crypt_lines (HEADER *
addstr (_("Clear"));
+#ifdef HAVE_PGP
+ if ((msg->security & PGPINLINE) == PGPINLINE)
+ addstr (_(" (inline)"));
+#endif
clrtoeol ();
@@ -174,4 +178,4 @@ static int pgp_send_menu (HEADER *msg, i
- switch (mutt_multi_choice (_("PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "),
- _("esabf")))
+ switch (mutt_multi_choice (_("PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline or (f)orget it? "),
+ _("esabtf")))
{
@@ -208,6 +212,11 @@ static int pgp_send_menu (HEADER *msg, i
case 4: /* (b)oth */
- msg->security = PGPENCRYPT | PGPSIGN;
+ msg->security |= PGPENCRYPT | PGPSIGN;
break;
- case 5: /* (f)orget it */
+ case 5: /* (t)raditional inline */
+ if (msg->security & (ENCRYPT | SIGN))
+ msg->security |= PGPINLINE; /* should this be a toggle instead */
+ break;
+
+ case 6: /* (f)orget it */
msg->security = 0;
--- pgp-menu-traditional/crypt.c Dec 2002 22:23:42 -0000 3.11
+++ pgp-menu-traditional/crypt.c Feb 2003 11:26:43 -0000
@@ -172,3 +172,2 @@ int mutt_protect (HEADER *msg, char *key
BODY *tmp_pgp_pbody = NULL;
- int traditional = 0;
int flags = msg->security, i;
@@ -179,18 +178,9 @@ int mutt_protect (HEADER *msg, char *key
#ifdef HAVE_PGP
- if (msg->security & APPLICATION_PGP)
+ if ((msg->security & PGPINLINE) == PGPINLINE)
{
- if ((msg->content->type == TYPETEXT) &&
- !ascii_strcasecmp (msg->content->subtype, "plain"))
- {
- if ((i = query_quadoption (OPT_PGPTRADITIONAL, _("Create an inline PGP message?"))) == -1)
- return -1;
- else if (i == M_YES)
- traditional = 1;
- }
- if (traditional)
+ /* they really want to send it inline... go for it */
+ if (!isendwin ()) mutt_endwin _("Invoking PGP...");
+ pbody = pgp_traditional_encryptsign (msg->content, flags, keylist);
+ if (pbody)
{
- if (!isendwin ()) mutt_endwin _("Invoking PGP...");
- if (!(pbody = pgp_traditional_encryptsign (msg->content, flags, keylist)))
- return -1;
-
msg->content = pbody;
@@ -198,2 +188,8 @@ int mutt_protect (HEADER *msg, char *key
}
+
+ /* otherwise inline won't work...ask for revert */
+ if ((i = query_quadoption (OPT_PGPMIMEASK, _("Message can't be sent inline. Revert to using PGP/MIME?"))) != M_YES)
+ return -1;
+
+ /* go ahead with PGP/MIME */
}
--- pgp-menu-traditional/init.h Dec 2002 18:09:49 -0000 3.28
+++ pgp-menu-traditional/init.h Feb 2003 11:26:48 -0000
@@ -1352,2 +1352,44 @@ struct option_t MuttVars[] = {
*/
+ { "pgp_create_traditional", DT_SYN, R_NONE, UL "pgp_autoinline", 0 },
+ { "pgp_autoinline", DT_BOOL, R_NONE, OPTPGPAUTOINLINE, 0 },
+ /*
+ ** .pp
+ ** This option controls whether Mutt generates old-style inline
+ ** (traditional) PGP encrypted or signed messages under certain
+ ** circumstances. This can be overridden by use of the \fIpgp-menu\fP,
+ ** when inline is not required.
+ ** .pp
+ ** Note that Mutt might automatically use PGP/MIME for messages
+ ** which consist of more than a single MIME part. Mutt can be
+ ** configured to ask before sending PGP/MIME messages when inline
+ ** (traditional) would not work.
+ ** See also: ``$$pgp_mime_ask''.
+ ** .pp
+ ** Also note that using the old-style PGP message format is \fBstrongly\fP
+ ** \fBdeprecated\fP.
+ ** (PGP only)
+ */
+ { "pgp_auto_traditional", DT_SYN, R_NONE, UL "pgp_replyinline", 0 },
+ { "pgp_replyinline", DT_BOOL, R_NONE, OPTPGPREPLYINLINE, 0 },
+ /*
+ ** .pp
+ ** Setting this variable will cause Mutt to always attempt to
+ ** create an inline (traditional) message when replying to a
+ ** message which is PGP encrypted/signed inline. This can be
+ ** overridden by use of the \fIpgp-menu\fP, when inline is not
+ ** required. This option does not automatically detect if the
+ ** (replied-to) message is inline; instead it relies on Mutt
+ ** internals for previously checked/flagged messages.
+ ** .pp
+ ** Note that Mutt might automatically use PGP/MIME for messages
+ ** which consist of more than a single MIME part. Mutt can be
+ ** configured to ask before sending PGP/MIME messages when inline
+ ** (traditional) would not work.
+ ** See also: ``$$pgp_mime_ask''.
+ ** .pp
+ ** Also note that using the old-style PGP message format is \fBstrongly\fP
+ ** \fBdeprecated\fP.
+ ** (PGP only)
+ **
+ */
{ "pgp_show_unusable", DT_BOOL, R_NONE, OPTPGPSHOWUNUSABLE, 1 },
@@ -1396,11 +1438,8 @@ struct option_t MuttVars[] = {
*/
- { "pgp_create_traditional", DT_QUAD, R_NONE, OPT_PGPTRADITIONAL, M_NO },
+ { "pgp_mime_ask", DT_QUAD, R_NONE, OPT_PGPMIMEASK, M_NO },
/*
** .pp
- ** This option controls whether Mutt generates old-style PGP encrypted
- ** or signed messages under certain circumstances.
- ** .pp
- ** Note that PGP/MIME will be used automatically for messages which have
- ** a character set different from us-ascii, or which consist of more than
- ** a single MIME part.
+ ** This option controls whether Mutt will prompt you for
+ ** automatically sending a (signed/encrypted) message using
+ ** PGP/MIME when inline (traditional) fails (for any reason).
** .pp
@@ -1409,2 +1448,3 @@ struct option_t MuttVars[] = {
*/
+
--- pgp-menu-traditional/mutt.h Dec 2002 08:53:21 -0000 3.12
+++ pgp-menu-traditional/mutt.h Feb 2003 11:26:51 -0000
@@ -270,3 +270,3 @@ enum
#ifdef HAVE_PGP
- OPT_PGPTRADITIONAL, /* create old-style PGP messages */
+ OPT_PGPMIMEASK, /* ask to revert to PGP/MIME when inline fails */
#endif
@@ -447,2 +447,4 @@ enum
OPTPGPLONGIDS,
+ OPTPGPAUTOINLINE,
+ OPTPGPREPLYINLINE,
#endif
--- pgp-menu-traditional/pgp.c Dec 2002 17:59:51 -0000 3.18
+++ pgp-menu-traditional/pgp.c Feb 2003 11:26:55 -0000
@@ -535,2 +535,5 @@ int mutt_is_application_pgp (BODY *m)
}
+ if (t)
+ t |= PGPINLINE;
+
return t;
@@ -1057,3 +1060,3 @@ char *pgp_findKeys (ADDRESS *to, ADDRESS
int i;
- pgp_key_t *k_info, *key;
+ pgp_key_t *k_info, *key = NULL;
--- pgp-menu-traditional/pgplib.h Dec 2002 11:19:40 -0000 3.3
+++ pgp-menu-traditional/pgplib.h Feb 2003 11:26:56 -0000
@@ -27,2 +27,3 @@
#define PGPKEY (APPLICATION_PGP | (1 << 3))
+#define PGPINLINE (APPLICATION_PGP | (1 << 4))
--- pgp-menu-traditional/postpone.c Dec 2002 11:19:40 -0000 3.7
+++ pgp-menu-traditional/postpone.c Feb 2003 11:26:57 -0000
@@ -492,2 +492,9 @@ int mutt_parse_crypt_hdr (char *p, int s
+ case 'i':
+ case 'I':
+#ifdef HAVE_PGP
+ pgp |= (PGPINLINE & ~APPLICATION_PGP);
+#endif
+ break;
+
default:
--- pgp-menu-traditional/send.c Dec 2002 22:47:57 -0000 3.15
+++ pgp-menu-traditional/send.c Feb 2003 11:27:01 -0000
@@ -1259,3 +1259,3 @@ ci_send_message (int flags, /* send mod
msg->security |= SIGN;
- }
+ }
@@ -1279,2 +1279,8 @@ ci_send_message (int flags, /* send mod
msg->security |= APPLICATION_PGP;
+ /*
+ * we leave this so late because PGPINLINE should be applied only when APPLICATION_PGP is high
+ * perhaps reserving a bit in crypt.h would be more reasonable, though it doesn't apply with S/MIME
+ */
+ if (option (OPTPGPREPLYINLINE) && (cur->security & PGPINLINE) == PGPINLINE)
+ msg->security |= PGPINLINE;
#endif /* HAVE_PGP */
@@ -1294,2 +1300,10 @@ ci_send_message (int flags, /* send mod
}
+#ifdef HAVE_PGP
+ /*
+ * we leave this so late because PGPINLINE should be applied only when APPLICATION_PGP is high
+ * perhaps reserving a bit in crypt.h would be more reasonable, though it doesn't apply with S/MIME
+ */
+ if ((msg->security & APPLICATION_PGP) && (option (OPTPGPAUTOINLINE)))
+ msg->security |= PGPINLINE;
+#endif
#endif /* HAVE_PGP || HAVE_SMIME */
--- pgp-menu-traditional/sendlib.c Dec 2002 20:56:48 -0000 3.18
+++ pgp-menu-traditional/sendlib.c Feb 2003 11:27:02 -0000
@@ -2429,2 +2429,4 @@ int mutt_write_fcc (const char *path, HE
}
+ if ((hdr->security & PGPINLINE) == PGPINLINE)
+ fputc ('I', msg->fp);
fputc ('\n', msg->fp);
--- pgp-menu-traditional/po/ca.po Dec 2002 10:37:21 -0000 3.7
+++ pgp-menu-traditional/po/ca.po Feb 2003 11:27:19 -0000
@@ -596,10 +596,10 @@ msgstr "Xifra"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "(x)ifra, (s)igna, s(i)gna com a, (a)mbdós, o en (c)lar? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "(x)ifra, (s)igna, s(i)gna com a, (a)mbdós, traditional en (l)ínia, o en (c)lar? "
# ivb (2001/11/19)
-# ivb (x)ifra, (s)igna, s(i)gna com a, (a)mbdós, (c)lar
+# ivb (x)ifra, (s)igna, s(i)gna com a, (a)mbdós, traditional en (l)ínia, o en (c)lar
#: compose.c:176
-msgid "esabf"
-msgstr "xsiac"
+msgid "esabtf"
+msgstr "xsialc"
--- pgp-menu-traditional/po/cs.po Dec 2002 10:37:21 -0000 3.6
+++ pgp-menu-traditional/po/cs.po Feb 2003 11:27:20 -0000
@@ -676,4 +676,4 @@ msgstr "Za¹ifrovat"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "(¹)ifrovat, (p)odepsat, podepsat (j)ako, (o)bojí, èi (n)ic?"
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "(¹)ifrovat, (p)odepsat, podepsat (j)ako, (o)bojí, (t)raditional/pøímý, èi (n)ic?"
@@ -681,4 +681,4 @@ msgstr "(¹)ifrovat, (p)odepsat, podepsat
#: compose.c:176
-msgid "esabf"
-msgstr "¹pjon"
+msgid "esabtf"
+msgstr "¹pjotn"
--- pgp-menu-traditional/po/da.po Dec 2002 10:37:21 -0000 3.6
+++ pgp-menu-traditional/po/da.po Feb 2003 11:27:21 -0000
@@ -566,8 +566,8 @@ msgstr "Kryptér"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "(k)ryptér, (u)nderskriv, underskriv (s)om, (b)egge, (i)ngen PGP"
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "(k)ryptér, (u)nderskriv, underskriv (s)om, (b)egge, (t)raditional integreret, (i)ngen PGP"
#: compose.c:176
-msgid "esabf"
-msgstr "kusbi"
+msgid "esabtf"
+msgstr "kusbti"
--- pgp-menu-traditional/po/de.po Dec 2002 10:37:21 -0000 3.7
+++ pgp-menu-traditional/po/de.po Feb 2003 11:27:22 -0000
@@ -558,8 +558,8 @@ msgstr "Verschlüsseln mit: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (v)erschl., (s)ign., sign. (a)ls, (b)eides, (k)ein PGP? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (v)erschl., (s)ign., sign. (a)ls, (b)eides, (t)raditionelles Inline, (k)ein PGP? "
#: compose.c:176
-msgid "esabf"
-msgstr "vsabk"
+msgid "esabtf"
+msgstr "vsabtk"
--- pgp-menu-traditional/po/el.po Dec 2002 10:37:21 -0000 3.7
+++ pgp-menu-traditional/po/el.po Feb 2003 11:27:24 -0000
@@ -690,4 +690,4 @@ msgstr "ÊñõðôïãñÜöçóç ìå: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, Þ (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional êåßìåíï, Þ (f)orget it? "
@@ -696,4 +696,4 @@ msgstr "PGP (e)ncrypt, (s)ign, sign (a)s
#: compose.c:176
-msgid "esabf"
-msgstr "esabf"
+msgid "esabtf"
+msgstr "esabtf"
--- pgp-menu-traditional/po/eo.po Dec 2002 10:37:21 -0000 3.6
+++ pgp-menu-traditional/po/eo.po Feb 2003 11:27:25 -0000
@@ -566,8 +566,8 @@ msgstr "Æifri"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "æ(i)fri, (s)ubskribi, subskribi (k)iel, (a)mbaý, aý (f)orgesi? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "æ(i)fri, (s)ubskribi, subskribi (k)iel, (a)mbaý, (t)raditional \"inline\", aý (f)orgesi? "
#: compose.c:176
-msgid "esabf"
-msgstr "iskaf"
+msgid "esabtf"
+msgstr "iskatf"
--- pgp-menu-traditional/po/es.po Dec 2002 10:37:22 -0000 3.7
+++ pgp-menu-traditional/po/es.po Feb 2003 11:27:26 -0000
@@ -564,8 +564,9 @@ msgstr "Cifrar"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "¿co(d)ificar, f(i)rmar (c)omo, amb(o)s o ca(n)celar? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "¿co(d)ificar, f(i)rmar (c)omo, amb(o)s, (t)radicional incluido, o ca(n)celar? "
+
#: compose.c:176
-msgid "esabf"
-msgstr "dicon"
+msgid "esabtf"
+msgstr "dicotn"
--- pgp-menu-traditional/po/et.po Dec 2002 10:37:22 -0000 3.8
+++ pgp-menu-traditional/po/et.po Feb 2003 11:27:27 -0000
@@ -559,7 +559,7 @@ msgstr "Krüpti kasutades: "
msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (k)rüpti, (a)llkiri, allk. ku(i), (m)õlemad või (u)nusta? "
+msgstr "PGP (k)rüpti, (a)llkiri, allk. ku(i), (m)õlemad, (t)raditional kehasse, või (u)nusta? "
#: compose.c:176
-msgid "esabf"
-msgstr "kaimu"
+msgid "esabtf"
+msgstr "kaimtu"
--- pgp-menu-traditional/po/fr.po Dec 2002 10:37:22 -0000 3.13
+++ pgp-menu-traditional/po/fr.po Feb 2003 11:27:28 -0000
@@ -585,8 +585,8 @@ msgstr "Chiffrer avec : "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "(c)hiffrer PGP, (s)igner, (e)n tant que, les (d)eux, ou (o)ublier ? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "(c)hiffrer PGP, (s)igner, (e)n tant que, les (d)eux, (t)raditionnel en ligne, ou (o)ublier ? "
#: compose.c:176
-msgid "esabf"
-msgstr "csedo"
+msgid "esabtf"
+msgstr "csedto"
--- pgp-menu-traditional/po/gl.po Dec 2002 10:37:22 -0000 3.6
+++ pgp-menu-traditional/po/gl.po Feb 2003 11:27:30 -0000
@@ -568,8 +568,8 @@ msgstr "Encriptar"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "¿(e)ncriptar, (f)irmar, firmar (c)omo, (a)mbas ou (o)lvidar? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "¿(e)ncriptar, (f)irmar, firmar (c)omo, (a)mbas, (t)raditional interior, ou (o)lvidar? "
#: compose.c:176
-msgid "esabf"
-msgstr "efcao"
+msgid "esabtf"
+msgstr "efcato"
--- pgp-menu-traditional/po/hu.po Dec 2002 10:37:23 -0000 3.6
+++ pgp-menu-traditional/po/hu.po Feb 2003 11:27:31 -0000
@@ -569,8 +569,8 @@ msgstr "Titkosít"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "(t)itkosít, (a)láír, aláír (m)int, titkosít é(s) aláír, mé(g)se? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "(t)itkosít, (a)láír, aláír (m)int, titkosít é(s) aláír, traditional (b)eágyazott, mé(g)se? "
#: compose.c:176
-msgid "esabf"
-msgstr "tamsg"
+msgid "esabtf"
+msgstr "tamsbg"
--- pgp-menu-traditional/po/id.po Dec 2002 10:37:23 -0000 3.7
+++ pgp-menu-traditional/po/id.po Feb 2003 11:27:33 -0000
@@ -562,8 +562,8 @@ msgstr "Enkrip dengan: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (e)nkrip, (t)andatangan, tandatangan (s)bg, ke(d)uanya, (b)atal? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (e)nkrip, (t)andatangan, tandatangan (s)bg, ke(d)uanya, traditional (i)nline, (b)atal? "
#: compose.c:176
-msgid "esabf"
-msgstr "etsdb"
+msgid "esabtf"
+msgstr "etsdib"
--- pgp-menu-traditional/po/it.po Dec 2002 10:37:23 -0000 3.6
+++ pgp-menu-traditional/po/it.po Feb 2003 11:27:34 -0000
@@ -570,8 +570,8 @@ msgstr "Crittografa"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "cifra(e), firma(s), firma come(a), entrambi(b), annulla(f) "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "cifra(e), firma(s), firma come(a), entrambi(b), (t)radizionale in linea , annulla(f) "
#: compose.c:176
-msgid "esabf"
-msgstr "esabf"
+msgid "esabtf"
+msgstr "esabtf"
--- pgp-menu-traditional/po/ja.po Dec 2002 10:37:23 -0000 3.13
+++ pgp-menu-traditional/po/ja.po Feb 2003 11:27:35 -0000
@@ -558,8 +558,9 @@ msgstr " °Å¹æ²½Êý¼°: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (e)°Å¹æ²½,(s)½ð̾,(a)..¤È¤·¤Æ½ð̾,(b)ξ¼Ô,(f)²ò½ü?"
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (e)°Å¹æ²½,(s)½ð̾,(a)..¤È¤·¤Æ½ð̾,(b)ξ¼Ô,(i)nline,(f)²ò½ü?"
+
#: compose.c:176
-msgid "esabf"
-msgstr ""
+msgid "esabtf"
+msgstr "esabif"
--- pgp-menu-traditional/po/ko.po Dec 2002 10:37:23 -0000 3.9
+++ pgp-menu-traditional/po/ko.po Feb 2003 11:27:36 -0000
@@ -560,8 +560,8 @@ msgstr "¾ÏÈ£È ¹æ½Ä: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP ¾ÏÈ£È(e), ¼¸í(s), »ç¿ë ¼¸í(a), µÑ ´Ù(b), Ãë¼Ò(f)? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP ¾ÏÈ£È(e), ¼¸í(s), »ç¿ë ¼¸í(a), µÑ ´Ù(b), (i)nline, Ãë¼Ò(f)? "
#: compose.c:176
-msgid "esabf"
-msgstr "esabf"
+msgid "esabtf"
+msgstr "esabif"
--- pgp-menu-traditional/po/lt.po Dec 2002 10:37:23 -0000 3.6
+++ pgp-menu-traditional/po/lt.po Feb 2003 11:27:38 -0000
@@ -566,5 +566,5 @@ msgstr "Uþðifruoti"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr ""
-"(u)þðifruot, pa(s)iraðyt, pasiraðyt k(a)ip, a(b)u, rinktis (m)ic algoritmà, "
+"(u)þðifruot, pa(s)iraðyt, pasiraðyt k(a)ip, a(b)u, traditional (l)aiðke, "
"ar (p)amirðti?"
@@ -573,4 +573,4 @@ msgstr ""
#, fuzzy
-msgid "esabf"
-msgstr "usabmp"
+msgid "esabtf"
+msgstr "usablp"
@@ -586,4 +586,3 @@ msgid ""
msgstr ""
-"(u)þðifruot, pa(s)iraðyt, pasiraðyt k(a)ip, a(b)u, rinktis (m)ic algoritmà, "
-"ar (p)amirðti?"
+"(u)þðifruot, pa(s)iraðyt, uþðifruo(t) su, pasiraðyt k(a)ip, a(b)u, ar (p)amirðti?"
@@ -592,3 +591,3 @@ msgstr ""
msgid "eswabf"
-msgstr "usabmp"
+msgstr "ustabp"
--- pgp-menu-traditional/po/nl.po Dec 2002 10:37:23 -0000 3.7
+++ pgp-menu-traditional/po/nl.po Feb 2003 11:27:39 -0000
@@ -553,8 +553,8 @@ msgstr "Versleutelen met: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (v)ersleutel, (o)ndertekenen, ondert. (a)ls, (b)eide, (g)een? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (v)ersleutel, (o)ndertekenen, ondert. (a)ls, (b)eide, (t)raditioneel bericht, (g)een? "
#: compose.c:176
-msgid "esabf"
-msgstr "voabg"
+msgid "esabtf"
+msgstr "voabtg"
--- pgp-menu-traditional/po/pl.po Dec 2002 10:37:23 -0000 3.8
+++ pgp-menu-traditional/po/pl.po Feb 2003 11:27:40 -0000
@@ -560,8 +560,8 @@ msgstr "Zaszyfruj u¿ywaj±c: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (z)aszyfruj, podpi(s)z, podpisz j(a)ko, o(b)a, b(e)z PGP? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (z)aszyfruj, podpi(s)z, podpisz j(a)ko, o(b)a, (t)raditional inline, b(e)z PGP? "
#: compose.c:176
-msgid "esabf"
-msgstr "zsabe"
+msgid "esabtf"
+msgstr "zsabte"
--- pgp-menu-traditional/po/pt_BR.po Dec 2002 10:37:23 -0000 3.7
+++ pgp-menu-traditional/po/pt_BR.po Feb 2003 11:27:41 -0000
@@ -569,5 +569,5 @@ msgstr "Encriptar"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr ""
-"(e)ncripa, a(s)sina, assina (c)omo, (a)mbos, escolhe (m)ic, ou es(q)uece? "
+"(e)ncripa, a(s)sina, assina (c)omo, (a)mbos, (t)raditional em (l)inha, ou es(q)uece? "
@@ -575,4 +575,4 @@ msgstr ""
#, fuzzy
-msgid "esabf"
-msgstr "escamq"
+msgid "esabtf"
+msgstr "escalq"
@@ -588,3 +588,3 @@ msgid ""
msgstr ""
-"(e)ncripa, a(s)sina, assina (c)omo, (a)mbos, escolhe (m)ic, ou es(q)uece? "
+"(e)ncripa, a(s)sina, e(n)cripa com, assina (c)omo, (a)mbos, ou es(q)uece? "
@@ -593,3 +593,3 @@ msgstr ""
msgid "eswabf"
-msgstr "escamq"
+msgstr "esncaq"
--- pgp-menu-traditional/po/ru.po Dec 2002 10:37:24 -0000 3.10
+++ pgp-menu-traditional/po/ru.po Feb 2003 11:27:43 -0000
@@ -567,8 +567,8 @@ msgstr "úÁÛÉÆÒÏ×ÁÔØ: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP (e)ÛÉÆÒ, (s)ÐÏÄÐÉÓØ, (a)ÐÏÄÐÉÓØ ËÁË, (b)ÏÂÁ, (f)ÏÔËÁÚÁÔØÓÑ? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP (e)ÛÉÆÒ, (s)ÐÏÄÐÉÓØ, (a)ÐÏÄÐÉÓØ ËÁË, (b)ÏÂÁ, traditional (i)nline, (f)ÏÔËÁÚÁÔØÓÑ? "
#: compose.c:176
-msgid "esabf"
-msgstr "esabf"
+msgid "esabtf"
+msgstr "esabif"
--- pgp-menu-traditional/po/sk.po Dec 2002 10:37:24 -0000 3.6
+++ pgp-menu-traditional/po/sk.po Feb 2003 11:27:44 -0000
@@ -574,5 +574,5 @@ msgstr "Za¹ifruj"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr ""
-"(e)-¹ifr, (s)-podp, podp (a)ko, o(b)e, oznaè alg. mi(c), alebo (f)-zabudnú» "
+"(e)-¹ifr, (s)-podp, podp (a)ko, o(b)e, (t)raditional inline, alebo (f)-zabudnú» "
"na to? "
@@ -581,4 +581,4 @@ msgstr ""
#, fuzzy
-msgid "esabf"
-msgstr "esabmf"
+msgid "esabtf"
+msgstr "esabtf"
@@ -594,4 +594,3 @@ msgid ""
msgstr ""
-"(e)-¹ifr, (s)-podp, podp (a)ko, o(b)e, oznaè alg. mi(c), alebo (f)-zabudnú» "
-"na to? "
+"(e)-¹ifr, (s)-podp, (w)-¹ifr s, podp (a)ko, o(b)e, alebo (f)-zabudnú» na to? "
@@ -600,3 +599,3 @@ msgstr ""
msgid "eswabf"
-msgstr "esabmf"
+msgstr "eswabf"
--- pgp-menu-traditional/po/sv.po Dec 2002 10:37:24 -0000 3.7
+++ pgp-menu-traditional/po/sv.po Feb 2003 11:27:45 -0000
@@ -555,8 +555,8 @@ msgstr "Kryptera med: "
#: compose.c:175
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "PGP: (k)ryptera, (s)ignera, signera s(o)m, (b)åda, eller sk(i)ppa det?"
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "PGP: (k)ryptera, (s)ignera, signera s(o)m, (b)åda, (t)raditional infogat, eller sk(i)ppa det?"
#: compose.c:176
-msgid "esabf"
-msgstr "ksobi"
+msgid "esabtf"
+msgstr "ksobti"
--- pgp-menu-traditional/po/tr.po Dec 2002 10:37:24 -0000 3.6
+++ pgp-menu-traditional/po/tr.po Feb 2003 11:27:47 -0000
@@ -565,5 +565,5 @@ msgstr "Þifrele"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr ""
-"þ(i)frele, i(m)zala, (f)arklý imzala, i(k)isi de, mi(c) algoritmini seç "
+"þ(i)frele, i(m)zala, (f)arklý imzala, i(k)isi de, (t)raditional inline, "
"yoksa i(p)talmý? "
@@ -571,4 +571,4 @@ msgstr ""
#: compose.c:176
-msgid "esabf"
-msgstr "imfkcp"
+msgid "esabtf"
+msgstr "imfktp"
--- pgp-menu-traditional/po/uk.po Dec 2002 10:37:24 -0000 3.7
+++ pgp-menu-traditional/po/uk.po Feb 2003 11:27:48 -0000
@@ -560,8 +560,8 @@ msgstr "ûÉÆÒÕ×ÁÎÎÑ"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
-msgstr "ÛÉÆÒ.(e), ЦÄÐ.(s), ЦÄÐ. ÑË(a), ÕÓÅ(b) ÞÉ ×¦ÄͦÎÁ(f)? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
+msgstr "ÛÉÆÒ.(e), ЦÄÐ.(s), ЦÄÐ. ÑË(a), ÕÓÅ(b), traditional (i)nline ÞÉ ×¦ÄͦÎÁ(f)? "
#: compose.c:176
-msgid "esabf"
-msgstr ""
+msgid "esabtf"
+msgstr "esabif"
--- pgp-menu-traditional/po/zh_CN.po Dec 2002 10:37:24 -0000 3.6
+++ pgp-menu-traditional/po/zh_CN.po Feb 2003 11:27:50 -0000
@@ -573,5 +573,5 @@ msgstr "¼ÓÃÜ"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr ""
-"(e)¼ÓÃÜ, (s)Ç©Ãû, (a)ÓñðµÄÉí·ÝÇ©, (b)Á½Õß½ÔÒª, Ñ¡Ôñ (m)ic ÑÝËã·¨ »ò (f)·Å"
+"(e)¼ÓÃÜ, (s)Ç©Ãû, (a)ÓñðµÄÉí·ÝÇ©, (b)Á½Õß½ÔÒª, (t)raditional inline, »ò (f)·Å"
"Æú£¿"
@@ -579,3 +579,3 @@ msgstr ""
#: compose.c:176
-msgid "esabf"
+msgid "esabtf"
msgstr ""
--- pgp-menu-traditional/po/zh_TW.po Dec 2002 10:37:24 -0000 3.6
+++ pgp-menu-traditional/po/zh_TW.po Feb 2003 11:27:51 -0000
@@ -565,3 +565,3 @@ msgstr "åŠ å¯†"
#, fuzzy
-msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "
+msgid "PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, (t)raditional inline, or (f)orget it? "
msgstr "(1)åŠ å¯†, (2)ç°½å, (3)用別的身份簽, (4)兩者皆è¦, 或 (5)放棄?"
@@ -569,4 +569,4 @@ msgstr "(1)åŠ å¯†, (2)ç°½å, (3)用別ç
#: compose.c:176
-msgid "esabf"
-msgstr "12345"
+msgid "esabtf"
+msgstr "1234t5"
diffstat-1.68/testing/case15b.ref 0000644 0000000 0000000 00000001173 10667374024 015363 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1
debian/control | 19 ++++++++++
debian/copyright | 40 ++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case07.pat 0000644 0000000 0000000 00000010434 11700441014 015211 0 ustar root root --- /dev/null 1.1 Sun Jul 17 19:46:18 1994
+++ ncurses-1.9.8a_960131_e285r/man/resizeterm.3x Wed Jan 31 20:21:04 1996
@@ -0,0 +1,53 @@
+.\"*****************************************************************************
+.\" Testcase for "resizeterm" *
+.\" *
+.\" A discussion of this file is found at: *
+.\" http://invisible-island.net/ncurses/ncurses-license.html#ncurses_1_9_3 *
+.\" A later version of this manpage is included as part of ncurses. *
+.\"*****************************************************************************
+.TH resizeterm 3X ""
+.
+.SH NAME
+\fBresizeterm\fR - change the curses terminal size
+.
+.SH SYNOPSIS
+\fB#include \fR
+
+\fBint resizeterm(int lines, int columns);\fR
+.
+.SH DESCRIPTION
+This is an extension to the curses library.
+It provides callers with a hook into the \fBncurses\fR data to resize windows,
+primarily for use by programs running in an X Window terminal (e.g., xterm).
+The function \fBresizeterm\fR resizes the standard and current windows
+to the specified dimensions, and adjusts other bookkeeping data used by
+the \fBncurses\fR library that record the window dimensions.
+
+When resizing the windows, the function blank-fills the areas that are
+extended. The calling application should fill in these areas with
+appropriate data.
+
+The function does not resize other windows.
+.
+.SH RETURN VALUE
+The function returns the integer \fBERR\fR upon failure and \fBOK\fR on success.
+It will fail if either of the dimensions less than or equal to zero,
+or if an error occurs while (re)allocating memory for the windows.
+.
+.SH NOTES
+While this function is intended to be used to support a signal handler
+(i.e., for SIGWINCH), care should be taken to avoid invoking it in a
+context where \fBmalloc\fR or \fBrealloc\fR may have been interrupted,
+since it uses those functions.
+.
+.SH SEE ALSO
+\fBwresize\fR(3x).
+.
+.SH AUTHOR
+Thomas Dickey (from an equivalent function written in 1988 for BSD curses).
+.\"#
+.\"# The following sets edit modes for GNU EMACS
+.\"# Local Variables:
+.\"# mode:nroff
+.\"# fill-column:79
+.\"# End:
--- /dev/null Sun Jul 17 19:46:18 1994
+++ ncurses-1.9.8a_960131_e285r/man/wresize.3x Wed Jan 31 20:21:04 1996
@@ -0,0 +1,47 @@
+.\"*****************************************************************************
+.\" Testcase for "wresize" *
+.\" *
+.\" A discussion of this file is found at: *
+.\" http://invisible-island.net/ncurses/ncurses-license.html#ncurses_1_9_3 *
+.\" A later version of this manpage is included as part of ncurses. *
+.\" Copyright 1995 by Thomas E. Dickey. All Rights Reserved. *
+.\"*****************************************************************************
+.TH wresize 3X ""
+.
+.SH NAME
+\fBwresize\fR - resize a curses window
+.
+.SH SYNOPSIS
+\fB#include \fR
+
+\fBint wresize(WINDOW *win, int lines, int columns);\fR
+.
+.SH DESCRIPTION
+The \fBwresize\fR function reallocates storage for an \fBncurses\fR
+window to adjust its dimensions to the specified values.
+If either dimension is larger than the current values, the
+window's data is filled with blanks that have the current background rendition
+(as set by \fBwbkgndset\fR) merged into them.
+.
+.SH RETURN VALUE
+The function returns the integer \fBERR\fR upon failure and \fBOK\fR on success.
+It will fail if either of the dimensions less than or equal to zero,
+or if an error occurs while (re)allocating memory for the window.
+.
+.SH NOTES
+The only restriction placed on the dimensions is that they be greater than zero.
+The dimensions are not compared to \fBcurses\fR screen dimensions to
+simplify the logic of \fBresizeterm\fR.
+The caller must ensure that the window's dimensions fit within the
+actual screen dimensions.
+.
+.SH SEE ALSO
+\fBresizeterm\fR(3x).
+.
+.SH AUTHOR
+Thomas Dickey (from an equivalent function written in 1988 for BSD curses).
+.\"#
+.\"# The following sets edit modes for GNU EMACS
+.\"# Local Variables:
+.\"# mode:nroff
+.\"# fill-column:79
+.\"# End:
diffstat-1.68/testing/case03.ref 0000644 0000000 0000000 00000000247 07073762770 015225 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case25.ref 0000644 0000000 0000000 00000000554 10160421167 015211 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++--
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case21u.ref 0000644 0000000 0000000 00000000100 10300164553 015354 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case40p9.ref 0000644 0000000 0000000 00000000156 13777412636 015477 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case23R.ref 0000644 0000000 0000000 00000000234 11700545541 015330 0 ustar root root README | 1
gkrellm-bfm.c | 99 ++++++++++++----------------------------------------------
2 files changed, 23 insertions(+), 77 deletions(-)
diffstat-1.68/testing/case47r2.ref 0000644 0000000 0000000 00000000624 14377643723 015501 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++---
package/debian/cdialog.install | 9 +++--
package/debian/cdialog.lintian-overrides | 2
po/makefile.inn | 14 ++++----
samples/inputbox6-utf8 | 4 ++
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case25p1.ref 0000644 0000000 0000000 00000000554 10160421167 015452 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++--
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case19b.ref 0000644 0000000 0000000 00000000114 10667374025 015362 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case39b.ref 0000644 0000000 0000000 00000000105 13777406456 015375 0 ustar root root diffstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case32.ref 0000644 0000000 0000000 00000000105 11246713507 015207 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case37p1.ref 0000644 0000000 0000000 00000001733 12133114345 015454 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case33f0.ref 0000644 0000000 0000000 00000000115 11246713507 015437 0 ustar root root README | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case26k.ref 0000644 0000000 0000000 00000003671 10451755075 015403 0 ustar root root Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +
Hotkeys.C | 32 ++
Makefile | 2
Menu.C | 70 +++---
README | 18 -
Rotated.C | 61 +++--
config.h | 6
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8
debian/patches/100_double_ampersand.dpatch | 19 +
debian/patches/100_fl_filename_name.dpatch | 20 -
debian/patches/101_visible_focus.dpatch | 19 -
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 -
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14 -
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 +
main.C | 99 ++++++---
patch-stamp | 25 --
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case04.ref 0000644 0000000 0000000 00000003373 10276756033 015223 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case11.pat 0000644 0000000 0000000 00000000422 06266007145 015216 0 ustar root root *** test/ncurses.orig.c Sat Dec 21 08:04:03 1996
--- test/ncurses.c Sun Dec 29 00:11:07 1996
***************
*** 2746,2751 ****
--- 2746,2752 ----
static void
set_terminal_modes(void)
{
+ noraw();
cbreak();
noecho();
scrollok(stdscr, TRUE);
diffstat-1.68/testing/case26u.ref 0000644 0000000 0000000 00000003671 10451755075 015415 0 ustar root root config.h | 6
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8
debian/patches/100_double_ampersand.dpatch | 19 +
debian/patches/100_fl_filename_name.dpatch | 20 -
debian/patches/101_visible_focus.dpatch | 19 -
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 -
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14 -
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +
Hotkeys.C | 32 ++
logo.fl | 19 +
main.C | 99 ++++++---
Makefile | 2
Menu.C | 70 +++---
patch-stamp | 25 --
README | 18 -
Rotated.C | 61 +++--
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case27f0.ref 0000644 0000000 0000000 00000000714 10664325751 015452 0 ustar root root Makefile | 4 4 + 0 - 0 !
b/Documentation/parport-lowlevel.txt | 29 3 + 26 - 0 !
b/drivers/cpuidle/governors/menu.c | 2 1 + 1 - 0 !
b/drivers/parport/daisy.c | 29 0 + 29 - 0 !
b/fs/select.c | 2 1 + 1 - 0 !
b/include/linux/parport.h | 1 0 + 1 - 0 !
scripts/export_report.pl | 2 1 + 1 - 0 !
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case17r1.ref 0000644 0000000 0000000 00000000274 10277702417 015465 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case27r2.ref 0000644 0000000 0000000 00000000673 10664325751 015474 0 ustar root root Makefile | 4 ++++
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/cpuidle/governors/menu.c | 2 +-
b/drivers/parport/daisy.c | 29 -----------------------------
b/fs/select.c | 2 +-
b/include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case49u.ref 0000644 0000000 0000000 00000000117 14714413542 015406 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case36k.ref 0000644 0000000 0000000 00000006660 12133111320 015357 0 ustar root root diffstat.orig/config.cache | 8 !!!!!!!!
diffstat.orig/config.cache | 8 ++++----
diffstat.orig/config.h | 1 +
diffstat.orig/config.h | 1 +
diffstat.orig/config.log | 38 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
diffstat.orig/config.log | 38 +++++++++++++++-----------------------
diffstat.orig/config.status | 12 !!!!!!!!!!!!
diffstat.orig/config.status | 12 ++++++------
diffstat.orig/configure.out |only
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 2 !!
diffstat.orig/makefile | 2 +-
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
diffstat/testing/xterm-9.ref |only
80 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case37f0.ref 0000644 0000000 0000000 00000001733 12133114345 015441 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case01u.ref 0000644 0000000 0000000 00000004054 07530534454 015402 0 ustar root root config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 +
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 -
include/Xos.h | 7 ++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
test/xsuite/xtest/src/bin/mc/files.c | 2 -
util/patch/malloc.c | 12 +++------
util/patch/pch.c | 2 -
config/cf/Imake.cf | 7 +++++
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case45R.ref 0000644 0000000 0000000 00000001637 14320603177 015345 0 ustar root root --unified=2 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case34f0.ref 0000644 0000000 0000000 00000000170 11762443774 015452 0 ustar root root quux bar baz | 2 1 + 1 - 0 !
quux bar baz2 | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case34.ref 0000644 0000000 0000000 00000000144 11762443774 015225 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case38rr1.ref 0000644 0000000 0000000 00000000456 12546615551 015657 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case23p1.ref 0000644 0000000 0000000 00000000234 07753454053 015461 0 ustar root root README | 1
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case38lp1.ref 0000644 0000000 0000000 00000000456 12546615551 015647 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case03Rp0.ref 0000644 0000000 0000000 00000000354 11700545533 015572 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 1 !
diffstat/config.h | 1 -
diffstat/diffstat |binary
diffstat/diffstat.o |binary
5 files changed, 1 deletion(-), 1 modification(!)
diffstat-1.68/testing/case15.pat 0000644 0000000 0000000 00000037272 06527336173 015245 0 ustar root root --- nvi-1.79.orig/build/Makefile.in
+++ nvi-1.79/build/Makefile.in
@@ -95,15 +95,15 @@
($(mkdir) $(mandir)/cat1 && $(chmod) $(dmode) $(mandir)/cat1)
@echo "Installing man pages: $(mandir) ..."
cd $(mandir)/cat1 && $(rm) -f `echo vi.0 | sed '$(transform)'`
- $(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \
- $(mandir)/cat1/`echo vi.0 | sed '$(transform)'`
- cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'`
- cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'`
- cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'`
- cd $(mandir)/cat1 && $(ln) \
- `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'`
- cd $(mandir)/cat1 && $(ln) \
- `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'`
+ #$(cp) $(srcdir)/docs/USD.doc/vi.man/vi.0 \
+ #$(mandir)/cat1/`echo vi.0 | sed '$(transform)'`
+ #cd $(mandir)/cat1 && $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'`
+ #cd $(mandir)/cat1 && $(rm) -f `echo ex.0 | sed '$(transform)'`
+ #cd $(mandir)/cat1 && $(rm) -f `echo view.0 | sed '$(transform)'`
+ #cd $(mandir)/cat1 && $(ln) \
+ #`echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'`
+ #cd $(mandir)/cat1 && $(ln) \
+ #`echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'`
[ -d $(mandir)/man1 ] || \
($(mkdir) $(mandir)/man1 && $(chmod) $(dmode) $(mandir)/man1)
cd $(mandir)/man1 && $(rm) -f `echo vi.1 | sed '$(transform)'`
@@ -137,16 +137,16 @@
$(chmod) $(dmode) $(datadir)/vi/catalog
(cd $(srcdir)/catalog && $(cp) $(cat) $(datadir)/vi/catalog && \
cd $(datadir)/vi/catalog && $(chmod) $(fmode) *)
- @echo "Installing Perl scripts: $(datadir)/vi/perl ..."
- $(mkdir) $(datadir)/vi/perl && $(chmod) $(dmode) $(datadir)/vi/perl
- [ -f VI.pm ] && $(cp) VI.pm $(datadir)/vi/perl && \
- cd $(datadir)/vi/perl && $(chmod) $(fmode) VI.pm)
- (cd $(srcdir)/perl_scripts && $(cp) *.pl $(datadir)/vi/perl && \
- cd $(datadir)/vi/perl && $(chmod) $(fmode) *.pl)
- @echo "Installing Tcl scripts: $(datadir)/vi/tcl ..."
- $(mkdir) $(datadir)/vi/tcl && $(chmod) $(dmode) $(datadir)/vi/tcl
- (cd $(srcdir)/tcl_scripts && $(cp) *.tcl $(datadir)/vi/tcl && \
- cd $(datadir)/vi/tcl && $(chmod) $(fmode) *.tcl)
+ #@echo "Installing Perl scripts: $(datadir)/vi/perl ..."
+ #$(mkdir) $(datadir)/vi/perl && $(chmod) $(dmode) $(datadir)/vi/perl
+ #[ -f VI.pm ] && $(cp) VI.pm $(datadir)/vi/perl && \
+ # cd $(datadir)/vi/perl && $(chmod) $(fmode) VI.pm)
+ #(cd $(srcdir)/perl_scripts && $(cp) *.pl $(datadir)/vi/perl && \
+ # cd $(datadir)/vi/perl && $(chmod) $(fmode) *.pl)
+ #@echo "Installing Tcl scripts: $(datadir)/vi/tcl ..."
+ #$(mkdir) $(datadir)/vi/tcl && $(chmod) $(dmode) $(datadir)/vi/tcl
+ #(cd $(srcdir)/tcl_scripts && $(cp) *.tcl $(datadir)/vi/tcl && \
+ # cd $(datadir)/vi/tcl && $(chmod) $(fmode) *.tcl)
@echo "Installing recover script: $(datadir)/vi/recover ..."
($(cp) recover $(datadir)/vi/recover && \
$(chmod) $(emode) $(datadir)/vi/recover)
--- nvi-1.79.orig/build/recover
+++ nvi-1.79/build/recover
@@ -0,0 +1,49 @@
+#!/bin/sh -
+#
+# @(#)recover.in 8.8 (Berkeley) 10/10/96
+#
+# Script to recover nvi edit sessions.
+
+RECDIR="/var/tmp/vi.recover"
+SENDMAIL="/usr/sbin/sendmail"
+
+echo 'Recovering nvi editor sessions.'
+
+# Check editor backup files.
+vibackup=`echo $RECDIR/vi.*`
+if [ "$vibackup" != "$RECDIR/vi.*" ]; then
+ for i in $vibackup; do
+ # Only test files that are readable.
+ if test ! -r $i; then
+ continue
+ fi
+
+ # Unmodified nvi editor backup files either have the
+ # execute bit set or are zero length. Delete them.
+ if test -x $i -o ! -s $i; then
+ rm $i
+ fi
+ done
+fi
+
+# It is possible to get incomplete recovery files, if the editor crashes
+# at the right time.
+virecovery=`echo $RECDIR/recover.*`
+if [ "$virecovery" != "$RECDIR/recover.*" ]; then
+ for i in $virecovery; do
+ # Only test files that are readable.
+ if test ! -r $i; then
+ continue
+ fi
+
+ # Delete any recovery files that are zero length, corrupted,
+ # or that have no corresponding backup file. Else send mail
+ # to the user.
+ recfile=`awk '/^X-vi-recover-path:/{print $2}' < $i`
+ if test -n "$recfile" -a -s "$recfile"; then
+ $SENDMAIL -t < $i
+ else
+ rm $i
+ fi
+ done
+fi
--- nvi-1.79.orig/debian/README.debian
+++ nvi-1.79/debian/README.debian
@@ -0,0 +1,14 @@
+nvi for DEBIAN
+----------------------
+
+This package was debianized by Steve Greenland
+ on Tue, 29 Oct 1996, using
+the new source format. Much of it is based on previous work by Robert
+Sanders or , and
+Ian Murdock .
+
+It was downloaded from ftp://mongoose.bostic.com/pub/nvi.tar.gz,
+which seems to be the new home site: ftp.cs.berkeley.edu no longer
+archives nvi.
+
+Steve Greenland , Sat, 15 Nov 1997
--- nvi-1.79.orig/debian/changelog
+++ nvi-1.79/debian/changelog
@@ -0,0 +1,53 @@
+nvi (1.79-5) frozen unstable; urgency=low
+
+ * Fixed removal of editor alternative in prerm (reported by Dale Scheetz)
+
+ -- Steve Greenland Sun, 10 May 1998 18:54:02 -0500
+
+nvi (1.79-4) unstable; urgency=low
+
+ * fixed uncompressed alternatives links (closes:Bug#16171)
+ * fixed build problem (clean failed when already clean) (closes:Bug#15263)
+
+ -- Steve Greenland Sun, 5 Apr 1998 13:31:46 -0500
+
+nvi (1.79-3) frozen unstable; urgency=low
+
+ * Rebuilt with clean md5sum file. (closes:Bug#19377,Bug#18683)
+
+ -- Steve Greenland Thu, 19 Mar 1998 22:14:12 -0600
+
+nvi (1.79-2) unstable; urgency=low
+
+ * Fixed build (actually clean) procedure (Bug#15263)
+
+ -- Steve Greenland Fri, 28 Nov 1997 13:58:17 -0600
+
+nvi (1.79-1) unstable; urgency=low
+
+ * Removed cleanup of nvi-1.34-4 from postinst, shouldn't be necessary
+ any longer (Bug #6563)
+ * Removed /usr/man/cat1 from package (Bug #6240, #8226)
+ * Fixed permissions on executables (and man pages) (Bug #5998)
+ * New upstream version (Bug #14086)
+ * Compiled for libc6 (Bug #11709)
+ * debian/rules calls 'make distclean' on clean to remove configuration stuff
+ * Added update-alternatve calls to support Debian's /usr/bin/editor.
+
+ -- Steve Greenland Sat, 15 Nov 1997 17:50:02 -0600
+
+nvi (1.76-1) unstable; urgency=low
+
+ * New upstream version. (Fixes Bugs 2825, 3967, 4511)
+ * Modified Makefile.in permissions.
+ * New source package format, using debstd (from debmake package).
+ * Modified Makefile.in to not install pre-formatted man pages.
+ * Cleaned up postinst to avoid dangling links from update alternatives.
+ * Modified Makefile.in to not install Perl, Tcl, and Tk stuff. (Will
+ probably add back later as a separate package.)
+
+ -- Steve Greenland Sun, 1 Dec 1996 22:03:37 -0600
+
+Local variables:
+mode: debian-changelog
+End:
--- nvi-1.79.orig/debian/conffiles
+++ nvi-1.79/debian/conffiles
@@ -0,0 +1 @@
+/etc/rc.boot/nvi
--- nvi-1.79.orig/debian/control
+++ nvi-1.79/debian/control
@@ -0,0 +1,19 @@
+Source: nvi
+Section: editors
+Priority: important
+Maintainer: Steve Greenland
+Standards-Version: 2.4.0.0
+
+Package: nvi
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: 4.4BSD re-implementation of vi.
+ Vi is the original screen based text editor for Unix systems.
+ It is considered the standard text editor, and is available on
+ almost all Unix systems.
+ .
+ Nvi is intended as a "bug-for-bug compatible" clone of the original
+ BSD vi editor. As such, it doesn't have a lot of snazzy features as do
+ some of the other vi clones such as elvis and vim. However, if all
+ you want is vi, this is the one to get.
+
--- nvi-1.79.orig/debian/postinst
+++ nvi-1.79/debian/postinst
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+# Remove the old view link (nvi-1.34-14, maybe earlier)
+# Don't bother the user with it.
+update-alternatives --remove view /usr/bin/nvi >/dev/null
+
+update-alternatives --install /usr/bin/ex ex /usr/bin/nex 30 \
+ --slave /usr/man/man1/ex.1.gz ex.1.gz /usr/man/man1/nex.1.gz
+update-alternatives --install /usr/bin/vi vi /usr/bin/nvi 30 \
+ --slave /usr/man/man1/vi.1.gz vi.1.gz /usr/man/man1/nvi.1.gz
+update-alternatives --install /usr/bin/view view /usr/bin/nview 30 \
+ --slave /usr/man/man1/view.1.gz view.1.gz /usr/man/man1/nview.1.gz
+
+# These are for the generic editor links
+
+update-alternatives --install /usr/bin/editor editor /usr/bin/nvi 100 \
+ --slave /usr/man/man1/editor.1.gz editor.1.gz /usr/man/man1/nvi.1.gz
+
+
+
+exit 0
--- nvi-1.79.orig/debian/prerm
+++ nvi-1.79/debian/prerm
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+if [ "$1" != "upgrade" ]
+then
+ update-alternatives --remove editor /usr/bin/nvi
+ update-alternatives --remove ex /usr/bin/nex
+ update-alternatives --remove vi /usr/bin/nvi
+ update-alternatives --remove view /usr/bin/nview
+fi
+
+exit 0
--- nvi-1.79.orig/debian/rc.boot
+++ nvi-1.79/debian/rc.boot
@@ -0,0 +1,58 @@
+#!/bin/sh
+# @(#)recover.script 8.7 (Berkeley) 8/16/94
+#
+# Script to recover nvi edit sessions.
+#
+RECDIR=/var/tmp/vi.recover
+SENDMAIL=/usr/lib/sendmail
+
+case "$1" in
+ start)
+ echo -n 'Recovering nvi editor sessions... '
+
+ # Check editor backup files.
+ vibackup=`echo $RECDIR/vi.*`
+ if [ "$vibackup" != "$RECDIR/vi.*" ]; then
+ for i in $vibackup; do
+ # Only test files that are readable.
+ if test ! -r $i; then
+ continue
+ fi
+
+ # Unmodified nvi editor backup files either have the
+ # execute bit set or are zero length. Delete them.
+ if test -x $i -o ! -s $i; then
+ rm $i
+ fi
+ done
+ fi
+
+ # It is possible to get incomplete recovery files, if the editor crashes
+ # at the right time.
+ virecovery=`echo $RECDIR/recover.*`
+ if [ "$virecovery" != "$RECDIR/recover.*" ]; then
+ for i in $virecovery; do
+ # Only test files that are readable.
+ if test ! -r $i; then
+ continue
+ fi
+
+ # Delete any recovery files that are zero length, corrupted,
+ # or that have no corresponding backup file. Else send mail
+ # to the user.
+ recfile=`awk '/^X-vi-recover-path:/{print $2}' < $i`
+ if test -n "$recfile" -a -s "$recfile"; then
+ $SENDMAIL -t < $i
+ else
+ rm $i
+ fi
+ done
+ fi
+
+ echo "done."
+ ;;
+ stop)
+ ;;
+esac
+
+exit 0
--- nvi-1.79.orig/debian/rules
+++ nvi-1.79/debian/rules
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+# Sample debian.rules file - for GNU Hello (1.3).
+# Copyright 1994,1995 by Ian Jackson.
+# I hereby give you perpetual unlimited permission to copy,
+# modify and relicense this file, provided that you do not remove
+# my name from the file itself. (I assert my moral right of
+# paternity under the Copyright, Designs and Patents Act 1988.)
+# This file may have to be extensively modified
+
+# There used to be `source' and `diff' targets in this file, and many
+# packages also had `changes' and `dist' targets. These functions
+# have been taken over by dpkg-source, dpkg-genchanges and
+# dpkg-buildpackage in a package-independent way, and so these targets
+# are obsolete.
+
+package=nvi
+
+# This is needed for the install target
+curdir=$(shell pwd)
+
+# This bit with build.deb is because the nvi package has a
+# 'build' directory, and the normal use of 'touch build' won't
+# work.
+
+build: build.deb
+
+build.deb:
+ $(checkdir)
+ (cd ./build && CC=gcc ADDCPPFLAGS="-O2 -g" ./configure --prefix=/usr --disable-curses --datadir=/usr/lib --program-prefix=n)
+ (cd ./build && make)
+ touch build.deb
+
+
+clean:
+ $(checkdir)
+ -rm -f build.deb
+ (cd ./build && make distclean || /bin/true )
+ -rm -rf *~ debian/tmp debian/*~ debian/files*
+
+binary-indep: checkroot build.deb
+ $(checkdir)
+# There are no architecture-independent files to be uploaded
+# generated by this package. If there were any they would be
+# made here.
+
+binary-arch: checkroot build.deb
+ $(checkdir)
+ -rm -rf debian/tmp
+ install -d debian/tmp/usr/bin debian/tmp/etc
+ (cd build && make install prefix=$(curdir)/debian/tmp/usr)
+ -rmdir debian/tmp/usr/man/cat1
+ chmod u+w debian/tmp/usr/bin/* debian/tmp/usr/man/man1/nvi.*
+ cp LICENSE debian/copyright
+ # Compress the man pages -- debstd can't do this because they
+ # are all links. Also, make them soft links instead of hard links
+ (cd debian/tmp/usr/man/man1 && \
+ rm {nex,nview}.1 && gzip -9 nvi.1 && \
+ ln -s nvi.1.gz nex.1.gz && ln -s nvi.1.gz nview.1.gz)
+# Must have debmake installed for this to work. Otherwise please copy
+# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
+ debstd -m docs/changelog README FAQ
+ #
+ # Compress the changelogs if debstd didn't
+ #
+ ( set -e && cd debian/tmp/usr/doc/nvi && \
+ if [ -f changelog ] ; then gzip -9 changelog ; fi &&\
+ if [ -f changelog.Debian ] ; then gzip -9 changelog.Debian;fi)
+ dpkg-gencontrol
+ chown -R root.root debian/tmp
+ chmod -R g-ws debian/tmp
+ dpkg --build debian/tmp ..
+
+
+define checkdir
+ test -f debian/rules
+endef
+
+# Below here is fairly generic really
+
+binary: binary-indep binary-arch
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+checkroot:
+ $(checkdir)
+ test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- nvi-1.79.orig/debian/substvars
+++ nvi-1.79/debian/substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6, ncurses3.4
--- nvi-1.79.orig/debian/copyright
+++ nvi-1.79/debian/copyright
@@ -0,0 +1,40 @@
+The vi program is freely redistributable. You are welcome to copy, modify
+and share it with others under the conditions listed in this file. If any
+company (not any individual!) finds vi sufficiently useful that you would
+have purchased it, or if any company wishes to redistribute it, contributions
+to the authors would be appreciated.
+
+/*-
+ * Copyright (c) 1991, 1992, 1993, 1994
+ * The Regents of the University of California. All rights reserved.
+ * Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996
+ * Keith Bostic. 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. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
diffstat-1.68/testing/case04k.ref 0000644 0000000 0000000 00000006660 07530543207 015374 0 ustar root root diffstat.orig/config.cache | 8 !!!!!!!!
diffstat.orig/config.cache | 8 ++++----
diffstat.orig/config.h | 1 +
diffstat.orig/config.h | 1 +
diffstat.orig/config.log | 38 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
diffstat.orig/config.log | 38 +++++++++++++++-----------------------
diffstat.orig/config.status | 12 !!!!!!!!!!!!
diffstat.orig/config.status | 12 ++++++------
diffstat.orig/configure.out |only
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 2 !!
diffstat.orig/makefile | 2 +-
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
diffstat/testing/xterm-9.ref |only
80 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case18b.ref 0000644 0000000 0000000 00000000055 10667374025 015365 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case27k.ref 0000644 0000000 0000000 00000000673 10664325751 015403 0 ustar root root Makefile | 4 ++++
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/cpuidle/governors/menu.c | 2 +-
b/drivers/parport/daisy.c | 29 -----------------------------
b/fs/select.c | 2 +-
b/include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case36f0.ref 0000644 0000000 0000000 00000003400 12133111320 015417 0 ustar root root diffstat.orig/config.cache | 16 4 + 4 - 8 !
diffstat.orig/config.h | 2 2 + 0 - 0 !
diffstat.orig/config.log | 76 15 + 23 - 38 !
diffstat.orig/config.status | 24 6 + 6 - 12 !
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 1 + 1 - 2 !
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case31lR.ref 0000644 0000000 0000000 00000000100 11700545544 015476 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case43Rp0.ref 0000644 0000000 0000000 00000001637 14320603177 015603 0 ustar root root --unified=0 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case37u.ref 0000644 0000000 0000000 00000001733 12133114345 015400 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case41R.ref 0000644 0000000 0000000 00000000206 13777421437 015344 0 ustar root root /dev/null | 6 ------
a/hello.c | 2 +-
a/hello.o |binary
b/hello.c | 1 -
4 files changed, 1 insertion(+), 8 deletions(-)
diffstat-1.68/testing/case38r.pat 0000644 0000000 0000000 00000010312 12546610563 015412 0 ustar root root diff -r -u -N "testing/READ ME!" "test ink/READ ME!"
--- "testing/READ ME!" 2004-12-18 07:19:21.000000000 -0500
+++ "test ink/READ ME!" 1969-12-31 19:00:00.000000000 -0500
@@ -1,5 +0,0 @@
--- @Id: README,v 1.1 2004/12/18 12:19:21 tom Exp @
-
-The files in this directory are used for regression-checks of diffstat. The
-full test-suite is not distributed since some of the test-data is not freely
-distributable.
diff -r -u -N "testing/README ?" "test ink/README ?"
--- "testing/README ?" 1969-12-31 19:00:00.000000000 -0500
+++ "test ink/README ?" 2004-12-18 07:19:21.000000000 -0500
@@ -0,0 +1,5 @@
+-- @Id: README,v 1.1 2004/12/18 12:19:21 tom Exp @
+
+The files in this directory are used for regression-checks of diffstat. The
+full test-suite is not distributed since some of the test-data is not freely
+distributable.
diff -r -u -N "testing/run atac.sh" "test ink/run atac.sh"
--- "testing/run atac.sh" 1998-01-16 20:10:06.000000000 -0500
+++ "test ink/run atac.sh" 1969-12-31 19:00:00.000000000 -0500
@@ -1,6 +0,0 @@
-#!/bin/sh
-# @Id: run_atac.sh,v 1.2 1998/01/17 01:10:06 tom Exp @
-rm -f /tmp/atac_dir/*
-run_test.sh
-atac -u ../*.atac /tmp/atac_dir/*
-atacmin ../*.atac /tmp/atac_dir/*
diff -r -u -N testing/run_atac.sh "test ink/run_atac.sh"
--- testing/run_atac.sh 1969-12-31 19:00:00.000000000 -0500
+++ "test ink/run_atac.sh" 1998-01-16 20:10:06.000000000 -0500
@@ -0,0 +1,6 @@
+#!/bin/sh
+# @Id: run_atac.sh,v 1.2 1998/01/17 01:10:06 tom Exp @
+rm -f /tmp/atac_dir/*
+run_test.sh
+atac -u ../*.atac /tmp/atac_dir/*
+atacmin ../*.atac /tmp/atac_dir/*
diff -r -u -N "testing/run test.sh" "test ink/run test.sh"
--- "testing/run test.sh" 2012-01-03 05:18:14.000000000 -0500
+++ "test ink/run test.sh" 1969-12-31 19:00:00.000000000 -0500
@@ -1,51 +0,0 @@
-#!/bin/sh
-# @Id: run_test.sh,v 1.15 2012/01/03 10:18:14 tom Exp @
-# Test-script for DIFFSTAT
-
-# change this for ad hoc testing of compression
-#TYPE=.pat.Z
-#TYPE=.pat.gz
-#TYPE=.pat.bz2
-TYPE=.pat
-
-if [ $# = 0 ]
-then
- eval '"$0" *${TYPE}'
- exit
-fi
-PATH=`cd ..;pwd`:$PATH; export PATH
-# Sanity check, remembering that not every system has `which'.
-(which diffstat) >/dev/null 2>/dev/null && echo "Checking `which diffstat`"
-
-for item in $*
-do
- echo "testing `basename $item $TYPE`"
- for OPTS in "" "-p1" "-p9" "-f0" "-u" "-k" "-r1" "-r2" "-b" "-R" "-Rp0"
- do
- NAME=`echo $item | sed -e 's/'$TYPE'$//'`
- DATA=${NAME}${TYPE}
- if [ ".$OPTS" != "." ] ; then
- NAME=$NAME`echo ./$OPTS|sed -e 's@./-@@'`
- fi
- TEST=`basename $NAME`
- diffstat -e $TEST.err -o $TEST.out $OPTS $DATA
- if [ -f $NAME.ref ]
- then
- diff -b $NAME.ref $TEST.out >check.out
- if test -s check.out
- then
- echo "?? fail: $TEST"
- ls -l check.out
- cat check.out
- else
- echo "** ok: $TEST"
- rm -f $TEST.out
- rm -f $TEST.err
- fi
- else
- echo "** save: $TEST"
- mv $TEST.out $NAME.ref
- rm -f $TEST.err
- fi
- done
-done
diff -r -u -N testing/run_test.sh "test ink/run_test.sh"
--- testing/run_test.sh 1969-12-31 19:00:00.000000000 -0500
+++ "test ink/run_test.sh" 2012-01-03 05:18:14.000000000 -0500
@@ -0,0 +1,51 @@
+#!/bin/sh
+# @Id: run_test.sh,v 1.15 2012/01/03 10:18:14 tom Exp @
+# Test-script for DIFFSTAT
+
+# change this for ad hoc testing of compression
+#TYPE=.pat.Z
+#TYPE=.pat.gz
+#TYPE=.pat.bz2
+TYPE=.pat
+
+if [ $# = 0 ]
+then
+ eval '"$0" *${TYPE}'
+ exit
+fi
+PATH=`cd ..;pwd`:$PATH; export PATH
+# Sanity check, remembering that not every system has `which'.
+(which diffstat) >/dev/null 2>/dev/null && echo "Checking `which diffstat`"
+
+for item in $*
+do
+ echo "testing `basename $item $TYPE`"
+ for OPTS in "" "-p1" "-p9" "-f0" "-u" "-k" "-r1" "-r2" "-b" "-R" "-Rp0"
+ do
+ NAME=`echo $item | sed -e 's/'$TYPE'$//'`
+ DATA=${NAME}${TYPE}
+ if [ ".$OPTS" != "." ] ; then
+ NAME=$NAME`echo ./$OPTS|sed -e 's@./-@@'`
+ fi
+ TEST=`basename $NAME`
+ diffstat -e $TEST.err -o $TEST.out $OPTS $DATA
+ if [ -f $NAME.ref ]
+ then
+ diff -b $NAME.ref $TEST.out >check.out
+ if test -s check.out
+ then
+ echo "?? fail: $TEST"
+ ls -l check.out
+ cat check.out
+ else
+ echo "** ok: $TEST"
+ rm -f $TEST.out
+ rm -f $TEST.err
+ fi
+ else
+ echo "** save: $TEST"
+ mv $TEST.out $NAME.ref
+ rm -f $TEST.err
+ fi
+ done
+done
diffstat-1.68/testing/case38rp1.ref 0000644 0000000 0000000 00000000456 12546615551 015655 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case11.ref 0000644 0000000 0000000 00000000064 10300164551 015175 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case05Rp0.ref 0000644 0000000 0000000 00000000100 11700545534 015562 0 ustar root root diffstat/config.cache | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case20r1.ref 0000644 0000000 0000000 00000000172 10277702417 015454 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case09.ref 0000644 0000000 0000000 00000000021 06122641403 015200 0 ustar root root 0 files changed
diffstat-1.68/testing/case13k.ref 0000644 0000000 0000000 00000000303 10276756342 015367 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case33p1.ref 0000644 0000000 0000000 00000000105 11246713507 015451 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case35p9.ref 0000644 0000000 0000000 00000000247 12133111243 015453 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case14u.ref 0000644 0000000 0000000 00000000064 10300164552 015366 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case33.ref 0000644 0000000 0000000 00000000105 11246713507 015210 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case36R.ref 0000644 0000000 0000000 00000003373 12133111320 015324 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 16 ++--!!!!
diffstat/config.h | 2 -
diffstat/config.log | 76 +++++++++++--------!!!!!!!!!!!!!!!!!!
diffstat/config.status | 24 +++---!!!!!!
diffstat/diffstat |binary
diffstat/diffstat.o |binary
diffstat/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 34 insertions(+), 28 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case31l.ref 0000644 0000000 0000000 00000000100 11234653226 015353 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case41.ref 0000644 0000000 0000000 00000000163 13777421437 015224 0 ustar root root b/hello.c | 8 +++++++-
b/hello.o |binary
hello.c | 1 +
3 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case42r2.ref 0000644 0000000 0000000 00000000475 14320561540 015460 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 +
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case47r1.ref 0000644 0000000 0000000 00000000627 14377643723 015503 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++---
package/debian/cdialog.install | 9 +++--
package/debian/cdialog.lintian-overrides | 2 +-
po/makefile.inn | 14 ++++----
samples/inputbox6-utf8 | 4 ++-
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case46u.ref 0000644 0000000 0000000 00000001216 14320603177 015402 0 ustar root root configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
NEWS | 9 ++++++++-
package/debian/changelog | 4 ++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
VERSION | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case25u.ref 0000644 0000000 0000000 00000000554 10160421167 015376 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++--
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case17R.ref 0000644 0000000 0000000 00000000306 11700545540 015332 0 ustar root root include/linux/sched.h.user | 11 ----------
kernel/sched.c.user | 47 ---------------------------------------------
kernel/user.c.user | 2 -
3 files changed, 60 deletions(-)
diffstat-1.68/testing/case01k.ref 0000644 0000000 0000000 00000004054 07530543206 015363 0 ustar root root config/cf/Imake.cf | 7 +++++
config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 +
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 -
include/Xos.h | 7 ++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
test/xsuite/xtest/src/bin/mc/files.c | 2 -
util/patch/malloc.c | 12 +++------
util/patch/pch.c | 2 -
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case17Rp0.ref 0000644 0000000 0000000 00000000321 11700545540 015567 0 ustar root root linux/include/linux/sched.h.user | 11 ---------
linux/kernel/sched.c.user | 47 ---------------------------------------
linux/kernel/user.c.user | 2 -
3 files changed, 60 deletions(-)
diffstat-1.68/testing/case48f0.ref 0000644 0000000 0000000 00000000116 14714413374 015450 0 ustar root root unknown | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case39.ref 0000644 0000000 0000000 00000000156 13777406456 015241 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case45f0.ref 0000644 0000000 0000000 00000001363 14320603177 015445 0 ustar root root NEWS | 9 8 + 1 - 0 !
VERSION | 2 1 + 1 - 0 !
configure | 4 2 + 2 - 0 !
configure.in | 6 3 + 3 - 0 !
dist.mk | 4 2 + 2 - 0 !
misc/gen-pkgconfig.in | 8 6 + 2 - 0 !
package/debian-mingw/changelog | 4 2 + 2 - 0 !
package/debian-mingw64/changelog | 4 2 + 2 - 0 !
package/debian/changelog | 4 2 + 2 - 0 !
package/mingw-ncurses.nsi | 4 2 + 2 - 0 !
package/mingw-ncurses.spec | 2 1 + 1 - 0 !
package/ncurses.spec | 2 1 + 1 - 0 !
package/ncursest.spec | 2 1 + 1 - 0 !
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case12k.ref 0000644 0000000 0000000 00000000222 07605676150 015366 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case21b.ref 0000644 0000000 0000000 00000000100 10667374025 015346 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case45u.ref 0000644 0000000 0000000 00000001216 14320603177 015401 0 ustar root root configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
NEWS | 9 ++++++++-
package/debian/changelog | 4 ++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
VERSION | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case48r1.ref 0000644 0000000 0000000 00000000107 14714413375 015466 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case09k.ref 0000644 0000000 0000000 00000000021 07530543207 015362 0 ustar root root 0 files changed
diffstat-1.68/testing/case38lr2.ref 0000644 0000000 0000000 00000000456 12546615551 015652 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case24u.ref 0000644 0000000 0000000 00000000561 10144014205 015364 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case13r1.ref 0000644 0000000 0000000 00000000302 10300177115 015435 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!
def7_uni.tbl | 118 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case14.pat 0000644 0000000 0000000 00000000411 06457770454 015233 0 ustar root root *** /tmp/xx010 Sat Dec 21 08:04:03 1996
--- test/ncurses.c Sun Dec 29 00:11:07 1996
***************
*** 2746,2751 ****
--- 2746,2752 ----
static void
set_terminal_modes(void)
{
+ noraw();
cbreak();
noecho();
scrollok(stdscr, TRUE);
diffstat-1.68/testing/case13r2.ref 0000644 0000000 0000000 00000000302 10277702416 015451 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!
def7_uni.tbl | 118 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case07r2.ref 0000644 0000000 0000000 00000000266 10277702416 015465 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case31lr2.ref 0000644 0000000 0000000 00000000100 11237775205 015624 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case38r.ref 0000644 0000000 0000000 00000000456 12546615551 015414 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case13Rp0.ref 0000644 0000000 0000000 00000000303 11700545536 015570 0 ustar root root UCAux.c | 42 ++++++++!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 18 insertions(+), 1 deletion(-), 141 modifications(!)
diffstat-1.68/testing/case32p1.ref 0000644 0000000 0000000 00000000105 11246713507 015450 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case43R.ref 0000644 0000000 0000000 00000001637 14320603177 015343 0 ustar root root --unified=0 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case22u.ref 0000644 0000000 0000000 00000002214 07623304420 015370 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case14Rp0.ref 0000644 0000000 0000000 00000000064 11700545537 015576 0 ustar root root /tmp/xx010 | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case08p1.ref 0000644 0000000 0000000 00000001217 10276756033 015463 0 ustar root root build/x11r6/XFree86-current/xc/programs/xterm/Imakefile | 15 +++++++++
build/x11r6/XFree86-current/xc/programs/xterm/Tekproc.c | 7 ++++
build/x11r6/XFree86-current/xc/programs/xterm/charproc.c | 22 ++++++++++++++
build/x11r6/XFree86-current/xc/programs/xterm/data.c | 4 ++
build/x11r6/XFree86-current/xc/programs/xterm/main.c | 20 +++--!!!!!!
build/x11r6/XFree86-current/xc/programs/xterm/menu.c | 6 !!!
build/x11r6/XFree86-current/xc/programs/xterm/misc.c | 6 +++
build/x11r6/XFree86-current/xc/programs/xterm/scrollbar.c | 2 !
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case13p1.ref 0000644 0000000 0000000 00000000303 10276756034 015453 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case48r2.ref 0000644 0000000 0000000 00000000107 14714413375 015467 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case21f0.ref 0000644 0000000 0000000 00000000104 10300164553 015421 0 ustar root root diffstat.c | 8 0 + 0 - 8 !
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case24R.ref 0000644 0000000 0000000 00000000561 11700545542 015335 0 ustar root root gen/gen.c | 5 +++--
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++------
samples/ncurses2-acs_and_scroll.adb | 15 +++++++--------
samples/ncurses2-acs_display.adb | 21 +++++++++------------
5 files changed, 26 insertions(+), 31 deletions(-)
diffstat-1.68/testing/case18f0.ref 0000644 0000000 0000000 00000000070 10300164552 015430 0 ustar root root foo | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case19k.ref 0000644 0000000 0000000 00000000114 10300164552 015355 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case48Rp0.ref 0000644 0000000 0000000 00000000107 14714413375 015605 0 ustar root root unknown | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case41p1.ref 0000644 0000000 0000000 00000000134 13777421437 015463 0 ustar root root hello.c | 9 ++++++++-
hello.o |binary
2 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case19p1.ref 0000644 0000000 0000000 00000000114 10300164552 015443 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case10.ref 0000644 0000000 0000000 00000000351 07073762772 015221 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
xc/programs/Xserver/Xi/allowev.c | 6 !
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case44.pat 0000644 0000000 0000000 00000015673 14320570414 015234 0 ustar root root diff '--unified=1' -r ncurses-6.3-20221001/configure ncurses-6.3-20221008/configure
--- ncurses-6.3-20221001/configure 2022-10-01 09:25:01.000000000 -0400
+++ ncurses-6.3-20221008/configure 2022-10-08 12:55:47.000000000 -0400
@@ -1,3 +1,3 @@
#! /bin/sh
-# From configure.in Revision: 1.749 .
+# From configure.in Revision: 1.750 .
# Guess values for system-dependent variables and create Makefiles.
@@ -15411,3 +15411,3 @@
;;
-(789)
+([789])
NCURSES_MOUSE_VERSION=3
diff '--unified=1' -r ncurses-6.3-20221001/configure.in ncurses-6.3-20221008/configure.in
--- ncurses-6.3-20221001/configure.in 2022-10-01 09:16:18.000000000 -0400
+++ ncurses-6.3-20221008/configure.in 2022-10-08 11:54:35.000000000 -0400
@@ -31,3 +31,3 @@
dnl
-dnl $Id: configure.in,v 1.749 2022/10/01 13:16:18 tom Exp $
+dnl $Id: configure.in,v 1.750 2022/10/08 15:54:35 tom Exp $
dnl Process this file with autoconf to produce a configure script.
@@ -40,3 +40,3 @@
AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.749 $)
+AC_REVISION($Revision: 1.750 $)
AC_INIT(ncurses/base/lib_initscr.c)
@@ -1274,3 +1274,3 @@
;;
-([789])
+([[789]])
NCURSES_MOUSE_VERSION=3
diff '--unified=1' -r ncurses-6.3-20221001/dist.mk ncurses-6.3-20221008/dist.mk
--- ncurses-6.3-20221001/dist.mk 2022-10-01 09:15:31.000000000 -0400
+++ ncurses-6.3-20221008/dist.mk 2022-10-08 06:25:44.000000000 -0400
@@ -28,3 +28,3 @@
##############################################################################
-# $Id: dist.mk,v 1.1505 2022/10/01 13:15:31 tom Exp $
+# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $
# Makefile for creating ncurses distributions.
@@ -40,3 +40,3 @@
NCURSES_MINOR = 3
-NCURSES_PATCH = 20221001
+NCURSES_PATCH = 20221008
diff '--unified=1' -r ncurses-6.3-20221001/misc/gen-pkgconfig.in ncurses-6.3-20221008/misc/gen-pkgconfig.in
--- ncurses-6.3-20221001/misc/gen-pkgconfig.in 2022-08-27 15:07:03.000000000 -0400
+++ ncurses-6.3-20221008/misc/gen-pkgconfig.in 2022-10-08 12:45:20.000000000 -0400
@@ -1,3 +1,3 @@
#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.55 2022/08/27 19:07:03 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.56 2022/10/08 16:45:20 tom Exp $
##############################################################################
@@ -105,3 +105,7 @@
lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
- [ -d "$lib_check" ] || continue
+ # on a new/nonstandard install, $libdir may not yet exist at this point
+ if [ "$libdir" != "$lib_check" ]
+ then
+ [ -d "$lib_check" ] || continue
+ fi
case "$lib_check" in
diff '--unified=1' -r ncurses-6.3-20221001/NEWS ncurses-6.3-20221008/NEWS
--- ncurses-6.3-20221001/NEWS 2022-10-01 18:20:28.000000000 -0400
+++ ncurses-6.3-20221008/NEWS 2022-10-08 12:50:03.000000000 -0400
@@ -28,3 +28,3 @@
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3862 2022/10/01 22:20:28 tom Exp $
+-- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $
-------------------------------------------------------------------------------
@@ -48,2 +48,9 @@
+20221008
+ + correct a switch-statement case in configure script to allow for test
+ builds with ABI=7.
+ + modify misc/gen-pkgconfig.in to allow for the case where the library
+ directory does not yet exist, since this is processed before doing an
+ install (report by Michal Liszcz).
+
20221001
diff '--unified=1' -r ncurses-6.3-20221001/package/debian/changelog ncurses-6.3-20221008/package/debian/changelog
--- ncurses-6.3-20221001/package/debian/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,2 +1,2 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -4,3 +4,3 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=1' -r ncurses-6.3-20221001/package/debian-mingw/changelog ncurses-6.3-20221008/package/debian-mingw/changelog
--- ncurses-6.3-20221001/package/debian-mingw/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,2 +1,2 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -4,3 +4,3 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=1' -r ncurses-6.3-20221001/package/debian-mingw64/changelog ncurses-6.3-20221008/package/debian-mingw64/changelog
--- ncurses-6.3-20221001/package/debian-mingw64/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw64/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,2 +1,2 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -4,3 +4,3 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=1' -r ncurses-6.3-20221001/package/mingw-ncurses.nsi ncurses-6.3-20221008/package/mingw-ncurses.nsi
--- ncurses-6.3-20221001/package/mingw-ncurses.nsi 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.nsi 2022-10-08 06:25:44.000000000 -0400
@@ -1,2 +1,2 @@
-; $Id: mingw-ncurses.nsi,v 1.544 2022/10/01 09:34:57 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $
@@ -12,3 +12,3 @@
!define VERSION_YYYY "2022"
-!define VERSION_MMDD "1001"
+!define VERSION_MMDD "1008"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
diff '--unified=1' -r ncurses-6.3-20221001/package/mingw-ncurses.spec ncurses-6.3-20221008/package/mingw-ncurses.spec
--- ncurses-6.3-20221001/package/mingw-ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -5,3 +5,3 @@
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
diff '--unified=1' -r ncurses-6.3-20221001/package/ncurses.spec ncurses-6.3-20221008/package/ncurses.spec
--- ncurses-6.3-20221001/package/ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -3,3 +3,3 @@
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
diff '--unified=1' -r ncurses-6.3-20221001/package/ncursest.spec ncurses-6.3-20221008/package/ncursest.spec
--- ncurses-6.3-20221001/package/ncursest.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncursest.spec 2022-10-08 06:25:44.000000000 -0400
@@ -3,3 +3,3 @@
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
diff '--unified=1' -r ncurses-6.3-20221001/VERSION ncurses-6.3-20221008/VERSION
--- ncurses-6.3-20221001/VERSION 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/VERSION 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-5:0:10 6.3 20221001
+5:0:10 6.3 20221008
diffstat-1.68/testing/case12b.ref 0000644 0000000 0000000 00000000222 10667374023 015351 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case01R.ref 0000644 0000000 0000000 00000004054 11700545532 015330 0 ustar root root config/cf/Imake.cf | 7 -----
config/cf/hp.cf | 7 -----
config/cf/hpLib.rules | 2 -
config/imake/imakemdep.h | 13 ----------
config/makedepend/main.c | 2 -
include/Xos.h | 7 -----
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
test/xsuite/xtest/src/bin/mc/files.c | 2 -
util/patch/malloc.c | 12 +++++----
util/patch/pch.c | 2 -
27 files changed, 36 insertions(+), 68 deletions(-)
diffstat-1.68/testing/case24p9.ref 0000644 0000000 0000000 00000000535 10226221642 015457 0 ustar root root gen.c | 5 ++---
ncurses2-acs_and_scroll.adb | 15 ++++++++-------
ncurses2-acs_display.adb | 21 ++++++++++++---------
terminal_interface-curses-mouse.ads.m4 | 6 +++---
terminal_interface-curses.ads.m4 | 10 ++++++----
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case21p1.ref 0000644 0000000 0000000 00000000100 10300164552 015427 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case32.pat 0000644 0000000 0000000 00000001036 11246713336 015223 0 ustar root root --- README 2001-10-10 20:23:46.000000000 -0400
+++ README.new 2009-08-31 05:24:30.000000000 -0400
@@ -1,7 +1,7 @@
$Id: README,v 1.5 2001/10/11 00:23:46 tom Exp $
-Readme file for DiffStat.
+Readme file for dIFFsTAT.
This program is a simple filter that reads the output of the 'diff' program,
and produces a histogram of the total number of lines that were changed. It is
-useful for scanning a patch file to see which files were changed.
+useful for scanning a patch file to see which files were changed.
\ No newline at end of file
diffstat-1.68/testing/case36p9.ref 0000644 0000000 0000000 00000002150 12133111320 015443 0 ustar root root Xlib-1.patch- |only
Xlib-1.ref |only
Xlib-2.patch- |only
Xlib-2.ref |only
Xlib-3.patch- |only
Xlib-3.ref |only
config-1.ref |only
config.cache | 16 ++---!!!!
config.h | 2 +
config.log | 76 ++++++++++-----------------!!!!!!!!!!!!!!!!!!!!!!!!!!
config.status | 24 ++++----!!!!!!!!
configure.out |only
diffstat |binary
diffstat.o |binary
makefile | 4 -
nugent.ref |only
xserver-1.ref |only
xserver-2.patch- |only
xserver-2.ref |only
xterm-1.patch- |only
xterm-1.ref |only
xterm-10.patch- |only
xterm-10.ref |only
xterm-11.patch- |only
xterm-11.ref |only
xterm-2.patch- |only
xterm-2.ref |only
xterm-3.patch- |only
xterm-3.ref |only
xterm-4.patch- |only
xterm-4.ref |only
xterm-5.patch- |only
xterm-5.ref |only
xterm-6.patch- |only
xterm-6.ref |only
xterm-7.ref |only
xterm-8.patch- |only
xterm-8.ref |only
xterm-9.patch- |only
xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case25k.ref 0000644 0000000 0000000 00000000554 10160421167 015364 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++--
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case26b.ref 0000644 0000000 0000000 00000003671 10667374027 015375 0 ustar root root Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +
Hotkeys.C | 32 ++
Makefile | 2
Menu.C | 70 +++---
README | 18 -
Rotated.C | 61 +++--
config.h | 6
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8
debian/patches/100_double_ampersand.dpatch | 19 +
debian/patches/100_fl_filename_name.dpatch | 20 -
debian/patches/101_visible_focus.dpatch | 19 -
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 -
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14 -
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 +
main.C | 99 ++++++---
patch-stamp | 25 --
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case06f0.ref 0000644 0000000 0000000 00000000426 07530543242 015442 0 ustar root root NEWS | 2 2 + 0 - 0 !
ncurses/lib_doupdate.c | 91 69 + 22 - 0 !
ncurses/lib_initscr.c | 4 4 + 0 - 0 !
ncurses/lib_pad.c | 48 38 + 10 - 0 !
test/ncurses.c | 29 29 + 0 - 0 !
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case31lf0.ref 0000644 0000000 0000000 00000000112 11237775205 015611 0 ustar root root tty.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case09p1.ref 0000644 0000000 0000000 00000000021 06122654443 015451 0 ustar root root 0 files changed
diffstat-1.68/testing/case38lRp0.ref 0000644 0000000 0000000 00000000544 12546615551 015766 0 ustar root root test ink/READ ME! | 5 -----
test ink/README ? | 5 +++++
test ink/run atac.sh | 6 ------
test ink/run test.sh | 51 ---------------------------------------------------
test ink/run_atac.sh | 6 ++++++
test ink/run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case20.pat 0000644 0000000 0000000 00000010501 07605627427 015226 0 ustar root root diff -c 'vile-9.3+/README' 'vile-9.3j+/README'
Index: ./README
Prereq: 1.88
*** ./README Tue Jun 25 20:25:57 2002
--- ./README Sun Jun 30 16:27:52 2002
***************
*** 23,41 ****
impatient? just type "./configure; make", and get a cup of coffee, decaf
if necessary.
want X11 support? you'd better look at doc/config.doc, although
"./configure --with-screen=x11"; make" may well do what you want.
want PC support? look for precompiled binaries at the various ftp sites.
want to build vile on a PC host? refer to the file README.PC .
! want VMS support? you'll need to build vile yourself. refer to the
! file README.VMS .
!
! if you like vile, and wish to be informed of new releases, let me
! know -- i maintain a mailing list for that purpose. don't worry -- the
! volume won't fill your inbox.
paul fox, pgf@foxharp.boston.ma.us (original author)
kevin buettner, kev@primenet.com
--- 23,49 ----
impatient? just type "./configure; make", and get a cup of coffee, decaf
if necessary.
+ want to know more about configure options? type "./configure --help"
+ and then read doc/config.doc for further details.
+
want X11 support? you'd better look at doc/config.doc, although
"./configure --with-screen=x11"; make" may well do what you want.
+ want syntax coloring? add "--with-builtin-filters" to your configure
+ options and then read the topics "Color basics" and "Syntax coloring" in
+ the file vile.hlp.
+
want PC support? look for precompiled binaries at the various ftp sites.
want to build vile on a PC host? refer to the file README.PC .
! want VMS support? some precompiled binaries are available at
! ftp://ftp.phred.org/pub/vile. otherwise, you'll need to build vile
! yourself. In either case, refer to the file README.VMS .
!
! if you like vile, and wish to be informed of new releases, let me know -- i
! maintain a mailing list for that purpose (scroll down a bit for details).
! don't worry -- the volume won't fill your inbox.
paul fox, pgf@foxharp.boston.ma.us (original author)
kevin buettner, kev@primenet.com
***************
*** 628,632 ****
+ add $prompt variable, to allow changing the command-line prompt.
-------------------------------
! @Header: /users/tom/src/diffstat/testing/RCS/case20.pat,v 1.1 2003/01/04 18:59:35 tom Exp @
-------------------------------
--- 636,640 ----
+ add $prompt variable, to allow changing the command-line prompt.
-------------------------------
! @Header: /users/tom/src/diffstat/testing/RCS/case20.pat,v 1.1 2003/01/04 18:59:35 tom Exp @
-------------------------------
diff -c 'vile-9.3+/README.PC' 'vile-9.3j+/README.PC'
Index: ./README.PC
Prereq: 1.29
*** ./README.PC Tue Jun 25 20:25:57 2002
--- ./README.PC Sun Jun 30 16:27:52 2002
***************
*** 198,208 ****
install it in a directory located in your PATH and add the following
command-line option:
! nmake -f makefile.wnt LEX=flex # or LEX=lex
take note that flex is a component of cygwin's GNU emulation package
and works quite well for this purpose. cygwin can be obtained from
! Redhat at http://sources.redhat.com/cygwin.
[2] this option requires prior installation of perl. refer to the section
entitled "Perl preconditions" below.
--- 198,209 ----
install it in a directory located in your PATH and add the following
command-line option:
! nmake -f makefile.wnt FLT=1 LEX=flex # or LEX=lex
take note that flex is a component of cygwin's GNU emulation package
and works quite well for this purpose. cygwin can be obtained from
! Redhat at http://sources.redhat.com/cygwin. the FLT option binds
! all syntax coloring filters into the resultant [win]vile executable.
[2] this option requires prior installation of perl. refer to the section
entitled "Perl preconditions" below.
***************
*** 263,267 ****
paul fox, pgf@foxharp.boston.ma.us (home)
------------------------
! @Header: /users/tom/src/diffstat/testing/RCS/case20.pat,v 1.1 2003/01/04 18:59:35 tom Exp @
------------------------
--- 264,268 ----
paul fox, pgf@foxharp.boston.ma.us (home)
------------------------
! @Header: /users/tom/src/diffstat/testing/RCS/case20.pat,v 1.1 2003/01/04 18:59:35 tom Exp @
------------------------
diffstat-1.68/testing/case42p1.ref 0000644 0000000 0000000 00000000343 14320561540 015447 0 ustar root root case39k.ref | 1 +
case42.pat |only
full.log |only
full.txt |only
full1.log |only
full1.txt |only
short.log |only
short.txt |only
short1.log |only
short1.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case49.ref 0000644 0000000 0000000 00000000117 14714413542 015221 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case10f0.ref 0000644 0000000 0000000 00000000367 07530543242 015441 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 26 + 0 - 0 !
xc/programs/Xserver/Xi/allowev.c | 6 1 + 1 - 4 !
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case31ur1.ref 0000644 0000000 0000000 00000000121 11240121111 015606 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case42r1.ref 0000644 0000000 0000000 00000000475 14320561540 015457 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 +
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case39u.ref 0000644 0000000 0000000 00000000156 13777406456 015426 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case06u.ref 0000644 0000000 0000000 00000000461 07530534454 015405 0 ustar root root NEWS | 2 +
ncurses/lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++------------
ncurses/lib_initscr.c | 4 ++
ncurses/lib_pad.c | 48 ++++++++++++++++++++-----
test/ncurses.c | 29 +++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case37.ref 0000644 0000000 0000000 00000001733 12133114345 015213 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case03r2.ref 0000644 0000000 0000000 00000000247 10277702415 015457 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case19Rp0.ref 0000644 0000000 0000000 00000000114 11700545540 015571 0 ustar root root data.old | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diffstat-1.68/testing/case43p1.ref 0000644 0000000 0000000 00000001216 14320603177 015453 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case25f0.ref 0000644 0000000 0000000 00000000431 10160421167 015431 0 ustar root root CHANGES | 58 58 + 0 - 0 !
MANIFEST | 3 2 + 1 - 0 !
cmdtbl | 15 12 + 3 - 0 !
configure.in | 16 12 + 4 - 0 !
doc/filters.doc | 36 34 + 2 - 0 !
doc/macros.doc | 67 41 + 26 - 0 !
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case39p9.ref 0000644 0000000 0000000 00000000156 13777406456 015512 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case46p9.ref 0000644 0000000 0000000 00000000640 14320603177 015466 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
changelog | 12 ++++++------
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
gen-pkgconfig.in | 8 ++++++--
mingw-ncurses.nsi | 4 ++--
mingw-ncurses.spec | 2 +-
ncurses.spec | 2 +-
ncursest.spec | 2 +-
11 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case21r2.ref 0000644 0000000 0000000 00000000100 10300164553 015433 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case05r1.ref 0000644 0000000 0000000 00000000066 10300164550 015444 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/run_atac.sh 0000755 0000000 0000000 00000000247 06460002356 015566 0 ustar root root #!/bin/sh
# $Id: run_atac.sh,v 1.2 1998/01/17 01:10:06 tom Exp $
rm -f /tmp/atac_dir/*
run_test.sh
atac -u ../*.atac /tmp/atac_dir/*
atacmin ../*.atac /tmp/atac_dir/*
diffstat-1.68/testing/case39Rp0.ref 0000644 0000000 0000000 00000000164 13777406456 015622 0 ustar root root a/diffstat |binary
a/diffstat.c | 2 +-
a/diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case10p9.ref 0000644 0000000 0000000 00000000214 10226221641 015443 0 ustar root root XIstubs.h | 26 ++++++++++++++++++++++++++
allowev.c | 6 +-!!!!
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case05.ref 0000644 0000000 0000000 00000000066 10300164550 015201 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case10b.ref 0000644 0000000 0000000 00000000351 10667374023 015352 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
xc/programs/Xserver/Xi/allowev.c | 6 !
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case48b.ref 0000644 0000000 0000000 00000000107 14714413375 015365 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case33u.ref 0000644 0000000 0000000 00000000105 11246713507 015375 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case13b.ref 0000644 0000000 0000000 00000000303 10667374023 015352 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case12R.ref 0000644 0000000 0000000 00000000222 11700545536 015327 0 ustar root root main.c | 11 ++---------
resize.c | 47 ++++++++---------------------------------------
2 files changed, 10 insertions(+), 48 deletions(-)
diffstat-1.68/testing/case34p1.ref 0000644 0000000 0000000 00000000144 11762443774 015466 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case12p9.ref 0000644 0000000 0000000 00000000222 07073762772 015471 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case09R.ref 0000644 0000000 0000000 00000000021 11700545535 015331 0 ustar root root 0 files changed
diffstat-1.68/testing/case03.pat 0000644 0000000 0000000 00000002154 06122631113 015210 0 ustar root root diff -r -c diffstat/config.cache diffstat.orig/config.cache
*** 1.1 Fri Mar 15 19:27:13 1996
--- diffstat.orig/config.cache Fri Mar 15 19:51:02 1996
***************
*** 13,28 ****
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
--- 13,28 ----
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
diff -r -c diffstat/config.h diffstat.orig/config.h
*** diffstat/config.h Fri Mar 15 19:27:15 1996
--- diffstat.orig/config.h Fri Mar 15 19:51:04 1996
***************
*** 6,11 ****
--- 6,12 ----
*/
+ #define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETOPT_H 1
Only in diffstat.orig: configure.out
Binary files diffstat/diffstat and diffstat.orig/diffstat differ
< nothing
> nothing again
Binary files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diffstat-1.68/testing/case22r2.ref 0000644 0000000 0000000 00000002214 10277702417 015456 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case26.pat 0000644 0000000 0000000 00000200111 10451333770 015216 0 ustar root root diff -Nru /tmp/8FTwAYJlot/flwm-1.00/config.h /tmp/KfNDqvamm0/flwm-1.01/config.h
--- /tmp/8FTwAYJlot/flwm-1.00/config.h 1999-08-24 22:59:35.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/config.h 2002-03-24 02:02:33.000000000 +0100
@@ -25,6 +25,12 @@
// nothing is done if this is not defined:
//#define AUTO_RAISE 0.5
+// Perform "smart" autoplacement.
+// New windows are put at positions where they cover as few existing windows
+// as possible. A brute force algorithm is used, so it consumes quite a bit
+// of CPU time.
+#define SMART_PLACEMENT 1
+
// set this to zero to remove the multiple-desktop code. This will
// make flwm about 20K smaller
#define DESKTOPS 1
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/changelog /tmp/KfNDqvamm0/flwm-1.01/debian/changelog
--- /tmp/8FTwAYJlot/flwm-1.00/debian/changelog 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/changelog 2006-06-30 11:01:41.000000000 +0200
@@ -1,3 +1,15 @@
+flwm (1.01-1) unstable; urgency=low
+
+ * New upstream release
+ + This release catch the release of the Alt key again. Closes: #246089.
+ + The following patches were applied upstream (Thanks Bill Spitzak).
+ 100_fl_filename_name 101_visible_focus 102_charstruct 103_man_typo
+ 104_g++-4.1_warning 105_double_ampersand 201_background_color
+ + Add 100_double_ampersand to fix atypo in this release.
+ * debian/watch: added.
+
+ -- Bill Allombert Fri, 30 Jun 2006 01:17:06 +0200
+
flwm (1.00-10) unstable; urgency=low
* Add patch 104_g++-4.1_warning that fix five warnings.
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_double_ampersand.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_double_ampersand.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_double_ampersand.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_double_ampersand.dpatch 2006-06-30 11:01:41.000000000 +0200
@@ -0,0 +1 @@
+patching file Menu.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_fl_filename_name.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_fl_filename_name.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_fl_filename_name.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_fl_filename_name.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-patching file main.C
-Hunk #1 succeeded at 351 (offset -1 lines).
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/101_visible_focus.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/101_visible_focus.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/101_visible_focus.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/101_visible_focus.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-patching file main.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/102_charstruct.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/102_charstruct.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/102_charstruct.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/102_charstruct.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-patching file Rotated.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/103_man_typo.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/103_man_typo.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/103_man_typo.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/103_man_typo.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-patching file flwm.1
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/104_g++-4.1_warning.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/104_g++-4.1_warning.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/104_g++-4.1_warning.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/104_g++-4.1_warning.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-patching file Frame.C
-patching file Menu.C
-patching file Rotated.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/105_double_ampersand.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/105_double_ampersand.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/105_double_ampersand.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/105_double_ampersand.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-patching file Menu.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patched/201_background_color.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patched/201_background_color.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patched/201_background_color.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patched/201_background_color.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-patching file Frame.C
-patching file Menu.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/00list /tmp/KfNDqvamm0/flwm-1.01/debian/patches/00list
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/00list 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/00list 2006-06-30 11:01:41.000000000 +0200
@@ -1,8 +1,2 @@
-100_fl_filename_name
-101_visible_focus
-102_charstruct
-103_man_typo
-104_g++-4.1_warning
-105_double_ampersand
+100_double_ampersand
200_Debian_menu
-201_background_color
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_double_ampersand.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_double_ampersand.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_double_ampersand.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_double_ampersand.dpatch 2006-06-30 11:01:41.000000000 +0200
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 100_double_ampersand.dpatch by
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix handling of ampersand in titles in windows list.
+
+@DPATCH@
+diff -urNad flwm-1.01~/Menu.C flwm-1.01/Menu.C
+--- flwm-1.01~/Menu.C 2006-06-30 10:52:34.000000000 +0200
++++ flwm-1.01/Menu.C 2006-06-30 10:54:31.000000000 +0200
+@@ -98,7 +98,7 @@
+ char* t = buf;
+ while (t < buf+254 && *l) {
+ if (*l=='&') *t++ = *l;
+- *t++ = *l;
++ *t++ = *l++;
+ }
+ *t = 0;
+ l = buf;
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_fl_filename_name.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_fl_filename_name.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_fl_filename_name.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_fl_filename_name.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 100_fl_filename_name.dpatch by Tommi Virtanen
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Transition from fltk-1.0 to fltk-1.1.
-## DP: Applied upstream.
-
-@DPATCH@
-diff -urNad flwm-1.00~/main.C flwm-1.00/main.C
---- flwm-1.00~/main.C 2006-02-23 21:41:10.000000000 +0100
-+++ flwm-1.00/main.C 2006-02-23 21:41:39.000000000 +0100
-@@ -352,7 +352,7 @@
- }
-
- int main(int argc, char** argv) {
-- program_name = filename_name(argv[0]);
-+ program_name = fl_filename_name(argv[0]);
- int i; if (Fl::args(argc, argv, i, arg) < argc) Fl::error(
- "options are:\n"
- " -d[isplay] host:#.#\tX display & screen to use\n"
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/101_visible_focus.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/101_visible_focus.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/101_visible_focus.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/101_visible_focus.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 101_visible_focus.dpatch by Bill Allombert
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Restore fltk-1.0 focus behaviour
-## DP: (Applied upstream)
-
-@DPATCH@
-diff -urNad flwm-1.00~/main.C flwm-1.00/main.C
---- flwm-1.00~/main.C 2006-02-23 21:41:57.000000000 +0100
-+++ flwm-1.00/main.C 2006-02-23 21:42:21.000000000 +0100
-@@ -298,6 +298,7 @@
- XFree((void *)wins);
-
- #endif
-+ Fl::visible_focus(0);
- }
-
- ////////////////////////////////////////////////////////////////
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/102_charstruct.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/102_charstruct.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/102_charstruct.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/102_charstruct.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,45 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 102_charstruct.dpatch by Tommi Virtanen
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Support fonts for which fontstruct->per_char is NULL.
-## DP: (Applied upstream).
-
-@DPATCH@
-diff -urNad flwm-1.00~/Rotated.C flwm-1.00/Rotated.C
---- flwm-1.00~/Rotated.C 2006-02-23 21:42:31.000000000 +0100
-+++ flwm-1.00/Rotated.C 2006-02-23 21:43:03.000000000 +0100
-@@ -116,20 +116,27 @@
- /* font needs rotation ... */
- /* loop through each character ... */
- for (ichar = min_char; ichar <= max_char; ichar++) {
-+ XCharStruct *charstruct;
-
- index = ichar-fontstruct->min_char_or_byte2;
--
-+
-+ if (fontstruct->per_char) {
-+ charstruct = &fontstruct->per_char[index];
-+ } else {
-+ charstruct = &fontstruct->min_bounds;
-+ }
-+
- /* per char dimensions ... */
- ascent = rotfont->per_char[ichar].ascent =
-- fontstruct->per_char[index].ascent;
-+ charstruct->ascent;
- descent = rotfont->per_char[ichar].descent =
-- fontstruct->per_char[index].descent;
-+ charstruct->descent;
- lbearing = rotfont->per_char[ichar].lbearing =
-- fontstruct->per_char[index].lbearing;
-+ charstruct->lbearing;
- rbearing = rotfont->per_char[ichar].rbearing =
-- fontstruct->per_char[index].rbearing;
-+ charstruct->rbearing;
- rotfont->per_char[ichar].width =
-- fontstruct->per_char[index].width;
-+ charstruct->width;
-
- /* some space chars have zero body, but a bitmap can't have ... */
- if (!ascent && !descent)
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/103_man_typo.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/103_man_typo.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/103_man_typo.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/103_man_typo.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 103_man_typo.dpatch by Bill Allombert
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix typo in man page.
-
-@DPATCH@
-diff -urNad flwm-1.00~/flwm.1 flwm-1.00/flwm.1
---- flwm-1.00~/flwm.1 2006-02-23 21:54:54.000000000 +0100
-+++ flwm-1.00/flwm.1 2006-02-23 21:55:39.000000000 +0100
-@@ -78,7 +78,7 @@
-
- .SH MENU ITEMS
-
--Flwm can launch programs from it's menu. This is controlled by files
-+Flwm can launch programs from its menu. This is controlled by files
- in the directory
- .B ~/.wmx
- (this was chosen to be compatible with wmx and wm2).
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/104_g++-4.1_warning.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/104_g++-4.1_warning.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/104_g++-4.1_warning.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/104_g++-4.1_warning.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,58 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 104_g++-4.1-warning.dpatch by Bill Allombert
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix 5 g++ -4.1 warnings
-
-@DPATCH@
-diff -urNad flwm-1.00~/Frame.C flwm-1.00/Frame.C
---- flwm-1.00~/Frame.C 2006-06-10 13:41:04.000000000 +0200
-+++ flwm-1.00/Frame.C 2006-06-10 13:41:08.000000000 +0200
-@@ -1681,15 +1681,15 @@
- int format;
- unsigned long n, extra;
- int status;
-- void* prop;
-+ uchar* prop;
- status = XGetWindowProperty(fl_display, w,
- a, 0L, 256L, False, type, &realType,
-- &format, &n, &extra, (uchar**)&prop);
-+ &format, &n, &extra, &prop);
- if (status != Success) return 0;
- if (!prop) return 0;
- if (!n) {XFree(prop); return 0;}
- if (np) *np = (int)n;
-- return prop;
-+ return (void *)prop;
- }
-
- int Frame::getIntProperty(Atom a, Atom type, int deflt) const {
-diff -urNad flwm-1.00~/Menu.C flwm-1.00/Menu.C
---- flwm-1.00~/Menu.C 2006-06-10 13:41:04.000000000 +0200
-+++ flwm-1.00/Menu.C 2006-06-10 13:41:08.000000000 +0200
-@@ -246,8 +246,8 @@
- if (fork() == 0) {
- if (fork() == 0) {
- close(ConnectionNumber(fl_display));
-- if (name == xtermname) execlp(name, name, "-ut", 0);
-- else execl(name, name, 0);
-+ if (name == xtermname) execlp(name, name, "-ut", NULL);
-+ else execl(name, name, NULL);
- fprintf(stderr, "flwm: can't run %s, %s\n", name, strerror(errno));
- XBell(fl_display, 70);
- exit(1);
-diff -urNad flwm-1.00~/Rotated.C flwm-1.00/Rotated.C
---- flwm-1.00~/Rotated.C 2006-06-10 13:41:07.000000000 +0200
-+++ flwm-1.00/Rotated.C 2006-06-10 13:41:41.000000000 +0200
-@@ -242,9 +242,9 @@
- }
-
- for (ichar = 0; ichar < min_char; ichar++)
-- rotfont->per_char[ichar] = rotfont->per_char['?'];
-+ rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
- for (ichar = max_char+1; ichar < 256; ichar++)
-- rotfont->per_char[ichar] = rotfont->per_char['?'];
-+ rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
-
- /* free pixmap and GC ... */
- XFreePixmap(dpy, canvas);
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/105_double_ampersand.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/105_double_ampersand.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/105_double_ampersand.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/105_double_ampersand.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 105_double_ampersand.dpatch by Bill Allombert
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Handle & in window titles correctly in the windows list.
-
-@DPATCH@
-diff -urNad flwm-1.00~/Menu.C flwm-1.00/Menu.C
---- flwm-1.00~/Menu.C 2006-03-24 00:02:57.000000000 +0100
-+++ flwm-1.00/Menu.C 2006-03-24 00:03:18.000000000 +0100
-@@ -20,6 +20,24 @@
- #include
- #include
-
-+static char *double_ampersand(const char *s)
-+{
-+ long i,l;
-+ for(i=0,l=0;s[i];i++)
-+ if (s[i]=='&')
-+ l++;
-+ char *c = new (char [l+i+1]);
-+ for(i=0,l=0;s[i];i++)
-+ {
-+ c[l++]=s[i];
-+ if (s[i]=='&')
-+ c[l++]=s[i];
-+ }
-+ c[l]=0;
-+ return c;
-+}
-+
-+
- // it is possible for the window to be deleted or withdrawn while
- // the menu is up. This will detect that case (with reasonable
- // reliability):
-@@ -90,8 +108,11 @@
- }
- fl_font(o->font, o->size);
- fl_color((Fl_Color)o->color);
-- const char* l = f->label(); if (!l) l = "unnamed";
-+ const char* l = f->label();
-+ if (!l) l = "unnamed";
-+ else l = double_ampersand(f->label());
- fl_draw(l, X+MENU_ICON_W+3, Y, W-MENU_ICON_W-3, H, align);
-+ delete l;
- }
-
- static void
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/200_Debian_menu.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/200_Debian_menu.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/200_Debian_menu.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/200_Debian_menu.dpatch 2006-06-30 11:01:41.000000000 +0200
@@ -5,10 +5,10 @@
## DP: Add Debian menu support.
@DPATCH@
-diff -urNad flwm-1.00~/Menu.C flwm-1.00/Menu.C
---- flwm-1.00~/Menu.C 2006-06-10 22:22:59.000000000 +0200
-+++ flwm-1.00/Menu.C 2006-06-10 22:23:00.000000000 +0200
-@@ -395,7 +395,11 @@
+diff -urNad flwm-1.01~/Menu.C flwm-1.01/Menu.C
+--- flwm-1.01~/Menu.C 2006-06-30 09:02:01.000000000 +0200
++++ flwm-1.01/Menu.C 2006-06-30 09:02:05.000000000 +0200
+@@ -393,7 +393,11 @@
strcpy(path, home);
if (path[strlen(path)-1] != '/') strcat(path, "/");
strcat(path, ".wmx/");
@@ -21,9 +21,9 @@
if (st.st_mtime == wmx_time) return;
wmx_time = st.st_mtime;
num_wmx = 0;
-diff -urNad flwm-1.00~/flwm.1 flwm-1.00/flwm.1
---- flwm-1.00~/flwm.1 2006-06-10 22:22:59.000000000 +0200
-+++ flwm-1.00/flwm.1 2006-06-10 22:23:00.000000000 +0200
+diff -urNad flwm-1.01~/flwm.1 flwm-1.01/flwm.1
+--- flwm-1.01~/flwm.1 2006-06-30 09:02:01.000000000 +0200
++++ flwm-1.01/flwm.1 2006-06-30 09:02:05.000000000 +0200
@@ -102,10 +102,13 @@
chmod +x !*
.fi
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/201_background_color.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/201_background_color.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/201_background_color.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/201_background_color.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,57 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 201_background_color.dpatch by Bill Allombert
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix -fg and -bg options
-
-@DPATCH@
-diff -urNad flwm-1.00~/Frame.C flwm-1.00/Frame.C
---- flwm-1.00~/Frame.C 2006-06-10 22:24:58.000000000 +0200
-+++ flwm-1.00/Frame.C 2006-06-10 22:25:00.000000000 +0200
-@@ -88,6 +88,7 @@
- min_w_button.callback(button_cb_static);
- end();
- box(FL_NO_BOX); // relies on background color erasing interior
-+ labelcolor(FL_FOREGROUND_COLOR);
- next = first;
- first = this;
-
-@@ -674,7 +675,7 @@
- XSetWindowAttributes a;
- a.background_pixel = fl_xpixel(FL_SELECTION_COLOR);
- XChangeWindowAttributes(fl_display, fl_xid(this), CWBackPixel, &a);
-- labelcolor(contrast(FL_BLACK, FL_SELECTION_COLOR));
-+ labelcolor(contrast(FL_FOREGROUND_COLOR, FL_SELECTION_COLOR));
- XClearArea(fl_display, fl_xid(this), 2, 2, w()-4, h()-4, 1);
- #else
- #if defined(SHOW_CLOCK)
-@@ -694,7 +695,7 @@
- XSetWindowAttributes a;
- a.background_pixel = fl_xpixel(FL_GRAY);
- XChangeWindowAttributes(fl_display, fl_xid(this), CWBackPixel, &a);
-- labelcolor(FL_BLACK);
-+ labelcolor(FL_FOREGROUND_COLOR);
- XClearArea(fl_display, fl_xid(this), 2, 2, w()-4, h()-4, 1);
- #else
- #if defined(SHOW_CLOCK)
-diff -urNad flwm-1.00~/Menu.C flwm-1.00/Menu.C
---- flwm-1.00~/Menu.C 2006-06-10 22:24:59.000000000 +0200
-+++ flwm-1.00/Menu.C 2006-06-10 22:25:00.000000000 +0200
-@@ -99,7 +99,7 @@
- if (h < 3) h = 3;
- if (y+h > SCREEN_H) y = SCREEN_H-h;
- if (y < 0) y = 0;
-- fl_color(FL_BLACK);
-+ fl_color(FL_FOREGROUND_COLOR);
- if (c->state() == ICONIC)
- fl_rect(X+x+SCREEN_DX, Y+y+SCREEN_DX, w, h);
- else
-@@ -304,7 +304,7 @@
- m.shortcut(0);
- m.labelfont(MENU_FONT_SLOT);
- m.labelsize(MENU_FONT_SIZE);
-- m.labelcolor(FL_BLACK);
-+ m.labelcolor(FL_FOREGROUND_COLOR);
- }
-
- #if WMX_MENU_ITEMS
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/patches/202_background_color_2.dpatch /tmp/KfNDqvamm0/flwm-1.01/debian/patches/202_background_color_2.dpatch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/patches/202_background_color_2.dpatch 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/patches/202_background_color_2.dpatch 1970-01-01 01:00:00.000000000 +0100
@@ -1,92 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 203_background_color.dpatch by
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: fix the -fg -bg, -bg2 options.
-
-@DPATCH@
-diff -urNad flwm-1.00~/Menu.C flwm-1.00/Menu.C
---- flwm-1.00~/Menu.C 2006-02-23 21:32:53.000000000 +0100
-+++ flwm-1.00/Menu.C 2006-02-23 21:36:32.000000000 +0100
-@@ -172,10 +172,14 @@
- new_desktop_input = new Fl_Input(10,30,170,25,"New desktop name:");
- new_desktop_input->align(FL_ALIGN_TOP_LEFT);
- new_desktop_input->labelfont(FL_BOLD);
-+ new_desktop_input->labelcolor(FL_FOREGROUND_COLOR);
-+
- Fl_Return_Button* b = new Fl_Return_Button(100,60,80,20,"OK");
- b->callback(new_desktop_ok_cb);
-+ b->labelcolor(FL_FOREGROUND_COLOR);
- Fl_Button* b2 = new Fl_Button(10,60,80,20,"Cancel");
- b2->callback(cancel_cb);
-+ b2->labelcolor(FL_FOREGROUND_COLOR);
- w->set_non_modal();
- w->end();
- }
-@@ -217,10 +221,13 @@
- w = new FrameWindow(190,90);
- Fl_Box* l = new Fl_Box(0, 0, 190, 60, "Really log out?");
- l->labelfont(FL_BOLD);
-+ l->labelcolor(FL_FOREGROUND_COLOR);
- Fl_Return_Button* b = new Fl_Return_Button(100,60,80,20,"OK");
- b->callback(exit_cb);
-+ b->labelcolor(FL_FOREGROUND_COLOR);
- Fl_Button* b2 = new Fl_Button(10,60,80,20,"Cancel");
- b2->callback(cancel_cb);
-+ b2->labelcolor(FL_FOREGROUND_COLOR);
- w->set_non_modal();
- w->end();
- }
-@@ -280,10 +287,10 @@
- m.label(data);
- m.flags = 0;
- m.labeltype(FL_NORMAL_LABEL);
-+ m.labelcolor(FL_FOREGROUND_COLOR);
- m.shortcut(0);
- m.labelfont(MENU_FONT_SLOT);
- m.labelsize(MENU_FONT_SIZE);
-- m.labelcolor(FL_FOREGROUND_COLOR);
- }
-
- #if WMX_MENU_ITEMS
-@@ -513,6 +520,7 @@
- if (c->state() == UNMAPPED || c->transient_for()) continue;
- init(menu[n],(char*)c);
- menu[n].labeltype(FRAME_LABEL);
-+ menu[n].labelcolor(FL_FOREGROUND_COLOR);
- menu[n].callback(frame_callback, c);
- if (is_active_frame(c)) preset = menu+n;
- n++;
-@@ -542,6 +550,7 @@
- if (c->desktop() == d || !c->desktop() && d == Desktop::current()) {
- init(menu[n],(char*)c);
- menu[n].labeltype(FRAME_LABEL);
-+ menu[n].labelcolor(FL_FOREGROUND_COLOR);
- menu[n].callback(d == Desktop::current() ?
- frame_callback : move_frame_callback, c);
- if (d == Desktop::current() && is_active_frame(c)) preset = menu+n;
-@@ -589,7 +598,10 @@
- if (one_desktop)
- #endif
- if (!level)
-+ {
- menu[n].labeltype(TEXT_LABEL);
-+ menu[n].labelcolor(FL_FOREGROUND_COLOR);
-+ }
-
- int nextlev = (i==num_wmx-1)?0:strspn(wmxlist[i+1], "/")-1;
- if (nextlev < level) {
-@@ -621,8 +633,11 @@
- if (one_desktop)
- #endif
- // fix the menus items so they are indented to align with window names:
-- while (menu[n].label()) menu[n++].labeltype(TEXT_LABEL);
--
-+ while (menu[n].label())
-+ {
-+ menu[n].labelcolor(FL_FOREGROUND_COLOR);
-+ menu[n++].labeltype(TEXT_LABEL);
-+ }
- const Fl_Menu_Item* picked =
- menu->popup(Fl::event_x(), Fl::event_y(), 0, preset);
- if (picked && picked->callback()) picked->do_callback(0);
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/debian/watch /tmp/KfNDqvamm0/flwm-1.01/debian/watch
--- /tmp/8FTwAYJlot/flwm-1.00/debian/watch 1970-01-01 01:00:00.000000000 +0100
+++ /tmp/KfNDqvamm0/flwm-1.01/debian/watch 2006-06-30 11:01:41.000000000 +0200
@@ -0,0 +1,3 @@
+# Site Directory Pattern Version Script
+version=2
+http://flwm.sourceforge.net/flwm-(.*)\.tgz debian uupdate
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/flwm.1 /tmp/KfNDqvamm0/flwm-1.01/flwm.1
--- /tmp/8FTwAYJlot/flwm-1.00/flwm.1 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/flwm.1 2006-06-30 11:01:41.000000000 +0200
@@ -184,14 +184,14 @@
the keyboard, use left arrow to go to the desktop names, move up and
down to the other desktop).
-If a desktop is empty you can delete it. It's sub menu will show
+If a desktop is empty you can delete it. Its sub menu will show
.B delete this desktop.
Pick that and the desktop is gone.
.B Sticky
is a special "desktop": windows on it appear on all desktops. To make
a window "sticky" switch to the Sticky desktop and pick the window off
-it's current desktop (thus "moving" it to the Sticky desktop). To
+its current desktop (thus "moving" it to the Sticky desktop). To
"unstick" a window go to another desktop and pick the window off the
sticky desktop menu.
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/flwm_wmconfig /tmp/KfNDqvamm0/flwm-1.01/flwm_wmconfig
--- /tmp/8FTwAYJlot/flwm-1.00/flwm_wmconfig 1999-04-26 21:09:10.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/flwm_wmconfig 2000-09-19 18:38:37.000000000 +0200
@@ -16,7 +16,9 @@
set name ""
set exec ""
while {[gets $f list]>=0} {
- if [llength $list]<3 continue
+ set n 0
+ catch {set n [llength $list]}
+ if $n<3 continue
set tag [lindex $list 1]
set value [lrange $list 2 1000]
if [llength $value]==1 {set value [lindex $value 0]}
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Frame.C /tmp/KfNDqvamm0/flwm-1.01/Frame.C
--- /tmp/8FTwAYJlot/flwm-1.00/Frame.C 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Frame.C 2006-06-29 08:08:35.000000000 +0200
@@ -8,6 +8,7 @@
#include
#include "Rotated.H"
+
static Atom wm_state = 0;
static Atom wm_change_state;
static Atom wm_protocols;
@@ -63,7 +64,7 @@
// passed for an already-existing window when the window manager is
// starting up. If so we don't want to alter the state, size, or
// position. If null than this is a MapRequest of a new window.
-Frame::Frame(Window window, XWindowAttributes* existing) :
+Frame::Frame(XWindow window, XWindowAttributes* existing) :
Fl_Window(0,0),
window_(window),
state_flags_(0),
@@ -78,6 +79,9 @@
max_w_button(BUTTON_LEFT,BUTTON_TOP+BUTTON_H,BUTTON_W,BUTTON_H,"w"),
min_w_button(BUTTON_LEFT,BUTTON_TOP+2*BUTTON_H,BUTTON_W,BUTTON_H,"W")
{
+#if FL_MAJOR_VERSION > 1
+ clear_double_buffer();
+#endif
close_button.callback(button_cb_static);
iconize_button.callback(button_cb_static);
max_h_button.type(FL_TOGGLE_BUTTON);
@@ -224,20 +228,9 @@
show_hide_buttons();
if (autoplace && !existing && !(transient_for() && (x() || y()))) {
- // autoplacement (stupid version for now)
- x(Root->x()+(Root->w()-w())/2);
- y(Root->y()+(Root->h()-h())/2);
- // move it until it does not hide any existing windows:
- const int delta = TITLE_WIDTH+LEFT;
- for (Frame* f = next; f; f = f->next) {
- if (f->x()+delta > x() && f->y()+delta > y() &&
- f->x()+f->w()-delta < x()+w() && f->y()+f->h()-delta < y()+h()) {
- x(max(x(),f->x()+delta));
- y(max(y(),f->y()+delta));
- f = this;
- }
- }
+ place_window();
}
+
// move window so contents and border are visible:
x(force_x_onscreen(x(), w()));
y(force_y_onscreen(y(), h()));
@@ -261,7 +254,8 @@
sattr.bit_gravity = NorthWestGravity;
sattr.override_redirect = 1;
sattr.background_pixel = fl_xpixel(FL_GRAY);
- Fl_X::set_xid(this, XCreateWindow(fl_display, fl_xid(Root),
+ Fl_X::set_xid(this, XCreateWindow(fl_display,
+ RootWindow(fl_display,fl_screen),
x(), y(), w(), h(), 0,
fl_visual->depth,
InputOutput,
@@ -278,15 +272,140 @@
sendConfigureNotify(); // many apps expect this even if window size unchanged
#if CLICK_RAISES || CLICK_TO_TYPE
- XGrabButton(fl_display, AnyButton, AnyModifier, window, False,
- ButtonPressMask, GrabModeSync, GrabModeAsync, None, None);
+ if (!dont_set_event_mask)
+ XGrabButton(fl_display, AnyButton, AnyModifier, window, False,
+ ButtonPressMask, GrabModeSync, GrabModeAsync, None, None);
#endif
if (state_ == NORMAL) {
XMapWindow(fl_display, fl_xid(this));
if (!existing) activate_if_transient();
}
+ set_visible();
+}
+
+#if SMART_PLACEMENT
+// Helper functions for "smart" window placement.
+int overlap1(int p1, int l1, int p2, int l2) {
+ int ret = 0;
+ if(p1 <= p2 && p2 <= p1 + l1) {
+ ret = min(p1 + l1 - p2, l2);
+ } else if (p2 <= p1 && p1 <= p2 + l2) {
+ ret = min(p2 + l2 - p1, l1);
+ }
+ return ret;
+}
+
+int overlap(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2) {
+ return (overlap1(x1, w1, x2, w2) * overlap1(y1, h1, y2, h2));
+}
+
+// Compute the overlap with existing windows.
+// For normal windows the overlapping area is taken into account plus a
+// constant value for every overlapping window.
+// The active window counts twice.
+// For iconic windows half the overlapping area is taken into account.
+int getOverlap(int x, int y, int w, int h, Frame *first, Frame *self) {
+ int ret = 0;
+ short state;
+ for (Frame* f = first; f; f = f->next) {
+ if (f != self) {
+ state = f->state();
+ if (state == NORMAL || state == ICONIC) {
+ int o = overlap(x, y, w, h, f->x(), f->y(), f->w(), f->h());
+ if (state == NORMAL) {
+ ret = ret + o + (o>0?40000:0) + (o * f->active());
+ } else if (state == ICONIC) {
+ ret = ret + o/2;
+ }
+ }
+ }
+ }
+ return ret;
+}
+
+// autoplacement (brute force version for now)
+void Frame::place_window() {
+ int min_overlap = -1;
+ int tmp_x, tmp_y, tmp_o;
+ int best_x = 0;
+ int best_y = 0;
+ int _w = w();
+ int _h = h();
+ int max_x = Root->x() + Root->w();
+ int max_y = Root->y() + Root->h();
+
+ Frame *f1 = Frame::first;
+ for(int i=0;; i++) {
+ if (i==0) {
+ tmp_x = 0;
+ } else if (i==1) {
+ tmp_x = max_x - _w;
+ } else {
+ if (f1 == this) {
+ f1 = f1->next;
+ }
+ if (!f1) {
+ break;
+ }
+ tmp_x = f1->x() + f1->w();
+ f1 = f1->next;
+ }
+ Frame *f2 = Frame::first;
+ for(int j=0;; j++) {
+ if (j==0) {
+ tmp_y = 0;
+ } else if (j==1) {
+ tmp_y = max_y - _h;
+ } else {
+ if (f2 == this) {
+ f2 = f2->next;
+ }
+ if (!f2) {
+ break;
+ }
+ tmp_y = f2->y() + f2->h();
+ f2 = f2->next;
+ }
+
+ if ((tmp_x + _w <= max_x) && (tmp_y + _h <= max_y)) {
+ tmp_o = getOverlap(tmp_x, tmp_y, _w, _h, Frame::first, this);
+ if(tmp_o < min_overlap || min_overlap < 0) {
+ best_x = tmp_x;
+ best_y = tmp_y;
+ min_overlap = tmp_o;
+ if (min_overlap == 0) {
+ break;
+ }
+ }
+ }
+ }
+ if (min_overlap == 0) {
+ break;
+ }
+ }
+ x(best_x);
+ y(best_y);
+}
+
+#else
+
+// autoplacement (stupid version for now)
+void Frame::place_window() {
+ x(Root->x()+(Root->w()-w())/2);
+ y(Root->y()+(Root->h()-h())/2);
+ // move it until it does not hide any existing windows:
+ const int delta = TITLE_WIDTH+LEFT;
+ for (Frame* f = next; f; f = f->next) {
+ if (f->x()+delta > x() && f->y()+delta > y() &&
+ f->x()+f->w()-delta < x()+w() && f->y()+f->h()-delta < y()+h()) {
+ x(max(x(),f->x()+delta));
+ y(max(y(),f->y()+delta));
+ f = this;
+ }
+ }
}
+#endif
// modify the passed X & W to a legal horizontal window position
int Frame::force_x_onscreen(int X, int W) {
@@ -334,10 +453,12 @@
// a legal state value to this location:
state_ = UNMAPPED;
+#if FL_MAJOR_VERSION < 2
// fix fltk bug:
fl_xfocus = 0;
fl_xmousewin = 0;
Fl::focus_ = 0;
+#endif
// remove any pointers to this:
Frame** cp; for (cp = &first; *cp; cp = &((*cp)->next))
@@ -555,7 +676,7 @@
// see if they set "input hint" to non-zero:
// prop[3] should be nonzero but the only example of this I have
// found is Netscape 3.0 and it sets it to zero...
- if (!shown() && (prop[0]&4) /*&& prop[3]*/) set_flag(MODAL);
+ if (!shown() && (prop[0]&4) /*&& prop[3]*/) set_flag(::MODAL);
// see if it is forcing the iconize button back on. This makes
// transient_for act like group instead...
@@ -579,7 +700,7 @@
delete[] window_Colormaps;
}
int n;
- Window* cw = (Window*)getProperty(wm_colormap_windows, XA_WINDOW, &n);
+ XWindow* cw = (XWindow*)getProperty(wm_colormap_windows, XA_WINDOW, &n);
if (cw) {
colormapWinCount = n;
colormapWindows = cw;
@@ -645,7 +766,7 @@
int Frame::activate(int warp) {
// see if a modal & newer window is up:
for (Frame* c = first; c && c != this; c = c->next)
- if (c->flag(MODAL) && c->transient_for() == this)
+ if (c->flag(::MODAL) && c->transient_for() == this)
if (c->activate(warp)) return 1;
// ignore invisible windows:
if (state() != NORMAL || w() <= dwidth) return 0;
@@ -671,14 +792,14 @@
if (active_ != this) {
if (active_) active_->deactivate();
active_ = this;
-#if defined(ACTIVE_COLOR)
+#ifdef ACTIVE_COLOR
XSetWindowAttributes a;
a.background_pixel = fl_xpixel(FL_SELECTION_COLOR);
XChangeWindowAttributes(fl_display, fl_xid(this), CWBackPixel, &a);
labelcolor(contrast(FL_FOREGROUND_COLOR, FL_SELECTION_COLOR));
XClearArea(fl_display, fl_xid(this), 2, 2, w()-4, h()-4, 1);
#else
-#if defined(SHOW_CLOCK)
+#ifdef SHOW_CLOCK
redraw();
#endif
#endif
@@ -691,14 +812,14 @@
// this private function should only be called by constructor and if
// the window is active():
void Frame::deactivate() {
-#if defined(ACTIVE_COLOR)
+#ifdef ACTIVE_COLOR
XSetWindowAttributes a;
a.background_pixel = fl_xpixel(FL_GRAY);
XChangeWindowAttributes(fl_display, fl_xid(this), CWBackPixel, &a);
labelcolor(FL_FOREGROUND_COLOR);
XClearArea(fl_display, fl_xid(this), 2, 2, w()-4, h()-4, 1);
#else
-#if defined(SHOW_CLOCK)
+#ifdef SHOW_CLOCK
redraw();
#endif
#endif
@@ -738,9 +859,9 @@
switch (newstate) {
case UNMAPPED:
throw_focus();
- set_state_flag(IGNORE_UNMAP);
XUnmapWindow(fl_display, fl_xid(this));
- XUnmapWindow(fl_display, window_);
+ //set_state_flag(IGNORE_UNMAP);
+ //XUnmapWindow(fl_display, window_);
XRemoveFromSaveSet(fl_display, window_);
break;
case NORMAL:
@@ -754,9 +875,9 @@
XAddToSaveSet(fl_display, window_);
} else if (oldstate == NORMAL) {
throw_focus();
- set_state_flag(IGNORE_UNMAP);
XUnmapWindow(fl_display, fl_xid(this));
- XUnmapWindow(fl_display, window_);
+ //set_state_flag(IGNORE_UNMAP);
+ //XUnmapWindow(fl_display, window_);
} else {
return; // don't setStateProperty IconicState multiple times
}
@@ -906,10 +1027,10 @@
int minh = (nh < h()) ? nh : h();
XClearArea(fl_display, fl_xid(this), 0, minh-BOTTOM, w(), BOTTOM, 1);
// see if label or close box moved, erase the minimum area:
- int old_label_y = label_y;
- int old_label_h = label_h;
+// int old_label_y = label_y;
+// int old_label_h = label_h;
h(nh); show_hide_buttons();
-#ifdef SHOW_CLOCK
+#if 1 //def SHOW_CLOCK
int t = label_y + 3; // we have to clear the entire label area
#else
int t = nh;
@@ -1076,6 +1197,12 @@
// make sure fltk does not try to set the window size:
void Frame::resize(int, int, int, int) {}
+// For fltk2.0:
+void Frame::layout() {
+#if FL_MAJOR_VERSION>1
+ layout_damage(0); // actually this line is not needed in newest cvs fltk2.0
+#endif
+}
////////////////////////////////////////////////////////////////
@@ -1111,19 +1238,28 @@
////////////////////////////////////////////////////////////////
// Drawing code:
+#if FL_MAJOR_VERSION>1
+# include
+#endif
void Frame::draw() {
if (flag(NO_BORDER)) return;
if (!flag(THIN_BORDER)) Fl_Window::draw();
if (damage() != FL_DAMAGE_CHILD) {
-#if ACTIVE_COLOR
+#ifdef ACTIVE_COLOR
fl_frame2(active() ? "AAAAJJWW" : "AAAAJJWWNNTT",0,0,w(),h());
if (active()) {
fl_color(FL_GRAY_RAMP+('N'-'A'));
fl_xyline(2, h()-3, w()-3, 2);
}
#else
+# if FL_MAJOR_VERSION>1
+ static fltk::FrameBox framebox(0,"AAAAJJWWNNTT");
+ drawstyle(style(),fltk::INVISIBLE); // INVISIBLE = draw edge only
+ framebox.draw(Rectangle(w(),h()));
+# else
fl_frame("AAAAWWJJTTNN",0,0,w(),h());
+# endif
#endif
if (!flag(THIN_BORDER) && label_h > 3) {
#ifdef SHOW_CLOCK
@@ -1169,39 +1305,48 @@
#endif
void FrameButton::draw() {
+#if FL_MAJOR_VERSION>1
+ const int x = value()?1:0;
+ const int y = x;
+ drawstyle(style(),flags()|fltk::OUTPUT);
+ FL_UP_BOX->draw(Rectangle(w(),h()));
+#else
+ const int x = this->x();
+ const int y = this->y();
Fl_Widget::draw_box(value() ? FL_DOWN_FRAME : FL_UP_FRAME, FL_GRAY);
+#endif
fl_color(parent()->labelcolor());
switch (label()[0]) {
case 'W':
#if MINIMIZE_ARROW
- fl_line (x()+2,y()+(h())/2,x()+w()-4,y()+h()/2);
- fl_line (x()+2,y()+(h())/2,x()+2+4,y()+h()/2+4);
- fl_line (x()+2,y()+(h())/2,x()+2+4,y()+h()/2-4);
+ fl_line (x+2,y+(h())/2,x+w()-4,y+h()/2);
+ fl_line (x+2,y+(h())/2,x+2+4,y+h()/2+4);
+ fl_line (x+2,y+(h())/2,x+2+4,y+h()/2-4);
#else
- fl_rect(x()+(h()-7)/2,y()+3,2,h()-6);
+ fl_rect(x+(h()-7)/2,y+3,2,h()-6);
#endif
return;
case 'w':
- fl_rect(x()+2,y()+(h()-7)/2,w()-4,7);
+ fl_rect(x+2,y+(h()-7)/2,w()-4,7);
return;
case 'h':
- fl_rect(x()+(h()-7)/2,y()+2,7,h()-4);
+ fl_rect(x+(h()-7)/2,y+2,7,h()-4);
return;
case 'X':
#if CLOSE_X
- fl_line(x()+2,y()+3,x()+w()-5,y()+h()-4);
- fl_line(x()+3,y()+3,x()+w()-4,y()+h()-4);
- fl_line(x()+2,y()+h()-4,x()+w()-5,y()+3);
- fl_line(x()+3,y()+h()-4,x()+w()-4,y()+3);
+ fl_line(x+2,y+3,x+w()-5,y+h()-4);
+ fl_line(x+3,y+3,x+w()-4,y+h()-4);
+ fl_line(x+2,y+h()-4,x+w()-5,y+3);
+ fl_line(x+3,y+h()-4,x+w()-4,y+3);
#endif
#if CLOSE_HITTITE_LIGHTNING
- fl_arc(x()+3,y()+3,w()-6,h()-6,0,360);
- fl_line(x()+7,y()+3, x()+7,y()+11);
+ fl_arc(x+3,y+3,w()-6,h()-6,0,360);
+ fl_line(x+7,y+3, x+7,y+11);
#endif
return;
case 'i':
#if ICONIZE_BOX
- fl_rect(x()+w()/2-1,y()+h()/2-1,3,3);
+ fl_rect(x+w()/2-1,y+h()/2-1,3,3);
#endif
return;
}
@@ -1320,6 +1465,9 @@
c = FL_CURSOR_NESW;
break;
}
+#if FL_MAJOR_VERSION>1
+ cursor(c);
+#else
static Frame* previous_frame;
static Fl_Cursor previous_cursor;
if (this != previous_frame || c != previous_cursor) {
@@ -1327,6 +1475,7 @@
previous_cursor = c;
cursor(c, CURSOR_FG_SLOT, CURSOR_BG_SLOT);
}
+#endif
}
#ifdef AUTO_RAISE
@@ -1348,10 +1497,17 @@
int Frame::handle(int e) {
static int what, dx, dy, ix, iy, iw, ih;
// see if child widget handles event:
- if (Fl_Window::handle(e) && e != FL_ENTER && e != FL_MOVE) {
+#if FL_MAJOR_VERSION > 1
+ if (fltk::Group::handle(e) && e != FL_ENTER && e != FL_MOVE) {
+ if (e == FL_PUSH) set_cursor(-1);
+ return 1;
+ }
+#else
+ if (Fl_Group::handle(e) && e != FL_ENTER && e != FL_MOVE) {
if (e == FL_PUSH) set_cursor(-1);
return 1;
}
+#endif
switch (e) {
case FL_SHOW:
@@ -1381,42 +1537,33 @@
#endif
goto GET_CROSSINGS;
- case 0:
+ case FL_MOVE:
GET_CROSSINGS:
// set cursor_inside to true when the mouse is inside a window
// set it false when mouse is on a frame or outside a window.
// fltk mangles the X enter/leave events, we need the original ones:
switch (fl_xevent->type) {
- case EnterNotify:
+ case LeaveNotify:
+ if (fl_xevent->xcrossing.detail == NotifyInferior) {
+ // cursor moved from frame to interior
+ cursor_inside = this;
+ break;
+ } else {
+ // cursor moved to another window
+ return 1;
+ }
+ case EnterNotify:
// see if cursor skipped over frame and directly to interior:
if (fl_xevent->xcrossing.detail == NotifyVirtual ||
fl_xevent->xcrossing.detail == NotifyNonlinearVirtual)
cursor_inside = this;
-
else {
// cursor is now pointing at frame:
cursor_inside = 0;
}
-
- // fall through to FL_MOVE:
- break;
-
- case LeaveNotify:
- if (fl_xevent->xcrossing.detail == NotifyInferior) {
- // cursor moved from frame to interior
- cursor_inside = this;
- set_cursor(-1);
- return 1;
- }
- return 1;
-
- default:
- return 0; // other X event we don't understand
}
-
- case FL_MOVE:
if (Fl::belowmouse() != this || cursor_inside == this)
set_cursor(-1);
else
@@ -1578,9 +1725,10 @@
case UnmapNotify: {
const XUnmapEvent* e = &(ei->xunmap);
- if (e->from_configure);
- else if (state_flags_&IGNORE_UNMAP) clear_state_flag(IGNORE_UNMAP);
- else state(UNMAPPED);
+ if (e->window == window_ && !e->from_configure) {
+ if (state_flags_&IGNORE_UNMAP) clear_state_flag(IGNORE_UNMAP);
+ else state(UNMAPPED);
+ }
return 1;}
case DestroyNotify: {
@@ -1677,7 +1825,7 @@
return ::getProperty(window_, a, type, np);
}
-void* getProperty(Window w, Atom a, Atom type, int* np) {
+void* getProperty(XWindow w, Atom a, Atom type, int* np) {
Atom realType;
int format;
unsigned long n, extra;
@@ -1690,14 +1838,14 @@
if (!prop) return 0;
if (!n) {XFree(prop); return 0;}
if (np) *np = (int)n;
- return (void *)prop;
+ return (void*)prop;
}
int Frame::getIntProperty(Atom a, Atom type, int deflt) const {
return ::getIntProperty(window_, a, type, deflt);
}
-int getIntProperty(Window w, Atom a, Atom type, int deflt) {
+int getIntProperty(XWindow w, Atom a, Atom type, int deflt) {
void* prop = getProperty(w, a, type);
if (!prop) return deflt;
int r = int(*(long*)prop);
@@ -1705,7 +1853,7 @@
return r;
}
-void setProperty(Window w, Atom a, Atom type, int v) {
+void setProperty(XWindow w, Atom a, Atom type, int v) {
long prop = v;
XChangeProperty(fl_display, w, a, type, 32, PropModeReplace, (uchar*)&prop,1);
}
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Frame.H /tmp/KfNDqvamm0/flwm-1.01/Frame.H
--- /tmp/8FTwAYJlot/flwm-1.00/Frame.H 1999-08-24 22:59:35.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Frame.H 2003-12-16 16:15:40.000000000 +0100
@@ -9,6 +9,9 @@
#include
#include
#include
+#if FL_MAJOR_VERSION<2
+# define XWindow Window
+#endif
// The state is an enumeration of reasons why the window may be invisible.
// Only if it is NORMAL is the window visible.
@@ -58,7 +61,7 @@
class Frame : public Fl_Window {
- Window window_;
+ XWindow window_;
short state_; // X server state: iconic, withdrawn, normal
short state_flags_; // above state flags
@@ -79,14 +82,14 @@
int label_y, label_h; // location of label
int label_w; // measured width of printed label
- Window transient_for_xid; // value from X
+ XWindow transient_for_xid; // value from X
Frame* transient_for_; // the frame for that xid, if found
Frame* revert_to; // probably the xterm this was run from
Colormap colormap; // this window's colormap
int colormapWinCount; // list of other windows to install colormaps for
- Window *colormapWindows;
+ XWindow *colormapWindows;
Colormap *window_Colormaps; // their colormaps
Desktop* desktop_;
@@ -101,6 +104,7 @@
int maximize_height();
int force_x_onscreen(int X, int W);
int force_y_onscreen(int Y, int H);
+ void place_window();
void sendMessage(Atom, Atom) const;
void sendConfigureNotify() const;
@@ -122,6 +126,7 @@
void set_size(int,int,int,int, int warp=0);
void resize(int,int,int,int);
+ void layout();
void show_hide_buttons();
int handle(int); // handle fltk events
@@ -151,10 +156,10 @@
static Frame* first;
Frame* next; // stacking order, top to bottom
- Frame(Window, XWindowAttributes* = 0);
+ Frame(XWindow, XWindowAttributes* = 0);
~Frame();
- Window window() const {return window_;}
+ XWindow window() const {return window_;}
Frame* transient_for() const {return transient_for_;}
int is_transient_for(const Frame*) const;
@@ -185,8 +190,8 @@
};
// handy wrappers for those ugly X routines:
-void* getProperty(Window, Atom, Atom = AnyPropertyType, int* length = 0);
-int getIntProperty(Window, Atom, Atom = AnyPropertyType, int deflt = 0);
-void setProperty(Window, Atom, Atom, int);
+void* getProperty(XWindow, Atom, Atom = AnyPropertyType, int* length = 0);
+int getIntProperty(XWindow, Atom, Atom = AnyPropertyType, int deflt = 0);
+void setProperty(XWindow, Atom, Atom, int);
#endif
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Hotkeys.C /tmp/KfNDqvamm0/flwm-1.01/Hotkeys.C
--- /tmp/8FTwAYJlot/flwm-1.00/Hotkeys.C 2000-09-22 18:53:05.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Hotkeys.C 2006-06-29 09:18:08.000000000 +0200
@@ -149,6 +149,36 @@
#endif
{0}};
+#if FL_MAJOR_VERSION > 1
+// Define missing function, this should get put in fltk2.0:
+namespace fltk {
+int test_shortcut(int shortcut) {
+ if (!shortcut) return 0;
+
+ int shift = Fl::event_state();
+ // see if any required shift flags are off:
+ if ((shortcut&shift) != (shortcut&0x7fff0000)) return 0;
+ // record shift flags that are wrong:
+ int mismatch = (shortcut^shift)&0x7fff0000;
+ // these three must always be correct:
+ if (mismatch&(FL_META|FL_ALT|FL_CTRL)) return 0;
+
+ int key = shortcut & 0xffff;
+
+ // if shift is also correct, check for exactly equal keysyms:
+ if (!(mismatch&(FL_SHIFT)) && unsigned(key) == Fl::event_key()) return 1;
+
+ // try matching ascii, ignore shift:
+ if (key == event_text()[0]) return 1;
+
+ // kludge so that Ctrl+'_' works (as opposed to Ctrl+'^_'):
+ if ((shift&FL_CTRL) && key >= 0x3f && key <= 0x5F
+ && event_text()[0]==(key^0x40)) return 1;
+ return 0;
+}
+}
+#endif
+
int Handle_Hotkey() {
for (int i = 0; keybindings[i].key; i++) {
if (Fl::test_shortcut(keybindings[i].key) ||
@@ -165,7 +195,7 @@
extern Fl_Window* Root;
void Grab_Hotkeys() {
- Window root = fl_xid(Root);
+ XWindow root = fl_xid(Root);
for (int i = 0; keybindings[i].key; i++) {
int k = keybindings[i].key;
int keycode = XKeysymToKeycode(fl_display, k & 0xFFFF);
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/logo.fl /tmp/KfNDqvamm0/flwm-1.01/logo.fl
--- /tmp/8FTwAYJlot/flwm-1.00/logo.fl 1970-01-01 01:00:00.000000000 +0100
+++ /tmp/KfNDqvamm0/flwm-1.01/logo.fl 2006-04-13 18:06:59.000000000 +0200
@@ -0,0 +1,19 @@
+# data file for the FLTK User Interface Designer (FLUID)
+version 2.0100
+header_name {.h}
+code_name {.cxx}
+gridx 5
+gridy 5
+snap 3
+Function {make_window()} {open
+} {
+ {fltk::Window} {} {
+ label flwm open
+ xywh {990 285 265 115} visible
+ } {
+ {fltk::Group} {} {
+ label {The Fast Light Window Manager} open selected
+ xywh {0 0 265 115} align 128 box PLASTIC_UP_BOX labelfont 1 labeltype ENGRAVED_LABEL color 0x7d9dae00 textcolor 0x979b9700 labelcolor 0x393a3900 labelsize 27
+ } {}
+ }
+}
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/main.C /tmp/KfNDqvamm0/flwm-1.01/main.C
--- /tmp/8FTwAYJlot/flwm-1.00/main.C 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/main.C 2006-06-29 09:17:24.000000000 +0200
@@ -43,10 +43,15 @@
class Fl_Root : public Fl_Window {
int handle(int);
public:
- Fl_Root() : Fl_Window(0,0,Fl::w(),Fl::h()) {}
+ Fl_Root() : Fl_Window(0,0,Fl::w(),Fl::h()) {
+#if FL_MAJOR_VERSION > 1
+ clear_double_buffer();
+#endif
+ }
void show() {
if (!shown()) Fl_X::set_xid(this, RootWindow(fl_display, fl_screen));
}
+ void flush() {}
};
Fl_Window *Root;
@@ -69,7 +74,7 @@
// fltk calls this for any events it does not understand:
static int flwm_event_handler(int e) {
if (!e) { // XEvent that fltk did not understand.
- Window window = fl_xevent->xany.window;
+ XWindow window = fl_xevent->xany.window;
// unfortunately most of the redirect events put the interesting
// window id in a different place:
switch (fl_xevent->type) {
@@ -107,18 +112,31 @@
const XMapRequestEvent* e = &(fl_xevent->xmaprequest);
(void)new Frame(e->window);
return 1;}
- case KeyRelease: {
+#if FL_MAJOR_VERSION<2
+ // this was needed for *some* earlier versions of fltk
+ case KeyRelease:
if (!Fl::grab()) return 0;
- // see if they released the alt key:
- unsigned long keysym =
+ Fl::e_keysym =
XKeycodeToKeysym(fl_display, fl_xevent->xkey.keycode, 0);
- if (keysym == FL_Alt_L || keysym == FL_Alt_R) {
- Fl::e_keysym = FL_Enter;
- return Fl::grab()->handle(FL_KEYBOARD);
- }
- return 0;}
+ goto KEYUP;
+#endif
+ }
+ } else if (e == FL_KEYUP) {
+#if FL_MAJOR_VERSION<2
+ KEYUP:
+#endif
+ if (!Fl::grab()) return 0;
+ // when alt key released, pretend they hit enter & pick menu item
+ if (Fl::event_key()==FL_Alt_L || Fl::event_key()==FL_Alt_R) {
+ Fl::e_keysym = FL_Enter;
+#if FL_MAJOR_VERSION>1
+ return Fl::modal()->handle(FL_KEYBOARD);
+#else
+ return Fl::grab()->handle(FL_KEYBOARD);
+#endif
}
- } else if (e == FL_SHORTCUT) {
+ return 0;
+ } else if (e == FL_SHORTCUT || e == FL_KEYBOARD) {
#if FL_MAJOR_VERSION == 1 && FL_MINOR_VERSION == 0 && FL_PATCH_VERSION < 3
// make the tab keys work in the menus in older fltk's:
// (they do not cycle around however, so a new fltk is a good idea)
@@ -189,28 +207,26 @@
#endif
static const char* cfg, *cbg;
+#if FL_MAJOR_VERSION>1
+static fltk::Cursor* cursor = FL_CURSOR_ARROW;
+extern FL_API fltk::Color fl_cursor_fg;
+extern FL_API fltk::Color fl_cursor_bg;
+#else
static int cursor = FL_CURSOR_ARROW;
-
-static void color_setup(Fl_Color slot, const char* arg, ulong value) {
- if (arg) {
- XColor x;
- if (XParseColor(fl_display, fl_colormap, arg, &x))
- value = ((x.red>>8)<<24)|((x.green>>8)<<16)|((x.blue));
- }
- Fl::set_color(slot, value);
-}
+#endif
static void initialize() {
Display* d = fl_display;
#ifdef TEST
- Window w = XCreateSimpleWindow(d, root,
+ XWindow w = XCreateSimpleWindow(d, RootWindow(d, fl_screen),
100, 100, 200, 300, 10,
BlackPixel(fl_display, 0),
// WhitePixel(fl_display, 0));
0x1234);
Frame* frame = new Frame(w);
+ frame->label("flwm test window");
XSelectInput(d, w,
ExposureMask | StructureNotifyMask |
KeyPressMask | KeyReleaseMask | FocusChangeMask |
@@ -230,9 +246,12 @@
ButtonPressMask | ButtonReleaseMask |
EnterWindowMask | LeaveWindowMask |
KeyPressMask | KeyReleaseMask | KeymapStateMask);
- color_setup(CURSOR_FG_SLOT, cfg, CURSOR_FG_COLOR<<8);
- color_setup(CURSOR_BG_SLOT, cbg, CURSOR_BG_COLOR<<8);
+#if FL_MAJOR_VERSION>1
+ Root->cursor(cursor);
+#else
Root->cursor((Fl_Cursor)cursor, CURSOR_FG_SLOT, CURSOR_BG_SLOT);
+#endif
+ Fl::visible_focus(0);
#ifdef TITLE_FONT
Fl::set_font(TITLE_FONT_SLOT, TITLE_FONT);
@@ -247,7 +266,7 @@
// Gnome crap:
// First create a window that can be watched to see if wm dies:
Atom a = XInternAtom(d, "_WIN_SUPPORTING_WM_CHECK", False);
- Window win = XCreateSimpleWindow(d, fl_xid(Root), -200, -200, 5, 5, 0, 0, 0);
+ XWindow win = XCreateSimpleWindow(d, fl_xid(Root), -200, -200, 5, 5, 0, 0, 0);
CARD32 val = win;
XChangeProperty(d, fl_xid(Root), a, XA_CARDINAL, 32, PropModeReplace, (uchar*)&val, 1);
XChangeProperty(d, win, a, XA_CARDINAL, 32, PropModeReplace, (uchar*)&val, 1);
@@ -287,7 +306,7 @@
// find all the windows and create a Frame for each:
unsigned int n;
- Window w1, w2, *wins;
+ XWindow w1, w2, *wins;
XWindowAttributes attr;
XQueryTree(d, fl_xid(Root), &w1, &w2, &wins, &n);
for (i = 0; i < n; ++i) {
@@ -298,7 +317,6 @@
XFree((void *)wins);
#endif
- Fl::visible_focus(0);
}
////////////////////////////////////////////////////////////////
@@ -329,8 +347,10 @@
cfg = v;
} else if (!strcmp(s, "cbg")) {
cbg = v;
+#if FL_MAJOR_VERSION < 2
} else if (*s == 'c') {
cursor = atoi(v);
+#endif
} else if (*s == 'v') {
int visid = atoi(v);
fl_open_display();
@@ -351,6 +371,17 @@
return 2;
}
+#if FL_MAJOR_VERSION<2
+static void color_setup(Fl_Color slot, const char* arg, ulong value) {
+ if (arg) {
+ XColor x;
+ if (XParseColor(fl_display, fl_colormap, arg, &x))
+ value = ((x.red>>8)<<24)|((x.green>>8)<<16)|((x.blue));
+ }
+ Fl::set_color(slot, value);
+}
+#endif
+
int main(int argc, char** argv) {
program_name = fl_filename_name(argv[0]);
int i; if (Fl::args(argc, argv, i, arg) < argc) Fl::error(
@@ -370,8 +401,22 @@
#ifndef FL_NORMAL_SIZE // detect new versions of fltk where this is a variable
FL_NORMAL_SIZE = 12;
#endif
+#if FL_MAJOR_VERSION>1
+ if (cfg) fl_cursor_fg = fltk::color(cfg);
+ if (cbg) fl_cursor_bg = fltk::color(cbg);
+#else
+ fl_open_display();
+ color_setup(CURSOR_FG_SLOT, cfg, CURSOR_FG_COLOR<<8);
+ color_setup(CURSOR_BG_SLOT, cbg, CURSOR_BG_COLOR<<8);
Fl::set_color(FL_SELECTION_COLOR,0,0,128);
- Root = new Fl_Root();
+#endif
+ Fl_Root root;
+ Root = &root;
+#if FL_MAJOR_VERSION>1
+ // show() is not a virtual function in fltk2.0, this fools it:
+ fltk::load_theme();
+ root.show();
+#endif
Root->show(argc,argv); // fools fltk into using -geometry to set the size
XSetErrorHandler(xerror_handler);
initialize();
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Makefile /tmp/KfNDqvamm0/flwm-1.01/Makefile
--- /tmp/8FTwAYJlot/flwm-1.00/Makefile 2000-09-22 18:53:04.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Makefile 2006-06-30 00:11:16.000000000 +0200
@@ -1,7 +1,7 @@
SHELL=/bin/sh
PROGRAM = flwm
-VERSION = 1.00
+VERSION = 1.01
CXXFILES = main.C Frame.C Rotated.C Menu.C FrameWindow.C Desktop.C Hotkeys.C
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Menu.C /tmp/KfNDqvamm0/flwm-1.01/Menu.C
--- /tmp/8FTwAYJlot/flwm-1.00/Menu.C 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Menu.C 2006-06-30 11:01:41.000000000 +0200
@@ -20,24 +20,6 @@
#include
#include
-static char *double_ampersand(const char *s)
-{
- long i,l;
- for(i=0,l=0;s[i];i++)
- if (s[i]=='&')
- l++;
- char *c = new (char [l+i+1]);
- for(i=0,l=0;s[i];i++)
- {
- c[l++]=s[i];
- if (s[i]=='&')
- c[l++]=s[i];
- }
- c[l]=0;
- return c;
-}
-
-
// it is possible for the window to be deleted or withdrawn while
// the menu is up. This will detect that case (with reasonable
// reliability):
@@ -79,6 +61,7 @@
extern Fl_Window* Root;
+#if FL_MAJOR_VERSION < 2
static void
frame_label_draw(const Fl_Label* o, int X, int Y, int W, int H, Fl_Align align)
{
@@ -108,11 +91,19 @@
}
fl_font(o->font, o->size);
fl_color((Fl_Color)o->color);
- const char* l = f->label();
- if (!l) l = "unnamed";
- else l = double_ampersand(f->label());
+ const char* l = f->label(); if (!l) l = "unnamed";
+ // double any ampersands to turn off the underscores:
+ char buf[256];
+ if (strchr(l,'&')) {
+ char* t = buf;
+ while (t < buf+254 && *l) {
+ if (*l=='&') *t++ = *l;
+ *t++ = *l++;
+ }
+ *t = 0;
+ l = buf;
+ }
fl_draw(l, X+MENU_ICON_W+3, Y, W-MENU_ICON_W-3, H, align);
- delete l;
}
static void
@@ -152,6 +143,8 @@
#define FRAME_LABEL FL_FREE_LABELTYPE
#define TEXT_LABEL Fl_Labeltype(FL_FREE_LABELTYPE+1)
+#endif // FL_MAJOR_VERSION < 2
+
////////////////////////////////////////////////////////////////
static void
@@ -176,7 +169,7 @@
#if ASK_FOR_NEW_DESKTOP_NAME
-static Fl_Input* new_desktop_input;
+static Fl_Input* new_desktop_input = 0;
static void
new_desktop_ok_cb(Fl_Widget* w, void*)
@@ -226,6 +219,7 @@
static void
exit_cb(Fl_Widget*, void*)
{
+ printf("exit_cb\n");
Frame::save_protocol();
exit(0);
}
@@ -233,7 +227,7 @@
static void
logout_cb(Fl_Widget*, void*)
{
- static FrameWindow* w;
+ static FrameWindow* w = 0;
if (!w) {
w = new FrameWindow(190,90);
Fl_Box* l = new Fl_Box(0, 0, 190, 60, "Really log out?");
@@ -267,8 +261,8 @@
if (fork() == 0) {
if (fork() == 0) {
close(ConnectionNumber(fl_display));
- if (name == xtermname) execlp(name, name, "-ut", NULL);
- else execl(name, name, NULL);
+ if (name == xtermname) execlp(name, name, "-ut", (void*)0);
+ else execl(name, name, (void*)0);
fprintf(stderr, "flwm: can't run %s, %s\n", name, strerror(errno));
XBell(fl_display, 70);
exit(1);
@@ -299,7 +293,11 @@
m.style = 0;
#endif
m.label(data);
+#if FL_MAJOR_VERSION > 2
+ m.flags = fltk::RAW_LABEL;
+#else
m.flags = 0;
+#endif
m.labeltype(FL_NORMAL_LABEL);
m.shortcut(0);
m.labelfont(MENU_FONT_SLOT);
@@ -444,8 +442,10 @@
static char beenhere;
if (!beenhere) {
beenhere = 1;
+#if FL_MAJOR_VERSION < 2
Fl::set_labeltype(FRAME_LABEL, frame_label_draw, frame_label_measure);
Fl::set_labeltype(TEXT_LABEL, label_draw, label_measure);
+#endif
if (exit_flag) {
Fl_Menu_Item* m = other_menu_items+num_other_items-2;
m->label("Exit");
@@ -532,8 +532,12 @@
#endif
for (c = Frame::first; c; c = c->next) {
if (c->state() == UNMAPPED || c->transient_for()) continue;
+#if FL_MAJOR_VERSION < 2
init(menu[n],(char*)c);
menu[n].labeltype(FRAME_LABEL);
+#else
+ init(menu[n],c->label());
+#endif
menu[n].callback(frame_callback, c);
if (is_active_frame(c)) preset = menu+n;
n++;
@@ -562,7 +566,12 @@
if (c->state() == UNMAPPED || c->transient_for()) continue;
if (c->desktop() == d || !c->desktop() && d == Desktop::current()) {
init(menu[n],(char*)c);
+#if FL_MAJOR_VERSION < 2
+ init(menu[n],(char*)c);
menu[n].labeltype(FRAME_LABEL);
+#else
+ init(menu[n],c->label());
+#endif
menu[n].callback(d == Desktop::current() ?
frame_callback : move_frame_callback, c);
if (d == Desktop::current() && is_active_frame(c)) preset = menu+n;
@@ -606,13 +615,14 @@
cmd = wmxlist[i];
cmd += strspn(cmd, "/")-1;
init(menu[n], cmd+pathlen[level]);
+#if FL_MAJOR_VERSION < 2
#if DESKTOPS
if (one_desktop)
#endif
if (!level)
menu[n].labeltype(TEXT_LABEL);
-
- int nextlev = (i==num_wmx-1)?0:strspn(wmxlist[i+1], "/")-1;
+#endif
+ int nextlev = (i==num_wmx-1)?0:strspn(wmxlist[i+1], "/")-1;
if (nextlev < level) {
menu[n].callback(spawn_cb, cmd);
// Close 'em off
@@ -638,15 +648,19 @@
#endif
#endif
memcpy(menu+n, other_menu_items, sizeof(other_menu_items));
+#if FL_MAJOR_VERSION < 2
#if DESKTOPS
if (one_desktop)
#endif
// fix the menus items so they are indented to align with window names:
while (menu[n].label()) menu[n++].labeltype(TEXT_LABEL);
+#endif
const Fl_Menu_Item* picked =
menu->popup(Fl::event_x(), Fl::event_y(), 0, preset);
+#if FL_MAJOR_VERSION < 2
if (picked && picked->callback()) picked->do_callback(0);
+#endif
}
void ShowMenu() {ShowTabMenu(0);}
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/patch-stamp /tmp/KfNDqvamm0/flwm-1.01/patch-stamp
--- /tmp/8FTwAYJlot/flwm-1.00/patch-stamp 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/patch-stamp 2006-06-30 11:01:41.000000000 +0200
@@ -1,29 +1,8 @@
Patches applied in the Debian version of :
-debian/patches/100_fl_filename_name.dpatch (Tommi Virtanen ):
- Transition from fltk-1.0 to fltk-1.1.
- Applied upstream.
-
-debian/patches/101_visible_focus.dpatch (Bill Allombert ):
- Restore fltk-1.0 focus behaviour
- (Applied upstream)
-
-debian/patches/102_charstruct.dpatch (Tommi Virtanen ):
- Support fonts for which fontstruct->per_char is NULL.
- (Applied upstream).
-
-debian/patches/103_man_typo.dpatch (Bill Allombert ):
- Fix typo in man page.
-
-debian/patches/104_g++-4.1_warning.dpatch (Bill Allombert ):
- Fix 5 g++ -4.1 warnings
-
-debian/patches/105_double_ampersand.dpatch (Bill Allombert ):
- Handle & in window titles correctly in the windows list.
+debian/patches/100_double_ampersand.dpatch ():
+ fix handling of ampersand in titles in windows list.
debian/patches/200_Debian_menu.dpatch (Tommi Virtanen ):
Add Debian menu support.
-debian/patches/201_background_color.dpatch (Bill Allombert ):
- Fix -fg and -bg options
-
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/README /tmp/KfNDqvamm0/flwm-1.01/README
--- /tmp/8FTwAYJlot/flwm-1.00/README 1999-08-24 22:59:35.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/README 2001-04-13 17:40:54.000000000 +0200
@@ -5,7 +5,7 @@
----------------------------------------------------------------
You need fltk. If you do not have it yet, download it from
-http://fltk.easysw.com, and compile and install it.
+http://www.fltk.org, and compile and install it.
To customize flwm (for instance to turn on click-to-type), edit the
config.h file.
@@ -22,21 +22,21 @@
How to run flwm:
----------------------------------------------------------------
-Flwm should be run by X when it logs you in. This is done by putting
-a call to flwm into the file ~/.xinitrc. With any luck you already
-have this file. If not try copying /usr/X11/lib/X11/xinit/xinitrc.
-Edit the file and try to remove any call to another window manager
-(these are usually near the end).
+To run flwm as your login script, you need to create or replace
+~/.xinitrc or ~/.xsession (or both). Newer Linux systems with a login
+panel use .xsession, older systems where X was started after login
+use .xinitrc. You may also have to pick "default" from the "type of
+session" popup in your login window.
-Recommended contents of ~/.xinitrc:
+The .xinitrc or .xsession file should look like this:
#!/bin/sh
xsetroot -solid \#006060
xrdb .Xresources
-#
+# xset, xmodmap, other configuration programs
flwm &
WindowManager=$!
-#
+# xterm, other automatically-launched programs
wait $WindowManager
ALLOWING THE WINDOW MANAGER TO EXIT W/O LOGOUT:
diff -Nru /tmp/8FTwAYJlot/flwm-1.00/Rotated.C /tmp/KfNDqvamm0/flwm-1.01/Rotated.C
--- /tmp/8FTwAYJlot/flwm-1.00/Rotated.C 2006-06-30 11:01:38.000000000 +0200
+++ /tmp/KfNDqvamm0/flwm-1.01/Rotated.C 2005-09-19 06:29:11.000000000 +0200
@@ -27,6 +27,9 @@
/* ********************************************************************** */
#include
+#if FL_MAJOR_VERSION < 2
+# define XWindow Window
+#endif
#include
#include "Rotated.H"
#include
@@ -67,7 +70,7 @@
char val;
XImage *I1, *I2;
Pixmap canvas;
- Window root;
+ XWindow root;
int screen;
GC font_gc;
char text[3];/*, errstr[300];*/
@@ -116,27 +119,21 @@
/* font needs rotation ... */
/* loop through each character ... */
for (ichar = min_char; ichar <= max_char; ichar++) {
- XCharStruct *charstruct;
index = ichar-fontstruct->min_char_or_byte2;
- if (fontstruct->per_char) {
- charstruct = &fontstruct->per_char[index];
- } else {
+ XCharStruct* charstruct;
+ if (fontstruct->per_char)
+ charstruct = fontstruct->per_char+index;
+ else
charstruct = &fontstruct->min_bounds;
- }
/* per char dimensions ... */
- ascent = rotfont->per_char[ichar].ascent =
- charstruct->ascent;
- descent = rotfont->per_char[ichar].descent =
- charstruct->descent;
- lbearing = rotfont->per_char[ichar].lbearing =
- charstruct->lbearing;
- rbearing = rotfont->per_char[ichar].rbearing =
- charstruct->rbearing;
- rotfont->per_char[ichar].width =
- charstruct->width;
+ ascent = rotfont->per_char[ichar].ascent = charstruct->ascent;
+ descent = rotfont->per_char[ichar].descent = charstruct->descent;
+ lbearing = rotfont->per_char[ichar].lbearing = charstruct->lbearing;
+ rbearing = rotfont->per_char[ichar].rbearing = charstruct->rbearing;
+ rotfont->per_char[ichar].width = charstruct->width;
/* some space chars have zero body, but a bitmap can't have ... */
if (!ascent && !descent)
@@ -242,9 +239,9 @@
}
for (ichar = 0; ichar < min_char; ichar++)
- rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
+ rotfont->per_char[ichar] = rotfont->per_char[int('?')];
for (ichar = max_char+1; ichar < 256; ichar++)
- rotfont->per_char[ichar] = rotfont->per_char[(int)'?'];
+ rotfont->per_char[ichar] = rotfont->per_char[int('?')];
/* free pixmap and GC ... */
XFreePixmap(dpy, canvas);
@@ -358,23 +355,25 @@
static XRotFontStruct* font;
-void draw_rotated(const char* text, int n, int x, int y, int angle) {
- if (!text || !*text) return;
+static void setrotfont(int angle) {
/* make angle positive ... */
if (angle < 0) do angle += 360; while (angle < 0);
/* get nearest vertical or horizontal direction ... */
int dir = ((angle+45)/90)%4;
-
- if (font && font->xfontstruct == fl_xfont && font->dir == dir) {
- ;
- } else {
- if (font) XRotUnloadFont(fl_display, font);
- font = XRotLoadFont(fl_display, fl_xfont, dir);
+ if (font) {
+ if (font->xfontstruct == fl_xfont && font->dir == dir) return;
+ XRotUnloadFont(fl_display, font);
}
+ font = XRotLoadFont(fl_display, fl_xfont, dir);
+}
+
+void draw_rotated(const char* text, int n, int x, int y, int angle) {
+ if (!text || !*text) return;
+ setrotfont(angle);
XRotDrawString(fl_display, font, fl_window, fl_gc, x, y, text, n);
}
-#ifndef FLWM
+#if !defined(FLWM) || FL_MAJOR_VERSION>=2
void draw_rotated(const char* text, int x, int y, int angle) {
if (!text || !*text) return;
draw_rotated(text, strlen(text), x, y, angle);
@@ -391,12 +390,20 @@
if (!str || !*str) return;
if (w && h && !fl_not_clipped(x, y, w, h)) return;
if (align & FL_ALIGN_CLIP) fl_clip(x, y, w, h);
+#if FL_MAJOR_VERSION>1
+ setrotfont(90);
+ int a = font->xfontstruct->ascent;
+ int d = font->xfontstruct->descent;
+ XRotDrawString(fl_display, font, fl_window, fl_gc,
+ x+(w+a-d+1)/2, y+h, str, strlen(str));
+#else
int a1 = align&(-16);
if (align & FL_ALIGN_LEFT) a1 |= FL_ALIGN_TOP;
if (align & FL_ALIGN_RIGHT) a1 |= FL_ALIGN_BOTTOM;
if (align & FL_ALIGN_TOP) a1 |= FL_ALIGN_RIGHT;
if (align & FL_ALIGN_BOTTOM) a1 |= FL_ALIGN_LEFT;
fl_draw(str, -(y+h), x, h, w, (Fl_Align)a1, draw_rot90);
+#endif
if (align & FL_ALIGN_CLIP) fl_pop_clip();
}
diffstat-1.68/testing/case06r2.ref 0000644 0000000 0000000 00000000463 10277702415 015462 0 ustar root root NEWS | 2 +
ncurses/lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++------------
ncurses/lib_initscr.c | 4 ++
ncurses/lib_pad.c | 48 +++++++++++++++++++++-----
test/ncurses.c | 29 ++++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case36.pat 0000644 0000000 0000000 00000035666 12133111025 015226 0 ustar root root diff -r -c diffstat/config.cache diffstat.orig/config.cache
*** diffstat/config.cache Fri Mar 15 19:27:13 1996
--- diffstat.orig/config.cache Fri Mar 15 19:51:02 1996
***************
*** 13,28 ****
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
! ac_cv_header_stdc=${ac_cv_header_stdc='no'}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_path_install=${ac_cv_path_install='/home/tom/com/install -c'}
! ac_cv_prog_CC=${ac_cv_prog_CC='atacCC'}
! ac_cv_prog_CPP=${ac_cv_prog_CPP='atacCC -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
ac_cv_prog_gcc_g=${ac_cv_prog_gcc_g='yes'}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional='no'}
--- 13,28 ----
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='no'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
! ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_path_install=${ac_cv_path_install='/home/tom/com/install -c'}
! ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
! ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
ac_cv_prog_gcc_g=${ac_cv_prog_gcc_g='yes'}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional='no'}
diff -r -c diffstat/config.h diffstat.orig/config.h
*** diffstat/config.h Fri Mar 15 19:27:15 1996
--- diffstat.orig/config.h Fri Mar 15 19:51:04 1996
***************
*** 6,11 ****
--- 6,12 ----
*/
+ #define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETOPT_H 1
diff -r -c diffstat/config.log diffstat.orig/config.log
*** diffstat/config.log Fri Mar 15 19:26:59 1996
--- diffstat.orig/config.log Fri Mar 15 19:50:58 1996
***************
*** 2,27 ****
running configure, to aid debugging if configure makes a mistake.
configure:607: sgtty.h: No such file or directory
! /usr/tmp/atacCC17934/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
! /usr/tmp/atacCC17934/conftest.c:66: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17934/conftest.c: In function `main':
! /usr/tmp/atacCC17934/conftest.c:67: warning: implicit declaration of function `aTaC'
! /usr/tmp/atacCC17934/conftest.c: At top level:
! /usr/tmp/atacCC17934/conftest.c:76: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17934/conftest.c: In function `t':
! /usr/tmp/atacCC17934/conftest.c:97: warning: declaration of `t' shadows global declaration
! /usr/tmp/atacCC17934/conftest.c:98: warning: unused variable `s'
! /usr/tmp/atacCC17934/conftest.c:104: warning: declaration of `x' shadows previous local
! /usr/tmp/atacCC17934/conftest.c:111: warning: declaration of `p' shadows previous local
! /usr/tmp/atacCC17934/conftest.c:125: warning: unused variable `foo'
! /usr/tmp/atacCC17934/conftest.c:86: warning: unused variable `zero'
! /usr/tmp/atacCC17934/conftest.c:80: warning: unused variable `x'
! /usr/tmp/atacCC17934/conftest.c: At top level:
! /usr/tmp/atacCC17934/conftest.c:1: warning: `ZIDENT' defined but not used
! /usr/tmp/atacCC17972/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
! /usr/tmp/atacCC17972/conftest.c:39: warning: return-type defaults to `int'
! /usr/tmp/atacCC17972/conftest.c:39: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17972/conftest.c: In function `main':
! /usr/tmp/atacCC17972/conftest.c:40: warning: implicit declaration of function `aTaC'
! /usr/tmp/atacCC17972/conftest.c: At top level:
! /usr/tmp/atacCC17972/conftest.c:1: warning: `ZIDENT' defined but not used
--- 2,19 ----
running configure, to aid debugging if configure makes a mistake.
configure:607: sgtty.h: No such file or directory
! configure:659: warning: function declaration isn't a prototype
! configure:660: warning: function declaration isn't a prototype
! configure: In function `t':
! configure:680: warning: declaration of `t' shadows global declaration
! configure:681: warning: unused variable `s'
! configure:686: warning: declaration of `x' shadows previous local
! configure:692: warning: declaration of `p' shadows previous local
! configure:701: warning: unused variable `foo'
! configure:669: warning: unused variable `zero'
! configure:663: warning: unused variable `x'
! configure:680: warning: `t' might be used uninitialized in this function
! configure:698: warning: `b' might be used uninitialized in this function
! configure:735: warning: return-type defaults to `int'
! configure:735: warning: function declaration isn't a prototype
! configure:821: warning: function declaration isn't a prototype
diff -r -c diffstat/config.status diffstat.orig/config.status
*** diffstat/config.status Fri Mar 15 19:27:14 1996
--- diffstat.orig/config.status Fri Mar 15 19:51:03 1996
***************
*** 4,10 ****
# This directory was configured as follows,
# on host dickey-ppp:
#
! # ./configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
--- 4,10 ----
# This directory was configured as follows,
# on host dickey-ppp:
#
! # ./configure --verbose --disable-echo --enable-warnings --with-warnings
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
***************
*** 14,21 ****
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
! exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.3"
exit 0 ;;
--- 14,21 ----
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion"
! exec ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.3"
exit 0 ;;
***************
*** 38,53 ****
s%@CFLAGS@%-O -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
! s%@DEFS@% -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
! s%@CC@%atacCC%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
! s%@CPP@%atacCC -E%g
CEOF
--- 38,53 ----
s%@CFLAGS@%-O -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
! s%@DEFS@% -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
! s%@CC@%gcc%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
! s%@CPP@%gcc -E%g
CEOF
Only in diffstat.orig: configure.out
Files diffstat/diffstat and diffstat.orig/diffstat differ
Files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diff -r -c diffstat/makefile diffstat.orig/makefile
*** diffstat/makefile Fri Mar 15 19:27:15 1996
--- diffstat.orig/makefile Fri Mar 15 19:51:04 1996
***************
*** 7,13 ****
srcdir = .
! CC = atacCC
LINK = $(CC)
INSTALL = /home/tom/com/install -c
INSTALL_PROGRAM = ${INSTALL}
--- 7,13 ----
srcdir = .
! CC = gcc
LINK = $(CC)
INSTALL = /home/tom/com/install -c
INSTALL_PROGRAM = ${INSTALL}
Only in diffstat/testing: Xlib-1.patch-
Only in diffstat/testing: Xlib-1.ref
Only in diffstat/testing: Xlib-2.patch-
Only in diffstat/testing: Xlib-2.ref
Only in diffstat/testing: Xlib-3.patch-
Only in diffstat/testing: Xlib-3.ref
Only in diffstat/testing: config-1.ref
Only in diffstat/testing: nugent.ref
Only in diffstat/testing: xserver-1.ref
Only in diffstat/testing: xserver-2.patch-
Only in diffstat/testing: xserver-2.ref
Only in diffstat/testing: xterm-1.patch-
Only in diffstat/testing: xterm-1.ref
Only in diffstat/testing: xterm-10.patch-
Only in diffstat/testing: xterm-10.ref
Only in diffstat/testing: xterm-11.patch-
Only in diffstat/testing: xterm-11.ref
Only in diffstat/testing: xterm-2.patch-
Only in diffstat/testing: xterm-2.ref
Only in diffstat/testing: xterm-3.patch-
Only in diffstat/testing: xterm-3.ref
Only in diffstat/testing: xterm-4.patch-
Only in diffstat/testing: xterm-4.ref
Only in diffstat/testing: xterm-5.patch-
Only in diffstat/testing: xterm-5.ref
Only in diffstat/testing: xterm-6.patch-
Only in diffstat/testing: xterm-6.ref
Only in diffstat/testing: xterm-7.ref
Only in diffstat/testing: xterm-8.patch-
Only in diffstat/testing: xterm-8.ref
Only in diffstat/testing: xterm-9.patch-
Only in diffstat/testing: xterm-9.ref
diff -r diffstat/config.cache diffstat.orig/config.cache
16c16
< ac_cv_c_cross=${ac_cv_c_cross='yes'}
---
> ac_cv_c_cross=${ac_cv_c_cross='no'}
19c19
< ac_cv_header_stdc=${ac_cv_header_stdc='no'}
---
> ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
24,25c24,25
< ac_cv_prog_CC=${ac_cv_prog_CC='atacCC'}
< ac_cv_prog_CPP=${ac_cv_prog_CPP='atacCC -E'}
---
> ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
> ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
diff -r diffstat/config.h diffstat.orig/config.h
8a9
> #define STDC_HEADERS 1
diff -r diffstat/config.log diffstat.orig/config.log
5,27c5,19
< /usr/tmp/atacCC17934/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
< /usr/tmp/atacCC17934/conftest.c:66: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17934/conftest.c: In function `main':
< /usr/tmp/atacCC17934/conftest.c:67: warning: implicit declaration of function `aTaC'
< /usr/tmp/atacCC17934/conftest.c: At top level:
< /usr/tmp/atacCC17934/conftest.c:76: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17934/conftest.c: In function `t':
< /usr/tmp/atacCC17934/conftest.c:97: warning: declaration of `t' shadows global declaration
< /usr/tmp/atacCC17934/conftest.c:98: warning: unused variable `s'
< /usr/tmp/atacCC17934/conftest.c:104: warning: declaration of `x' shadows previous local
< /usr/tmp/atacCC17934/conftest.c:111: warning: declaration of `p' shadows previous local
< /usr/tmp/atacCC17934/conftest.c:125: warning: unused variable `foo'
< /usr/tmp/atacCC17934/conftest.c:86: warning: unused variable `zero'
< /usr/tmp/atacCC17934/conftest.c:80: warning: unused variable `x'
< /usr/tmp/atacCC17934/conftest.c: At top level:
< /usr/tmp/atacCC17934/conftest.c:1: warning: `ZIDENT' defined but not used
< /usr/tmp/atacCC17972/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
< /usr/tmp/atacCC17972/conftest.c:39: warning: return-type defaults to `int'
< /usr/tmp/atacCC17972/conftest.c:39: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17972/conftest.c: In function `main':
< /usr/tmp/atacCC17972/conftest.c:40: warning: implicit declaration of function `aTaC'
< /usr/tmp/atacCC17972/conftest.c: At top level:
< /usr/tmp/atacCC17972/conftest.c:1: warning: `ZIDENT' defined but not used
---
> configure:659: warning: function declaration isn't a prototype
> configure:660: warning: function declaration isn't a prototype
> configure: In function `t':
> configure:680: warning: declaration of `t' shadows global declaration
> configure:681: warning: unused variable `s'
> configure:686: warning: declaration of `x' shadows previous local
> configure:692: warning: declaration of `p' shadows previous local
> configure:701: warning: unused variable `foo'
> configure:669: warning: unused variable `zero'
> configure:663: warning: unused variable `x'
> configure:680: warning: `t' might be used uninitialized in this function
> configure:698: warning: `b' might be used uninitialized in this function
> configure:735: warning: return-type defaults to `int'
> configure:735: warning: function declaration isn't a prototype
> configure:821: warning: function declaration isn't a prototype
diff -r diffstat/config.status diffstat.orig/config.status
7c7
< # ./configure
---
> # ./configure --verbose --disable-echo --enable-warnings --with-warnings
17,18c17,18
< echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
< exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
---
> echo "running ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion"
> exec ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion ;;
41c41
< s%@DEFS@% -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
---
> s%@DEFS@% -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
47c47
< s%@CC@%atacCC%g
---
> s%@CC@%gcc%g
50c50
< s%@CPP@%atacCC -E%g
---
> s%@CPP@%gcc -E%g
Only in diffstat.orig: configure.out
Files diffstat/diffstat and diffstat.orig/diffstat differ
Files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diff -r diffstat/makefile diffstat.orig/makefile
10c10
< CC = atacCC
---
> CC = gcc
Only in diffstat/testing: Xlib-1.patch-
Only in diffstat/testing: Xlib-1.ref
Only in diffstat/testing: Xlib-2.patch-
Only in diffstat/testing: Xlib-2.ref
Only in diffstat/testing: Xlib-3.patch-
Only in diffstat/testing: Xlib-3.ref
Only in diffstat/testing: config-1.ref
Only in diffstat/testing: nugent.ref
Only in diffstat/testing: xserver-1.ref
Only in diffstat/testing: xserver-2.patch-
Only in diffstat/testing: xserver-2.ref
Only in diffstat/testing: xterm-1.patch-
Only in diffstat/testing: xterm-1.ref
Only in diffstat/testing: xterm-10.patch-
Only in diffstat/testing: xterm-10.ref
Only in diffstat/testing: xterm-11.patch-
Only in diffstat/testing: xterm-11.ref
Only in diffstat/testing: xterm-2.patch-
Only in diffstat/testing: xterm-2.ref
Only in diffstat/testing: xterm-3.patch-
Only in diffstat/testing: xterm-3.ref
Only in diffstat/testing: xterm-4.patch-
Only in diffstat/testing: xterm-4.ref
Only in diffstat/testing: xterm-5.patch-
Only in diffstat/testing: xterm-5.ref
Only in diffstat/testing: xterm-6.patch-
Only in diffstat/testing: xterm-6.ref
Only in diffstat/testing: xterm-7.ref
Only in diffstat/testing: xterm-8.patch-
Only in diffstat/testing: xterm-8.ref
Only in diffstat/testing: xterm-9.patch-
Only in diffstat/testing: xterm-9.ref
diffstat-1.68/testing/case33r2.ref 0000644 0000000 0000000 00000000105 11246713507 015454 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case20p9.ref 0000644 0000000 0000000 00000000172 07605627533 015470 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case36u.ref 0000644 0000000 0000000 00000003373 12133111243 015373 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case33Rp0.ref 0000644 0000000 0000000 00000000111 11700545545 015567 0 ustar root root README.new | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case02r1.ref 0000644 0000000 0000000 00000000412 10277702415 015447 0 ustar root root bug-report | 2 !
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 ++++++++++++++++++++++++++++++++++++++!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case02R.ref 0000644 0000000 0000000 00000000371 11700545533 015330 0 ustar root root da17839 | 98 +++------------!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
da20646 | 2 !
da21897 | 104 --------------------------------------------------!!!!!!!!!!!!!!
3 files changed, 5 insertions(+), 102 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case25p9.ref 0000644 0000000 0000000 00000000543 10160421167 015460 0 ustar root root CHANGES | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++---
configure.in | 16 ++++++++++----
filters.doc | 36 +++++++++++++++++++++++++++++--
macros.doc | 67 ++++++++++++++++++++++++++++++++++++-----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case12u.ref 0000644 0000000 0000000 00000000222 07530534455 015376 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case34b.ref 0000644 0000000 0000000 00000000144 11762443774 015367 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case38l.pat 0000644 0000000 0000000 00000010312 12546610505 015400 0 ustar root root diff -r -u -N "test ink/READ ME!" "testing/READ ME!"
--- "test ink/READ ME!" 1969-12-31 19:00:00.000000000 -0500
+++ "testing/READ ME!" 2004-12-18 07:19:21.000000000 -0500
@@ -0,0 +1,5 @@
+-- @Id: README,v 1.1 2004/12/18 12:19:21 tom Exp @
+
+The files in this directory are used for regression-checks of diffstat. The
+full test-suite is not distributed since some of the test-data is not freely
+distributable.
diff -r -u -N "test ink/README ?" "testing/README ?"
--- "test ink/README ?" 2004-12-18 07:19:21.000000000 -0500
+++ "testing/README ?" 1969-12-31 19:00:00.000000000 -0500
@@ -1,5 +0,0 @@
--- @Id: README,v 1.1 2004/12/18 12:19:21 tom Exp @
-
-The files in this directory are used for regression-checks of diffstat. The
-full test-suite is not distributed since some of the test-data is not freely
-distributable.
diff -r -u -N "test ink/run atac.sh" "testing/run atac.sh"
--- "test ink/run atac.sh" 1969-12-31 19:00:00.000000000 -0500
+++ "testing/run atac.sh" 1998-01-16 20:10:06.000000000 -0500
@@ -0,0 +1,6 @@
+#!/bin/sh
+# @Id: run_atac.sh,v 1.2 1998/01/17 01:10:06 tom Exp @
+rm -f /tmp/atac_dir/*
+run_test.sh
+atac -u ../*.atac /tmp/atac_dir/*
+atacmin ../*.atac /tmp/atac_dir/*
diff -r -u -N "test ink/run_atac.sh" testing/run_atac.sh
--- "test ink/run_atac.sh" 1998-01-16 20:10:06.000000000 -0500
+++ testing/run_atac.sh 1969-12-31 19:00:00.000000000 -0500
@@ -1,6 +0,0 @@
-#!/bin/sh
-# @Id: run_atac.sh,v 1.2 1998/01/17 01:10:06 tom Exp @
-rm -f /tmp/atac_dir/*
-run_test.sh
-atac -u ../*.atac /tmp/atac_dir/*
-atacmin ../*.atac /tmp/atac_dir/*
diff -r -u -N "test ink/run test.sh" "testing/run test.sh"
--- "test ink/run test.sh" 1969-12-31 19:00:00.000000000 -0500
+++ "testing/run test.sh" 2012-01-03 05:18:14.000000000 -0500
@@ -0,0 +1,51 @@
+#!/bin/sh
+# @Id: run_test.sh,v 1.15 2012/01/03 10:18:14 tom Exp @
+# Test-script for DIFFSTAT
+
+# change this for ad hoc testing of compression
+#TYPE=.pat.Z
+#TYPE=.pat.gz
+#TYPE=.pat.bz2
+TYPE=.pat
+
+if [ $# = 0 ]
+then
+ eval '"$0" *${TYPE}'
+ exit
+fi
+PATH=`cd ..;pwd`:$PATH; export PATH
+# Sanity check, remembering that not every system has `which'.
+(which diffstat) >/dev/null 2>/dev/null && echo "Checking `which diffstat`"
+
+for item in $*
+do
+ echo "testing `basename $item $TYPE`"
+ for OPTS in "" "-p1" "-p9" "-f0" "-u" "-k" "-r1" "-r2" "-b" "-R" "-Rp0"
+ do
+ NAME=`echo $item | sed -e 's/'$TYPE'$//'`
+ DATA=${NAME}${TYPE}
+ if [ ".$OPTS" != "." ] ; then
+ NAME=$NAME`echo ./$OPTS|sed -e 's@./-@@'`
+ fi
+ TEST=`basename $NAME`
+ diffstat -e $TEST.err -o $TEST.out $OPTS $DATA
+ if [ -f $NAME.ref ]
+ then
+ diff -b $NAME.ref $TEST.out >check.out
+ if test -s check.out
+ then
+ echo "?? fail: $TEST"
+ ls -l check.out
+ cat check.out
+ else
+ echo "** ok: $TEST"
+ rm -f $TEST.out
+ rm -f $TEST.err
+ fi
+ else
+ echo "** save: $TEST"
+ mv $TEST.out $NAME.ref
+ rm -f $TEST.err
+ fi
+ done
+done
diff -r -u -N "test ink/run_test.sh" testing/run_test.sh
--- "test ink/run_test.sh" 2012-01-03 05:18:14.000000000 -0500
+++ testing/run_test.sh 1969-12-31 19:00:00.000000000 -0500
@@ -1,51 +0,0 @@
-#!/bin/sh
-# @Id: run_test.sh,v 1.15 2012/01/03 10:18:14 tom Exp @
-# Test-script for DIFFSTAT
-
-# change this for ad hoc testing of compression
-#TYPE=.pat.Z
-#TYPE=.pat.gz
-#TYPE=.pat.bz2
-TYPE=.pat
-
-if [ $# = 0 ]
-then
- eval '"$0" *${TYPE}'
- exit
-fi
-PATH=`cd ..;pwd`:$PATH; export PATH
-# Sanity check, remembering that not every system has `which'.
-(which diffstat) >/dev/null 2>/dev/null && echo "Checking `which diffstat`"
-
-for item in $*
-do
- echo "testing `basename $item $TYPE`"
- for OPTS in "" "-p1" "-p9" "-f0" "-u" "-k" "-r1" "-r2" "-b" "-R" "-Rp0"
- do
- NAME=`echo $item | sed -e 's/'$TYPE'$//'`
- DATA=${NAME}${TYPE}
- if [ ".$OPTS" != "." ] ; then
- NAME=$NAME`echo ./$OPTS|sed -e 's@./-@@'`
- fi
- TEST=`basename $NAME`
- diffstat -e $TEST.err -o $TEST.out $OPTS $DATA
- if [ -f $NAME.ref ]
- then
- diff -b $NAME.ref $TEST.out >check.out
- if test -s check.out
- then
- echo "?? fail: $TEST"
- ls -l check.out
- cat check.out
- else
- echo "** ok: $TEST"
- rm -f $TEST.out
- rm -f $TEST.err
- fi
- else
- echo "** save: $TEST"
- mv $TEST.out $NAME.ref
- rm -f $TEST.err
- fi
- done
-done
diffstat-1.68/testing/case08f0.ref 0000644 0000000 0000000 00000000523 07530543242 015442 0 ustar root root Imakefile | 15 15 + 0 - 0 !
Tekproc.c | 7 7 + 0 - 0 !
charproc.c | 22 22 + 0 - 0 !
data.c | 4 4 + 0 - 0 !
main.c | 20 6 + 2 - 12 !
menu.c | 6 0 + 0 - 6 !
misc.c | 6 6 + 0 - 0 !
scrollbar.c | 2 0 + 0 - 2 !
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case46b.ref 0000644 0000000 0000000 00000001216 14320603177 015357 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case16k.ref 0000644 0000000 0000000 00000002051 07605676572 015404 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++------------------
curses.h | 37 +++-
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 +++
install-sh | 26 ++-
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 +++
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 ++++++++++-----
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 +
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case17.ref 0000644 0000000 0000000 00000000274 07524717237 015231 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case35.ref 0000644 0000000 0000000 00000000247 12133111243 015202 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case26f0.ref 0000644 0000000 0000000 00000004422 10451755075 015451 0 ustar root root Frame.C | 294 221 + 73 - 0 !
Frame.H | 21 13 + 8 - 0 !
Hotkeys.C | 32 31 + 1 - 0 !
Makefile | 2 1 + 1 - 0 !
Menu.C | 70 42 + 28 - 0 !
README | 18 9 + 9 - 0 !
Rotated.C | 61 34 + 27 - 0 !
config.h | 6 6 + 0 - 0 !
debian/changelog | 12 12 + 0 - 0 !
debian/patched/100_double_ampersand.dpatch | 1 1 + 0 - 0 !
debian/patched/100_fl_filename_name.dpatch | 2 0 + 2 - 0 !
debian/patched/101_visible_focus.dpatch | 1 0 + 1 - 0 !
debian/patched/102_charstruct.dpatch | 1 0 + 1 - 0 !
debian/patched/103_man_typo.dpatch | 1 0 + 1 - 0 !
debian/patched/104_g++-4.1_warning.dpatch | 3 0 + 3 - 0 !
debian/patched/105_double_ampersand.dpatch | 1 0 + 1 - 0 !
debian/patched/201_background_color.dpatch | 2 0 + 2 - 0 !
debian/patches/00list | 8 1 + 7 - 0 !
debian/patches/100_double_ampersand.dpatch | 19 19 + 0 - 0 !
debian/patches/100_fl_filename_name.dpatch | 20 0 + 20 - 0 !
debian/patches/101_visible_focus.dpatch | 19 0 + 19 - 0 !
debian/patches/102_charstruct.dpatch | 45 0 + 45 - 0 !
debian/patches/103_man_typo.dpatch | 19 0 + 19 - 0 !
debian/patches/104_g++-4.1_warning.dpatch | 58 0 + 58 - 0 !
debian/patches/105_double_ampersand.dpatch | 48 0 + 48 - 0 !
debian/patches/200_Debian_menu.dpatch | 14 7 + 7 - 0 !
debian/patches/201_background_color.dpatch | 57 0 + 57 - 0 !
debian/patches/202_background_color_2.dpatch | 92 0 + 92 - 0 !
debian/watch | 3 3 + 0 - 0 !
flwm.1 | 4 2 + 2 - 0 !
flwm_wmconfig | 4 3 + 1 - 0 !
logo.fl | 19 19 + 0 - 0 !
main.C | 99 72 + 27 - 0 !
patch-stamp | 25 2 + 23 - 0 !
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case17r2.ref 0000644 0000000 0000000 00000000274 10277702417 015466 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case02b.ref 0000644 0000000 0000000 00000000410 10667374021 015345 0 ustar root root bug-report | 2
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 +++++++++++++++++++++++++++++++++++++!!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case40R.ref 0000644 0000000 0000000 00000000156 13777412631 015343 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case45r1.ref 0000644 0000000 0000000 00000001216 14320603177 015457 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case33.pat 0000644 0000000 0000000 00000001036 11246713344 015223 0 ustar root root --- README.new 2009-08-31 05:24:30.000000000 -0400
+++ README 2001-10-10 20:23:46.000000000 -0400
@@ -1,7 +1,7 @@
$Id: README,v 1.5 2001/10/11 00:23:46 tom Exp $
-Readme file for dIFFsTAT.
+Readme file for DiffStat.
This program is a simple filter that reads the output of the 'diff' program,
and produces a histogram of the total number of lines that were changed. It is
-useful for scanning a patch file to see which files were changed.
\ No newline at end of file
+useful for scanning a patch file to see which files were changed.
diffstat-1.68/testing/case38rb.ref 0000644 0000000 0000000 00000000456 12546615551 015556 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case16.ref 0000644 0000000 0000000 00000002051 07605676572 015231 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++------------------
curses.h | 37 +++-
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 +++
install-sh | 26 ++-
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 +++
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 ++++++++++-----
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 +
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case46Rp0.ref 0000644 0000000 0000000 00000001637 14320603177 015606 0 ustar root root --unified=3 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case41f0.ref 0000644 0000000 0000000 00000000202 13777421437 015444 0 ustar root root b/hello.c | 8 7 + 1 - 0 !
b/hello.o |binary
hello.c | 1 1 + 0 - 0 !
3 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case03f0.ref 0000644 0000000 0000000 00000000275 07530543241 015440 0 ustar root root config.cache | 1 0 + 0 - 1 !
config.h | 1 1 + 0 - 0 !
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case35R.ref 0000644 0000000 0000000 00000000354 12133111243 015323 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 1 !
diffstat/config.h | 1 -
diffstat/diffstat |binary
diffstat/diffstat.o |binary
5 files changed, 1 deletion(-), 1 modification(!)
diffstat-1.68/testing/case31lRp0.ref 0000644 0000000 0000000 00000000141 11700545544 015743 0 ustar root root //depot/user/ed/newcons/sys/kern/tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case24.ref 0000644 0000000 0000000 00000000561 10144014205 015177 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case20u.ref 0000644 0000000 0000000 00000000172 07605627534 015405 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case48R.ref 0000644 0000000 0000000 00000000107 14714413375 015345 0 ustar root root unknown | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case24r2.ref 0000644 0000000 0000000 00000000561 10277702420 015455 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case49p9.ref 0000644 0000000 0000000 00000000117 14714413542 015472 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case28u.ref 0000644 0000000 0000000 00000000204 11163734344 015401 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case29.pat 0000644 0000000 0000000 00000006540 11163731757 015243 0 ustar root root @@ -1,11 +1,11 @@
-revlist for vile-9.7c, version v9_7c
+revlist for vile, version v9_7d
--------------------------------------------------------------------------------
-aclocal.m4 1.183
+aclocal.m4 1.185
ansi.c 1.49
api.c 1.44
api.h 1.13
basic.c 1.161
-bind.c 1.320
+bind.c 1.322
blist.c 1.11
blist.h 1.4
borland.c 1.38
@@ -14,7 +14,7 @@
buffer.c 1.331
buglist 1.412
builtflt.c 1.63
-CHANGES 1.1177
+CHANGES 1.1189
CHANGES.R3 1.1
CHANGES.R4 1.1
CHANGES.R5 1.1
@@ -23,12 +23,12 @@
CHANGES.R8 1.1
charsets.c 1.56
chgdfunc.h 1.22
-cmdtbl 1.253
+cmdtbl 1.255
config.guess 1.8
config_h.in 1.2
config.sub 1.9
-configure 1.21
-configure.in 1.246
+configure 1.22
+configure.in 1.247
COPYING 1.4
csrch.c 1.34
curses.c 1.38
@@ -37,11 +37,11 @@
display.c 1.476
djhandl.c 1.6
dumbterm.c 1.23
-edef.h 1.339
+edef.h 1.341
eightbit.c 1.45
-estruct.h 1.663
-eval.c 1.383
-exec.c 1.314
+estruct.h 1.665
+eval.c 1.386
+exec.c 1.325
externs.c 1.11
fences.c 1.86
file.c 1.415
@@ -52,46 +52,46 @@
glob.c 1.93
gppconio.c 1.2
history.c 1.87
-input.c 1.320
+input.c 1.321
insert.c 1.167
INSTALL 1.6
install.sh 1.7
isearch.c 1.60
itbuff.c 1.25
lckfiles.c 1.11
-line.c 1.193
-main.c 1.642
+line.c 1.194
+main.c 1.647
makeargv.c 1.3
makeargv.h 1.3
makefile.blc 1.22
makefile.djg 1.38
makefile.icc 1.17
-makefile.in 1.211
+makefile.in 1.212
makefile.wnt 1.99
MANIFEST none
map.c 1.112
-menu.c 1.51
+menu.c 1.52
mkdirs.sh 1.7
mkprlenv.wnt 1.9
mktbls.c 1.151
modes.c 1.363
-modetbl 1.275
+modetbl 1.276
msgs.c 1.29
-npopen.c 1.95
+npopen.c 1.96
ntconio.c 1.91
ntwinio.c 1.188
nullterm.c 1.5
oneliner.c 1.112
-opers.c 1.93
+opers.c 1.97
os2keys.h 1.2
os2pipe.c 1.5
os2vio.c 1.36
-patchlev.h 1.378
+patchlev.h 1.379
path.c 1.162
perl.xs 1.111
plugin.c 1.1
plugin.h 1.1
-proto.h 1.650
+proto.h 1.657
pscreen.h 1.2
ptypemap 1.7
random.c 1.319
@@ -100,26 +100,26 @@
README.VMS 1.5
regexp.c 1.139
region.c 1.149
-revlist v9_7c
+revlist v9_7d
search.c 1.146
-select.c 1.167
+select.c 1.168
sinstall.sh 1.1
-spawn.c 1.195
-statevar.c 1.122
+spawn.c 1.200
+statevar.c 1.123
tags.c 1.138
-tbuff.c 1.68
+tbuff.c 1.69
tcap.c 1.177
tcap.h 1.14
termio.c 1.214
test_io.c 1.2
-trace.c 1.80
+trace.c 1.81
trace.h 1.31
ucrypt.c 1.15
-undo.c 1.96
+undo.c 1.99
version.c 1.66
vile.1 1.37
-vile-9.7.spec 1.5
-vile.hlp 1.655
+vile-9.7.spec 1.6
+vile.hlp 1.657
vile.wmconfig 1.1
vl_alloc.h 1.1
vl_ctype.h 1.15
@@ -159,7 +159,7 @@
doc/config.doc 1.15
doc/dir.doc 1.3
doc/filters.doc 1.40
-doc/macros.doc 1.107
+doc/macros.doc 1.111
doc/menus.doc 1.7
doc/modes.doc 1.17
doc/ncu-indent 1.16
@@ -237,14 +237,14 @@
filters/key-filt.c 1.41
filters/latexflt.l 1.48
filters/latex.key 1.2
-filters/lex-filt.l 1.62
+filters/lex-filt.l 1.67
filters/lex.key 1.8
filters/lispfilt.l 1.20
filters/lisp.key 1.2
filters/lua-filt.l 1.8
filters/lua.key 1.2
filters/m4-filt.c 1.30
-filters/m4.key 1.3
+filters/m4.key 1.5
filters/mailcap.key 1.3
filters/mailfilt.l 1.22
filters/mail.key 1.3
@@ -332,7 +332,7 @@
filters/vb6.key 1.5
filters/vb.key 1.15
filters/vbs.key 1.4
-filters/vilefilt.l 1.57
+filters/vilefilt.l 1.59
filters/vile.key 1.8
filters/vim.key 1.2
filters/vl-filt.l 1.15
@@ -362,7 +362,7 @@
macros/gnugpg.rc 1.3
macros/loaderrs.rc 1.2
macros/manpage.rc 1.24
-macros/modes.rc 1.79
+macros/modes.rc 1.80
macros/palettes.rc 1.8
macros/pictmode.rc 1.4
macros/search.rc 1.3
diffstat-1.68/testing/case32k.ref 0000644 0000000 0000000 00000000105 11246713507 015362 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case22p1.ref 0000644 0000000 0000000 00000002214 07623304420 015444 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case14r2.ref 0000644 0000000 0000000 00000000064 10300164552 015445 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case29r2.ref 0000644 0000000 0000000 00000000203 11163734345 015461 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case25Rp0.ref 0000644 0000000 0000000 00000000554 11700545542 015600 0 ustar root root CHANGES | 58 ------------------------------------------------
MANIFEST | 3 --
cmdtbl | 15 ++----------
configure.in | 16 +++----------
doc/filters.doc | 36 +-----------------------------
doc/macros.doc | 67 +++++++++++++++++++++-----------------------------------
6 files changed, 36 insertions(+), 159 deletions(-)
diffstat-1.68/testing/case01.ref 0000644 0000000 0000000 00000004054 07073762770 015223 0 ustar root root config/cf/Imake.cf | 7 +++++
config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 +
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 -
include/Xos.h | 7 ++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
test/xsuite/xtest/src/bin/mc/files.c | 2 -
util/patch/malloc.c | 12 +++------
util/patch/pch.c | 2 -
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case35b.ref 0000644 0000000 0000000 00000000171 12133111320 015334 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
3 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case16u.ref 0000644 0000000 0000000 00000002051 07605676572 015416 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++------------------
curses.h | 37 +++-
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 +++
install-sh | 26 ++-
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 +++
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 ++++++++++-----
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 +
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case02.ref 0000644 0000000 0000000 00000000410 07073762770 015214 0 ustar root root bug-report | 2
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 +++++++++++++++++++++++++++++++++++++!!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case28p9.ref 0000644 0000000 0000000 00000000204 11163734344 015465 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case38rk.ref 0000644 0000000 0000000 00000000456 12546615551 015567 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case22R.ref 0000644 0000000 0000000 00000002214 11700545541 015327 0 ustar root root PATCHES | 1 -
compose.c | 17 ++++-------------
crypt.c | 26 +++++++++++++++-----------
init.h | 54 +++++++-----------------------------------------------
mutt.h | 4 +---
pgp.c | 5 +----
pgplib.h | 1 -
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 ++++-----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 ++++-----
po/ko.po | 8 ++++----
po/lt.po | 13 +++++++------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 +++++++------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 -------
send.c | 16 +---------------
sendlib.c | 2 --
36 files changed, 139 insertions(+), 214 deletions(-)
diffstat-1.68/testing/case38lb.ref 0000644 0000000 0000000 00000000456 12546615551 015550 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case03p1.ref 0000644 0000000 0000000 00000000247 07073762770 015466 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case26p1.ref 0000644 0000000 0000000 00000005316 10451755075 015467 0 ustar root root tmp/KfNDqvamm0/flwm-1.01/Frame.C | 294 +++++++---
tmp/KfNDqvamm0/flwm-1.01/Frame.H | 21
tmp/KfNDqvamm0/flwm-1.01/Hotkeys.C | 32 +
tmp/KfNDqvamm0/flwm-1.01/Makefile | 2
tmp/KfNDqvamm0/flwm-1.01/Menu.C | 70 +-
tmp/KfNDqvamm0/flwm-1.01/README | 18
tmp/KfNDqvamm0/flwm-1.01/Rotated.C | 61 +-
tmp/KfNDqvamm0/flwm-1.01/config.h | 6
tmp/KfNDqvamm0/flwm-1.01/debian/changelog | 12
tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_double_ampersand.dpatch | 1
tmp/KfNDqvamm0/flwm-1.01/debian/patched/100_fl_filename_name.dpatch | 2
tmp/KfNDqvamm0/flwm-1.01/debian/patched/101_visible_focus.dpatch | 1
tmp/KfNDqvamm0/flwm-1.01/debian/patched/102_charstruct.dpatch | 1
tmp/KfNDqvamm0/flwm-1.01/debian/patched/103_man_typo.dpatch | 1
tmp/KfNDqvamm0/flwm-1.01/debian/patched/104_g++-4.1_warning.dpatch | 3
tmp/KfNDqvamm0/flwm-1.01/debian/patched/105_double_ampersand.dpatch | 1
tmp/KfNDqvamm0/flwm-1.01/debian/patched/201_background_color.dpatch | 2
tmp/KfNDqvamm0/flwm-1.01/debian/patches/00list | 8
tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_double_ampersand.dpatch | 19
tmp/KfNDqvamm0/flwm-1.01/debian/patches/100_fl_filename_name.dpatch | 20
tmp/KfNDqvamm0/flwm-1.01/debian/patches/101_visible_focus.dpatch | 19
tmp/KfNDqvamm0/flwm-1.01/debian/patches/102_charstruct.dpatch | 45 -
tmp/KfNDqvamm0/flwm-1.01/debian/patches/103_man_typo.dpatch | 19
tmp/KfNDqvamm0/flwm-1.01/debian/patches/104_g++-4.1_warning.dpatch | 58 -
tmp/KfNDqvamm0/flwm-1.01/debian/patches/105_double_ampersand.dpatch | 48 -
tmp/KfNDqvamm0/flwm-1.01/debian/patches/200_Debian_menu.dpatch | 14
tmp/KfNDqvamm0/flwm-1.01/debian/patches/201_background_color.dpatch | 57 -
tmp/KfNDqvamm0/flwm-1.01/debian/patches/202_background_color_2.dpatch | 92 ---
tmp/KfNDqvamm0/flwm-1.01/debian/watch | 3
tmp/KfNDqvamm0/flwm-1.01/flwm.1 | 4
tmp/KfNDqvamm0/flwm-1.01/flwm_wmconfig | 4
tmp/KfNDqvamm0/flwm-1.01/logo.fl | 19
tmp/KfNDqvamm0/flwm-1.01/main.C | 99 ++-
tmp/KfNDqvamm0/flwm-1.01/patch-stamp | 25
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case34Rp0.ref 0000644 0000000 0000000 00000000176 11762443774 015614 0 ustar root root ergh eek arf/quux bar baz | 2 +-
ergh eek arf/quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case46.pat 0000644 0000000 0000000 00000022156 14320570414 015230 0 ustar root root diff '--unified=3' -r ncurses-6.3-20221001/configure ncurses-6.3-20221008/configure
--- ncurses-6.3-20221001/configure 2022-10-01 09:25:01.000000000 -0400
+++ ncurses-6.3-20221008/configure 2022-10-08 12:55:47.000000000 -0400
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.749 .
+# From configure.in Revision: 1.750 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20210509.
#
@@ -15409,7 +15409,7 @@
(6)
NCURSES_MOUSE_VERSION=2
;;
-(789)
+([789])
NCURSES_MOUSE_VERSION=3
;;
esac
diff '--unified=3' -r ncurses-6.3-20221001/configure.in ncurses-6.3-20221008/configure.in
--- ncurses-6.3-20221001/configure.in 2022-10-01 09:16:18.000000000 -0400
+++ ncurses-6.3-20221008/configure.in 2022-10-08 11:54:35.000000000 -0400
@@ -29,7 +29,7 @@
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
-dnl $Id: configure.in,v 1.749 2022/10/01 13:16:18 tom Exp $
+dnl $Id: configure.in,v 1.750 2022/10/08 15:54:35 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
@@ -38,7 +38,7 @@
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.749 $)
+AC_REVISION($Revision: 1.750 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
@@ -1272,7 +1272,7 @@
(6)
NCURSES_MOUSE_VERSION=2
;;
-([789])
+([[789]])
NCURSES_MOUSE_VERSION=3
;;
esac
diff '--unified=3' -r ncurses-6.3-20221001/dist.mk ncurses-6.3-20221008/dist.mk
--- ncurses-6.3-20221001/dist.mk 2022-10-01 09:15:31.000000000 -0400
+++ ncurses-6.3-20221008/dist.mk 2022-10-08 06:25:44.000000000 -0400
@@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1505 2022/10/01 13:15:31 tom Exp $
+# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@@ -38,7 +38,7 @@
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 3
-NCURSES_PATCH = 20221001
+NCURSES_PATCH = 20221008
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
diff '--unified=3' -r ncurses-6.3-20221001/misc/gen-pkgconfig.in ncurses-6.3-20221008/misc/gen-pkgconfig.in
--- ncurses-6.3-20221001/misc/gen-pkgconfig.in 2022-08-27 15:07:03.000000000 -0400
+++ ncurses-6.3-20221008/misc/gen-pkgconfig.in 2022-10-08 12:45:20.000000000 -0400
@@ -1,5 +1,5 @@
#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.55 2022/08/27 19:07:03 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.56 2022/10/08 16:45:20 tom Exp $
##############################################################################
# Copyright 2018-2021,2022 Thomas E. Dickey #
# Copyright 2009-2015,2018 Free Software Foundation, Inc. #
@@ -103,7 +103,11 @@
;;
-L*)
lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
- [ -d "$lib_check" ] || continue
+ # on a new/nonstandard install, $libdir may not yet exist at this point
+ if [ "$libdir" != "$lib_check" ]
+ then
+ [ -d "$lib_check" ] || continue
+ fi
case "$lib_check" in
@LD_SEARCHPATH@) # skip standard libdir
if [ "$lib_check" = "$libdir" ]
diff '--unified=3' -r ncurses-6.3-20221001/NEWS ncurses-6.3-20221008/NEWS
--- ncurses-6.3-20221001/NEWS 2022-10-01 18:20:28.000000000 -0400
+++ ncurses-6.3-20221008/NEWS 2022-10-08 12:50:03.000000000 -0400
@@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3862 2022/10/01 22:20:28 tom Exp $
+-- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,13 @@
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20221008
+ + correct a switch-statement case in configure script to allow for test
+ builds with ABI=7.
+ + modify misc/gen-pkgconfig.in to allow for the case where the library
+ directory does not yet exist, since this is processed before doing an
+ install (report by Michal Liszcz).
+
20221001
+ modify configure/scripts to work around interference by GNU grep 3.8
(report by Sam James).
diff '--unified=3' -r ncurses-6.3-20221001/package/debian/changelog ncurses-6.3-20221008/package/debian/changelog
--- ncurses-6.3-20221001/package/debian/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
diff '--unified=3' -r ncurses-6.3-20221001/package/debian-mingw/changelog ncurses-6.3-20221008/package/debian-mingw/changelog
--- ncurses-6.3-20221001/package/debian-mingw/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
diff '--unified=3' -r ncurses-6.3-20221001/package/debian-mingw64/changelog ncurses-6.3-20221008/package/debian-mingw64/changelog
--- ncurses-6.3-20221001/package/debian-mingw64/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw64/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
diff '--unified=3' -r ncurses-6.3-20221001/package/mingw-ncurses.nsi ncurses-6.3-20221008/package/mingw-ncurses.nsi
--- ncurses-6.3-20221001/package/mingw-ncurses.nsi 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.nsi 2022-10-08 06:25:44.000000000 -0400
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.544 2022/10/01 09:34:57 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "3"
!define VERSION_YYYY "2022"
-!define VERSION_MMDD "1001"
+!define VERSION_MMDD "1008"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
!define MY_ABI "5"
diff '--unified=3' -r ncurses-6.3-20221001/package/mingw-ncurses.spec ncurses-6.3-20221008/package/mingw-ncurses.spec
--- ncurses-6.3-20221001/package/mingw-ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -3,7 +3,7 @@
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
diff '--unified=3' -r ncurses-6.3-20221001/package/ncurses.spec ncurses-6.3-20221008/package/ncurses.spec
--- ncurses-6.3-20221001/package/ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
diff '--unified=3' -r ncurses-6.3-20221001/package/ncursest.spec ncurses-6.3-20221008/package/ncursest.spec
--- ncurses-6.3-20221001/package/ncursest.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncursest.spec 2022-10-08 06:25:44.000000000 -0400
@@ -1,7 +1,7 @@
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
diff '--unified=3' -r ncurses-6.3-20221001/VERSION ncurses-6.3-20221008/VERSION
--- ncurses-6.3-20221001/VERSION 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/VERSION 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-5:0:10 6.3 20221001
+5:0:10 6.3 20221008
diffstat-1.68/testing/case43.ref 0000644 0000000 0000000 00000001216 14320603177 015212 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case22r1.ref 0000644 0000000 0000000 00000002214 10277702417 015455 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case11k.ref 0000644 0000000 0000000 00000000064 10300164551 015350 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case35p1.ref 0000644 0000000 0000000 00000000247 12133111243 015443 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case14b.ref 0000644 0000000 0000000 00000000064 10667374024 015360 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case15u.ref 0000644 0000000 0000000 00000001173 07530534455 015407 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1
debian/control | 19 ++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1
debian/copyright | 40 ++++++++++++++++++++++
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case26r1.ref 0000644 0000000 0000000 00000003705 10451755075 015471 0 ustar root root Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +-
Hotkeys.C | 32 +++
Makefile | 2
Menu.C | 70 ++++---
README | 18 +-
Rotated.C | 61 +++--
config.h | 6 +
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8 -
debian/patches/100_double_ampersand.dpatch | 19 ++
debian/patches/100_fl_filename_name.dpatch | 20 --
debian/patches/101_visible_focus.dpatch | 19 --
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 --
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14 +-
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 ++
main.C | 99 +++++++--
patch-stamp | 25 --
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case40u.ref 0000644 0000000 0000000 00000000156 13777412640 015406 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case18.ref 0000644 0000000 0000000 00000000055 10300164552 015205 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case16Rp0.ref 0000644 0000000 0000000 00000002424 11700545537 015602 0 ustar root root PDCurses/Makefile.in | 61 ++----
PDCurses/README | 5
PDCurses/aclocal.m4 | 7
PDCurses/config.h.in | 6
PDCurses/configure | 386 ++++++++++++++----------------------------
PDCurses/curses.h | 37 ----
PDCurses/curspriv.h | 12 -
PDCurses/demos/testcurs.c | 9
PDCurses/doc/intro.man | 27 +-
PDCurses/doc/x11.man | 100 +++-------
PDCurses/dos/pdckbd.c | 28 ---
PDCurses/dos/wccdos.lrf | 26 --
PDCurses/os2/gccos2.mak | 14 -
PDCurses/os2/pdckbd.c | 28 ---
PDCurses/os2/pdcurses.def | 8
PDCurses/pdcurses/Makefile.in | 120 ++++---------
PDCurses/pdcurses/border.c | 168 ------------------
PDCurses/pdcurses/color.c | 26 --
PDCurses/pdcurses/getch.c | 12 -
PDCurses/pdcurses/initscr.c | 6
PDCurses/pdcurses/util.c | 6
PDCurses/win32/curses.def | 3
PDCurses/win32/pdckbd.c | 10 -
PDCurses/x11/README | 15 -
PDCurses/x11/ScrollBox.c | 32 +--
PDCurses/x11/pdcdisp.c | 4
PDCurses/x11/pdckbd.c | 4
PDCurses/x11/pdcscrn.c | 3
PDCurses/x11/pdcsetsc.c | 11 -
29 files changed, 327 insertions(+), 847 deletions(-)
diffstat-1.68/testing/case04R.ref 0000644 0000000 0000000 00000003373 11700545533 015337 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 16 ++--!!!!
diffstat/config.h | 2 -
diffstat/config.log | 76 +++++++++++--------!!!!!!!!!!!!!!!!!!
diffstat/config.status | 24 +++---!!!!!!
diffstat/diffstat |binary
diffstat/diffstat.o |binary
diffstat/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 34 insertions(+), 28 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case23Rp0.ref 0000644 0000000 0000000 00000000253 11700545542 015572 0 ustar root root bfm-0.6.1.orig/README | 1
bfm-0.6.1.orig/gkrellm-bfm.c | 99 +++++++++----------------------------------
2 files changed, 23 insertions(+), 77 deletions(-)
diffstat-1.68/testing/case47p9.ref 0000644 0000000 0000000 00000000522 14377643723 015503 0 ustar root root cdialog-dev.install | 11 ++++----
cdialog.install | 9 ++++---
cdialog.lintian-overrides | 2 -
headers-sh.in | 57 +++++++++++++++++++++++++++++++++++++++++-----
inputbox6-utf8 | 4 ++-
makefile.inn | 14 +++++------
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case24r1.ref 0000644 0000000 0000000 00000000561 10277702420 015454 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case49.pat 0000644 0000000 0000000 00000001555 14714413526 015242 0 ustar root root 863a864,869
> product APPLE KBD_TP_ANSI 0x0223 Apple Internal Keyboard/Trackpad (Wellspring/ANSI)
> product APPLE KBD_TP_ISO 0x0224 Apple Internal Keyboard/Trackpad (Wellspring/ISO)
> product APPLE KBD_TP_JIS 0x0225 Apple Internal Keyboard/Trackpad (Wellspring/JIS)
> product APPLE KBD_TP_ANSI2 0x0230 Apple Internal Keyboard/Trackpad (Wellspring2/ANSI)
> product APPLE KBD_TP_ISO2 0x0231 Apple Internal Keyboard/Trackpad (Wellspring2/ISO)
> product APPLE KBD_TP_JIS2 0x0232 Apple Internal Keyboard/Trackpad (Wellspring2/JIS)
904a911
> product ASUS GMSC 0x422f ASUS Generic Mass Storage
1180,1181d1186
< product DLINK2 DWA120_NF 0x3a0d DWA-120 (no firmware)
< product DLINK2 DWA120 0x3a0e DWA-120
1185a1191,1192
> product DLINK2 DWA120_NF 0x3c0d DWA-120 (no firmware)
> product DLINK2 DWA120 0x3c0e DWA-120
1973a1981
> product PHILIPS SPE3030CC 0x083a USB 2.0 External Disk
diffstat-1.68/testing/case39k.ref 0000644 0000000 0000000 00000000156 13777433126 015406 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case48p1.ref 0000644 0000000 0000000 00000000107 14714413374 015463 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case28.pat 0000644 0000000 0000000 00000013611 11163732270 015226 0 ustar root root ***************
*** 1,11 ****
- revlist for vile-9.7c, version v9_7c
--------------------------------------------------------------------------------
- aclocal.m4 1.183
ansi.c 1.49
api.c 1.44
api.h 1.13
basic.c 1.161
- bind.c 1.320
blist.c 1.11
blist.h 1.4
borland.c 1.38
--- 1,11 ----
+ revlist for vile, version v9_7d
--------------------------------------------------------------------------------
+ aclocal.m4 1.185
ansi.c 1.49
api.c 1.44
api.h 1.13
basic.c 1.161
+ bind.c 1.322
blist.c 1.11
blist.h 1.4
borland.c 1.38
***************
*** 14,20 ****
buffer.c 1.331
buglist 1.412
builtflt.c 1.63
- CHANGES 1.1177
CHANGES.R3 1.1
CHANGES.R4 1.1
CHANGES.R5 1.1
--- 14,20 ----
buffer.c 1.331
buglist 1.412
builtflt.c 1.63
+ CHANGES 1.1189
CHANGES.R3 1.1
CHANGES.R4 1.1
CHANGES.R5 1.1
***************
*** 23,34 ****
CHANGES.R8 1.1
charsets.c 1.56
chgdfunc.h 1.22
- cmdtbl 1.253
config.guess 1.8
config_h.in 1.2
config.sub 1.9
- configure 1.21
- configure.in 1.246
COPYING 1.4
csrch.c 1.34
curses.c 1.38
--- 23,34 ----
CHANGES.R8 1.1
charsets.c 1.56
chgdfunc.h 1.22
+ cmdtbl 1.255
config.guess 1.8
config_h.in 1.2
config.sub 1.9
+ configure 1.22
+ configure.in 1.247
COPYING 1.4
csrch.c 1.34
curses.c 1.38
***************
*** 37,47 ****
display.c 1.476
djhandl.c 1.6
dumbterm.c 1.23
- edef.h 1.339
eightbit.c 1.45
- estruct.h 1.663
- eval.c 1.383
- exec.c 1.314
externs.c 1.11
fences.c 1.86
file.c 1.415
--- 37,47 ----
display.c 1.476
djhandl.c 1.6
dumbterm.c 1.23
+ edef.h 1.341
eightbit.c 1.45
+ estruct.h 1.665
+ eval.c 1.386
+ exec.c 1.325
externs.c 1.11
fences.c 1.86
file.c 1.415
***************
*** 52,97 ****
glob.c 1.93
gppconio.c 1.2
history.c 1.87
- input.c 1.320
insert.c 1.167
INSTALL 1.6
install.sh 1.7
isearch.c 1.60
itbuff.c 1.25
lckfiles.c 1.11
- line.c 1.193
- main.c 1.642
makeargv.c 1.3
makeargv.h 1.3
makefile.blc 1.22
makefile.djg 1.38
makefile.icc 1.17
- makefile.in 1.211
makefile.wnt 1.99
MANIFEST none
map.c 1.112
- menu.c 1.51
mkdirs.sh 1.7
mkprlenv.wnt 1.9
mktbls.c 1.151
modes.c 1.363
- modetbl 1.275
msgs.c 1.29
- npopen.c 1.95
ntconio.c 1.91
ntwinio.c 1.188
nullterm.c 1.5
oneliner.c 1.112
- opers.c 1.93
os2keys.h 1.2
os2pipe.c 1.5
os2vio.c 1.36
- patchlev.h 1.378
path.c 1.162
perl.xs 1.111
plugin.c 1.1
plugin.h 1.1
- proto.h 1.650
pscreen.h 1.2
ptypemap 1.7
random.c 1.319
--- 52,97 ----
glob.c 1.93
gppconio.c 1.2
history.c 1.87
+ input.c 1.321
insert.c 1.167
INSTALL 1.6
install.sh 1.7
isearch.c 1.60
itbuff.c 1.25
lckfiles.c 1.11
+ line.c 1.194
+ main.c 1.647
makeargv.c 1.3
makeargv.h 1.3
makefile.blc 1.22
makefile.djg 1.38
makefile.icc 1.17
+ makefile.in 1.212
makefile.wnt 1.99
MANIFEST none
map.c 1.112
+ menu.c 1.52
mkdirs.sh 1.7
mkprlenv.wnt 1.9
mktbls.c 1.151
modes.c 1.363
+ modetbl 1.276
msgs.c 1.29
+ npopen.c 1.96
ntconio.c 1.91
ntwinio.c 1.188
nullterm.c 1.5
oneliner.c 1.112
+ opers.c 1.97
os2keys.h 1.2
os2pipe.c 1.5
os2vio.c 1.36
+ patchlev.h 1.379
path.c 1.162
perl.xs 1.111
plugin.c 1.1
plugin.h 1.1
+ proto.h 1.657
pscreen.h 1.2
ptypemap 1.7
random.c 1.319
***************
*** 100,125 ****
README.VMS 1.5
regexp.c 1.139
region.c 1.149
- revlist v9_7c
search.c 1.146
- select.c 1.167
sinstall.sh 1.1
- spawn.c 1.195
- statevar.c 1.122
tags.c 1.138
- tbuff.c 1.68
tcap.c 1.177
tcap.h 1.14
termio.c 1.214
test_io.c 1.2
- trace.c 1.80
trace.h 1.31
ucrypt.c 1.15
- undo.c 1.96
version.c 1.66
vile.1 1.37
- vile-9.7.spec 1.5
- vile.hlp 1.655
vile.wmconfig 1.1
vl_alloc.h 1.1
vl_ctype.h 1.15
--- 100,125 ----
README.VMS 1.5
regexp.c 1.139
region.c 1.149
+ revlist v9_7d
search.c 1.146
+ select.c 1.168
sinstall.sh 1.1
+ spawn.c 1.200
+ statevar.c 1.123
tags.c 1.138
+ tbuff.c 1.69
tcap.c 1.177
tcap.h 1.14
termio.c 1.214
test_io.c 1.2
+ trace.c 1.81
trace.h 1.31
ucrypt.c 1.15
+ undo.c 1.99
version.c 1.66
vile.1 1.37
+ vile-9.7.spec 1.6
+ vile.hlp 1.657
vile.wmconfig 1.1
vl_alloc.h 1.1
vl_ctype.h 1.15
***************
*** 159,165 ****
doc/config.doc 1.15
doc/dir.doc 1.3
doc/filters.doc 1.40
- doc/macros.doc 1.107
doc/menus.doc 1.7
doc/modes.doc 1.17
doc/ncu-indent 1.16
--- 159,165 ----
doc/config.doc 1.15
doc/dir.doc 1.3
doc/filters.doc 1.40
+ doc/macros.doc 1.111
doc/menus.doc 1.7
doc/modes.doc 1.17
doc/ncu-indent 1.16
***************
*** 237,250 ****
filters/key-filt.c 1.41
filters/latexflt.l 1.48
filters/latex.key 1.2
- filters/lex-filt.l 1.62
filters/lex.key 1.8
filters/lispfilt.l 1.20
filters/lisp.key 1.2
filters/lua-filt.l 1.8
filters/lua.key 1.2
filters/m4-filt.c 1.30
- filters/m4.key 1.3
filters/mailcap.key 1.3
filters/mailfilt.l 1.22
filters/mail.key 1.3
--- 237,250 ----
filters/key-filt.c 1.41
filters/latexflt.l 1.48
filters/latex.key 1.2
+ filters/lex-filt.l 1.67
filters/lex.key 1.8
filters/lispfilt.l 1.20
filters/lisp.key 1.2
filters/lua-filt.l 1.8
filters/lua.key 1.2
filters/m4-filt.c 1.30
+ filters/m4.key 1.5
filters/mailcap.key 1.3
filters/mailfilt.l 1.22
filters/mail.key 1.3
***************
*** 332,338 ****
filters/vb6.key 1.5
filters/vb.key 1.15
filters/vbs.key 1.4
- filters/vilefilt.l 1.57
filters/vile.key 1.8
filters/vim.key 1.2
filters/vl-filt.l 1.15
--- 332,338 ----
filters/vb6.key 1.5
filters/vb.key 1.15
filters/vbs.key 1.4
+ filters/vilefilt.l 1.59
filters/vile.key 1.8
filters/vim.key 1.2
filters/vl-filt.l 1.15
***************
*** 362,368 ****
macros/gnugpg.rc 1.3
macros/loaderrs.rc 1.2
macros/manpage.rc 1.24
- macros/modes.rc 1.79
macros/palettes.rc 1.8
macros/pictmode.rc 1.4
macros/search.rc 1.3
--- 362,368 ----
macros/gnugpg.rc 1.3
macros/loaderrs.rc 1.2
macros/manpage.rc 1.24
+ macros/modes.rc 1.80
macros/palettes.rc 1.8
macros/pictmode.rc 1.4
macros/search.rc 1.3
diffstat-1.68/testing/case31up9.ref 0000644 0000000 0000000 00000000121 11240121111 015614 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case49p1.ref 0000644 0000000 0000000 00000000117 14714413542 015462 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case45.pat 0000644 0000000 0000000 00000020121 14320570414 015215 0 ustar root root diff '--unified=2' -r ncurses-6.3-20221001/configure ncurses-6.3-20221008/configure
--- ncurses-6.3-20221001/configure 2022-10-01 09:25:01.000000000 -0400
+++ ncurses-6.3-20221008/configure 2022-10-08 12:55:47.000000000 -0400
@@ -1,4 +1,4 @@
#! /bin/sh
-# From configure.in Revision: 1.749 .
+# From configure.in Revision: 1.750 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20210509.
@@ -15410,5 +15410,5 @@
NCURSES_MOUSE_VERSION=2
;;
-(789)
+([789])
NCURSES_MOUSE_VERSION=3
;;
diff '--unified=2' -r ncurses-6.3-20221001/configure.in ncurses-6.3-20221008/configure.in
--- ncurses-6.3-20221001/configure.in 2022-10-01 09:16:18.000000000 -0400
+++ ncurses-6.3-20221008/configure.in 2022-10-08 11:54:35.000000000 -0400
@@ -30,5 +30,5 @@
dnl Author: Thomas E. Dickey 1995-on
dnl
-dnl $Id: configure.in,v 1.749 2022/10/01 13:16:18 tom Exp $
+dnl $Id: configure.in,v 1.750 2022/10/08 15:54:35 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
@@ -39,5 +39,5 @@
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.749 $)
+AC_REVISION($Revision: 1.750 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
@@ -1273,5 +1273,5 @@
NCURSES_MOUSE_VERSION=2
;;
-([789])
+([[789]])
NCURSES_MOUSE_VERSION=3
;;
diff '--unified=2' -r ncurses-6.3-20221001/dist.mk ncurses-6.3-20221008/dist.mk
--- ncurses-6.3-20221001/dist.mk 2022-10-01 09:15:31.000000000 -0400
+++ ncurses-6.3-20221008/dist.mk 2022-10-08 06:25:44.000000000 -0400
@@ -27,5 +27,5 @@
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1505 2022/10/01 13:15:31 tom Exp $
+# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $
# Makefile for creating ncurses distributions.
#
@@ -39,5 +39,5 @@
NCURSES_MAJOR = 6
NCURSES_MINOR = 3
-NCURSES_PATCH = 20221001
+NCURSES_PATCH = 20221008
# We don't append the patch to the version, since this only applies to releases
diff '--unified=2' -r ncurses-6.3-20221001/misc/gen-pkgconfig.in ncurses-6.3-20221008/misc/gen-pkgconfig.in
--- ncurses-6.3-20221001/misc/gen-pkgconfig.in 2022-08-27 15:07:03.000000000 -0400
+++ ncurses-6.3-20221008/misc/gen-pkgconfig.in 2022-10-08 12:45:20.000000000 -0400
@@ -1,4 +1,4 @@
#!@SHELL@
-# $Id: gen-pkgconfig.in,v 1.55 2022/08/27 19:07:03 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.56 2022/10/08 16:45:20 tom Exp $
##############################################################################
# Copyright 2018-2021,2022 Thomas E. Dickey #
@@ -104,5 +104,9 @@
-L*)
lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
- [ -d "$lib_check" ] || continue
+ # on a new/nonstandard install, $libdir may not yet exist at this point
+ if [ "$libdir" != "$lib_check" ]
+ then
+ [ -d "$lib_check" ] || continue
+ fi
case "$lib_check" in
@LD_SEARCHPATH@) # skip standard libdir
diff '--unified=2' -r ncurses-6.3-20221001/NEWS ncurses-6.3-20221008/NEWS
--- ncurses-6.3-20221001/NEWS 2022-10-01 18:20:28.000000000 -0400
+++ ncurses-6.3-20221008/NEWS 2022-10-08 12:50:03.000000000 -0400
@@ -27,5 +27,5 @@
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3862 2022/10/01 22:20:28 tom Exp $
+-- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $
-------------------------------------------------------------------------------
@@ -47,4 +47,11 @@
it is not possible to add this information.
+20221008
+ + correct a switch-statement case in configure script to allow for test
+ builds with ABI=7.
+ + modify misc/gen-pkgconfig.in to allow for the case where the library
+ directory does not yet exist, since this is processed before doing an
+ install (report by Michal Liszcz).
+
20221001
+ modify configure/scripts to work around interference by GNU grep 3.8
diff '--unified=2' -r ncurses-6.3-20221001/package/debian/changelog ncurses-6.3-20221008/package/debian/changelog
--- ncurses-6.3-20221001/package/debian/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,7 +1,7 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
diff '--unified=2' -r ncurses-6.3-20221001/package/debian-mingw/changelog ncurses-6.3-20221008/package/debian-mingw/changelog
--- ncurses-6.3-20221001/package/debian-mingw/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,7 +1,7 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
diff '--unified=2' -r ncurses-6.3-20221001/package/debian-mingw64/changelog ncurses-6.3-20221008/package/debian-mingw64/changelog
--- ncurses-6.3-20221001/package/debian-mingw64/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw64/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1,7 +1,7 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
diff '--unified=2' -r ncurses-6.3-20221001/package/mingw-ncurses.nsi ncurses-6.3-20221008/package/mingw-ncurses.nsi
--- ncurses-6.3-20221001/package/mingw-ncurses.nsi 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.nsi 2022-10-08 06:25:44.000000000 -0400
@@ -1,3 +1,3 @@
-; $Id: mingw-ncurses.nsi,v 1.544 2022/10/01 09:34:57 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $
; TODO add examples
@@ -11,5 +11,5 @@
!define VERSION_MINOR "3"
!define VERSION_YYYY "2022"
-!define VERSION_MMDD "1001"
+!define VERSION_MMDD "1008"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
diff '--unified=2' -r ncurses-6.3-20221001/package/mingw-ncurses.spec ncurses-6.3-20221008/package/mingw-ncurses.spec
--- ncurses-6.3-20221001/package/mingw-ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -4,5 +4,5 @@
Name: mingw32-ncurses6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
diff '--unified=2' -r ncurses-6.3-20221001/package/ncurses.spec ncurses-6.3-20221008/package/ncurses.spec
--- ncurses-6.3-20221001/package/ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -2,5 +2,5 @@
Name: ncurses6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
diff '--unified=2' -r ncurses-6.3-20221001/package/ncursest.spec ncurses-6.3-20221008/package/ncursest.spec
--- ncurses-6.3-20221001/package/ncursest.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncursest.spec 2022-10-08 06:25:44.000000000 -0400
@@ -2,5 +2,5 @@
Name: ncursest6
Version: 6.3
-Release: 20221001
+Release: 20221008
License: X11
Group: Development/Libraries
diff '--unified=2' -r ncurses-6.3-20221001/VERSION ncurses-6.3-20221008/VERSION
--- ncurses-6.3-20221001/VERSION 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/VERSION 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-5:0:10 6.3 20221001
+5:0:10 6.3 20221008
diffstat-1.68/testing/case27R.ref 0000644 0000000 0000000 00000000673 11700545543 015345 0 ustar root root a/Documentation/parport-lowlevel.txt | 29 ++++++++++++++++++++++++++---
a/drivers/cpuidle/governors/menu.c | 2 +-
a/drivers/parport/daisy.c | 29 +++++++++++++++++++++++++++++
a/fs/select.c | 2 +-
a/include/linux/parport.h | 1 +
a/scripts/export_report.pl | 2 +-
b/Makefile | 4 ----
7 files changed, 59 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case17p9.ref 0000644 0000000 0000000 00000000222 10226221641 015451 0 ustar root root sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
sched.h | 11 +++++++++++
user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case41k.ref 0000644 0000000 0000000 00000000261 13777421437 015376 0 ustar root root hello.c | 2 +-
hello.c | 1 +
hello.c | 0
hello.c | 6 ++++++
hello.o |binary
hello.o |binary
hello.o | 0
7 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case27.pat 0000644 0000000 0000000 00000030236 10664272536 015240 0 ustar root root From bunk@kernel.org Fri Aug 24 01:11:51 2007
From: Adrian Bunk
To: Andrew Morton ,
Ram Pai , Sam Ravnborg
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] fix export_report.pl
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 466
Lines: 22
This patch fixes an annoying bug of export_report.pl missing the usages
of some exports.
Signed-off-by: Adrian Bunk
---
This patch has been sent on:
- 14 Aug 2007
--- a/scripts/export_report.pl
+++ b/scripts/export_report.pl
@@ -112,7 +112,7 @@ foreach my $thismod (@allcfiles) {
next;
}
if ($state eq 2) {
- if ( $_ !~ /0x[0-9a-f]{7,8},/ ) {
+ if ( $_ !~ /0x[0-9a-f]+,/ ) {
next;
}
my $sym = (split /([,"])/,)[4];
From bunk@kernel.org Fri Aug 24 01:13:29 2007
From: Adrian Bunk
To: Andrew Morton ,
Ram Pai , Sam Ravnborg
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] call export_report from the Makefile
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 827
Lines: 31
The main feature is that export_report now automatically works
for O= builds.
Signed-off-by: Adrian Bunk
---
This patch has been sent on:
- 14 Aug 2007
--- a/Makefile
+++ b/Makefile
@@ -1153,6 +1153,7 @@ help:
@echo 'Static analysers'
@echo ' checkstack - Generate a list of stack hogs'
@echo ' namespacecheck - Name space analysis on compiled kernel'
+ @echo ' export_report - List the usages of all exported symbols'
@if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
echo ' headers_check - Sanity check on exported headers'; \
fi
@@ -1412,6 +1413,9 @@ versioncheck:
namespacecheck:
$(PERL) $(srctree)/scripts/namespace.pl
+export_report:
+ $(PERL) $(srctree)/scripts/export_report.pl
+
endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)
From bunk@kernel.org Fri Aug 24 04:43:31 2007
From: Adrian Bunk
To: Samuel Thibault ,
Andrew Morton ,
linux-input@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org,
dtor@mail.ru, Jiri Kosina
Subject: Re: [PATCH] Console keyboard events and accessibility
References: <20070821005718.GD3658@interface.famille.thibault.fr> <20070821130233.58faaa8a.akpm@linux-foundation.org> <20070821202251.GB3658@interface.famille.thibault.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20070821202251.GB3658@interface.famille.thibault.fr>
X-Mutt-References: <20070821202251.GB3658@interface.famille.thibault.fr>
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 2121
Lines: 57
On Tue, Aug 21, 2007 at 10:22:51PM +0200, Samuel Thibault wrote:
> Hi,
>
> Andrew Morton, le Tue 21 Aug 2007 13:02:33 -0700, a écrit :
> > On Tue, 21 Aug 2007 02:57:18 +0200
> > Samuel Thibault wrote:
> >
> > > Some external modules like Speakup need to use the PC keyboard to control
> > > them and also need to get keyboard feedback (caps lock status, etc.)
> > >
> > > This adds a keyboard notifier that such modules can use to get the keyboard
> > > events and possibly eat them, at several stages:
> >
> > Adding hooks for non-merged modules is considered sinful. Making these new
> > exports EXPORT_SYMBOL_GPL might ease the pain.
>
> That should be fine.
>
> I'll soon propose a notifier for the console writes too, same story.
>
> > Is there any prospect of getting at least one of these "external modules
> > like Speakup" merged into mainline?
>
> I'm working on it. The problem is that the current code quality is
> still far from mainline requirements (though improving over time). This
> hook (and the other one I'll post) is a step toward merging. If these
> hooks can go mainline, then great, that will make life easier for the
> few distributions that want to provide speakup as modules.
How long does it take you for getting the first users submitted for
review? If you are working on it it should be in the order of "a few
months", and earlier merging would anyway gain you only one or two
kernel releases.
> If they
> remain in -mm for some time and people don't complain, well that's good
> too: at least we know how speakup may hook into the kernel when it gets
> merged.
>...
Without any users it's dead code noone uses, and complaints will most
likely not occur until you submit the first users for review...
> Samuel
cu
Adrian
BTW: Are these the speakup patches that were in -ac five years ago?
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
From bunk@kernel.org Fri Aug 24 04:50:47 2007
From: Adrian Bunk
To: Andrew Morton ,
Adam Belay ,
Venkatesh Pallipadi ,
Shaohua Li
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: [-mm patch] make "struct menu_governor" static (again)
References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 740
Lines: 29
On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc2-mm2:
>...
> git-acpi.patch
>...
> git trees
>...
"struct menu_governor" needlessly again became global.
Signed-off-by: Adrian Bunk
---
cb33b296204127cf50df54b84b2d79e152fb924b
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index f5a8865..8d3fdc5 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -117,7 +117,7 @@ static int menu_enable_device(struct cpuidle_device *dev)
return 0;
}
-struct cpuidle_governor menu_governor = {
+static struct cpuidle_governor menu_governor = {
.name = "menu",
.rating = 20,
.enable = menu_enable_device,
From bunk@kernel.org Fri Aug 24 05:01:58 2007
From: Adrian Bunk
To: Andrew Morton ,
"Eric W. Biederman"
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] remove parport_device_num()
References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 3917
Lines: 135
On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc2-mm2:
>...
> +sysctl-parport-remove-binary-paths.patch
>...
> More sysctl work
>...
parport_device_num() is no longer used.
Signed-off-by: Adrian Bunk
---
Documentation/parport-lowlevel.txt | 29 +++--------------------------
drivers/parport/daisy.c | 29 -----------------------------
include/linux/parport.h | 1 -
3 files changed, 3 insertions(+), 56 deletions(-)
0066510df2b5d4972cfd6a4450af8b82c763adfd
diff --git a/Documentation/parport-lowlevel.txt b/Documentation/parport-lowlevel.txt
index 8f23024..265fcdc 100644
--- a/Documentation/parport-lowlevel.txt
+++ b/Documentation/parport-lowlevel.txt
@@ -25,7 +25,6 @@ Global functions:
parport_open
parport_close
parport_device_id
- parport_device_num
parport_device_coords
parport_find_class
parport_find_device
@@ -735,7 +734,7 @@ NULL is returned.
SEE ALSO
-parport_register_device, parport_device_num
+parport_register_device
parport_close - unregister device for particular device number
-------------
@@ -787,29 +786,7 @@ Many devices have ill-formed IEEE 1284 Device IDs.
SEE ALSO
-parport_find_class, parport_find_device, parport_device_num
-
-parport_device_num - convert device coordinates to device number
-------------------
-
-SYNOPSIS
-
-#include
-
-int parport_device_num (int parport, int mux, int daisy);
-
-DESCRIPTION
-
-Convert between device coordinates (port, multiplexor, daisy chain
-address) and device number (zero-based).
-
-RETURN VALUE
-
-Device number, or -1 if no device at given coordinates.
-
-SEE ALSO
-
-parport_device_coords, parport_open, parport_device_id
+parport_find_class, parport_find_device
parport_device_coords - convert device number to device coordinates
------------------
@@ -833,7 +810,7 @@ Zero on success, in which case the coordinates are (*parport, *mux,
SEE ALSO
-parport_device_num, parport_open, parport_device_id
+parport_open, parport_device_id
parport_find_class - find a device by its class
------------------
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c
index ff9f344..5bbff20 100644
--- a/drivers/parport/daisy.c
+++ b/drivers/parport/daisy.c
@@ -275,35 +275,6 @@ void parport_close(struct pardevice *dev)
parport_unregister_device(dev);
}
-/**
- * parport_device_num - convert device coordinates
- * @parport: parallel port number
- * @mux: multiplexor port number (-1 for no multiplexor)
- * @daisy: daisy chain address (-1 for no daisy chain address)
- *
- * This tries to locate a device on the given parallel port,
- * multiplexor port and daisy chain address, and returns its
- * device number or %-ENXIO if no device with those coordinates
- * exists.
- **/
-
-int parport_device_num(int parport, int mux, int daisy)
-{
- int res = -ENXIO;
- struct daisydev *dev;
-
- spin_lock(&topology_lock);
- dev = topology;
- while (dev && dev->port->portnum != parport &&
- dev->port->muxport != mux && dev->daisy != daisy)
- dev = dev->next;
- if (dev)
- res = dev->devnum;
- spin_unlock(&topology_lock);
-
- return res;
-}
-
/* Send a daisy-chain-style CPP command packet. */
static int cpp_daisy(struct parport *port, int cmd)
{
diff --git a/include/linux/parport.h b/include/linux/parport.h
index 9cdd694..ec3f765 100644
--- a/include/linux/parport.h
+++ b/include/linux/parport.h
@@ -510,7 +510,6 @@ extern struct pardevice *parport_open (int devnum, const char *name,
int flags, void *handle);
extern void parport_close (struct pardevice *dev);
extern ssize_t parport_device_id (int devnum, char *buffer, size_t len);
-extern int parport_device_num (int parport, int mux, int daisy);
extern void parport_daisy_deselect_all (struct parport *port);
extern int parport_daisy_select (struct parport *port, int daisy, int mode);
From bunk@kernel.org Fri Aug 24 05:07:37 2007
From: Adrian Bunk
To: Andrew Morton ,
Chris Wright
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] make do_restart_poll() static
References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-References: <20070822020648.5ea3a612.akpm@linux-foundation.org>
X-Mutt-Fcc: =sent-mail
Status: RO
Content-Length: 728
Lines: 29
On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc2-mm2:
>...
> +use-erestart_restartblock-if-poll-is-interrupted-by-a-signal.patch
>...
> The infamous misc
>...
do_restart_poll() can become static.
Signed-off-by: Adrian Bunk
---
59cd2d11f5f0189973bb280c59262eb50984cb88
diff --git a/fs/select.c b/fs/select.c
index 5a3ab01..3e515aa 100644
--- a/fs/select.c
+++ b/fs/select.c
@@ -711,7 +711,7 @@ out_fds:
return err;
}
-long do_restart_poll(struct restart_block *restart_block)
+static long do_restart_poll(struct restart_block *restart_block)
{
struct pollfd __user *ufds = (struct pollfd __user*)restart_block->arg0;
int nfds = restart_block->arg1;
diffstat-1.68/testing/case08Rp0.ref 0000644 0000000 0000000 00000000502 11700545535 015574 0 ustar root root Imakefile | 15 ---------------
Tekproc.c | 7 -------
charproc.c | 22 ----------------------
data.c | 4 ----
main.c | 20 ++------!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ------
scrollbar.c | 2 !!
8 files changed, 2 insertions(+), 60 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case10r1.ref 0000644 0000000 0000000 00000000352 10277702416 015452 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
xc/programs/Xserver/Xi/allowev.c | 6 !!
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case45p9.ref 0000644 0000000 0000000 00000000640 14320603177 015465 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
changelog | 12 ++++++------
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
gen-pkgconfig.in | 8 ++++++--
mingw-ncurses.nsi | 4 ++--
mingw-ncurses.spec | 2 +-
ncurses.spec | 2 +-
ncursest.spec | 2 +-
11 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case34u.ref 0000644 0000000 0000000 00000000144 11762443774 015412 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case19u.ref 0000644 0000000 0000000 00000000114 10300164552 015367 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case14.ref 0000644 0000000 0000000 00000000064 10300164551 015200 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case32f0.ref 0000644 0000000 0000000 00000000115 11246713507 015436 0 ustar root root README | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case15Rp0.ref 0000644 0000000 0000000 00000001344 11700545537 015601 0 ustar root root nvi-1.79.orig/build/Makefile.in | 38 +++++++--------
nvi-1.79.orig/build/recover | 49 --------------------
nvi-1.79.orig/debian/README.debian | 14 -----
nvi-1.79.orig/debian/changelog | 53 ----------------------
nvi-1.79.orig/debian/conffiles | 1
nvi-1.79.orig/debian/control | 19 -------
nvi-1.79.orig/debian/copyright | 40 ----------------
nvi-1.79.orig/debian/postinst | 21 --------
nvi-1.79.orig/debian/prerm | 11 ----
nvi-1.79.orig/debian/rc.boot | 58 ------------------------
nvi-1.79.orig/debian/rules | 89 -------------------------------------
nvi-1.79.orig/debian/substvars | 1
12 files changed, 19 insertions(+), 375 deletions(-)
diffstat-1.68/testing/case15k.ref 0000644 0000000 0000000 00000001173 07530543210 015362 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1
debian/control | 19 ++++++++++
debian/copyright | 40 ++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case08k.ref 0000644 0000000 0000000 00000000502 07530543207 015365 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case02p1.ref 0000644 0000000 0000000 00000000410 07073762770 015455 0 ustar root root bug-report | 2
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 +++++++++++++++++++++++++++++++++++++!!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case10k.ref 0000644 0000000 0000000 00000000465 07530543207 015366 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
XIstubs.h | 0
xc/programs/Xserver/Xi/allowev.c | 6 !
3 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case31ur2.ref 0000644 0000000 0000000 00000000121 11240121111 015607 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case11r1.ref 0000644 0000000 0000000 00000000064 10300164551 015440 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case46r2.ref 0000644 0000000 0000000 00000001216 14320603177 015461 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case31up1.ref 0000644 0000000 0000000 00000000167 11240121111 015616 0 ustar root root /depot/vendor/freebsd/src/sys/dev/usb/usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case34.pat 0000644 0000000 0000000 00000000773 11762261410 015226 0 ustar root root Index: ergh eek arf/quux bar baz
===================================================================
--- ergh eek arf/quux bar baz (.../branch1) (revision 4)
+++ ergh eek arf/quux bar baz (.../branch2) (revision 4)
@@ -1 +1 @@
-foo goo
+foo bar
Index: ergh eek arf/quux bar baz2
===================================================================
--- ergh eek arf/quux bar baz2 (.../branch1) (revision 4)
+++ ergh eek arf/quux bar baz2 (.../branch2) (revision 4)
@@ -1 +1 @@
-foo goo
+foo bar
diffstat-1.68/testing/case42Rp0.ref 0000644 0000000 0000000 00000000462 14320561540 015572 0 ustar root root testing/case39k.ref | 1 -
testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 deletion(-)
diffstat-1.68/testing/case38rp9.ref 0000644 0000000 0000000 00000000456 12546615551 015665 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case23b.ref 0000644 0000000 0000000 00000000234 10667374026 015361 0 ustar root root README | 1
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case23f0.ref 0000644 0000000 0000000 00000000174 07753454053 015451 0 ustar root root README | 1 0 + 1 - 0 !
gkrellm-bfm.c | 99 77 + 22 - 0 !
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case19R.ref 0000644 0000000 0000000 00000000114 11700545540 015331 0 ustar root root data.old | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diffstat-1.68/testing/case02r2.ref 0000644 0000000 0000000 00000000412 10277702415 015450 0 ustar root root bug-report | 2 !
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 ++++++++++++++++++++++++++++++++++++++!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case01f0.ref 0000644 0000000 0000000 00000004455 07530543241 015442 0 ustar root root config/cf/Imake.cf | 7 7 + 0 - 0 !
config/cf/hp.cf | 7 7 + 0 - 0 !
config/cf/hpLib.rules | 2 2 + 0 - 0 !
config/imake/imakemdep.h | 13 13 + 0 - 0 !
config/makedepend/main.c | 2 1 + 1 - 0 !
include/Xos.h | 7 6 + 1 - 0 !
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 1 + 1 - 0 !
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 1 + 1 - 0 !
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 1 + 1 - 0 !
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 1 + 1 - 0 !
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 3 + 3 - 0 !
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 2 + 2 - 0 !
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 2 + 2 - 0 !
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 3 + 3 - 0 !
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 2 + 2 - 0 !
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 1 + 1 - 0 !
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 1 + 1 - 0 !
test/xsuite/xtest/src/bin/mc/files.c | 2 1 + 1 - 0 !
util/patch/malloc.c | 12 5 + 7 - 0 !
util/patch/pch.c | 2 1 + 1 - 0 !
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case32Rp0.ref 0000644 0000000 0000000 00000000105 11700545545 015571 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case28Rp0.ref 0000644 0000000 0000000 00000000204 11700545543 015574 0 ustar root root ./testing/case28.pat | 70 +++++++++++++++++++++++++--------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case29b.ref 0000644 0000000 0000000 00000000204 11163734345 015360 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case39R.ref 0000644 0000000 0000000 00000000156 13777406456 015363 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case44.ref 0000644 0000000 0000000 00000001216 14320603177 015213 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case01p1.ref 0000644 0000000 0000000 00000005561 07073762770 015470 0 ustar root root build/x11r6/XFree86-current/xc/config/cf/Imake.cf | 7 +++++
build/x11r6/XFree86-current/xc/config/cf/hp.cf | 7 +++++
build/x11r6/XFree86-current/xc/config/cf/hpLib.rules | 2 +
build/x11r6/XFree86-current/xc/config/imake/imakemdep.h | 13 ++++++++++
build/x11r6/XFree86-current/xc/config/makedepend/main.c | 2 -
build/x11r6/XFree86-current/xc/include/Xos.h | 7 ++++-
build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
build/x11r6/XFree86-current/xc/test/xsuite/xtest/src/bin/mc/files.c | 2 -
build/x11r6/XFree86-current/xc/util/patch/malloc.c | 12 +++------
build/x11r6/XFree86-current/xc/util/patch/pch.c | 2 -
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case47u.ref 0000644 0000000 0000000 00000000622 14377643723 015420 0 ustar root root package/debian/cdialog-dev.install | 11 +++--
package/debian/cdialog.install | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
headers-sh.in | 57 ++++++++++++++++++++++++++++---
samples/inputbox6-utf8 | 4 +-
po/makefile.inn | 14 +++----
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case16.pat 0000644 0000000 0000000 00000206666 07270664574 015260 0 ustar root root
PDCurses 2.5
(Public Domain Curses for DOS, OS/2, X11 and Win32)
INTRODUCTION:
This release of PDCurses includes the following changes:
- full support of X11 selection handling
- removed the need for the cursos2.h file
- enabled the "shifted" key on the numeric keypad
- added native clipboard support for X11, Win32 and OS/2
- added extra functions for obtaining internal PDCUrses status
- added clipboard and key modifier tests in testcurs.c
- fixes for panel library
- key modifiers pressed by themselves are now returned as keys
- Added X11 shared library support
- Added extra slk formats supported by ncurses
- Fixed bug with resizing the terminal when slk were on.
- Changed behaviour of slk_attrset(), slk_attron() alk_attroff()
functions to work more like ncurses.
BUGS FIXED:
some minor bug and portability fixes were included in this release
NEW FUNCTIONS:
PDC_getclipboard() and PDC_setclipboard() for accessing the native
clipboard.
PDC_set_title() for setting the title of the window (X11 and Win32 only)
PDC_get_input_fd() for getting the file handle of the PDCurses input
PDC_get_key_modifiers() for getting the keyboard modifier settings at the
time of the last (w)getch()
initscrX() (only for X11 port) which allows standard X11 switches to
be passed to the application
NEW COMPILER SUPPORT:
- MingW32 GNU compiler under Win95/NT
- Cygnus Win32 GNU compiler under Win95/NT
- Borland C++ for OS/2 1.0+
- lcc-win32 compiler under Win95/NT
Makefiles for each platform/compiler option reside in the platform
directory. These all have an extension of .mak.
ACKNOWLEGEMENTS: (for this release)
Georg Fuchs for various changes.
Juan David Palomar for pointing out getnstr() was not implemented.
William McBrine for fix to allow black/black as valid color pair.
Peter Preus for pointing out the missing bccos2.mak file.
Laura Michaels for a couple of bug fixes and changes required to support
Mingw32 compiler.
Frank Heckenbach for PDC_get_input_fd() and some portability fixes and
the fixes for panel library.
Matthias Burian for the lcc-win32 compiler support.
Cheers, Mark
------------------------------------------------------------------------
Mark Hessling Email: M.Hessling@qut.edu.au
PO Box 203 http://www.lightlink.com/hessling/
Bellara AUTHOR of | MAINTAINER of
QLD 4507 THE | PDCurses
Australia Rexx/SQL | Regina
Member of RexxLA: http://www.rexxla.org/
------------------------------------------------------------------------
Module: PDCurses
Detailed differences between 2_4 and Latest
--------------------------------------------------------------------------------
Index: PDCurses/Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.3
diff -b -w -r1.1 -r1.3
7,8c7,8
< VER=24
< VER_DOT=2.4
---
> VER=25
> VER_DOT=2.5
18,19c18
< INSTALL =@INSTALL@
< INSTALL_DATA =@INSTALL_DATA@
---
> INSTALL =$(srcdir)/install-sh
20a20,22
> RXLIBPRE = @RXLIBPRE@
> RXLIBPST = @RXLIBPST@
> SHLFILE = XCurses
35,42c37,46
< $(INSTALL_DATA) $(srcdir)/curses.h $(includedir)/xcurses.h
< sed -e 's/#include /#include/' < panel.h > xpanel.h
< $(INSTALL_DATA) $(srcdir)/xpanel.h $(includedir)/panel.h
< $(INSTALL_DATA) pdcurses/libXCurses.a $(libdir)/libXCurses.a
< $(INSTALL_DATA) pdcurses/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST) $(libdir)/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST)
< $(RANLIB) $(libdir)/libXCurses.a
< $(INSTALL_DATA) panel/libpanel.a $(libdir)/libpanel.a
< $(RANLIB) $(libdir)/libpanel.a
---
> $(INSTALL) -d -m 755 $(libdir)
> $(INSTALL) -d -m 755 $(includedir)
> $(INSTALL) -c -m 644 $(srcdir)/curses.h $(includedir)/xcurses.h
> sed -e 's/#include /#include /' < $(srcdir)/panel.h > ./xpanel.h
> $(INSTALL) -m 644 ./xpanel.h $(includedir)/xpanel.h
> $(INSTALL) -c -m 644 pdcurses/libXCurses.a $(libdir)/libXCurses.a
> -$(RANLIB) $(libdir)/libXCurses.a
> $(INSTALL) -c -m 555 pdcurses/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST) $(libdir)/$(RXLIBPRE)$(SHLFILE)$(RXLIBPST)
> $(INSTALL) -c -m 644 panel/libpanel.a $(libdir)/libpanel.a
> -$(RANLIB) $(libdir)/libpanel.a
57c61
< curses.h xcurses.h curspriv.h panel.h x11.h maintain.er readme.* makezip.cmd \
---
> curses.h xcurses.h curspriv.h panel.h maintain.er readme.* makezip.cmd \
63c67,68
< x11/README x11/*.c x11/*.xbm x11/*.def x11/*.h \
---
> x11/README x11/*.c x11/*.xbm x11/*.def x11/*.h x11/process/*.c x11/*.exp \
> x11/process/*.c x11/process/*.h x11/thread/*.c x11/thread/*.h \
66c71
< pdcurses/Makefile.in demos/Makefile.in panel/Makefile.in tools/Makefile.in
---
> pdcurses/Makefile.in pdcurses/Makefile.aix.in demos/Makefile.in panel/Makefile.in tools/Makefile.in
69c74
< (cd ..; tar cvf - $(PDC_DIR)/README $(PDC_DIR)/INSTALL $(PDC_DIR)/README $(PDC_DIR)/Makefile.in \
---
> (cd ..; tar cvf - $(PDC_DIR)/README $(PDC_DIR)/INSTALL $(PDC_DIR)/TODO $(PDC_DIR)/Makefile.in \
71c76
< $(PDC_DIR)/config.sub $(PDC_DIR)/install-sh $(PDC_DIR)/curses.h $(PDC_DIR)/xcurses.h \
---
> $(PDC_DIR)/config.sub $(PDC_DIR)/configure.in $(PDC_DIR)/install-sh $(PDC_DIR)/curses.h $(PDC_DIR)/xcurses.h \
73c78
< $(PDC_DIR)/x11.h $(PDC_DIR)/maintain.er $(PDC_DIR)/readme.* $(PDC_DIR)/makezip.cmd \
---
> $(PDC_DIR)/maintain.er $(PDC_DIR)/readme.* $(PDC_DIR)/makezip.cmd \
75c80
< $(PDC_DIR)/panel/README $(PDC_DIR)/panel/*.c \
---
> $(PDC_DIR)/panel/README $(PDC_DIR)/panel/*.c $(PDC_DIR)/*.spec \
79c84,85
< $(PDC_DIR)/x11/README $(PDC_DIR)/x11/*.c $(PDC_DIR)/x11/*.xbm $(PDC_DIR)/x11/*.def $(PDC_DIR)/x11/*.h \
---
> $(PDC_DIR)/x11/README $(PDC_DIR)/x11/*.c $(PDC_DIR)/x11/*.xbm $(PDC_DIR)/x11/*.def $(PDC_DIR)/x11/*.h $(PDC_DIR)/x11/*.exp \
> $(PDC_DIR)/x11/process/*.c $(PDC_DIR)/x11/process/*.h $(PDC_DIR)/x11/thread/*.c $(PDC_DIR)/x11/thread/*.h \
82c88
< $(PDC_DIR)/pdcurses/Makefile.in $(PDC_DIR)/demos/Makefile.in $(PDC_DIR)/tools/Makefile.in \
---
> $(PDC_DIR)/pdcurses/Makefile.in $(PDC_DIR)/pdcurses/Makefile.aix.in $(PDC_DIR)/demos/Makefile.in $(PDC_DIR)/tools/Makefile.in \
86c92
< (cd ..; tar cvf - $(PDC_DIR)/README $(PDC_DIR)/INSTALL $(PDC_DIR)/README $(PDC_DIR)/Makefile.in \
---
> (cd ..; tar cvf - $(PDC_DIR)/README $(PDC_DIR)/INSTALL $(PDC_DIR)/TODO $(PDC_DIR)/Makefile.in \
88c94
< $(PDC_DIR)/config.sub $(PDC_DIR)/install-sh $(PDC_DIR)/curses.h $(PDC_DIR)/xcurses.h \
---
> $(PDC_DIR)/config.sub $(PDC_DIR)/configure.in $(PDC_DIR)/install-sh $(PDC_DIR)/curses.h $(PDC_DIR)/xcurses.h \
90c96
< $(PDC_DIR)/x11.h $(PDC_DIR)/maintain.er $(PDC_DIR)/readme.* $(PDC_DIR)/makezip.cmd \
---
> $(PDC_DIR)/maintain.er $(PDC_DIR)/readme.* $(PDC_DIR)/makezip.cmd \
92c98
< $(PDC_DIR)/panel/README $(PDC_DIR)/panel/*.c \
---
> $(PDC_DIR)/panel/README $(PDC_DIR)/panel/*.c $(PDC_DIR)/*.spec \
96c102,103
< $(PDC_DIR)/x11/README $(PDC_DIR)/x11/*.c $(PDC_DIR)/x11/*.xbm $(PDC_DIR)/x11/*.def $(PDC_DIR)/x11/*.h \
---
> $(PDC_DIR)/x11/README $(PDC_DIR)/x11/*.c $(PDC_DIR)/x11/*.xbm $(PDC_DIR)/x11/*.def $(PDC_DIR)/x11/*.h $(PDC_DIR)/x11/*.exp \
> $(PDC_DIR)/x11/process/*.c $(PDC_DIR)/x11/process/*.h $(PDC_DIR)/x11/thread/*.c $(PDC_DIR)/x11/thread/*.h \
99c106
< $(PDC_DIR)/pdcurses/Makefile.in $(PDC_DIR)/demos/Makefile.in $(PDC_DIR)/tools/Makefile.in \
---
> $(PDC_DIR)/pdcurses/Makefile.in $(PDC_DIR)/pdcurses/Makefile.aix.in $(PDC_DIR)/demos/Makefile.in $(PDC_DIR)/tools/Makefile.in \
Index: PDCurses/README
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
21,22c21,23
< PDCurses has been ported to DOS, OS/2, X11, WIN32 and Flexos. A
< directory containing the port-specific source files exists for each
---
> PDCurses has been ported to DOS, OS/2, X11, WIN32 and Amiga. A port
> to Flexos is also included, but likely to be out of date.
> A directory containing the port-specific source files exists for each
Index: PDCurses/aclocal.m4
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/aclocal.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
329c329,334
< LD_RXLIB1="${CC} -Wl,-shared"
---
> LD_RXLIB1="${CC} -shared"
> RXLIBPRE="lib"
> RXLIBPST=".so"
> ;;
> *nto-qnx*)
> LD_RXLIB1="${CC} -shared"
Index: PDCurses/config.h.in
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/config.h.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
127a128,133
> /* Define if you want to build XCurses with threads */
> #undef USE_THREADS
>
> /* Define if you want to build XCurses with processes */
> #undef USE_PROCESSES
>
Index: PDCurses/configure
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/configure,v
retrieving revision 1.1
retrieving revision 1.4
diff -b -w -r1.1 -r1.4
4c4
< # Generated automatically using autoconf version 2.12
---
> # Generated automatically using autoconf version 2.13
18a19,20
> --with-threads build XCurses with threads"
> ac_help="$ac_help
59a62
> SHELL=${CONFIG_SHELL-/bin/sh}
343c346
< echo "configure generated by autoconf version 2.12"
---
> echo "configure generated by autoconf version 2.13"
513c516
< ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
---
> ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
515a519,520
> ac_exeext=
> ac_objext=o
537c542
< echo "configure:538: checking for one of the following C compilers: $all_words" >&5
---
> echo "configure:543: checking for one of the following C compilers: $all_words" >&5
576c581
< echo "configure:577: checking for $ac_word" >&5
---
> echo "configure:582: checking for $ac_word" >&5
583,584c588,590
< IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
< for ac_dir in $PATH; do
---
> IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
> ac_dummy="$PATH"
> for ac_dir in $ac_dummy; do
605c611
< echo "configure:606: checking for $ac_word" >&5
---
> echo "configure:612: checking for $ac_word" >&5
612c618
< IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
---
> IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
614c620,621
< for ac_dir in $PATH; do
---
> ac_dummy="$PATH"
> for ac_dir in $ac_dummy; do
648a656,689
> if test -z "$CC"; then
> case "`uname -s`" in
> *win32* | *WIN32*)
> # Extract the first word of "cl", so it can be a program name with args.
> set dummy cl; ac_word=$2
> echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
> echo "configure:663: checking for $ac_word" >&5
> if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
> echo $ac_n "(cached) $ac_c" 1>&6
> else
> if test -n "$CC"; then
> ac_cv_prog_CC="$CC" # Let the user override the test.
> else
> IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
> ac_dummy="$PATH"
> for ac_dir in $ac_dummy; do
> test -z "$ac_dir" && ac_dir=.
> if test -f $ac_dir/$ac_word; then
> ac_cv_prog_CC="cl"
> break
> fi
> done
> IFS="$ac_save_ifs"
> fi
> fi
> CC="$ac_cv_prog_CC"
> if test -n "$CC"; then
> echo "$ac_t""$CC" 1>&6
> else
> echo "$ac_t""no" 1>&6
> fi
> ;;
> esac
> fi
653c694
< echo "configure:654: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
---
> echo "configure:695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
659c700
< ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
---
> ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
663c704,705
< #line 664 "configure"
---
>
> #line 706 "configure"
664a707
>
667c710
< if { (eval echo configure:668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
680a724,729
> ac_ext=c
> # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
> ac_cpp='$CPP $CPPFLAGS'
> ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
> ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
> cross_compiling=$ac_cv_prog_cc_cross
687c736
< echo "configure:688: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
---
> echo "configure:737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
692c741
< echo "configure:693: checking whether we are using GNU C" >&5
---
> echo "configure:742: checking whether we are using GNU C" >&5
701c750
< if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
---
> if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
711a761,764
> else
> GCC=
> fi
>
716c769
< echo "configure:717: checking whether ${CC-cc} accepts -g" >&5
---
> echo "configure:770: checking whether ${CC-cc} accepts -g" >&5
733a787
> if test "$GCC" = yes; then
736c790
< CFLAGS="-O2"
---
> CFLAGS="-g"
739,740c793,797
< GCC=
< test "${CFLAGS+set}" = set || CFLAGS="-g"
---
> if test "$GCC" = yes; then
> CFLAGS="-O2"
> else
> CFLAGS=
> fi
744c801
< echo "configure:745: checking for POSIXized ISC" >&5
---
> echo "configure:802: checking for POSIXized ISC" >&5
808c865
< if $ac_config_sub sun4 >/dev/null 2>&1; then :
---
> if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
813c870
< echo "configure:814: checking host system type" >&5
---
> echo "configure:871: checking host system type" >&5
820c877
< if host_alias=`$ac_config_guess`; then :
---
> if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
827c884
< host=`$ac_config_sub $host_alias`
---
> host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
834c891
< echo "configure:835: checking target system type" >&5
---
> echo "configure:892: checking target system type" >&5
845c902
< target=`$ac_config_sub $target_alias`
---
> target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
852c909
< echo "configure:853: checking build system type" >&5
---
> echo "configure:910: checking build system type" >&5
863c920
< build=`$ac_config_sub $build_alias`
---
> build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
874a932
> mymakefile="Makefile"
881a940
> mymakefile="Makefile.aix"
894a954,955
> *nto-qnx*)
> ;;
907c968
< echo "configure:908: checking for maximum signal specifier:" >&5
---
> echo "configure:969: checking for maximum signal specifier:" >&5
914c975
< #line 915 "configure"
---
> #line 976 "configure"
921c982
< if { (eval echo configure:922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
953c1014
< echo "configure:954: checking for main in -l$mh_lib" >&5
---
> echo "configure:1015: checking for main in -l$mh_lib" >&5
961c1022
< #line 962 "configure"
---
> #line 1023 "configure"
968c1029
< if { (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1002c1063
< echo "configure:1003: checking for $ac_word" >&5
---
> echo "configure:1064: checking for $ac_word" >&5
1009,1010c1070,1072
< IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
< for ac_dir in $PATH; do
---
> IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
> ac_dummy="$PATH"
> for ac_dir in $ac_dummy; do
1034a1097
> # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1039c1102
< echo "configure:1040: checking for a BSD compatible install" >&5
---
> echo "configure:1103: checking for a BSD compatible install" >&5
1044c1107
< IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
---
> IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1051c1114,1116
< for ac_prog in ginstall installbsd scoinst install; do
---
> # Don't use installbsd from OSF since it installs stuff as root
> # by default.
> for ac_prog in ginstall scoinst install; do
1056d1120
< # OSF/1 installbsd also uses dspmsg, but is usable.
1085a1150,1151
> test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
>
1089c1155
< echo "configure:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5
---
> echo "configure:1156: checking whether ${MAKE-make} sets \${MAKE}" >&5
1117c1183
< echo "configure:1118: checking how to run the C preprocessor" >&5
---
> echo "configure:1184: checking how to run the C preprocessor" >&5
1132c1198
< #line 1133 "configure"
---
> #line 1199 "configure"
1138,1139c1204,1205
< { (eval echo configure:1139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:1205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1149c1215
< #line 1150 "configure"
---
> #line 1216 "configure"
1155,1156c1221,1239
< { (eval echo configure:1156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
> if test -z "$ac_err"; then
> :
> else
> echo "$ac_err" >&5
> echo "configure: failed program was:" >&5
> cat conftest.$ac_ext >&5
> rm -rf conftest*
> CPP="${CC-cc} -nologo -E"
> cat > conftest.$ac_ext < #line 1233 "configure"
> #include "confdefs.h"
> #include
> Syntax Error
> EOF
> ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
> { (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1168a1252,1253
> fi
> rm -f conftest*
1179c1264
< echo "configure:1180: checking for System V IPC support" >&5
---
> echo "configure:1265: checking for System V IPC support" >&5
1182c1267
< echo "configure:1183: checking for sys/ipc.h" >&5
---
> echo "configure:1268: checking for sys/ipc.h" >&5
1187c1272
< #line 1188 "configure"
---
> #line 1273 "configure"
1192,1193c1277,1278
< { (eval echo configure:1193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:1278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1220c1305
< echo "configure:1221: checking for ANSI C header files" >&5
---
> echo "configure:1306: checking for ANSI C header files" >&5
1225c1310
< #line 1226 "configure"
---
> #line 1311 "configure"
1233,1234c1318,1319
< { (eval echo configure:1234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:1319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1250c1335
< #line 1251 "configure"
---
> #line 1336 "configure"
1268c1353
< #line 1269 "configure"
---
> #line 1354 "configure"
1289c1374
< #line 1290 "configure"
---
> #line 1375 "configure"
1300c1385
< if { (eval echo configure:1301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
---
> if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1339c1424
< echo "configure:1340: checking for $ac_hdr" >&5
---
> echo "configure:1425: checking for $ac_hdr" >&5
1344c1429
< #line 1345 "configure"
---
> #line 1430 "configure"
1349,1350c1434,1435
< { (eval echo configure:1350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1377c1462
< echo "configure:1378: checking if compiler supports ANSI prototypes" >&5
---
> echo "configure:1463: checking if compiler supports ANSI prototypes" >&5
1380c1465
< #line 1381 "configure"
---
> #line 1466 "configure"
1387c1472
< if { (eval echo configure:1388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1405c1490
< echo "configure:1406: checking for working const" >&5
---
> echo "configure:1491: checking for working const" >&5
1410c1495
< #line 1411 "configure"
---
> #line 1496 "configure"
1459c1544
< if { (eval echo configure:1460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1480c1565
< echo "configure:1481: checking for size_t" >&5
---
> echo "configure:1566: checking for size_t" >&5
1485c1570
< #line 1486 "configure"
---
> #line 1571 "configure"
1494c1579
< egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
---
> egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1513c1598
< echo "configure:1514: checking whether time.h and sys/time.h may both be included" >&5
---
> echo "configure:1599: checking whether time.h and sys/time.h may both be included" >&5
1518c1603
< #line 1519 "configure"
---
> #line 1604 "configure"
1527c1612
< if { (eval echo configure:1528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1548c1633
< echo "configure:1549: checking whether struct tm is in sys/time.h or time.h" >&5
---
> echo "configure:1634: checking whether struct tm is in sys/time.h or time.h" >&5
1553c1638
< #line 1554 "configure"
---
> #line 1639 "configure"
1561c1646
< if { (eval echo configure:1562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1586c1671
< echo "configure:1587: checking for main in -l$mh_lib" >&5
---
> echo "configure:1672: checking for main in -l$mh_lib" >&5
1594c1679
< #line 1595 "configure"
---
> #line 1680 "configure"
1601c1686
< if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1633c1718
< echo "configure:1634: checking whether $CC understand -c and -o together" >&5
---
> echo "configure:1719: checking whether $CC understand -c and -o together" >&5
1644c1729
< if { (eval echo configure:__oline__: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && test -f conftest.ooo && { (eval echo configure:1645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
---
> if { (eval echo configure:__oline__: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && test -f conftest.ooo && { (eval echo configure:1730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1647c1732
< if { (eval echo configure:__oline__: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && test -f conftest.ooo && { (eval echo configure:1648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
---
> if { (eval echo configure:__oline__: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && test -f conftest.ooo && { (eval echo configure:1733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1672c1757
< echo "configure:1673: checking whether ${CC-cc} needs -traditional" >&5
---
> echo "configure:1758: checking whether ${CC-cc} needs -traditional" >&5
1678c1763
< #line 1679 "configure"
---
> #line 1764 "configure"
1696c1781
< #line 1697 "configure"
---
> #line 1782 "configure"
1718c1803
< echo "configure:1719: checking for 8-bit clean memcmp" >&5
---
> echo "configure:1804: checking for 8-bit clean memcmp" >&5
1726c1811
< #line 1727 "configure"
---
> #line 1812 "configure"
1736c1821
< if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
---
> if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1751c1836
< test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
---
> test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
1754c1839
< echo "configure:1755: checking return type of signal handlers" >&5
---
> echo "configure:1840: checking return type of signal handlers" >&5
1759c1844
< #line 1760 "configure"
---
> #line 1845 "configure"
1776c1861
< if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1795c1880
< echo "configure:1796: checking for vprintf" >&5
---
> echo "configure:1881: checking for vprintf" >&5
1800c1885
< #line 1801 "configure"
---
> #line 1886 "configure"
1823c1908
< if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1847c1932
< echo "configure:1848: checking for _doprnt" >&5
---
> echo "configure:1933: checking for _doprnt" >&5
1852c1937
< #line 1853 "configure"
---
> #line 1938 "configure"
1875c1960
< if { (eval echo configure:1876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:1961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1902c1987
< echo "configure:1903: checking for $ac_func" >&5
---
> echo "configure:1988: checking for $ac_func" >&5
1907c1992
< #line 1908 "configure"
---
> #line 1993 "configure"
1930c2015
< if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> if { (eval echo configure:2016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1957c2042
< echo "configure:1958: checking for location of X headers" >&5
---
> echo "configure:2043: checking for location of X headers" >&5
2052c2137
< echo "configure:2053: checking for location of X libraries" >&5
---
> echo "configure:2138: checking for location of X libraries" >&5
2187c2272
< echo "configure:2188: checking for $ac_hdr" >&5
---
> echo "configure:2273: checking for $ac_hdr" >&5
2192c2277
< #line 2193 "configure"
---
> #line 2278 "configure"
2197,2198c2282,2283
< { (eval echo configure:2198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
< ac_err=`grep -v '^ *+' conftest.out`
---
> { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
> ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2232c2317
< echo "configure:2233: checking for $mh_keydef in keysym.h" >&5
---
> echo "configure:2318: checking for $mh_keydef in keysym.h" >&5
2235c2320
< #line 2236 "configure"
---
> #line 2321 "configure"
2242c2327
< if { (eval echo configure:2243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:2328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2316a2402,2424
> # Check whether --with-threads or --without-threads was given.
> if test "${with_threads+set}" = set; then
> withval="$with_threads"
> with_threads=$withval
> else
> with_threads=no
> fi
>
> if test "$with_threads" = yes; then
> cat >> confdefs.h <<\EOF
> #define USE_THREADS 1
> EOF
>
> x11type="thread"
> else
> cat >> confdefs.h <<\EOF
> #define USE_PROCESSES 1
> EOF
>
> x11type="process"
> fi
>
>
2397c2505
< echo "configure:2398: checking compiler flags for a dynamic object" >&5
---
> echo "configure:2506: checking compiler flags for a dynamic object" >&5
2400c2508
< #line 2401 "configure"
---
> #line 2509 "configure"
2412c2520
< if { (eval echo configure:2413: \"$mh_compile\") 1>&5; (eval $mh_compile) 2>&5; }; then
---
> if { (eval echo configure:2521: \"$mh_compile\") 1>&5; (eval $mh_compile) 2>&5; }; then
2500c2608
< LD_RXLIB1="ld"
---
> LD_RXLIB1="ld -assert pure-text"
2510c2618,2623
< LD_RXLIB1="${CC} -Wl,-shared"
---
> LD_RXLIB1="${CC} -shared"
> RXLIBPRE="lib"
> RXLIBPST=".so"
> ;;
> *nto-qnx*)
> LD_RXLIB1="${CC} -shared"
2524c2637
< #line 2525 "configure"
---
> #line 2638 "configure"
2530c2643
< if { (eval echo configure:2531: \"$mh_compile\") 1>&5; (eval $mh_compile) 2>&5; } && test -s conftest.o; then
---
> if { (eval echo configure:2644: \"$mh_compile\") 1>&5; (eval $mh_compile) 2>&5; } && test -s conftest.o; then
2532c2645
< if { (eval echo configure:2533: \"$mh_dyn_link\") 1>&5; (eval $mh_dyn_link) 2>&5; } && test -s conftest.rxlib; then
---
> if { (eval echo configure:2646: \"$mh_dyn_link\") 1>&5; (eval $mh_dyn_link) 2>&5; } && test -s conftest.rxlib; then
2538c2651
< if { (eval echo configure:2539: \"$mh_dyn_link\") 1>&5; (eval $mh_dyn_link) 2>&5; } && test -s conftest.rxlib; then
---
> if { (eval echo configure:2652: \"$mh_dyn_link\") 1>&5; (eval $mh_dyn_link) 2>&5; } && test -s conftest.rxlib; then
2606c2719
< case `(ac_space=' '; set) 2>&1` in
---
> case `(ac_space=' '; set | grep ac_space) 2>&1` in
2673c2786
< echo "$CONFIG_STATUS generated by autoconf version 2.12"
---
> echo "$CONFIG_STATUS generated by autoconf version 2.13"
2684c2797
< trap 'rm -fr `echo "Makefile pdcurses/Makefile demos/Makefile panel/Makefile tools/Makefile saa/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
---
> trap 'rm -fr `echo "Makefile pdcurses/$mymakefile demos/Makefile panel/Makefile tools/Makefile saa/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2692a2806
> s%@SHELL@%$SHELL%g
2695a2810
> s%@FFLAGS@%$FFLAGS%g
2732a2848
> s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2739a2856
> s%@x11type@%$x11type%g
2802c2919
< CONFIG_FILES=\${CONFIG_FILES-"Makefile pdcurses/Makefile demos/Makefile panel/Makefile tools/Makefile saa/Makefile"}
---
> CONFIG_FILES=\${CONFIG_FILES-"Makefile pdcurses/$mymakefile demos/Makefile panel/Makefile tools/Makefile saa/Makefile"}
2979a3097,3105
>
> case "$target" in
> *ibm-aix*)
> mv pdcurses/Makefile.aix pdcurses/Makefile
> echo "$ac_t""renaming pdcurses/Makefile.aix to pdcurses/Makefile" 1>&6
> ;;
> *)
> ;;
> esac
Index: PDCurses/curses.h
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/curses.h,v
retrieving revision 1.2
retrieving revision 1.5
diff -b -w -r1.2 -r1.5
21c21
< @Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @
---
> @Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @
172c172
< #define PDC_BUILD 2401
---
> #define PDC_BUILD 2501
970a971,972
> short line_color; /* Color of line attributes - default white */
>
1044,1045d1045
< #define A_STANDOUT 0x00A00000L
< #define A_BOLD 0x00800000L
1048a1049,1050
> # define A_BOLD 0x00800000L
> # define A_RIGHTLINE 0x00010000L
1050,1051d1051
< #define A_INVIS 0x00080000L
< #define A_PROTECT 0x00010000L
1052a1053
> # define A_INVIS 0x00080000L
1056a1058,1062
> # define A_LEFTLINE A_DIM
> # define A_ITALIC A_INVIS
> # define A_STANDOUT ( A_BOLD | A_REVERSE )
> # define A_PROTECT ( A_UNDERLINE | A_LEFTLINE | A_RIGHTLINE )
>
1059c1065
< #define A_NORMAL (chtype)0x0000 /* SysV */
---
> # define A_NORMAL (chtype)0x0000 /* System V */
1499c1505,1507
< # define KEY_MAX 0x222 /* Maximum curses key */
---
> # define KEY_SUP 0x223 /* Shifted up arrow */
> # define KEY_SDOWN 0x224 /* Shifted down arrow */
> # define KEY_MAX 0x224 /* Maximum curses key */
1712a1721
> int PDC_CDECL PDC_curs_set( int );
1714a1724,1728
> int PDC_CDECL PDC_wunderline( WINDOW*, int, bool );
> int PDC_CDECL PDC_wleftline( WINDOW*, int, bool );
> int PDC_CDECL PDC_wrightline( WINDOW*, int, bool );
> int PDC_CDECL PDC_set_line_color( short );
>
1914a1929
> int PDC_CDECL PDC_curs_set( /* int */ );
1916a1932,1936
> int PDC_CDECL PDC_wunderline( /* WINDOW*, int, bool */ );
> int PDC_CDECL PDC_wleftline( /* WINDOW*, int, bool */ );
> int PDC_CDECL PDC_wrightline( /* WINDOW*, int, bool */ );
> int PDC_CDECL PDC_set_line_color( /* short */ );
>
1954a1975
> #define getbkgd(w) ((w)->_bkgd)
Index: PDCurses/curspriv.h
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/curspriv.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
21c21
< @Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @
---
> @Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @
370,371c370,371
< int XCurses_display_cursor(int,int,int,int);
< int XCurses_rawgetch(void);
---
> int XCurses_display_cursor(int,int,int,int,int);
> int XCurses_rawgetch(int);
385d384
< void XCurses_set_title(char *);
490,491c489,490
< int XCurses_display_cursor( /*int,int,int,int*/ );
< int XCurses_rawgetch( /*void*/ );
---
> int XCurses_display_cursor( /*int,int,int,int,int*/ );
> int XCurses_rawgetch( /*int*/ );
577a577
> #define CURSES_DISPLAY_CURSOR 999986
Index: PDCurses/demos/testcurs.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/demos/testcurs.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
36c36
< char *rcsid_testcurs = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_testcurs = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
826c826,830
< attrset(A_NORMAL);
---
> #ifdef XCURSES
> attrset(A_PROTECT);
> #else
> attrset(A_BOLD);
> #endif
827a832
> attrset(A_NORMAL);
Index: PDCurses/doc/intro.man
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/doc/intro.man,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
366,376c366,376
< *** slk_attroff slk
< *** slk_attron slk
< *** slk_attrset slk
< *** slk_clear slk
< *** slk_init slk
< *** slk_label slk
< *** slk_noutrefresh slk
< *** slk_refresh slk
< *** slk_restore slk
< *** slk_set slk
< *** slk_touch slk
---
> slk_attroff slk
> slk_attron slk
> slk_attrset slk
> slk_clear slk
> slk_init slk
> slk_label slk
> slk_noutrefresh slk
> slk_refresh slk
> slk_restore slk
> slk_set slk
> slk_touch slk
497a498,499
> PDC_get_input_fd pdckbd
> PDC_get_key_modifiers pdckbd
499a502
> PDC_getclipboard pdcclip
519a523,524
> PDC_set_title pdcsetsc
> PDC_setclipboard pdcclip
Index: PDCurses/doc/x11.man
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/doc/x11.man,v
retrieving revision 1.1
retrieving revision 1.3
diff -b -w -r1.1 -r1.3
11,12c11,12
< To use XCurses with an existing curses program, you need to make two
< changes to your code.
---
> To use XCurses with an existing curses program, you need to make one
> change to your code:
14,25c14
< The first is the addition of a definition of the program name as a
< global char pointer. eg.
<
< #ifdef XCURSES
< char *XCursesProgramName="sample";
< #endif
<
< This name is used as the title of the X window, and for defining X
< resources specific to your program.
<
< The second is a call to XCursesExit() just before exiting from your
< program. eg.
---
> Call XCursesExit() just before exiting from your program. eg.
35c24,26
< When compiling your curses application, you need to add -DXCURSES.
---
> When compiling your curses application, you need to add -DXCURSES, and
> include the or that comes with XCurses. You also
> need to link your code with the XCurses library.
47a39,45
> To get the most out of XCurses in your curses application you need
> to call Xinitscr() rather than initscr(). This allows you to pass
> your program name and resource overrides to XCurses.
>
> The program name is used as the title of the X window, and for defining X
> resources specific to your program.
>
70c68
< boldFont
---
> italicFont
82a81,88
> colorBoldBlack
> colorBoldRed
> colorBoldGreen
> colorBoldYellow
> colorBoldBlue
> colorBoldMagenta
> colorBoldCyan
> colorBoldWhite
104c110
< normalFont: the name of a fixed width font, used for A_NORMAL attribute
---
> normalFont: the name of a fixed width font
107,110c113,116
< boldFont: the name of a fixed width font, used for A_BOLD attribute
< Default: 7x13bold
<
< NB. The dimensions of font and boldFont MUST be the same.
---
> italicFont: the name of a fixed width font to be used for
> characters with A_ITALIC attributes. Must have the same
> cell size as normalFont
> Default: 7x13 (obviously not an italic font)
125a132
> Default: Black
126a134
> Default: red3
127a136
> Default: green3
128a138
> Default: yellow3
129a140
> Default: blue3
130a142
> Default: magenta3
131a144
> Default: cyan3
133c146,162
< Defaults are obvious :)
---
> Default: Grey
> colorBoldBlack: the color of the COLOR_BLACK attribute combined with A_BOLD
> Default: grey40
> colorBoldRed the color of the COLOR_RED attribute combined with A_BOLD
> Default: red1
> colorBoldGreen the color of the COLOR_GREEN attribute combined with A_BOLD
> Default: green1
> colorBoldYellow the color of the COLOR_YELLOW attribute combined with A_BOLD
> Default: yellow1
> colorBoldBlue the color of the COLOR_BLUE attribute combined with A_BOLD
> Default: blue1
> colorBoldMagenta the color of the COLOR_MAGENTA attribute combined with A_BOLD
> Default: magenta1
> colorBoldCyan the color of the COLOR_CYAN attribute combined with A_BOLD
> Default: cyan1
> colorBoldWhite the color of the COLOR_WHITE attribute combined with A_BOLD
> Default: White
222d250
< XCurses*boldFont: 9x13bold
236,242c264,276
< the.normalFont: 9x15
< the.boldFont: 9x15bold
< the.lines: 40
< the.cols: 86
< the.pointer: xterm
< the.pointerForeColor: black
< the.pointerBackColor: black
---
> ! resources with the * wildcard can be overridden by a parameter passed
> ! to initscr()
> !
> the*normalFont: 9x15
> the*lines: 40
> the*cols: 86
> the*pointer: xterm
> the*pointerForeColor: white
> the*pointerBackColor: black
> !
> ! resources with the . format can not be overridden by a parameter passed
> ! to Xinitscr()
> !
243a278,283
>
> Resources may also be passed as a parameter to the Xinitscr() function.
> The parameter is a string in the form of switches. eg. to set the color
> "red" to "indianred", and the number of lines to 30, the string passed to
> Xinitscr would be:
> "-colorRed indianred -lines 30"
Index: PDCurses/dos/pdckbd.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/dos/pdckbd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
35c35
< char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
56a57,62
> /* Shifted Keypad */
> 0xb0, KEY_SHOME, 0xb1, KEY_SUP, 0xb2, KEY_SPREVIOUS,
> 0xb3, KEY_SLEFT, 0xb4, KEY_SRIGHT,
> 0xb5, KEY_SEND, 0xb6, KEY_SDOWN, 0xb7, KEY_SNEXT,
> 0xb8, KEY_SIC, 0xb9, KEY_SDC,
>
338a345,364
> if (ascii == 0xe0 && scan == 0x47 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Home */
> return ((int) (0xb0 << 8));
> if (ascii == 0xe0 && scan == 0x48 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Up */
> return ((int) (0xb1 << 8));
> if (ascii == 0xe0 && scan == 0x49 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift PgUp */
> return ((int) (0xb2 << 8));
> if (ascii == 0xe0 && scan == 0x4b && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Left */
> return ((int) (0xb3 << 8));
> if (ascii == 0xe0 && scan == 0x4d && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Right */
> return ((int) (0xb4 << 8));
> if (ascii == 0xe0 && scan == 0x4f && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift End */
> return ((int) (0xb5 << 8));
> if (ascii == 0xe0 && scan == 0x50 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Down */
> return ((int) (0xb6 << 8));
> if (ascii == 0xe0 && scan == 0x51 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift PgDn */
> return ((int) (0xb7 << 8));
> if (ascii == 0xe0 && scan == 0x52 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Ins */
> return ((int) (0xb8 << 8));
> if (ascii == 0xe0 && scan == 0x53 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Del */
> return ((int) (0xb9 << 8));
Index: PDCurses/dos/wccdos.lrf
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/dos/wccdos.lrf,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
Index: PDCurses/dos/wccdos16.mak
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/dos/wccdos16.mak,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
Index: PDCurses/dos/wccdos4g.mak
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/dos/wccdos4g.mak,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
Index: PDCurses/install-sh
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/install-sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
4c4,16
< # This comes from X11R5.
---
> # This comes from X11R5 (mit/util/scripts/install.sh).
> #
> # Copyright 1991 by the Massachusetts Institute of Technology
> #
> # Permission to use, copy, modify, distribute, and sell this software and its
> # documentation for any purpose is hereby granted without fee, provided that
> # the above copyright notice appear in all copies and that both that
> # copyright notice and this permission notice appear in supporting
> # documentation, and that the name of M.I.T. not be used in advertising or
> # publicity pertaining to distribution of the software without specific,
> # written prior permission. M.I.T. makes no representations about the
> # suitability of this software for any purpose. It is provided "as is"
> # without express or implied warranty.
11,12c23,24
< # from scratch.
< #
---
> # from scratch. It can only install one file at a time, a restriction
> # shared with many OS's install programs.
17a30,32
> #
> # Modified 1 Feb 2000 MHES to cater for mkdir -p
> #
32c47
< tranformbasename=""
---
> transformbasename=""
40a56
> mkdircmd="$mkdirprog -p"
171c187
< $mkdirprog "${pathcomp}"
---
> $mkdircmd "${pathcomp}"
Index: PDCurses/os2/gccos2.mak
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/os2/gccos2.mak,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
18c18
< PDCURSES_HOME =c:\curses
---
> PDCURSES_HOME =e:\curses
50c50
< DLLTARGET = pdcurses.dll
---
> DLLTARGET = curses.dll
62c62
< DLLCURSES = pdcurses_dll.lib
---
> DLLCURSES = curses.lib
206,209c206,209
< pdcurses.dll : $(DLLOBJS) $(PDCDLOS)
< $(LINK) $(DLLFLAGS) -o pdcurses.dll $(DLLOBJS) $(PDCDLOS) $(osdir)\pdcurses.def
< emximp -o pdcurses_dll.lib $(osdir)\pdcurses.def
< emximp -o pdcurses_dll.a pdcurses_dll.lib
---
> curses.dll : $(DLLOBJS) $(PDCDLOS)
> $(LINK) $(DLLFLAGS) -o curses.dll $(DLLOBJS) $(PDCDLOS) $(osdir)\pdcurses.def
> emximp -o curses.lib $(osdir)\pdcurses.def
> emximp -o curses.a curses.lib
Index: PDCurses/os2/pdckbd.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/os2/pdckbd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -w -r1.2 -r1.3
36c36
< char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
57a58,63
> /* Shifted Keypad */
> 0xb0, KEY_SHOME, 0xb1, KEY_SUP, 0xb2, KEY_SPREVIOUS,
> 0xb3, KEY_SLEFT, 0xb4, KEY_SRIGHT,
> 0xb5, KEY_SEND, 0xb6, KEY_SDOWN, 0xb7, KEY_SNEXT,
> 0xb8, KEY_SIC, 0xb9, KEY_SDC,
>
358a365,384
> if (ascii == 0xe0 && scan == 0x47 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Home */
> return ((int) (0xb0 << 8));
> if (ascii == 0xe0 && scan == 0x48 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Up */
> return ((int) (0xb1 << 8));
> if (ascii == 0xe0 && scan == 0x49 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift PgUp */
> return ((int) (0xb2 << 8));
> if (ascii == 0xe0 && scan == 0x4b && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Left */
> return ((int) (0xb3 << 8));
> if (ascii == 0xe0 && scan == 0x4d && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Right */
> return ((int) (0xb4 << 8));
> if (ascii == 0xe0 && scan == 0x4f && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift End */
> return ((int) (0xb5 << 8));
> if (ascii == 0xe0 && scan == 0x50 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Down */
> return ((int) (0xb6 << 8));
> if (ascii == 0xe0 && scan == 0x51 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift PgDn */
> return ((int) (0xb7 << 8));
> if (ascii == 0xe0 && scan == 0x52 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Ins */
> return ((int) (0xb8 << 8));
> if (ascii == 0xe0 && scan == 0x53 && pdc_key_modifiers & PDC_KEY_MODIFIER_SHIFT) /* Shift Del */
> return ((int) (0xb9 << 8));
Index: PDCurses/os2/pdcurses.def
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/os2/pdcurses.def,v
retrieving revision 1.2
retrieving revision 1.4
diff -b -w -r1.2 -r1.4
1c1
< LIBRARY PDCURSES
---
> LIBRARY CURSES
95a96,98
> slk_attroff
> slk_attron
> slk_attrset
97a101
> slk_label
98a103,104
> slk_refresh
> slk_restore
Index: PDCurses/pdcurses/Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
13c13,14
< x11dir = $(srcdir)/../x11
---
> x11basedir = $(srcdir)/../x11
> x11dir = $(x11basedir)/@x11type@
26c27
< PDCURSES_X11_H =$(PDCURSES_HOME)/x11.h
---
> PDCURSES_X11_H =$(x11basedir)/pdcx11.h
47c48
< CPPFLAGS = -I$(INCDIR) -I$(srcdir)/.. -I.. @DEFS@ -DXCURSES @SYS_DEFS@
---
> CPPFLAGS = -I$(INCDIR) -I$(srcdir)/.. -I.. @DEFS@ -DXCURSES @SYS_DEFS@ -I$(x11basedir) -I$(x11dir)
129a131,133
> pdcx11.o \
> x11curses.o \
> x11common.o \
185a190,192
> pdcx11.sho \
> x11curses.sho \
> x11common.sho \
311,312c318,319
< pdcclip.o: $(x11dir)/pdcclip.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcclip.c
---
> pdcclip.o: $(x11basedir)/pdcclip.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcclip.c
317,318c324,325
< pdcdisp.o: $(x11dir)/pdcdisp.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcdisp.c
---
> pdcdisp.o: $(x11basedir)/pdcdisp.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcdisp.c
320,321c327,328
< pdcgetsc.o: $(x11dir)/pdcgetsc.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcgetsc.c
---
> pdcgetsc.o: $(x11basedir)/pdcgetsc.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcgetsc.c
323,324c330,331
< pdckbd.o: $(x11dir)/pdckbd.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdckbd.c
---
> pdckbd.o: $(x11basedir)/pdckbd.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdckbd.c
326,327c333,334
< pdcprint.o: $(x11dir)/pdcprint.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcprint.c
---
> pdcprint.o: $(x11basedir)/pdcprint.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcprint.c
329,330c336,337
< pdcscrn.o: $(x11dir)/pdcscrn.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcscrn.c
---
> pdcscrn.o: $(x11basedir)/pdcscrn.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcscrn.c
332,333c339,340
< pdcsetsc.o: $(x11dir)/pdcsetsc.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/pdcsetsc.c
---
> pdcsetsc.o: $(x11basedir)/pdcsetsc.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcsetsc.c
341,342c348,355
< x11.o: $(x11dir)/x11.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/x11.c
---
> pdcx11.o: $(x11basedir)/pdcx11.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/pdcx11.c
>
> ScrollBox.o: $(x11basedir)/ScrollBox.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/ScrollBox.c
>
> sb.o: $(x11basedir)/sb.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11basedir)/sb.c
344,345c357,361
< ScrollBox.o: $(x11dir)/ScrollBox.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/ScrollBox.c
---
> x11common.o: $(x11dir)/x11common.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11dir)/x11common.c
>
> x11.o: $(x11dir)/x11.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11dir)/x11.c
347,348c363,364
< sb.o: $(x11dir)/sb.c $(PDCURSES_HEADERS)
< $(CC) $(CCFLAGS) -o $@ $(x11dir)/sb.c
---
> x11curses.o: $(x11dir)/x11curses.c $(PDCURSES_HEADERS)
> $(CC) $(CCFLAGS) -o $@ $(x11dir)/x11curses.c
574c590
< pdcclip.sho: $(x11dir)/pdcclip.c $(PDCURSES_HEADERS)
---
> pdcclip.sho: $(x11basedir)/pdcclip.c $(PDCURSES_HEADERS)
576c592
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcclip.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcclip.c
586c602
< pdcdisp.sho: $(x11dir)/pdcdisp.c $(PDCURSES_HEADERS)
---
> pdcdisp.sho: $(x11basedir)/pdcdisp.c $(PDCURSES_HEADERS)
588c604
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcdisp.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcdisp.c
592c608
< pdcgetsc.sho: $(x11dir)/pdcgetsc.c $(PDCURSES_HEADERS)
---
> pdcgetsc.sho: $(x11basedir)/pdcgetsc.c $(PDCURSES_HEADERS)
594c610
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcgetsc.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcgetsc.c
598c614
< pdckbd.sho: $(x11dir)/pdckbd.c $(PDCURSES_HEADERS)
---
> pdckbd.sho: $(x11basedir)/pdckbd.c $(PDCURSES_HEADERS)
600c616
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdckbd.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdckbd.c
604c620
< pdcprint.sho: $(x11dir)/pdcprint.c $(PDCURSES_HEADERS)
---
> pdcprint.sho: $(x11basedir)/pdcprint.c $(PDCURSES_HEADERS)
606c622
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcprint.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcprint.c
610c626
< pdcscrn.sho: $(x11dir)/pdcscrn.c $(PDCURSES_HEADERS)
---
> pdcscrn.sho: $(x11basedir)/pdcscrn.c $(PDCURSES_HEADERS)
612c628
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcscrn.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcscrn.c
616c632
< pdcsetsc.sho: $(x11dir)/pdcsetsc.c $(PDCURSES_HEADERS)
---
> pdcsetsc.sho: $(x11basedir)/pdcsetsc.c $(PDCURSES_HEADERS)
618c634
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/pdcsetsc.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcsetsc.c
634c650
< x11.sho: $(x11dir)/x11.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
---
> pdcx11.sho: $(x11basedir)/pdcx11.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
636c652,658
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/x11.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/pdcx11.c
> $(O2SHO)
> $(SAVE2O)
>
> ScrollBox.sho: $(x11basedir)/ScrollBox.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
> $(O2SAVE)
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/ScrollBox.c
640c662
< ScrollBox.sho: $(x11dir)/ScrollBox.c $(PDCURSES_HEADERS) $(PDCURSES_X11_H)
---
> sb.sho: $(x11basedir)/sb.c $(PDCURSES_HEADERS)
642c664,676
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/ScrollBox.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11basedir)/sb.c
> $(O2SHO)
> $(SAVE2O)
>
> x11common.sho: $(x11dir)/x11common.c $(PDCURSES_HEADERS)
> $(O2SAVE)
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/x11common.c
> $(O2SHO)
> $(SAVE2O)
>
> x11.sho: $(x11dir)/x11.c $(PDCURSES_HEADERS)
> $(O2SAVE)
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/x11.c
646c680
< sb.sho: $(x11dir)/sb.c $(PDCURSES_HEADERS)
---
> x11curses.sho: $(x11dir)/x11curses.c $(PDCURSES_HEADERS)
648c682
< $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/sb.c
---
> $(CC) $(CCFLAGS) $(DYN_COMP) $(CC2O) $(x11dir)/x11curses.c
Index: PDCurses/pdcurses/border.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/border.c,v
retrieving revision 1.1
retrieving revision 1.3
diff -b -w -r1.1 -r1.3
33a34,36
> #undef PDC_wunderline
> #undef PDC_leftline
> #undef PDC_rightline
40c43
< char *rcsid_border = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_border = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
56a60,62
> int PDC_wunderline(WINDOW *win, int n, bool state);
> int PDC_wleftline(WINDOW *win, int n, bool state);
> int PDC_wrightline(WINDOW *win, int n, bool state);
90c96
< Portability X/Open BSD SYS V
---
> Portability X/Open BSD SYS V PDCurses
92,98c98,107
< border - - 4.0
< wborder - - 4.0
< box Y Y Y
< hline - - 4.0
< whline - - 4.0
< vline - - 4.0
< wvline - - 4.0
---
> border - - 4.0 Y
> wborder - - 4.0 Y
> box Y Y Y Y
> hline - - 4.0 Y
> whline - - 4.0 Y
> vline - - 4.0 Y
> wvline - - 4.0 Y
> PDC_wunderline - - - Y
> PDC_wleftline - - - Y
> PDC_wrightline - - - Y
415a425,565
>
> if (win->_firstch[n] == _NO_CHANGE)
> {
> win->_firstch[n] = win->_curx;
> win->_lastch[n] = win->_curx;
> }
> else
> {
> win->_firstch[n] = min(win->_firstch[n], win->_curx);
> win->_lastch[n] = max(win->_lastch[n], win->_curx);
> }
> }
>
> PDC_sync(win);
> return (OK);
> }
> /***********************************************************************/
> #ifdef HAVE_PROTO
> int PDC_CDECL PDC_wunderline(WINDOW *win, int n, bool state)
> #else
> int PDC_CDECL PDC_wunderline(win,n,state)
> WINDOW *win;
> int n;
> bool state;
> #endif
> /***********************************************************************/
> {
> int endpos;
>
> #ifdef PDCDEBUG
> if (trace_on) PDC_debug("PDC_wunderline() - called\n");
> #endif
>
> if (win == (WINDOW *)NULL)
> return( ERR );
>
> if (n < 1)
> return( ERR );
>
> endpos = min(win->_cury + n -1, win->_maxy);
>
> for (n = win->_cury; n <= endpos; n++)
> {
> if ( state )
> win->_y[n][win->_curx] |= A_UNDERLINE; /* Turn ON A_UNDERLINE */
> else
> win->_y[n][win->_curx] |= ~A_UNDERLINE; /* Turn OFF A_UNDERLINE */
>
> if (win->_firstch[n] == _NO_CHANGE)
> {
> win->_firstch[n] = win->_curx;
> win->_lastch[n] = win->_curx;
> }
> else
> {
> win->_firstch[n] = min(win->_firstch[n], win->_curx);
> win->_lastch[n] = max(win->_lastch[n], win->_curx);
> }
> }
>
> PDC_sync(win);
> return (OK);
> }
> /***********************************************************************/
> #ifdef HAVE_PROTO
> int PDC_CDECL PDC_wleftline(WINDOW *win, int n, bool state)
> #else
> int PDC_CDECL PDC_wleftline(win,n,state)
> WINDOW *win;
> int n;
> bool state;
> #endif
> /***********************************************************************/
> {
> int endpos;
>
> #ifdef PDCDEBUG
> if (trace_on) PDC_debug("PDC_wleftline() - called\n");
> #endif
>
> if (win == (WINDOW *)NULL)
> return( ERR );
>
> if (n < 1)
> return( ERR );
>
> endpos = min(win->_cury + n -1, win->_maxy);
>
> for (n = win->_cury; n <= endpos; n++)
> {
> if ( state )
> win->_y[n][win->_curx] |= A_LEFTLINE; /* Turn ON A_LEFTLINE */
> else
> win->_y[n][win->_curx] |= ~A_LEFTLINE; /* Turn OFF A_LEFTLINE */
>
> if (win->_firstch[n] == _NO_CHANGE)
> {
> win->_firstch[n] = win->_curx;
> win->_lastch[n] = win->_curx;
> }
> else
> {
> win->_firstch[n] = min(win->_firstch[n], win->_curx);
> win->_lastch[n] = max(win->_lastch[n], win->_curx);
> }
> }
>
> PDC_sync(win);
> return (OK);
> }
> /***********************************************************************/
> #ifdef HAVE_PROTO
> int PDC_CDECL PDC_wrightline(WINDOW *win, int n, bool state)
> #else
> int PDC_CDECL PDC_wrightline(win,n,state)
> WINDOW *win;
> int n;
> bool state;
> #endif
> /***********************************************************************/
> {
> int endpos;
>
> #ifdef PDCDEBUG
> if (trace_on) PDC_debug("PDC_wrightline() - called\n");
> #endif
>
> if (win == (WINDOW *)NULL)
> return( ERR );
>
> if (n < 1)
> return( ERR );
>
> endpos = min(win->_cury + n -1, win->_maxy);
>
> for (n = win->_cury; n <= endpos; n++)
> {
> if ( state )
> win->_y[n][win->_curx] |= A_RIGHTLINE; /* Turn ON A_RIGHTLINE */
> else
> win->_y[n][win->_curx] |= ~A_RIGHTLINE; /* Turn OFF A_RIGHTLINE */
Index: PDCurses/pdcurses/color.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/color.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
38a39
> #undef PDC_set_line_color
51c52
< char *rcsid_color = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_color = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
65a67
> int PDC_set_line_color(short color);
101a104,107
> PDC_set_line_color() is used to set the color, globally, for the
> color of the lines drawn for the attributes: A_UNDERLINE, A_OVERLINE,
> A_LEFTLINE and A_RIGHTLINE. PDCurses only feature.
>
111c117
< Portability X/Open BSD SYS V
---
> Portability X/Open BSD SYS V PDCurses
119a126
> PDC_set_line_color - - - Y
349a357,371
> return(OK);
> }
> /***********************************************************************/
> #ifdef HAVE_PROTO
> int PDC_CDECL PDC_set_line_color(short color)
> #else
> int PDC_CDECL PDC_set_line_color(color)
> short color;
> #endif
> /***********************************************************************/
> {
>
> if (color >= COLORS || color < 0)
> return(ERR);
> SP->line_color = color;
Index: PDCurses/pdcurses/getch.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/getch.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
42c42
< char *rcsid_getch = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_getch = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
163c163
< int waitingtenths = SP->delaytenths;
---
> int waitingtenths = 0;
171a172,174
> if ( SP->delaytenths )
> waitingtenths = 10*SP->delaytenths;
>
282c285,286
< napms(100);
---
> napms(10);
> continue;
304c308
< if (SP->raw_inp || SP->cbreak)
---
> if ( (SP->raw_inp || SP->cbreak) )
Index: PDCurses/pdcurses/initscr.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/initscr.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
64c64
< char *rcsid_initscr = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_initscr = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
324,325c324,325
< ACS_SBSS = (chtype)21|A_ALTCHARSET;
< ACS_SSSB = (chtype)22|A_ALTCHARSET;
---
> ACS_SBSS = (chtype)22|A_ALTCHARSET;
> ACS_SSSB = (chtype)21|A_ALTCHARSET;
Index: PDCurses/pdcurses/util.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/pdcurses/util.c,v
retrieving revision 1.1
retrieving revision 1.3
diff -b -w -r1.1 -r1.3
68c68
< char *rcsid_util = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_util = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
237c237
< "KEY_RESIZE"
---
> "KEY_RESIZE", "KEY_SUP", "KEY_SDOWN"
352c352
< (void)XCurses_rawgetch();
---
> (void)XCurses_rawgetch(0);
Index: PDCurses/win32/curses.def
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/win32/curses.def,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
2a3,5
> ; used for Win32 port as well as AIX port
> ; each entry point MUST be on a seperate line prefixed
> ; by EXPORTS in column 1
Index: PDCurses/win32/pdckbd.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/win32/pdckbd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
28c28
< char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
318c318
< {KEY_UP, SHF_UP, CTL_UP, ALT_UP }, /* 38 */
---
> {KEY_UP, KEY_SUP, CTL_UP, ALT_UP }, /* 38 */
320,322c320,322
< {KEY_DOWN, SHF_DOWN, CTL_DOWN, ALT_DOWN }, /* 40 */
< {KEY_IC, SHF_IC, CTL_INS, ALT_INS }, /* 45 */
< {KEY_DC, SHF_DC, CTL_DEL, ALT_DEL }, /* 46 */
---
> {KEY_DOWN, KEY_SDOWN, CTL_DOWN, ALT_DOWN }, /* 40 */
> {KEY_IC, KEY_SIC, CTL_INS, ALT_INS }, /* 45 */
> {KEY_DC, KEY_SDC, CTL_DEL, ALT_DEL }, /* 46 */
Index: PDCurses/x11/README
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
12c12
< The files in this directory are copyright Mark Hessling 1995-1999.
---
> The files in this directory are copyright Mark Hessling 1995-2000.
26a27,39
>
> Structure
> ---------
>
> x11.c - contains functions that are X11 specific functions that are
> used by both the process and thread implementations
> x11.h - #defines and includes for the X11 process/thread
> x11_proc.c - contains functions that are used by the X11 (child) process
> in the process implementation
> curses_proc.c - contains functions that are used by the curses (parent)
> process in the process implementation
> x11_thread.c -
> curses_thread.c -
Index: PDCurses/x11/ScrollBox.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/ScrollBox.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
124c124
< Widget main, vscroll, hscroll;
---
> Widget wmain, vscroll, hscroll;
130a131
> #if 0
132a134
> #endif
151c153
< main = sbw->composite.children[0];
---
> wmain = sbw->composite.children[0];
161c163
< (2 * main->core.border_width);
---
> (2 * wmain->core.border_width);
165c167
< (2 * main->core.border_width);
---
> (2 * wmain->core.border_width);
167c169
< vx = main->core.x + mw + sbw->scrollBox.h_space + main->core.border_width + vscroll->core.border_width;
---
> vx = wmain->core.x + mw + sbw->scrollBox.h_space + wmain->core.border_width + vscroll->core.border_width;
169c171
< hy = main->core.y + mh + sbw->scrollBox.v_space + main->core.border_width + hscroll->core.border_width;
---
> hy = wmain->core.y + mh + sbw->scrollBox.v_space + wmain->core.border_width + hscroll->core.border_width;
175c177
< XtResizeWidget(main, mw, mh, 1);
---
> XtResizeWidget(wmain, mw, mh, 1);
177c179
< tw = main->core.width + (2 * sbw->scrollBox.h_space) +
---
> tw = wmain->core.width + (2 * sbw->scrollBox.h_space) +
179c181
< (2 * main->core.border_width);
---
> (2 * wmain->core.border_width);
181c183
< th = main->core.height + (2 * sbw->scrollBox.v_space) +
---
> th = wmain->core.height + (2 * sbw->scrollBox.v_space) +
183c185
< (2 * main->core.border_width);
---
> (2 * wmain->core.border_width);
185,186c187,188
< hw = mw = main->core.width;
< vh = mh = main->core.height;
---
> hw = mw = wmain->core.width;
> vh = mh = wmain->core.height;
188c190
< vx = main->core.x + mw + sbw->scrollBox.h_space + main->core.border_width + vscroll->core.border_width;
---
> vx = wmain->core.x + mw + sbw->scrollBox.h_space + wmain->core.border_width + vscroll->core.border_width;
190c192
< hy = main->core.y + mh + sbw->scrollBox.v_space + main->core.border_width + hscroll->core.border_width;
---
> hy = wmain->core.y + mh + sbw->scrollBox.v_space + wmain->core.border_width + hscroll->core.border_width;
Index: PDCurses/x11/pdcdisp.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/pdcdisp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
37c37
< char *rcsid_PDCdisp = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCdisp = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
201c201
< XCurses_display_cursor(SP->cursrow,SP->curscol,row,col);
---
> XCurses_display_cursor(SP->cursrow,SP->curscol,row,col,SP->visibility);
Index: PDCurses/x11/pdckbd.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/pdckbd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
28c28
< char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCkbd = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
243c243
< c = XCurses_rawgetch();
---
> c = XCurses_rawgetch( SP->delaytenths );
Index: PDCurses/x11/pdcscrn.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/pdcscrn.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
27c27
< char *rcsid_PDCscrn = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCscrn = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
179a180
> internal->line_color = COLOR_WHITE;
Index: PDCurses/x11/pdcsetsc.c
===================================================================
RCS file: /usr/local/cvsroot/PDCurses/x11/pdcsetsc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -w -r1.1 -r1.2
27c27
< char *rcsid_PDCsetsc = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
---
> char *rcsid_PDCsetsc = "@Id: case16.pat,v 1.1 2001/04/22 23:30:04 tom Exp @";
123c123
< int ret_vis;
---
> int ret_vis = SP->visibility;
129c129,130
< ret_vis = SP->visibility;
---
> if ( visibility != -1 )
> {
131,132c132,133
<
< XCurses_display_cursor(SP->cursrow,SP->curscol,SP->cursrow,SP->curscol);
---
> }
> XCurses_display_cursor(SP->cursrow,SP->curscol,SP->cursrow,SP->curscol,visibility);
diffstat-1.68/testing/case26Rp0.ref 0000644 0000000 0000000 00000005360 11700545543 015602 0 ustar root root /tmp/8FTwAYJlot/flwm-1.00/Frame.C | 294 ++--------
/tmp/8FTwAYJlot/flwm-1.00/Frame.H | 21
/tmp/8FTwAYJlot/flwm-1.00/Hotkeys.C | 32 -
/tmp/8FTwAYJlot/flwm-1.00/Makefile | 2
/tmp/8FTwAYJlot/flwm-1.00/Menu.C | 70 --
/tmp/8FTwAYJlot/flwm-1.00/README | 18
/tmp/8FTwAYJlot/flwm-1.00/Rotated.C | 61 --
/tmp/8FTwAYJlot/flwm-1.00/config.h | 6
/tmp/8FTwAYJlot/flwm-1.00/debian/changelog | 12
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_double_ampersand.dpatch | 1
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/100_fl_filename_name.dpatch | 2
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/101_visible_focus.dpatch | 1
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/102_charstruct.dpatch | 1
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/103_man_typo.dpatch | 1
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/104_g++-4.1_warning.dpatch | 3
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/105_double_ampersand.dpatch | 1
/tmp/8FTwAYJlot/flwm-1.00/debian/patched/201_background_color.dpatch | 2
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/00list | 8
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_double_ampersand.dpatch | 19
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/100_fl_filename_name.dpatch | 20
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/101_visible_focus.dpatch | 19
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/102_charstruct.dpatch | 45 +
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/103_man_typo.dpatch | 19
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/104_g++-4.1_warning.dpatch | 58 +
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/105_double_ampersand.dpatch | 48 +
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/200_Debian_menu.dpatch | 14
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/201_background_color.dpatch | 57 +
/tmp/8FTwAYJlot/flwm-1.00/debian/patches/202_background_color_2.dpatch | 92 +++
/tmp/8FTwAYJlot/flwm-1.00/debian/watch | 3
/tmp/8FTwAYJlot/flwm-1.00/flwm.1 | 4
/tmp/8FTwAYJlot/flwm-1.00/flwm_wmconfig | 4
/tmp/8FTwAYJlot/flwm-1.00/logo.fl | 19
/tmp/8FTwAYJlot/flwm-1.00/main.C | 99 ---
/tmp/8FTwAYJlot/flwm-1.00/patch-stamp | 25
34 files changed, 583 insertions(+), 498 deletions(-)
diffstat-1.68/testing/case15p9.ref 0000644 0000000 0000000 00000001105 10226221641 015450 0 ustar root root Makefile.in | 38 ++++++++++++------------
README.debian | 14 +++++++++
changelog | 53 ++++++++++++++++++++++++++++++++++
conffiles | 1
control | 19 ++++++++++++
copyright | 40 ++++++++++++++++++++++++++
postinst | 21 +++++++++++++
prerm | 11 +++++++
rc.boot | 58 +++++++++++++++++++++++++++++++++++++
recover | 49 +++++++++++++++++++++++++++++++
rules | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
substvars | 1
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case31lr1.ref 0000644 0000000 0000000 00000000100 11237775205 015623 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case31Rp0.ref 0000644 0000000 0000000 00000000170 11700545544 015571 0 ustar root root //depot/vendor/freebsd/src/sys/dev/usb/usbdevs | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diffstat-1.68/testing/case17b.ref 0000644 0000000 0000000 00000000274 10667374024 015366 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case25r1.ref 0000644 0000000 0000000 00000000556 10277702420 015461 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 ++-
cmdtbl | 15 ++++++++++---
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case31.pat 0000644 0000000 0000000 00000002233 11234652516 015221 0 ustar root root ==== //depot/vendor/freebsd/src/sys/dev/usb/usbdevs#353 (text+ko) - //depot/projects/usb/src/sys/dev/usb/usbdevs#72 (text+ko) ==== content
1c1
< $FreeBSD: src/sys/dev/usb/usbdevs,v 1.421 2009/07/30 18:53:06 weongyo Exp $
---
> $FreeBSD: src/sys/dev/usb/usbdevs,v 1.420 2009/07/30 00:15:17 alfred Exp $
863a864,869
> product APPLE KBD_TP_ANSI 0x0223 Apple Internal Keyboard/Trackpad (Wellspring/ANSI)
> product APPLE KBD_TP_ISO 0x0224 Apple Internal Keyboard/Trackpad (Wellspring/ISO)
> product APPLE KBD_TP_JIS 0x0225 Apple Internal Keyboard/Trackpad (Wellspring/JIS)
> product APPLE KBD_TP_ANSI2 0x0230 Apple Internal Keyboard/Trackpad (Wellspring2/ANSI)
> product APPLE KBD_TP_ISO2 0x0231 Apple Internal Keyboard/Trackpad (Wellspring2/ISO)
> product APPLE KBD_TP_JIS2 0x0232 Apple Internal Keyboard/Trackpad (Wellspring2/JIS)
904a911
> product ASUS GMSC 0x422f ASUS Generic Mass Storage
1180,1181d1186
< product DLINK2 DWA120_NF 0x3a0d DWA-120 (no firmware)
< product DLINK2 DWA120 0x3a0e DWA-120
1185a1191,1192
> product DLINK2 DWA120_NF 0x3c0d DWA-120 (no firmware)
> product DLINK2 DWA120 0x3c0e DWA-120
1973a1981
> product PHILIPS SPE3030CC 0x083a USB 2.0 External Disk
diffstat-1.68/testing/case40r2.ref 0000644 0000000 0000000 00000000156 13777412637 015473 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case34p9.ref 0000644 0000000 0000000 00000000144 11762443774 015476 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case11f0.ref 0000644 0000000 0000000 00000000077 10300164551 015427 0 ustar root root ncurses.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case20.ref 0000644 0000000 0000000 00000000172 07605627533 015217 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case27b.ref 0000644 0000000 0000000 00000000673 10667374027 015375 0 ustar root root Makefile | 4 ++++
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/cpuidle/governors/menu.c | 2 +-
b/drivers/parport/daisy.c | 29 -----------------------------
b/fs/select.c | 2 +-
b/include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case41r1.ref 0000644 0000000 0000000 00000000163 13777421437 015467 0 ustar root root b/hello.c | 8 +++++++-
b/hello.o |binary
hello.c | 1 +
3 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case26r2.ref 0000644 0000000 0000000 00000003715 10451755075 015473 0 ustar root root Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +-
Hotkeys.C | 32 +++
Makefile | 2
Menu.C | 70 ++++--
README | 18 +-
Rotated.C | 61 +++---
config.h | 6 +
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1 +
debian/patched/100_fl_filename_name.dpatch | 2 -
debian/patched/101_visible_focus.dpatch | 1 -
debian/patched/102_charstruct.dpatch | 1 -
debian/patched/103_man_typo.dpatch | 1 -
debian/patched/104_g++-4.1_warning.dpatch | 3 -
debian/patched/105_double_ampersand.dpatch | 1 -
debian/patched/201_background_color.dpatch | 2 -
debian/patches/00list | 8 -
debian/patches/100_double_ampersand.dpatch | 19 ++
debian/patches/100_fl_filename_name.dpatch | 20 --
debian/patches/101_visible_focus.dpatch | 19 --
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 --
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3 +
flwm.1 | 4
flwm_wmconfig | 4 +
logo.fl | 19 ++
main.C | 99 +++++++--
patch-stamp | 25 --
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case37R.ref 0000644 0000000 0000000 00000002651 12133114345 015335 0 ustar root root diffstat-1.56+/config.log |differ
diffstat-1.56+/configure.out |differ
diffstat-1.56+/diffstat |differ
diffstat-1.56+/diffstat.c |differ
diffstat-1.56+/diffstat.o |differ
diffstat-1.56+/makefile |differ
diffstat-1.57/LOGS |only
diffstat-1.57/bin |only
diffstat-1.57/check.out |only
diffstat-1.57/testing/case35.pat |only
diffstat-1.57/testing/case35.ref |only
diffstat-1.57/testing/case35R.ref |only
diffstat-1.57/testing/case35Rp0.ref |only
diffstat-1.57/testing/case35b.ref |only
diffstat-1.57/testing/case35f0.ref |only
diffstat-1.57/testing/case35k.ref |only
diffstat-1.57/testing/case35p1.ref |only
diffstat-1.57/testing/case35p9.ref |only
diffstat-1.57/testing/case35r1.ref |only
diffstat-1.57/testing/case35r2.ref |only
diffstat-1.57/testing/case35u.ref |only
diffstat-1.57/testing/case36.pat |only
diffstat-1.57/testing/case36.ref |only
diffstat-1.57/testing/case36R.ref |only
diffstat-1.57/testing/case36Rp0.ref |only
diffstat-1.57/testing/case36b.ref |only
diffstat-1.57/testing/case36f0.ref |only
diffstat-1.57/testing/case36k.ref |only
diffstat-1.57/testing/case36p1.ref |only
diffstat-1.57/testing/case36p9.ref |only
diffstat-1.57/testing/case36r1.ref |only
diffstat-1.57/testing/case36r2.ref |only
diffstat-1.57/testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case33r1.ref 0000644 0000000 0000000 00000000105 11246713507 015453 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case46k.ref 0000644 0000000 0000000 00000001216 14320603177 015370 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case42p9.ref 0000644 0000000 0000000 00000000343 14320561540 015457 0 ustar root root case39k.ref | 1 +
case42.pat |only
full.log |only
full.txt |only
full1.log |only
full1.txt |only
short.log |only
short.txt |only
short1.log |only
short1.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case34r2.ref 0000644 0000000 0000000 00000000144 11762443774 015471 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case45r2.ref 0000644 0000000 0000000 00000001216 14320603177 015460 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case41r2.ref 0000644 0000000 0000000 00000000163 13777421437 015470 0 ustar root root b/hello.c | 8 +++++++-
b/hello.o |binary
hello.c | 1 +
3 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case35r1.ref 0000644 0000000 0000000 00000000247 12133111320 015441 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case02k.ref 0000644 0000000 0000000 00000000410 07530543206 015354 0 ustar root root bug-report | 2
clients/xterm/Tekproc.c | 98 +++++++++--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
clients/xterm/misc.c | 104 +++++++++++++++++++++++++++++++++++++!!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case21p9.ref 0000644 0000000 0000000 00000000100 10300164552 015437 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case28f0.ref 0000644 0000000 0000000 00000000125 11163734344 015444 0 ustar root root case28.pat | 70 35 + 35 - 0 !
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case09b.ref 0000644 0000000 0000000 00000000021 10667374022 015353 0 ustar root root 0 files changed
diffstat-1.68/testing/case16p9.ref 0000644 0000000 0000000 00000001355 10226221641 015460 0 ustar root root Makefile.in | 181 ++++++++++++++++-----------
README | 20 ++-
ScrollBox.c | 32 ++--
aclocal.m4 | 7 -
border.c | 168 ++++++++++++++++++++++++-
color.c | 26 +++
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++++++++--------------------
curses.def | 3
curses.h | 37 ++++-
curspriv.h | 12 -
gccos2.mak | 14 +-
getch.c | 12 +
initscr.c | 6
install-sh | 26 +++
intro.man | 27 ++--
pdcdisp.c | 4
pdckbd.c | 70 +++++++++-
pdcscrn.c | 3
pdcsetsc.c | 11 -
pdcurses.def | 8 +
testcurs.c | 9 +
util.c | 6
x11.man | 100 ++++++++++-----
24 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case19r1.ref 0000644 0000000 0000000 00000000114 10300164552 015445 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case25b.ref 0000644 0000000 0000000 00000000554 10667374026 015370 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 +-
cmdtbl | 15 ++++++++++--
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case47k.ref 0000644 0000000 0000000 00000000622 14377643723 015406 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++--
package/debian/cdialog.install | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
po/makefile.inn | 14 +++----
samples/inputbox6-utf8 | 4 +-
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case40.pat 0000644 0000000 0000000 00000001661 13777263434 015240 0 ustar root root diff --git a/diffstat b/diffstat
index 70d0e907ea8b868938d35671d4a06bfa8fd2f766..9d24fbd5884652ae2ba2b0c6fa5fea9320d22390 100755
GIT binary patch
delta 42
zcmV+_0M-AXtOKB|1F+Nr6vwUx^n+a
delta 42
zcmV+_0M-AXtOKB|1F+Nr6jCdhHOT;q0Pkhm-7LEF*vB&P^t0#!osI!BvxbqHM6o0l
A6#xJL
diff --git a/diffstat.c b/diffstat.c
index b9cbe0a..26ce142 100644
--- a/diffstat.c
+++ b/diffstat.c
@@ -20,7 +20,7 @@
******************************************************************************/
#ifndef NO_IDENT
-static const char *Id = "$Id: diffstat.c,v 1.63 2019/11/29 20:39:01 tom Exp $";
+static const char *Id = "$Id: diffstat.c,v 1.64 2019/11/29 20:39:01 tom Exp $";
#endif
/*
diff --git a/diffstat.o b/diffstat.o
index c98d6ff866bb903861512512556145acd1604197..4368a92ee91c71f0f3cee94582b478b27543d849 100644
GIT binary patch
delta 16
WcmdmRf@K2`#fCGQY>o@RbOr!G1P7P^
delta 16
WcmdmRf@K2`#fCE)Z;lJUbOr!F{s)%;
diffstat-1.68/testing/case03p9.ref 0000644 0000000 0000000 00000000247 07073762770 015476 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case24.pat 0000644 0000000 0000000 00000023704 10144001463 015215 0 ustar root root # ncurses 5.4 - patch 20040821 - T.Dickey
#
# ------------------------------------------------------------------------------
#
# Ncurses 5.4 is at
# ftp.gnu.org:/pub/gnu
#
# Patches for ncurses 5.4 are in the subdirectory
# ftp://invisible-island.net/ncurses/5.4
#
# ------------------------------------------------------------------------------
Index: Ada95/gen/gen.c
--- ncurses-5.4-20040814+/Ada95/gen/gen.c 2003-10-25 15:39:18.000000000 +0000
+++ ncurses-5.4-20040821/Ada95/gen/gen.c 2004-08-21 20:37:13.000000000 +0000
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998,2000 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,2000,2004 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -32,7 +32,7 @@
/*
Version Control
- @Revision: 1.36 @
+ @Id: gen.c,v 1.38 2004/08/21 20:37:13 tom Exp @
--------------------------------------------------------------------------*/
/*
This program generates various record structures and constants from the
@@ -131,7 +131,6 @@
printf(" %-*s : Boolean;\n",width,nap[i].name);
}
printf(" end record;\n");
- printf(" pragma Pack (%s);\n",name);
printf(" pragma Convention (C, %s);\n\n",name);
printf(" for %s use\n",name);
Index: Ada95/gen/terminal_interface-curses-mouse.ads.m4
--- ncurses-5.4-20040814+/Ada95/gen/terminal_interface-curses-mouse.ads.m4 2003-10-25 15:39:18.000000000 +0000
+++ ncurses-5.4-20040821/Ada95/gen/terminal_interface-curses-mouse.ads.m4 2004-08-21 21:37:00.000000000 +0000
@@ -10,7 +10,7 @@
-- S P E C --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc. --
+-- Copyright (c) 1998,2004 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
@@ -38,7 +38,8 @@
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Version Control:
--- @Revision: 1.22 @
+-- @Revision: 1.25 @
+-- @Date: 2004/08/21 21:37:00 @
-- Binding Version 01.00
------------------------------------------------------------------------------
include(`Mouse_Base_Defs')
@@ -169,7 +170,6 @@
Bstate : Event_Mask;
end record;
pragma Convention (C, Mouse_Event);
- pragma Pack (Mouse_Event);
include(`Mouse_Event_Rep')
Generation_Bit_Order : constant System.Bit_Order := System.M4_BIT_ORDER;
Index: Ada95/gen/terminal_interface-curses.ads.m4
--- ncurses-5.4-20040814+/Ada95/gen/terminal_interface-curses.ads.m4 2003-10-25 15:39:18.000000000 +0000
+++ ncurses-5.4-20040821/Ada95/gen/terminal_interface-curses.ads.m4 2004-08-21 21:37:00.000000000 +0000
@@ -9,7 +9,7 @@
-- S P E C --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc. --
+-- Copyright (c) 1998,2004 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
@@ -37,7 +37,8 @@
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Version Control:
--- @Revision: 1.31 @
+-- @Revision: 1.35 @
+-- @Date: 2004/08/21 21:37:00 @
-- Binding Version 01.00
------------------------------------------------------------------------------
include(`Base_Defs')
@@ -59,11 +60,12 @@
subtype Column_Count is Column_Position range 1 .. Column_Position'Last;
-- Type to count columns. We do not allow null windows, so must be positive
- type Key_Code is new Natural;
+ type Key_Code is new Integer;
-- That is anything including real characters, special keys and logical
-- request codes.
- subtype Real_Key_Code is Key_Code range 0 .. M4_KEY_MAX;
+ -- FIXME: The "-1" should be Curses_Err
+ subtype Real_Key_Code is Key_Code range -1 .. M4_KEY_MAX;
-- This are the codes that potentially represent a real keystroke.
-- Not all codes may be possible on a specific terminal. To check the
-- availability of a special key, the Has_Key function is provided.
Index: Ada95/samples/ncurses2-acs_and_scroll.adb
--- ncurses-5.4-20040814+/Ada95/samples/ncurses2-acs_and_scroll.adb 2000-12-02 22:31:22.000000000 +0000
+++ ncurses-5.4-20040821/Ada95/samples/ncurses2-acs_and_scroll.adb 2004-08-21 21:37:00.000000000 +0000
@@ -7,7 +7,7 @@
-- B O D Y --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 2000 Free Software Foundation, Inc. --
+-- Copyright (c) 2000,2004 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
@@ -35,7 +35,8 @@
------------------------------------------------------------------------------
-- Author: Eugene V. Melaragno 2000
-- Version Control
--- @Revision: 1.1 @
+-- @Revision: 1.6 @
+-- @Date: 2004/08/21 21:37:00 @
-- Binding Version 01.00
------------------------------------------------------------------------------
-- Windows and scrolling tester.
@@ -224,8 +225,8 @@
);
buf : Bounded_String;
- do_keypad : Boolean := HaveKeyPad (curpw);
- do_scroll : Boolean := HaveScroll (curpw);
+ do_keypad : constant Boolean := HaveKeyPad (curpw);
+ do_scroll : constant Boolean := HaveScroll (curpw);
pos : Natural;
@@ -331,8 +332,8 @@
res : pair;
i : Line_Position := 0;
j : Column_Position := 0;
- si : Line_Position := lri - uli + 1;
- sj : Column_Position := lrj - ulj + 1;
+ si : constant Line_Position := lri - uli + 1;
+ sj : constant Column_Position := lrj - ulj + 1;
begin
res.y := uli;
res.x := ulj;
@@ -714,7 +715,7 @@
Allow_Scrolling (Mode => True);
- End_Mouse;
+ End_Mouse (Mask2);
Set_Raw_Mode (SwitchOn => True);
Erase;
End_Windows;
Index: Ada95/samples/ncurses2-acs_display.adb
--- ncurses-5.4-20040814+/Ada95/samples/ncurses2-acs_display.adb 2000-12-02 22:31:23.000000000 +0000
+++ ncurses-5.4-20040821/Ada95/samples/ncurses2-acs_display.adb 2004-08-21 21:37:00.000000000 +0000
@@ -7,7 +7,7 @@
-- B O D Y --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 2000 Free Software Foundation, Inc. --
+-- Copyright (c) 2000,2004 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
@@ -35,7 +35,8 @@
------------------------------------------------------------------------------
-- Author: Eugene V. Melaragno 2000
-- Version Control
--- @Revision: 1.1 @
+-- @Revision: 1.4 @
+-- @Date: 2004/08/21 21:37:00 @
-- Binding Version 01.00
------------------------------------------------------------------------------
with ncurses2.util; use ncurses2.util;
@@ -57,8 +58,8 @@
procedure show_upper_chars (first : Integer) is
- C1 : Boolean := (first = 128);
- last : Integer := first + 31;
+ C1 : constant Boolean := (first = 128);
+ last : constant Integer := first + 31;
package p is new ncurses2.genericPuts (200);
use p;
use p.BS;
@@ -91,9 +92,11 @@
for code in first .. last loop
declare
- row : Line_Position := Line_Position (4 + ((code - first) mod 16));
- col : Column_Position := Column_Position (((code - first) / 16) *
- Integer (Columns) / 2);
+ row : constant Line_Position
+ := Line_Position (4 + ((code - first) mod 16));
+ col : constant Column_Position
+ := Column_Position (((code - first) / 16) *
+ Integer (Columns) / 2);
tmp3 : String (1 .. 3);
tmpx : String (1 .. Integer (Columns / 4));
reply : Key_Code;
@@ -129,8 +132,8 @@
code : Attributed_Character)
return Integer is
height : constant Integer := 16;
- row : Line_Position := Line_Position (4 + (N mod height));
- col : Column_Position := Column_Position ((N / height) *
+ row : constant Line_Position := Line_Position (4 + (N mod height));
+ col : constant Column_Position := Column_Position ((N / height) *
Integer (Columns) / 2);
tmpx : String (1 .. Integer (Columns) / 3);
begin
diffstat-1.68/testing/case26R.ref 0000644 0000000 0000000 00000003671 11700545543 015345 0 ustar root root Frame.C | 294 ++++++---------------------
Frame.H | 21 -
Hotkeys.C | 32 --
Makefile | 2
Menu.C | 70 ++----
README | 18 -
Rotated.C | 61 ++---
config.h | 6
debian/changelog | 12 -
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8
debian/patches/100_double_ampersand.dpatch | 19 -
debian/patches/100_fl_filename_name.dpatch | 20 +
debian/patches/101_visible_focus.dpatch | 19 +
debian/patches/102_charstruct.dpatch | 45 ++++
debian/patches/103_man_typo.dpatch | 19 +
debian/patches/104_g++-4.1_warning.dpatch | 58 +++++
debian/patches/105_double_ampersand.dpatch | 48 ++++
debian/patches/200_Debian_menu.dpatch | 14 -
debian/patches/201_background_color.dpatch | 57 +++++
debian/patches/202_background_color_2.dpatch | 92 ++++++++
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 -
main.C | 99 ++-------
patch-stamp | 25 ++
34 files changed, 583 insertions(+), 498 deletions(-)
diffstat-1.68/testing/case27Rp0.ref 0000644 0000000 0000000 00000000673 11700545543 015605 0 ustar root root a/Documentation/parport-lowlevel.txt | 29 ++++++++++++++++++++++++++---
a/drivers/cpuidle/governors/menu.c | 2 +-
a/drivers/parport/daisy.c | 29 +++++++++++++++++++++++++++++
a/fs/select.c | 2 +-
a/include/linux/parport.h | 1 +
a/scripts/export_report.pl | 2 +-
b/Makefile | 4 ----
7 files changed, 59 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case13f0.ref 0000644 0000000 0000000 00000000220 07530543243 015431 0 ustar root root UCAux.c | 42 0 + 17 - 25 !
def7_uni.tbl | 118 1 + 1 - 116 !
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case28p1.ref 0000644 0000000 0000000 00000000204 11163734344 015455 0 ustar root root testing/case28.pat | 70 ++++++++++++++++++++++++++---------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case20p1.ref 0000644 0000000 0000000 00000000172 07605627533 015460 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case12.ref 0000644 0000000 0000000 00000000222 07073762772 015220 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case31lk.ref 0000644 0000000 0000000 00000000100 11237775205 015533 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case09p9.ref 0000644 0000000 0000000 00000000021 06122656672 015467 0 ustar root root 0 files changed
diffstat-1.68/testing/case44r2.ref 0000644 0000000 0000000 00000001216 14320603177 015457 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case22b.ref 0000644 0000000 0000000 00000002214 10667374026 015360 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case43f0.ref 0000644 0000000 0000000 00000001363 14320603177 015443 0 ustar root root NEWS | 9 8 + 1 - 0 !
VERSION | 2 1 + 1 - 0 !
configure | 4 2 + 2 - 0 !
configure.in | 6 3 + 3 - 0 !
dist.mk | 4 2 + 2 - 0 !
misc/gen-pkgconfig.in | 8 6 + 2 - 0 !
package/debian-mingw/changelog | 4 2 + 2 - 0 !
package/debian-mingw64/changelog | 4 2 + 2 - 0 !
package/debian/changelog | 4 2 + 2 - 0 !
package/mingw-ncurses.nsi | 4 2 + 2 - 0 !
package/mingw-ncurses.spec | 2 1 + 1 - 0 !
package/ncurses.spec | 2 1 + 1 - 0 !
package/ncursest.spec | 2 1 + 1 - 0 !
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case38ru.ref 0000644 0000000 0000000 00000000456 12546615551 015601 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run_atac.sh | 6 ++++++
run test.sh | 51 ---------------------------------------------------
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case07u.ref 0000644 0000000 0000000 00000000266 07530534454 015411 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case14r1.ref 0000644 0000000 0000000 00000000064 10300164552 015444 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case15f0.ref 0000644 0000000 0000000 00000001071 07530543243 015440 0 ustar root root build/Makefile.in | 38 19 + 19 - 0 !
build/recover | 49 49 + 0 - 0 !
debian/README.debian | 14 14 + 0 - 0 !
debian/changelog | 53 53 + 0 - 0 !
debian/conffiles | 1 1 + 0 - 0 !
debian/control | 19 19 + 0 - 0 !
debian/copyright | 40 40 + 0 - 0 !
debian/postinst | 21 21 + 0 - 0 !
debian/prerm | 11 11 + 0 - 0 !
debian/rc.boot | 58 58 + 0 - 0 !
debian/rules | 89 89 + 0 - 0 !
debian/substvars | 1 1 + 0 - 0 !
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case24p1.ref 0000644 0000000 0000000 00000000617 10144014205 015442 0 ustar root root Ada95/gen/gen.c | 5 ++---
Ada95/gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
Ada95/gen/terminal_interface-curses.ads.m4 | 10 ++++++----
Ada95/samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
Ada95/samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case38lk.ref 0000644 0000000 0000000 00000000456 12546615551 015561 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case28r1.ref 0000644 0000000 0000000 00000000203 11163734345 015457 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case27u.ref 0000644 0000000 0000000 00000000673 10664325751 015415 0 ustar root root scripts/export_report.pl | 2 +-
Makefile | 4 ++++
b/drivers/cpuidle/governors/menu.c | 2 +-
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/parport/daisy.c | 29 -----------------------------
b/include/linux/parport.h | 1 -
b/fs/select.c | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case06.ref 0000644 0000000 0000000 00000000461 07073762771 015227 0 ustar root root NEWS | 2 +
ncurses/lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++------------
ncurses/lib_initscr.c | 4 ++
ncurses/lib_pad.c | 48 ++++++++++++++++++++-----
test/ncurses.c | 29 +++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case37k.ref 0000644 0000000 0000000 00000001733 12133114345 015366 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case04p1.ref 0000644 0000000 0000000 00000002635 10276756033 015464 0 ustar root root config.cache | 16 ++--!!!!
config.h | 2 +
config.log | 76 +++++++++--------------!!!!!!!!!!!!!!!!!!!!!!!
config.status | 24 +++----!!!!!!
configure.out |only
diffstat |binary
diffstat.o |binary
makefile | 4 -
testing/Xlib-1.patch- |only
testing/Xlib-1.ref |only
testing/Xlib-2.patch- |only
testing/Xlib-2.ref |only
testing/Xlib-3.patch- |only
testing/Xlib-3.ref |only
testing/config-1.ref |only
testing/nugent.ref |only
testing/xserver-1.ref |only
testing/xserver-2.patch- |only
testing/xserver-2.ref |only
testing/xterm-1.patch- |only
testing/xterm-1.ref |only
testing/xterm-10.patch- |only
testing/xterm-10.ref |only
testing/xterm-11.patch- |only
testing/xterm-11.ref |only
testing/xterm-2.patch- |only
testing/xterm-2.ref |only
testing/xterm-3.patch- |only
testing/xterm-3.ref |only
testing/xterm-4.patch- |only
testing/xterm-4.ref |only
testing/xterm-5.patch- |only
testing/xterm-5.ref |only
testing/xterm-6.patch- |only
testing/xterm-6.ref |only
testing/xterm-7.ref |only
testing/xterm-8.patch- |only
testing/xterm-8.ref |only
testing/xterm-9.patch- |only
testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case46p1.ref 0000644 0000000 0000000 00000001216 14320603177 015456 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case38lr1.ref 0000644 0000000 0000000 00000000456 12546615551 015651 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case44b.ref 0000644 0000000 0000000 00000001216 14320603177 015355 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case47R.ref 0000644 0000000 0000000 00000000622 14377643724 015356 0 ustar root root headers.sh | 57 ++-----------------------------
install.sh | 11 ++---
package/debian/cdialog.links | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
po/Makefile.inn | 14 +++----
samples/inputbox6 | 4 --
6 files changed, 23 insertions(+), 74 deletions(-)
diffstat-1.68/testing/case11Rp0.ref 0000644 0000000 0000000 00000000075 11700545536 015574 0 ustar root root test/ncurses.orig.c | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case29k.ref 0000644 0000000 0000000 00000000204 11163734345 015371 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case16f0.ref 0000644 0000000 0000000 00000002417 07605676572 015465 0 ustar root root Makefile.in | 61 34 + 27 - 0 !
README | 5 3 + 2 - 0 !
aclocal.m4 | 7 6 + 1 - 0 !
config.h.in | 6 6 + 0 - 0 !
configure | 386 256 + 130 - 0 !
curses.h | 37 29 + 8 - 0 !
curspriv.h | 12 6 + 6 - 0 !
demos/testcurs.c | 9 7 + 2 - 0 !
doc/intro.man | 27 16 + 11 - 0 !
doc/x11.man | 100 70 + 30 - 0 !
dos/pdckbd.c | 28 27 + 1 - 0 !
install-sh | 26 21 + 5 - 0 !
os2/gccos2.mak | 14 7 + 7 - 0 !
os2/pdckbd.c | 28 27 + 1 - 0 !
os2/pdcurses.def | 8 7 + 1 - 0 !
pdcurses/Makefile.in | 120 77 + 43 - 0 !
pdcurses/border.c | 168 159 + 9 - 0 !
pdcurses/color.c | 26 24 + 2 - 0 !
pdcurses/getch.c | 12 8 + 4 - 0 !
pdcurses/initscr.c | 6 3 + 3 - 0 !
pdcurses/util.c | 6 3 + 3 - 0 !
win32/curses.def | 3 3 + 0 - 0 !
win32/pdckbd.c | 10 5 + 5 - 0 !
x11/README | 15 14 + 1 - 0 !
x11/ScrollBox.c | 32 17 + 15 - 0 !
x11/pdcdisp.c | 4 2 + 2 - 0 !
x11/pdckbd.c | 4 2 + 2 - 0 !
x11/pdcscrn.c | 3 2 + 1 - 0 !
x11/pdcsetsc.c | 11 6 + 5 - 0 !
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case16r2.ref 0000644 0000000 0000000 00000002066 10277702417 015466 0 ustar root root Makefile.in | 61 ++++----
README | 5 +
aclocal.m4 | 7 +
config.h.in | 6 +
configure | 386 ++++++++++++++++++++++++++++++++++-----------------
curses.h | 37 ++++-
curspriv.h | 12 +-
demos/testcurs.c | 9 +
doc/intro.man | 27 ++--
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 ++++
install-sh | 26 +++
os2/gccos2.mak | 14 +-
os2/pdckbd.c | 28 ++++
os2/pdcurses.def | 8 +
pdcurses/Makefile.in | 120 ++++++++++------
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +-
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3 +
win32/pdckbd.c | 10
x11/README | 15 ++
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3 +
x11/pdcsetsc.c | 11 +
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case25R.ref 0000644 0000000 0000000 00000000554 11700545542 015340 0 ustar root root CHANGES | 58 ------------------------------------------------
MANIFEST | 3 --
cmdtbl | 15 ++----------
configure.in | 16 +++----------
doc/filters.doc | 36 +-----------------------------
doc/macros.doc | 67 +++++++++++++++++++++-----------------------------------
6 files changed, 36 insertions(+), 159 deletions(-)
diffstat-1.68/testing/case01.pat 0000644 0000000 0000000 00000040274 06122640235 015220 0 ustar root root --------------------------------------------------------------------------------
--- /build/x11r6/XFree86-3.1.2Cf/xc/config/cf/hp.cf Sat Feb 10 13:55:35 1996
+++ /build/x11r6/XFree86-current/xc/config/cf/hp.cf Mon Feb 19 19:10:15 1996
@@ -59,9 +59,16 @@
#define Malloc0ReturnsNull YES
#ifdef __hp9000s800
+#if HasGcc2
+#define OptimizedCDebugFlags -O
+#define DefaultCCOptions
+#define SharedLibraryCCOptions -fPIC
+#define PositionIndependentCFlags -fPIC
+#else
#define OptimizedCDebugFlags +O1
#define DefaultCCOptions -Ae +ESlit
#define SharedLibraryCCOptions -Ae
+#endif
#define StandardDefines -Dhpux -DSYSV
#define ServerExtraDefines -DXOS -DBSTORE -DSOFTWARE_CURSOR -DNO_ALLOCA -DSCREEN_PIXMAPS -DMERGE_SAVE_UNDERS -DHAS_IFREQ -DFORCE_SEPARATE_PRIVATE
--- /build/x11r6/XFree86-3.1.2Cf/xc/config/cf/hpLib.rules Sat Jan 6 08:11:01 1996
+++ /build/x11r6/XFree86-current/xc/config/cf/hpLib.rules Mon Feb 19 19:11:14 1996
@@ -29,8 +29,10 @@
#define InstLibFlags -m 0555
#endif
#ifndef UseInstalled
+#ifndef HasGcc2
/* assert: LdPostLib pulls in -L$(USRLIBDIR), so it doesn't need to be here */
#define ExtraLoadFlags -Wl,+s,+b,$(USRLIBDIR)
+#endif
#endif
/*
--- /build/x11r6/XFree86-3.1.2Cf/xc/config/imake/imakemdep.h Sat Jan 6 08:11:01 1996
+++ /build/x11r6/XFree86-current/xc/config/imake/imakemdep.h Mon Feb 19 19:15:01 1996
@@ -41,6 +41,10 @@
* These will be passed to the compile along with the contents of the
* make variable BOOTSTRAPCFLAGS.
*/
+#if defined(clipper) || defined(__clipper__)
+#define imake_ccflags "-O -DSYSV -DBOOTSTRAPCFLAGS=-DSYSV"
+#endif
+
#ifdef hpux
#ifdef hp9000s800
#define imake_ccflags "-DSYSV"
@@ -224,6 +228,9 @@
#ifdef apollo
#define DEFAULT_CPP "/usr/lib/cpp"
#endif
+#if defined(clipper) || defined(__clipper__)
+#define DEFAULT_CPP "/usr/lib/cpp"
+#endif
#if defined(_IBMR2) && !defined(DEFAULT_CPP)
#define DEFAULT_CPP "/usr/lpp/X11/Xamples/util/cpp/cpp"
#endif
@@ -529,6 +536,12 @@
struct symtab predefs[] = {
#ifdef apollo
{"apollo", "1"},
+#endif
+#if defined(clipper) || defined(__clipper__)
+ {"clipper", "1"},
+ {"__clipper__", "1"},
+ {"clix", "1"},
+ {"__clix__", "1"},
#endif
#ifdef ibm032
{"ibm032", "1"},
--- /build/x11r6/XFree86-3.1.2Cf/xc/config/makedepend/main.c Fri Jan 26 11:43:22 1996
+++ /build/x11r6/XFree86-current/xc/config/makedepend/main.c Mon Feb 19 19:16:06 1996
@@ -570,7 +570,7 @@
return(file);
}
-#if defined(USG) && !defined(CRAY) && !defined(SVR4) && !defined(__EMX__)
+#if defined(USG) && !defined(CRAY) && !defined(SVR4) && !defined(__EMX__) && !defined(clipper) && !defined(__clipper__)
int rename (from, to)
char *from, *to;
{
--- /build/x11r6/XFree86-3.1.2Cf/xc/include/Xos.h Fri Jan 26 11:43:22 1996
+++ /build/x11r6/XFree86-current/xc/include/Xos.h Mon Feb 19 19:18:23 1996
@@ -77,6 +77,7 @@
#ifndef X_NOT_STDC_ENV
+#if !(defined(sun) && !defined(SVR4)) /* 'index' is problem with K&R */
#include
#ifndef index
#define index(s,c) (strchr((s),(c)))
@@ -84,10 +85,14 @@
#ifndef rindex
#define rindex(s,c) (strrchr((s),(c)))
#endif
+#endif
#else
#ifdef SYSV
+#if defined(clipper) || defined(__clipper__)
+#include
+#endif
#include
#define index strchr
#define rindex strrchr
@@ -149,7 +154,7 @@
#ifdef CRAY
#undef word
#endif /* CRAY */
-#if defined(USG) && !defined(CRAY) && !defined(MOTOROLA) && !defined(uniosu) && !defined(__sxg__)
+#if defined(USG) && !defined(CRAY) && !defined(MOTOROLA) && !defined(uniosu) && !defined(__sxg__) && !defined(clipper) && !defined(__clipper__)
struct timeval {
long tv_sec;
long tv_usec;
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/import/mijpeg.c Sun Apr 17 20:34:54 1994
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/import/mijpeg.c Mon Feb 19 18:48:31 1996
@@ -114,7 +114,7 @@
/*
* routines referenced by other DDXIE modules
-/*
+ */
int CreateIPhotoJpegBase();
int InitializeIPhotoJpegBase();
int InitializeICPhotoJpegBase();
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/process/mpgeomaa.c Sun Apr 17 20:35:19 1994
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/process/mpgeomaa.c Mon Feb 19 18:49:43 1996
@@ -242,7 +242,7 @@
}
}
/*------------------------------------------------------------------------
-/*------------------------------------------------------------------------
+--------------------------------------------------------------------------
---------------------------- initialize peTex . . . ----------------------
------------------------------------------------------------------------*/
static int InitializeGeomAA(flo,ped)
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/process/mpgeomnn.c Sat Jan 6 08:11:01 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/XIE/mixie/process/mpgeomnn.c Mon Feb 19 18:50:29 1996
@@ -259,7 +259,7 @@
}
/*------------------------------------------------------------------------
-/*------------------------------------------------------------------------
+--------------------------------------------------------------------------
---------------------------- initialize peTex . . . ----------------------
------------------------------------------------------------------------*/
static int InitializeGeomNN(flo,ped)
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/hp/input/drivers/hil_driver.c Mon Jan 30 23:07:07 1995
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/hp/input/drivers/hil_driver.c Mon Feb 19 18:51:11 1996
@@ -431,7 +431,7 @@
return FALSE;
id = describe[0];
-/* printf("fd is %d errno is %d id is %x\n", fd, errno, id); /* */
+/* printf("fd is %d errno is %d id is %x\n", fd, errno, id); */
num_axes = (describe[1] & HIL_NUM_AXES);
if (id == NINE_KNOB_ID && num_axes != 3) id = QUAD_ID;
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/hp/input/hpKeyMap.c Mon Jan 30 23:06:55 1995
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/hp/input/hpKeyMap.c Mon Feb 19 18:52:20 1996
@@ -85,7 +85,7 @@
/* code values in comments at line end are actual value reported on HIL.
REMEMBER, there is an offset of MIN_KEYCODE+2 applied to this table!
The PS2 keyboard table begins at offset 0, the 46021A table begins with
- the third row. *./
+ the third row. */
/* Extend Char Right -- a.k.a. Kanji? */
XK_Control_R, NoSymbol, NoSymbol, NoSymbol, /* 0x00 */
NoSymbol, NoSymbol, NoSymbol, NoSymbol, /* 0x01 */
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/accel/i128/i128scrin.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/accel/i128/i128scrin.c Mon Feb 19 18:53:02 1996
@@ -348,7 +348,7 @@
pScreen->DestroyColormap = (DestroyColormapProcPtr)NoopDDA;
pScreen->ResolveColor = cfbResolveColor;
pScreen->BitmapToRegion = mfbPixmapToRegion;
-#if 0 /* What's this for?! /* *TO*DO* */
+#if 0 /* What's this for?! *TO*DO* */
pScreen->BlockHandler = i128BlockHandler;
#endif
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c Mon Feb 19 18:53:37 1996
@@ -351,7 +351,7 @@
pScreen->DestroyColormap = (DestroyColormapProcPtr)NoopDDA;
pScreen->ResolveColor = cfbResolveColor;
pScreen->BitmapToRegion = mfbPixmapToRegion;
-#if 0 /* What's this for?! /* *TO*DO* */
+#if 0 /* What's this for?! *TO*DO* */
pScreen->BlockHandler = p9000BlockHandler;
#endif
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h Mon Feb 19 18:54:57 1996
@@ -8,7 +8,7 @@
* Hamish Coleman 11/93 hamish@zot.apana.org.au
*
* derived from:
- * bdm2/hgc1280/*
+ * bdm2/hgc1280/...
* Pascal Haible 8/93, haible@izfm.uni-stuttgart.de
*
* see mono/COPYRIGHT for copyright and disclaimers.
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c Mon Feb 19 18:55:33 1996
@@ -8,12 +8,12 @@
* Hamish Coleman 11/93 hamish@zot.apana.org.au
*
* derived from:
- * bdm2/hgc1280/*
+ * bdm2/hgc1280/...
* Pascal Haible 8/93, haible@izfm.uni-stuttgart.de
- * hga2/*
+ * hga2/...
* Author: Davor Matic, dmatic@athena.mit.edu
* and
- * vga256/*
+ * vga256/...
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
* Thanks to Herb Peyerl (hpeyerl@novatel.ca) for the information on
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c Mon Feb 19 18:55:54 1996
@@ -6,10 +6,10 @@
* mono/driver/hgc1280/hgc1280driv.c
*
* derived from:
- * hga2/*
+ * hga2/...
* Author: Davor Matic, dmatic@athena.mit.edu
* and
- * vga256/*
+ * vga256/...
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
* see mono/COPYRIGHT for copyright and disclaimers.
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c Mon Feb 19 18:56:15 1996
@@ -7,10 +7,10 @@
* mono/driver/sigma/sigmadriv.c
*
* Parts derived from:
- * hga2/*
+ * hga2/...
* Author: Davor Matic, dmatic@athena.mit.edu
* and
- * vga256/*
+ * vga256/...
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
* see mono/COPYRIGHT for copyright and disclaimers.
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/mono/mono.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/mono/mono.c Mon Feb 19 18:56:58 1996
@@ -6,10 +6,10 @@
* mono/mono/mono.c
*
* derived from:
- * hga2/*
+ * hga2/...
* Author: Davor Matic, dmatic@athena.mit.edu
* and
- * vga256/*
+ * vga256/...
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
* see mono/COPYRIGHT for copyright and disclaimers.
@@ -512,7 +512,7 @@
DDXPointRec pixPt; /* Point: upper left corner */
PixmapPtr pspix; /* Pointer to the pixmap of the saved screen */
ScreenPtr pScreen = savepScreen; /* This is the 'old' Screen:
- /* real screen on leave, dummy on enter */
+ real screen on leave, dummy on enter */
/* Set up pointer to the saved pixmap (pspix) only if not resetting
and not exiting */
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/mono/mono.h Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/mono/mono/mono.h Mon Feb 19 18:57:19 1996
@@ -6,10 +6,10 @@
* mono/mono/mono.h
*
* derived from:
- * hga2/*
+ * hga2/...
* Author: Davor Matic, dmatic@athena.mit.edu
* and
- * vga256/*
+ * vga256/...
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
*
* see mono/COPYRIGHT for copyright and disclaimers.
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c Mon Feb 19 18:57:57 1996
@@ -27,7 +27,7 @@
#include "OScompiler.h"
-/* #include "ibmIOArch.h" /* GJA */
+/* #include "ibmIOArch.h" -- GJA */
#include "vgaVideo.h"
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h Fri Feb 9 13:08:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h Mon Feb 19 18:58:43 1996
@@ -679,7 +679,7 @@
#define GEN_TEST_CNT_VALUE 0x3f000000 /* Mach64CT/ET */
#define GEN_TEST_CC_EN 0x40000000 /* Mach64GX/CX */
#define GEN_TEST_CC_STROBE 0x80000000 /* Mach64GX/CX */
-/* ? 0xc0000000 /* Mach64CT/ET */
+/* ? 0xc0000000 */ /* Mach64CT/ET */
#define CONFIG_CNTL 0x6aec
#define CFG_MEM_AP_SIZE 0x00000003
#define CFG_MEM_VGA_AP_EN 0x00000004
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c Fri Feb 9 13:08:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c Mon Feb 19 18:59:33 1996
@@ -126,7 +126,7 @@
/* For the lower byte of the 32-bit color registers, there is no safe
* invalid value. We just set them to a specific value (making sure
* we don't write to non-existant color registers).
- *
+ */
cirrusBackgroundColorShadow = 0xffffffff; /* Defeat the macros. */
cirrusForegroundColorShadow = 0xffffffff;
if (cirrusChip >= CLGD5422 && cirrusChip <= CLGD5430) {
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c Mon Feb 19 19:00:02 1996
@@ -22,7 +22,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*
* Author: Simon P. Cooper,
- *
+ */
/* $XConsortium: cir_cursor.c /main/8 1995/11/13 08:20:54 kaleb $ */
#define CIRRUS_DEBUG_CURSOR
--- /build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c Mon Feb 5 12:03:00 1996
+++ /build/x11r6/XFree86-current/xc/programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c Mon Feb 19 19:00:52 1996
@@ -1402,7 +1402,7 @@
case OTI37C:
default:
#ifndef MONOVGA
- /* new->std.CRTC[19] = vga256InfoRec.virtualX >> 3; /* 3 in byte mode */
+ /* new->std.CRTC[19] = vga256InfoRec.virtualX >> 3; -- 3 in byte mode */
/* much clearer as 0x01 than 0x41, seems odd though... */
new->std.Attribute[16] = 0x01;
if ( new->std.NoClock >= 0 )
--- /build/x11r6/XFree86-3.1.2Cf/xc/test/xsuite/xtest/src/bin/mc/files.c Sun Apr 17 21:00:20 1994
+++ /build/x11r6/XFree86-current/xc/test/xsuite/xtest/src/bin/mc/files.c Mon Feb 19 19:02:49 1996
@@ -95,7 +95,7 @@
char buf[BUFSIZ];
/*
- * Look for a corresponding file with name lib/mc/*.mc .
+ * Look for a corresponding file with name lib/mc/{*}.mc .
*/
(void) sprintf(buf, "mc/%s", file);
file = buf;
--- /build/x11r6/XFree86-3.1.2Cf/xc/util/patch/malloc.c Wed Aug 15 01:13:33 1990
+++ /build/x11r6/XFree86-current/xc/util/patch/malloc.c Mon Feb 19 19:04:28 1996
@@ -30,10 +30,8 @@
* go in the first int of the block, and the returned pointer will point
* to the second.
*
-#ifdef MSTATS
* nmalloc[i] is the difference between the number of mallocs and frees
* for a given block size.
-#endif /* MSTATS */
*/
#define ISALLOC ((char) 0xf7) /* magic byte that implies allocation */
@@ -208,7 +206,7 @@
if (--nblks <= 0) break;
CHAIN ((struct mhead *) cp) = (struct mhead *) (cp + siz);
cp += siz;}
-/* CHAIN ((struct mhead *) cp) = 0; /* since sbrk() returns cleared core, this is already set */
+/* CHAIN ((struct mhead *) cp) = 0; -- since sbrk() returns cleared core, this is already set */
}
static
@@ -449,10 +447,10 @@
return (1 << (p -> mh_index + 3)) - sizeof *p;
/**/
/* if (p -> mh_index >= 13)
-/* return (1 << (p -> mh_index + 3)) - sizeof *p;
-/* else
-/* return p -> mh_size;
-/**/
+ * return (1 << (p -> mh_index + 3)) - sizeof *p;
+ * else
+ * return p -> mh_size;
+ */
#endif /* rcheck */
}
--- /build/x11r6/XFree86-3.1.2Cf/xc/util/patch/pch.c Sat Jan 6 08:11:01 1996
+++ /build/x11r6/XFree86-current/xc/util/patch/pch.c Mon Feb 19 19:05:12 1996
@@ -1,5 +1,5 @@
/* oldHeader: pch.c,v 2.0.1.7 88/06/03 15:13:28 lwall Locked $
-/* $XConsortium: pch.c,v 3.3 94/09/14 21:22:55 gildea Exp $
+ * $XConsortium: pch.c,v 3.3 94/09/14 21:22:55 gildea Exp $
*
* Revision 2.0.2.0 90/05/01 22:17:51 davison
* patch12u: unidiff support added
--- /build/x11r6/XFree86-3.1.2Cf/xc/config/cf/Imake.cf Fri Jan 26 11:43:22 1996
+++ /build/x11r6/XFree86-current/xc/config/cf/Imake.cf Mon Feb 19 19:13:58 1996
@@ -19,6 +19,13 @@
* 4. Create a .cf file with the name given by MacroFile.
*/
+#if defined(clipper) || defined(__clipper__)
+# undef clipper
+# define MacroIncludeFile
+# define MacroFile ingr.cf
+# define IngrArchitecture
+#endif /* clipper */
+
#ifdef ultrix
# define MacroIncludeFile
# define MacroFile ultrix.cf
diffstat-1.68/testing/case33b.ref 0000644 0000000 0000000 00000000105 11246713507 015352 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case08u.ref 0000644 0000000 0000000 00000000502 07530534454 015403 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case09u.ref 0000644 0000000 0000000 00000000021 07530534455 015401 0 ustar root root 0 files changed
diffstat-1.68/testing/README 0000644 0000000 0000000 00000000335 10161020111 014267 0 ustar root root -- $Id: README,v 1.1 2004/12/18 12:19:21 tom Exp $
The files in this directory are used for regression-checks of diffstat. The
full test-suite is not distributed since some of the test-data is not freely
distributable.
diffstat-1.68/testing/case05.pat 0000644 0000000 0000000 00000001161 06122631736 015222 0 ustar root root diff -r -c diffstat/config.cache diffstat.orig/config.cache
*** 1.1 Fri Mar 15 19:27:13 1996
--- diffstat.orig/config.cache Fri Mar 15 19:51:02 1996
***************
*** 13,28 ****
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
- ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
--- 13,28 ----
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
diffstat-1.68/testing/case40.ref 0000644 0000000 0000000 00000000156 13777412627 015226 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case38l.ref 0000644 0000000 0000000 00000000456 12546615551 015406 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case36r2.ref 0000644 0000000 0000000 00000003373 12133111243 015452 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++-----------!!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 !
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case07k.ref 0000644 0000000 0000000 00000000266 07530543207 015373 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case08r1.ref 0000644 0000000 0000000 00000000502 10277702416 015456 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case36b.ref 0000644 0000000 0000000 00000003245 12133111320 015342 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
38 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case42u.ref 0000644 0000000 0000000 00000000475 14320561540 015401 0 ustar root root testing2/case39k.ref | 1 +
testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing2/full.log |only
testing2/full.txt |only
testing/short1.log |only
testing/short1.txt |only
testing/short.log |only
testing/short.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case49b.ref 0000644 0000000 0000000 00000000117 14714413543 015364 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case28.ref 0000644 0000000 0000000 00000000204 11163734344 015214 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case16R.ref 0000644 0000000 0000000 00000002051 11700545537 015336 0 ustar root root Makefile.in | 61 +++-----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++----------------------------------
curses.h | 37 +---
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 +--
doc/x11.man | 100 +++----------
dos/pdckbd.c | 28 ---
dos/wccdos.lrf | 26 ---
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 ---
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 +++++----------
pdcurses/border.c | 168 +---------------------
pdcurses/color.c | 26 ---
pdcurses/getch.c | 12 -
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 -
x11/ScrollBox.c | 32 +---
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 327 insertions(+), 847 deletions(-)
diffstat-1.68/testing/case21Rp0.ref 0000644 0000000 0000000 00000000116 11700545541 015565 0 ustar root root diffstat-1.31/diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case24b.ref 0000644 0000000 0000000 00000000561 10667374026 015365 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case10.pat 0000644 0000000 0000000 00000003204 06125122227 015207 0 ustar root root Index: allowev.c
*** /build/x11r6/XFree86-960317/xc/programs/Xserver/Xi/allowev.c Sun Mar 17 20:08:01 1996
--- /build/x11r6/XFree86-current/xc/programs/Xserver/Xi/allowev.c Wed Mar 20 20:47:09 1996
***************
*** 63,72 ****
#include "extnsionst.h"
#include "extinit.h" /* LookupDeviceIntRec */
! extern int IReqCode;
! extern int BadDevice;
! extern void (* ReplySwapVector[256]) ();
/***********************************************************************
*
--- 63,71 ----
#include "extnsionst.h"
#include "extinit.h" /* LookupDeviceIntRec */
+ #include "exglobals.h"
! #include "allowev.h"
/***********************************************************************
*
***************
*** 99,105 ****
{
TimeStamp time;
DeviceIntPtr thisdev;
- void AllowSome ();
REQUEST(xAllowDeviceEventsReq);
REQUEST_SIZE_MATCH(xAllowDeviceEventsReq);
--- 98,103 ----
Index: XIstubs.h
*** /dev/null Sun Jul 17 19:46:18 1994
--- /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h Wed Mar 20 22:08:14 1996
***************
*** 0 ****
--- 1,105 ----
+ /* $XConsortium$ */
+ /* $XFree86$ */
+
+ #ifndef XI_STUBS_H
+ #define XI_STUBS_H 1
+
+ int
+ ChangePointerDevice (
+ #if NeedFunctionPrototypes
+ DeviceIntPtr /* old_dev */,
+ DeviceIntPtr /* new_dev */,
+ unsigned char /* x */,
+ unsigned char /* y */
+ #endif
+ );
+
+ int
+ ChangeDeviceControl (
+ #if NeedFunctionPrototypes
+ ClientPtr /* client */,
+ DeviceIntPtr /* dev */,
+ xDeviceCtl * /* control */
+ #endif
+ );
+
+ #endif /* XI_STUBS_H */
diffstat-1.68/testing/case11r2.ref 0000644 0000000 0000000 00000000064 10300164551 015441 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case46.ref 0000644 0000000 0000000 00000001216 14320603177 015215 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case43b.ref 0000644 0000000 0000000 00000001216 14320603177 015354 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case13p9.ref 0000644 0000000 0000000 00000000303 10276756034 015463 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case01r1.ref 0000644 0000000 0000000 00000004101 10277702415 015445 0 ustar root root config/cf/Imake.cf | 7 +++++
config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 ++
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 +-
include/Xos.h | 7 +++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 +-
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 +-
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 +-
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 +-
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 +-
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 +-
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 +-
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 +-
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 ++--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 ++--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 +-
test/xsuite/xtest/src/bin/mc/files.c | 2 +-
util/patch/malloc.c | 12 ++++-----
util/patch/pch.c | 2 +-
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case40b.ref 0000644 0000000 0000000 00000000105 13777406456 015365 0 ustar root root diffstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case41Rp0.ref 0000644 0000000 0000000 00000000206 13777421437 015604 0 ustar root root /dev/null | 6 ------
a/hello.c | 2 +-
a/hello.o |binary
b/hello.c | 1 -
4 files changed, 1 insertion(+), 8 deletions(-)
diffstat-1.68/testing/case14f0.ref 0000644 0000000 0000000 00000000077 10300164552 015433 0 ustar root root ncurses.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case05p9.ref 0000644 0000000 0000000 00000000066 10300164550 015452 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case44r1.ref 0000644 0000000 0000000 00000001216 14320603177 015456 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case15r2.ref 0000644 0000000 0000000 00000001200 10277702417 015452 0 ustar root root build/Makefile.in | 38 +++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1 +
debian/control | 19 +++++++++++
debian/copyright | 40 +++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1 +
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case39p1.ref 0000644 0000000 0000000 00000000156 13777406456 015502 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case38lp9.ref 0000644 0000000 0000000 00000000456 12546615551 015657 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case45k.ref 0000644 0000000 0000000 00000001216 14320603177 015367 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case11b.ref 0000644 0000000 0000000 00000000064 10667374023 015354 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case11R.ref 0000644 0000000 0000000 00000000070 11700545536 015327 0 ustar root root ncurses.orig.c | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case31uk.ref 0000644 0000000 0000000 00000000121 11240121111 015516 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case43r1.ref 0000644 0000000 0000000 00000001216 14320603177 015455 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case31lb.ref 0000644 0000000 0000000 00000000100 11237775205 015522 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case49r1.ref 0000644 0000000 0000000 00000000117 14714413542 015464 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case13R.ref 0000644 0000000 0000000 00000000303 11700545536 015330 0 ustar root root UCAux.c | 42 ++++++++!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 18 insertions(+), 1 deletion(-), 141 modifications(!)
diffstat-1.68/testing/case22p9.ref 0000644 0000000 0000000 00000002150 10226221642 015450 0 ustar root root PATCHES | 1 +
ca.po | 10 +++++-----
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
cs.po | 8 ++++----
da.po | 8 ++++----
de.po | 8 ++++----
el.po | 8 ++++----
eo.po | 8 ++++----
es.po | 9 +++++----
et.po | 6 +++---
fr.po | 8 ++++----
gl.po | 8 ++++----
hu.po | 8 ++++----
id.po | 8 ++++----
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
it.po | 8 ++++----
ja.po | 9 +++++----
ko.po | 8 ++++----
lt.po | 13 ++++++-------
mutt.h | 4 +++-
nl.po | 8 ++++----
pgp.c | 5 ++++-
pgplib.h | 1 +
pl.po | 8 ++++----
postpone.c | 7 +++++++
pt_BR.po | 12 ++++++------
ru.po | 8 ++++----
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
sk.po | 13 ++++++-------
sv.po | 8 ++++----
tr.po | 8 ++++----
uk.po | 8 ++++----
zh_CN.po | 6 +++---
zh_TW.po | 6 +++---
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case39r2.ref 0000644 0000000 0000000 00000000156 13777406456 015505 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case46r1.ref 0000644 0000000 0000000 00000001216 14320603177 015460 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case43u.ref 0000644 0000000 0000000 00000001216 14320603177 015377 0 ustar root root configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
NEWS | 9 ++++++++-
package/debian/changelog | 4 ++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
VERSION | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case43p9.ref 0000644 0000000 0000000 00000000640 14320603177 015463 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
changelog | 12 ++++++------
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
gen-pkgconfig.in | 8 ++++++--
mingw-ncurses.nsi | 4 ++--
mingw-ncurses.spec | 2 +-
ncurses.spec | 2 +-
ncursest.spec | 2 +-
11 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case36p1.ref 0000644 0000000 0000000 00000002635 12133111320 015443 0 ustar root root config.cache | 16 ++--!!!!
config.h | 2 +
config.log | 76 +++++++++--------------!!!!!!!!!!!!!!!!!!!!!!!
config.status | 24 +++----!!!!!!
configure.out |only
diffstat |binary
diffstat.o |binary
makefile | 4 -
testing/Xlib-1.patch- |only
testing/Xlib-1.ref |only
testing/Xlib-2.patch- |only
testing/Xlib-2.ref |only
testing/Xlib-3.patch- |only
testing/Xlib-3.ref |only
testing/config-1.ref |only
testing/nugent.ref |only
testing/xserver-1.ref |only
testing/xserver-2.patch- |only
testing/xserver-2.ref |only
testing/xterm-1.patch- |only
testing/xterm-1.ref |only
testing/xterm-10.patch- |only
testing/xterm-10.ref |only
testing/xterm-11.patch- |only
testing/xterm-11.ref |only
testing/xterm-2.patch- |only
testing/xterm-2.ref |only
testing/xterm-3.patch- |only
testing/xterm-3.ref |only
testing/xterm-4.patch- |only
testing/xterm-4.ref |only
testing/xterm-5.patch- |only
testing/xterm-5.ref |only
testing/xterm-6.patch- |only
testing/xterm-6.ref |only
testing/xterm-7.ref |only
testing/xterm-8.patch- |only
testing/xterm-8.ref |only
testing/xterm-9.patch- |only
testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case07R.ref 0000644 0000000 0000000 00000000163 11700545534 015335 0 ustar root root null | 100 -------------------------------------------------------------------
1 file changed, 100 deletions(-)
diffstat-1.68/testing/case47b.ref 0000644 0000000 0000000 00000000622 14377643723 015375 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++--
package/debian/cdialog.install | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
po/makefile.inn | 14 +++----
samples/inputbox6-utf8 | 4 +-
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case14k.ref 0000644 0000000 0000000 00000000064 10300164552 015354 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case31.ref 0000644 0000000 0000000 00000000121 11234653116 015200 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case26p9.ref 0000644 0000000 0000000 00000002274 10451755075 015477 0 ustar root root 00list | 8 -
100_double_ampersand.dpatch | 20 ++
100_fl_filename_name.dpatch | 22 ---
101_visible_focus.dpatch | 20 --
102_charstruct.dpatch | 46 ------
103_man_typo.dpatch | 20 --
104_g++-4.1_warning.dpatch | 61 --------
105_double_ampersand.dpatch | 49 -------
200_Debian_menu.dpatch | 14 +-
201_background_color.dpatch | 59 --------
202_background_color_2.dpatch | 92 -------------
Frame.C | 294 +++++++++++++++++++++++++++++++-----------
Frame.H | 21 +--
Hotkeys.C | 32 ++++
Makefile | 2
Menu.C | 70 ++++++----
README | 18 +-
Rotated.C | 61 ++++----
changelog | 12 +
config.h | 6
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 ++
main.C | 99 ++++++++++----
patch-stamp | 25 ---
watch | 3
26 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case03r1.ref 0000644 0000000 0000000 00000000247 10277702415 015456 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case34k.ref 0000644 0000000 0000000 00000000144 11762443774 015400 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case41.pat 0000644 0000000 0000000 00000006570 13777265015 015242 0 ustar root root commit 05ca23d0002c378ac5db76b17410183ef50297bc
Author: Thomas E. Dickey
Date: Tue Jan 12 04:19:41 2021 -0500
Hello world!
diff --git a/hello.c b/hello.c
index a9f911c..4a42a83 100644
--- a/hello.c
+++ b/hello.c
@@ -2,6 +2,6 @@
int main(void)
{
- printf("Hello!\n");
+ printf("Hello world!\n");
return 0;
}
diff --git a/hello.o b/hello.o
index 9d2a05c4da9fcefaf858c82ec387095ba477da5a..718ae91813f694202302d3fe812c9ff340dd4743 100644
GIT binary patch
delta 28
kcmeyt^MhxCE4xB@eo;<};zpk{%#6Gf4+?MAVew%C0G)vez5oCK
delta 28
gcmeyt^MhxCE4v~C7;N-8!_3G&@u2W#9Tp!Z0Cac
Date: Tue Jan 12 04:19:08 2021 -0500
Hello!
diff --git a/hello.c b/hello.c
index 1e562d6..a9f911c 100644
--- a/hello.c
+++ b/hello.c
@@ -2,5 +2,6 @@
int main(void)
{
+ printf("Hello!\n");
return 0;
}
diff --git a/hello.o b/hello.o
index abce3cfeafc342a523b2930d499d2ce200f3ad5e..9d2a05c4da9fcefaf858c82ec387095ba477da5a 100644
GIT binary patch
literal 1656
zcmbVL&ubG=5T0$+uGofH1%)c4CoR}VQbCHMY@6oCVQEXPcw9E=YKqyUWVceiDAa=&
z!9T~Npnr@9FWx)|b-wHy^L)F#bl|<2`R1GVW_IVjYx=Dj#~~4ip3u}2l<4=&)b=K(
zM`fC)PBa*dmZq`J$xpZQ=`nyG*y>+9C*R#~)NV8$R_|^`-GgvgT~qf}ZRNpoW`IW5
zCp(ezc9)#vinBO3>we}!fZx)w8_=8O%5K@!NM51#3-s$WA0a9gb_U#N&PXhAq)1A9
zLy?r|ViC-z6xUm#%Q=3AoOS+ej$dYE!MJzwjTpPetCC|AEuVo?A3sv{NcoK##o@t_
zg0{cCvF-=kt=7}#Ua+^m;Wq<1JW3NjLn^_SL(P9qGnr!>f)3_+30`Fz0{*3mr8kwl
ziPNx4DoMwg?u(U1$0@1(Fbzp{lZ4cG1P9EzshkCCxH|hs3#$ghNiu9Z{|?76Rp-sW
z$GJFjm6s`=cI5v`OzsyA9&Ee+9i1R^sNLKwKH>mo#1n$nYZwrgTBhgIc&?Y@0jK`MTVH%#Yf#>yr9~h&qe<@9P7lPxO!X
zCHaD*9{X;F=nFQM9bGWqBhIk%ai%>x43Vo3Rd5Wk`@hPuqWt$d|Fw||)6V}3ek*9U
delta 329
zcmeytGl6S@hLivk0~|PjSq=<54BQNc2PUS;P3%x%WS-2(tUU2T9U~i%Av$>tqsSy6
z(~nVT@&rZ}Lm>thxOQe3D
Date: Tue Jan 12 04:18:36 2021 -0500
fix permissions
diff --git a/hello.c b/hello.c
old mode 100755
new mode 100644
commit 304b535d7ca93538ca800e6a3a5d7f0b75b3fd00
Author: Thomas E. Dickey
Date: Tue Jan 12 04:18:09 2021 -0500
just return
diff --git a/hello.c b/hello.c
new file mode 100755
index 0000000..1e562d6
--- /dev/null
+++ b/hello.c
@@ -0,0 +1,6 @@
+#include
+
+int main(void)
+{
+ return 0;
+}
diff --git a/hello.o b/hello.o
new file mode 100644
index 0000000000000000000000000000000000000000..abce3cfeafc342a523b2930d499d2ce200f3ad5e
GIT binary patch
literal 1296
zcmbtT!AiqG5S=t?s}`x^L8wAKsbH6iAku>bs`ert6v3O_)Rh*Sv?LL#7yX2OhMyt$
zL;3|eV|LSZ-Fnc0WM~VgVT1z+UzIgi`rjPwGzIS;HjZoE7{CQ>
zX-(*2#bz!}u$c=pHW<6)C*adR@L5EbwEo!!9ntIcSsMc04UtokO4|He7Z%?K3HO1;
zNtF7IiV`tQfL-&11M}k;7y-!RQF1o`*6s&^2$2!?6TzCN7ga2^Z-GUk$C>C{-9$VP
za_)a!85_{IGEdB#(3rTotz$x1c0RJ`NpCt+zk!4TK7ZA3qn3J3+TZM3LauIgOh{kT
zL5v$RUo&vEzw*RWu}*F2i58pOORN!Q-u#x-n0wJ#>2{6@{RN&5Vod)m*-Gkw?lawf
wrB}FZHc3YGLVHUc%%P_qrk*hKj7jn&=PyvAnS?WB5hI)aSrYw>nFgl*6QE~3d;kCd
literal 0
HcmV?d00001
diffstat-1.68/testing/case48k.ref 0000644 0000000 0000000 00000000107 14714413375 015376 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case04p9.ref 0000644 0000000 0000000 00000002150 10276756033 015464 0 ustar root root Xlib-1.patch- |only
Xlib-1.ref |only
Xlib-2.patch- |only
Xlib-2.ref |only
Xlib-3.patch- |only
Xlib-3.ref |only
config-1.ref |only
config.cache | 16 ++---!!!!
config.h | 2 +
config.log | 76 ++++++++++-----------------!!!!!!!!!!!!!!!!!!!!!!!!!!
config.status | 24 ++++----!!!!!!!!
configure.out |only
diffstat |binary
diffstat.o |binary
makefile | 4 -
nugent.ref |only
xserver-1.ref |only
xserver-2.patch- |only
xserver-2.ref |only
xterm-1.patch- |only
xterm-1.ref |only
xterm-10.patch- |only
xterm-10.ref |only
xterm-11.patch- |only
xterm-11.ref |only
xterm-2.patch- |only
xterm-2.ref |only
xterm-3.patch- |only
xterm-3.ref |only
xterm-4.patch- |only
xterm-4.ref |only
xterm-5.patch- |only
xterm-5.ref |only
xterm-6.patch- |only
xterm-6.ref |only
xterm-7.ref |only
xterm-8.patch- |only
xterm-8.ref |only
xterm-9.patch- |only
xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case17k.ref 0000644 0000000 0000000 00000000274 07530543210 015365 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case38lu.ref 0000644 0000000 0000000 00000000456 12546615551 015573 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run_atac.sh | 6 ------
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case26.ref 0000644 0000000 0000000 00000003671 10451755075 015230 0 ustar root root Frame.C | 294 ++++++++++++++++++++-------
Frame.H | 21 +
Hotkeys.C | 32 ++
Makefile | 2
Menu.C | 70 +++---
README | 18 -
Rotated.C | 61 +++--
config.h | 6
debian/changelog | 12 +
debian/patched/100_double_ampersand.dpatch | 1
debian/patched/100_fl_filename_name.dpatch | 2
debian/patched/101_visible_focus.dpatch | 1
debian/patched/102_charstruct.dpatch | 1
debian/patched/103_man_typo.dpatch | 1
debian/patched/104_g++-4.1_warning.dpatch | 3
debian/patched/105_double_ampersand.dpatch | 1
debian/patched/201_background_color.dpatch | 2
debian/patches/00list | 8
debian/patches/100_double_ampersand.dpatch | 19 +
debian/patches/100_fl_filename_name.dpatch | 20 -
debian/patches/101_visible_focus.dpatch | 19 -
debian/patches/102_charstruct.dpatch | 45 ----
debian/patches/103_man_typo.dpatch | 19 -
debian/patches/104_g++-4.1_warning.dpatch | 58 -----
debian/patches/105_double_ampersand.dpatch | 48 ----
debian/patches/200_Debian_menu.dpatch | 14 -
debian/patches/201_background_color.dpatch | 57 -----
debian/patches/202_background_color_2.dpatch | 92 --------
debian/watch | 3
flwm.1 | 4
flwm_wmconfig | 4
logo.fl | 19 +
main.C | 99 ++++++---
patch-stamp | 25 --
34 files changed, 498 insertions(+), 583 deletions(-)
diffstat-1.68/testing/case24k.ref 0000644 0000000 0000000 00000000561 10144014205 015352 0 ustar root root gen/gen.c | 5 ++---
gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
gen/terminal_interface-curses.ads.m4 | 10 ++++++----
samples/ncurses2-acs_and_scroll.adb | 15 ++++++++-------
samples/ncurses2-acs_display.adb | 21 ++++++++++++---------
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case31u.pat 0000644 0000000 0000000 00000004612 11234652523 015407 0 ustar root root ==== //depot/vendor/freebsd/src/sys/dev/usb/usbdevs#353 (text+ko) - //depot/projects/usb/src/sys/dev/usb/usbdevs#72 (text+ko) ==== content
@@ -1,4 +1,4 @@
-$FreeBSD: src/sys/dev/usb/usbdevs,v 1.421 2009/07/30 18:53:06 weongyo Exp $
+$FreeBSD: src/sys/dev/usb/usbdevs,v 1.420 2009/07/30 00:15:17 alfred Exp $
/* $NetBSD: usbdevs,v 1.392 2004/12/29 08:38:44 imp Exp $ */
/*-
@@ -861,6 +861,12 @@
/* Apple Computer products */
product APPLE EXT_KBD 0x020c Apple Extended USB Keyboard
+product APPLE KBD_TP_ANSI 0x0223 Apple Internal Keyboard/Trackpad (Wellspring/ANSI)
+product APPLE KBD_TP_ISO 0x0224 Apple Internal Keyboard/Trackpad (Wellspring/ISO)
+product APPLE KBD_TP_JIS 0x0225 Apple Internal Keyboard/Trackpad (Wellspring/JIS)
+product APPLE KBD_TP_ANSI2 0x0230 Apple Internal Keyboard/Trackpad (Wellspring2/ANSI)
+product APPLE KBD_TP_ISO2 0x0231 Apple Internal Keyboard/Trackpad (Wellspring2/ISO)
+product APPLE KBD_TP_JIS2 0x0232 Apple Internal Keyboard/Trackpad (Wellspring2/JIS)
product APPLE OPTMOUSE 0x0302 Optical mouse
product APPLE MIGHTYMOUSE 0x0304 Mighty Mouse
product APPLE EXT_KBD_HUB 0x1003 Hub in Apple Extended USB Keyboard
@@ -902,6 +908,7 @@
product ASUS RT2573_2 0x1724 RT2573
product ASUS LCM 0x1726 LCM display
product ASUS P535 0x420f ASUS P535 PDA
+product ASUS GMSC 0x422f ASUS Generic Mass Storage
/* ATen products */
product ATEN UC1284 0x2001 Parallel printer
@@ -1177,12 +1184,12 @@
product DLINK DSB650TX3 0x400b 10/100 Ethernet
product DLINK DSB650TX2 0x4102 10/100 Ethernet
product DLINK DSB650 0xabc1 10/100 Ethernet
-product DLINK2 DWA120_NF 0x3a0d DWA-120 (no firmware)
-product DLINK2 DWA120 0x3a0e DWA-120
product DLINK2 DWLG122C1 0x3c03 DWL-G122 c1
product DLINK2 WUA1340 0x3c04 WUA-1340
product DLINK2 DWA111 0x3c06 DWA-111
product DLINK2 DWA110 0x3c07 DWA-110
+product DLINK2 DWA120_NF 0x3c0d DWA-120 (no firmware)
+product DLINK2 DWA120 0x3c0e DWA-120
/* DMI products */
product DMI CFSM_RW 0xa109 CF/SM Reader/Writer
@@ -1971,6 +1978,7 @@
product PHILIPS PCA646VC 0x0303 PCA646VC PC Camera
product PHILIPS PCVC680K 0x0308 PCVC680K Vesta Pro PC Camera
product PHILIPS DSS150 0x0471 DSS 150 Digital Speaker System
+product PHILIPS SPE3030CC 0x083a USB 2.0 External Disk
product PHILIPS SNU5600 0x1236 SNU5600
product PHILIPS UM10016 0x1552 ISP 1581 Hi-Speed USB MPEG2 Encoder Reference Kit
product PHILIPS DIVAUSB 0x1801 DIVA USB mp3 player
diffstat-1.68/testing/case42k.ref 0000644 0000000 0000000 00000000475 14320561540 015367 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 +
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case12.pat 0000644 0000000 0000000 00000010123 06125357300 015211 0 ustar root root Index: xc/programs/xterm/main.c
diff -u xc/programs/xterm/main.c:1.1.1.22 xc/programs/xterm/main.c:1.2
--- xc/programs/xterm/main.c:1.1.1.22 Tue Mar 19 07:36:38 1996
+++ xc/programs/xterm/main.c Sun Mar 24 01:10:29 1996
@@ -182,6 +182,10 @@
#undef CAPS_LOCK
#endif
+#ifdef CSRG_BASED
+#define USE_POSIX_TERMIOS
+#endif
+
#include
#include
@@ -199,6 +203,9 @@
#endif
#endif
+#ifdef USE_POSIX_TERMIOS
+#include
+#else
#ifdef USE_TERMIOS
#include
/* this hacked termios support only works on SYSV */
@@ -3143,11 +3197,11 @@
shname_minus = malloc(strlen(shname) + 2);
(void) strcpy(shname_minus, "-");
(void) strcat(shname_minus, shname);
-#ifndef USE_SYSV_TERMIO
+#if !defined(USE_SYSV_TERMIO) && !defined(USE_POSIX_TERMIOS)
ldisc = XStrCmp("csh", shname + strlen(shname) - 3) == 0 ?
NTTYDISC : 0;
ioctl(0, TIOCSETD, (char *)&ldisc);
-#endif /* !USE_SYSV_TERMIO */
+#endif /* !USE_SYSV_TERMIO && !USE_POSIX_TERMIOS */
#ifdef USE_LOGIN_DASH_P
if (term->misc.login_shell && pw && added_utmp_entry)
Index: xc/programs/xterm/resize.c
diff -u xc/programs/xterm/resize.c:1.1.1.9 xc/programs/xterm/resize.c:1.2
--- xc/programs/xterm/resize.c:1.1.1.9 Wed Feb 14 21:58:14 1996
+++ xc/programs/xterm/resize.c Sun Mar 24 01:10:32 1996
@@ -87,19 +87,19 @@
#define USE_TERMINFO
#endif
-#ifdef MINIX
+#if defined(CSRG_BASED)
#define USE_TERMIOS
#endif
#include
#ifdef USE_SYSV_TERMIO
-#include
+# include
#else /* else not USE_SYSV_TERMIO */
-#ifdef MINIX
-#include
-#else /* !MINIX */
-#include
-#endif /* MINIX */
+# ifdef USE_TERMIOS
+# include
+# else /* not USE_TERMIOS */
+# include
+# endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
#ifdef USE_USG_PTYS
@@ -127,8 +127,9 @@
#define bzero(s, n) memset(s, 0, n)
#endif /* USE_SYSV_TERMIO */
-#ifdef USE_TERMIOS
+#ifdef MINIX
#define USE_SYSV_TERMIO
+#include
#define termio termios
#define TCGETA TCGETS
#define TCSETAW TCSETSW
@@ -190,7 +191,11 @@
#ifdef USE_SYSV_TERMIO
struct termio tioorig;
#else /* not USE_SYSV_TERMIO */
+# ifdef USE_TERMIOS
+struct termios tioorig;
+# else /* not USE_TERMIOS */
struct sgttyb sgorig;
+# endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
char *size[EMULATIONS] = {
"\033[%d;%dR",
@@ -244,7 +249,11 @@
#ifdef USE_SYSV_TERMIO
struct termio tio;
#else /* not USE_SYSV_TERMIO */
+#ifdef USE_TERMIOS
+ struct termios tio;
+#else /* not USE_TERMIOS */
struct sgttyb sg;
+#endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
#ifdef USE_TERMCAP
char termcap [1024];
@@ -366,10 +375,20 @@
tio.c_cc[VMIN] = 6;
tio.c_cc[VTIME] = 1;
#else /* else not USE_SYSV_TERMIO */
+#if defined(USE_TERMIOS)
+ tcgetattr(tty, &tioorig);
+ tio = tioorig;
+ tio.c_iflag &= ~ICRNL;
+ tio.c_lflag &= ~(ICANON | ECHO);
+ tio.c_cflag |= CS8;
+ tio.c_cc[VMIN] = 6;
+ tio.c_cc[VTIME] = 1;
+#else /* not USE_TERMIOS */
ioctl (tty, TIOCGETP, &sgorig);
sg = sgorig;
sg.sg_flags |= RAW;
sg.sg_flags &= ~ECHO;
+#endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
signal(SIGINT, onintr);
signal(SIGQUIT, onintr);
@@ -377,7 +396,11 @@
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tio);
#else /* not USE_SYSV_TERMIO */
+#ifdef USE_TERMIOS
+ tcsetattr(tty, TCSADRAIN, &tio);
+#else /* not USE_TERMIOS */
ioctl (tty, TIOCSETP, &sg);
+#endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
if (argc == 2) {
@@ -434,7 +457,11 @@
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tioorig);
#else /* not USE_SYSV_TERMIO */
+#ifdef USE_TERMIOS
+ tcsetattr(tty, TCSADRAIN, &tioorig);
+#else /* not USE_TERMIOS */
ioctl (tty, TIOCSETP, &sgorig);
+#endif /* USE_TERMIOS */
#endif /* USE_SYSV_TERMIO */
signal(SIGINT, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
@@ -595,7 +622,11 @@
#ifdef USE_SYSV_TERMIO
ioctl (tty, TCSETAW, &tioorig);
#else /* not USE_SYSV_TERMIO */
+#ifdef USE_TERMIOS
+ tcsetattr (tty, TCSADRAIN, &tioorig);
+#else /* not USE_TERMIOS */
ioctl (tty, TIOCSETP, &sgorig);
+#endif /* use TERMIOS */
#endif /* USE_SYSV_TERMIO */
exit(1);
}
diffstat-1.68/testing/case16r1.ref 0000644 0000000 0000000 00000002066 10277702417 015465 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7 +
config.h.in | 6 +
configure | 386 ++++++++++++++++++++++++++++++++++-----------------
curses.h | 37 ++++-
curspriv.h | 12 +-
demos/testcurs.c | 9 +
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 ++++
install-sh | 26 +++-
os2/gccos2.mak | 14 +-
os2/pdckbd.c | 28 ++++
os2/pdcurses.def | 8 +
pdcurses/Makefile.in | 120 ++++++++++------
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +-
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 +-
x11/README | 15 ++
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 +-
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case05r2.ref 0000644 0000000 0000000 00000000066 10300164550 015445 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case42b.ref 0000644 0000000 0000000 00000000475 14320561540 015356 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 +
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case15R.ref 0000644 0000000 0000000 00000001173 11700545537 015341 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ----------------------------
debian/README.debian | 14 --------
debian/changelog | 53 ------------------------------
debian/conffiles | 1
debian/control | 19 ----------
debian/copyright | 40 ----------------------
debian/postinst | 21 ------------
debian/prerm | 11 ------
debian/rc.boot | 58 ---------------------------------
debian/rules | 89 ---------------------------------------------------
debian/substvars | 1
12 files changed, 19 insertions(+), 375 deletions(-)
diffstat-1.68/testing/case39.pat 0000644 0000000 0000000 00000001157 13777263420 015243 0 ustar root root diff --git a/diffstat b/diffstat
index 70d0e90..9d24fbd 100755
Binary files a/diffstat and b/diffstat differ
diff --git a/diffstat.c b/diffstat.c
index b9cbe0a..26ce142 100644
--- a/diffstat.c
+++ b/diffstat.c
@@ -20,7 +20,7 @@
******************************************************************************/
#ifndef NO_IDENT
-static const char *Id = "$Id: diffstat.c,v 1.63 2019/11/29 20:39:01 tom Exp $";
+static const char *Id = "$Id: diffstat.c,v 1.64 2019/11/29 20:39:01 tom Exp $";
#endif
/*
diff --git a/diffstat.o b/diffstat.o
index c98d6ff..4368a92 100644
Binary files a/diffstat.o and b/diffstat.o differ
diffstat-1.68/testing/case18u.ref 0000644 0000000 0000000 00000000055 10300164552 015372 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case02.pat 0000644 0000000 0000000 00000026011 06122605111 015204 0 ustar root root
Prereq: public-patch-25
*** /tmp/da20646 Wed Nov 3 20:04:26 1993
--- mit/bug-report Wed Nov 3 20:04:25 1993
***************
*** 2,8 ****
Subject: [area]: [synopsis] [replace with actual area and short description]
VERSION:
! R5, public-patch-25
[MIT public patches will edit this line to indicate the patch level]
CLIENT MACHINE and OPERATING SYSTEM:
--- 2,8 ----
Subject: [area]: [synopsis] [replace with actual area and short description]
VERSION:
! R5, public-patch-26
[MIT public patches will edit this line to indicate the patch level]
CLIENT MACHINE and OPERATING SYSTEM:
*** /tmp/da21897 Thu Nov 4 08:57:24 1993
--- mit/clients/xterm/misc.c Thu Nov 4 08:57:23 1993
***************
*** 1,5 ****
/*
! * $XConsortium: misc.c,v 1.92 92/03/13 17:02:08 gildea Exp $
*/
/*
--- 1,5 ----
/*
! * $XConsortium: misc.c,v 1.95.1.1 93/11/04 08:56:48 gildea Exp $
*/
/*
***************
*** 444,449 ****
--- 444,518 ----
}
}
+ #if defined(ALLOWLOGGING) || defined(DEBUG)
+
+ #ifndef X_NOT_POSIX
+ #define HAS_WAITPID
+ #endif
+
+ /*
+ * create a file only if we could with the permissions of the real user id.
+ * We could emulate this with careful use of access() and following
+ * symbolic links, but that is messy and has race conditions.
+ * Forking is messy, too, but we can't count on setreuid() or saved set-uids
+ * being available.
+ */
+ void
+ creat_as(uid, gid, pathname, mode)
+ int uid;
+ int gid;
+ char *pathname;
+ int mode;
+ {
+ int fd;
+ int waited;
+ int pid;
+ #ifndef HAS_WAITPID
+ int (*chldfunc)();
+
+ chldfunc = signal(SIGCHLD, SIG_DFL);
+ #endif
+ pid = fork();
+ switch (pid)
+ {
+ case 0: /* child */
+ setgid(gid);
+ setuid(uid);
+ fd = open(pathname, O_WRONLY|O_CREAT|O_APPEND, mode);
+ if (fd >= 0) {
+ close(fd);
+ _exit(0);
+ } else
+ _exit(1);
+ case -1: /* error */
+ return;
+ default: /* parent */
+ #ifdef HAS_WAITPID
+ waitpid(pid, NULL, 0);
+ #else
+ waited = wait(NULL);
+ signal(SIGCHLD, chldfunc);
+ /*
+ Since we had the signal handler uninstalled for a while,
+ we might have missed the termination of our screen child.
+ If we can check for this possibility without hanging, do so.
+ */
+ do
+ if (waited == term->screen.pid)
+ Cleanup(0);
+ while ( (waited=nonblocking_wait()) > 0);
+ #endif
+ }
+ }
+ #endif
+
+ #ifdef ALLOWLOGGING
+ /*
+ * logging is a security hole, since it allows a setuid program to
+ * write arbitrary data to an arbitrary file. So it is disabled
+ * by default.
+ */
+
StartLog(screen)
register TScreen *screen;
{
***************
*** 530,551 ****
return;
#endif
} else {
! if(access(screen->logfile, F_OK) == 0) {
! if(access(screen->logfile, W_OK) < 0)
! return;
! } else if(cp = rindex(screen->logfile, '/')) {
! *cp = 0;
! i = access(screen->logfile, W_OK);
! *cp = '/';
! if(i < 0)
! return;
! } else if(access(".", W_OK) < 0)
return;
! if((screen->logfd = open(screen->logfile, O_WRONLY | O_APPEND |
! O_CREAT, 0644)) < 0)
! return;
! chown(screen->logfile, screen->uid, screen->gid);
}
screen->logstart = screen->TekEmu ? Tbptr : bptr;
screen->logging = TRUE;
--- 599,618 ----
return;
#endif
} else {
! if(access(screen->logfile, F_OK) != 0) {
! if (errno == ENOENT)
! creat_as(screen->uid, screen->gid,
! screen->logfile, 0644);
! else
return;
! }
+ if(access(screen->logfile, F_OK) != 0
+ || access(screen->logfile, W_OK) != 0)
+ return;
+ if((screen->logfd = open(screen->logfile, O_WRONLY | O_APPEND,
+ 0644)) < 0)
+ return;
}
screen->logstart = screen->TekEmu ? Tbptr : bptr;
screen->logging = TRUE;
***************
*** 587,592 ****
--- 654,660 ----
CloseLog(screen);
}
#endif /* ALLOWLOGFILEEXEC */
+ #endif /* ALLOWLOGGING */
do_osc(func)
***************
*** 626,631 ****
--- 694,700 ----
Changetitle(buf);
break;
+ #ifdef ALLOWLOGGING
case 46: /* new log file */
#ifdef ALLOWLOGFILECHANGES
/*
***************
*** 643,648 ****
--- 712,718 ----
Bell();
#endif
break;
+ #endif /* ALLOWLOGGING */
case 50:
SetVTFont (fontMenu_fontescape, True, buf, NULL);
***************
*** 903,912 ****
--- 973,984 ----
register TScreen *screen = &term->screen;
if (screen->TekEmu) {
+ #ifdef ALLOWLOGGING
if (screen->logging) {
FlushLog (screen);
screen->logstart = buffer;
}
+ #endif
longjmp(Tekend, 1);
}
return;
***************
*** 917,926 ****
--- 989,1000 ----
register TScreen *screen = &term->screen;
if (!screen->TekEmu) {
+ #ifdef ALLOWLOGGING
if(screen->logging) {
FlushLog(screen);
screen->logstart = Tbuffer;
}
+ #endif
screen->TekEmu = TRUE;
longjmp(VTend, 1);
}
*** /tmp/da17839 Wed Nov 3 18:16:38 1993
--- mit/clients/xterm/Tekproc.c Wed Nov 3 18:16:37 1993
***************
*** 1,5 ****
/*
! * $XConsortium: Tekproc.c,v 1.107 91/06/25 19:49:48 gildea Exp $
*
* Warning, there be crufty dragons here.
*/
--- 1,5 ----
/*
! * $XConsortium: Tekproc.c,v 1.112 93/02/25 17:17:40 gildea Exp $
*
* Warning, there be crufty dragons here.
*/
***************
*** 46,51 ****
--- 46,52 ----
#include
#include
#include
+ #include
/*
* Check for both EAGAIN and EWOULDBLOCK, because some supposedly POSIX
***************
*** 74,80 ****
#define TekColormap DefaultColormap( screen->display, \
DefaultScreen(screen->display) )
! #define DefaultGCID DefaultGC(screen->display, DefaultScreen(screen->display))->gid
/* Tek defines */
--- 75,81 ----
#define TekColormap DefaultColormap( screen->display, \
DefaultScreen(screen->display) )
! #define DefaultGCID XGContextFromGC(DefaultGC(screen->display, DefaultScreen(screen->display)))
/* Tek defines */
***************
*** 188,194 ****
--- 189,197 ----
/* menu actions */
{ "allow-send-events", HandleAllowSends },
{ "set-visual-bell", HandleSetVisualBell },
+ #ifdef ALLOWLOGGING
{ "set-logging", HandleLogging },
+ #endif
{ "redraw", HandleRedraw },
{ "send-signal", HandleSendSignal },
{ "quit", HandleQuit },
***************
*** 335,342 ****
register int c, x, y;
char ch;
! for( ; ; )
! switch(Tparsestate[c = input()]) {
case CASE_REPORT:
/* report address */
if(screen->TekGIN) {
--- 338,346 ----
register int c, x, y;
char ch;
! for( ; ; ) {
! c = input();
! switch(Tparsestate[c]) {
case CASE_REPORT:
/* report address */
if(screen->TekGIN) {
***************
*** 356,365 ****
--- 360,371 ----
/* special return to vt102 mode */
Tparsestate = curstate;
TekRecord->ptr[-1] = NAK; /* remove from recording */
+ #ifdef ALLOWLOGGING
if(screen->logging) {
FlushLog(screen);
screen->logstart = buffer;
}
+ #endif
return;
case CASE_SPT_STATE:
***************
*** 626,631 ****
--- 632,638 ----
Tparsestate = curstate;
break;
}
+ }
}
static int rcnt;
***************
*** 667,675 ****
(int *) NULL, &crocktimeout);
#endif
if(Tselect_mask & pty_mask) {
if(screen->logging)
FlushLog(screen);
! Tbcnt = read(screen->respond, Tbptr = Tbuffer, BUF_SIZE);
if(Tbcnt < 0) {
if(errno == EIO)
Cleanup (0);
--- 674,684 ----
(int *) NULL, &crocktimeout);
#endif
if(Tselect_mask & pty_mask) {
+ #ifdef ALLOWLOGGING
if(screen->logging)
FlushLog(screen);
! #endif
! Tbcnt = read(screen->respond, (char *)(Tbptr = Tbuffer), BUF_SIZE);
if(Tbcnt < 0) {
if(errno == EIO)
Cleanup (0);
***************
*** 1150,1157 ****
* The following is called the create the tekWidget
*/
! static void TekInitialize(request, new)
Widget request, new;
{
/* look for focus related events on the shell, because we need
* to care about the shell's border being part of our focus.
--- 1159,1168 ----
* The following is called the create the tekWidget
*/
! static void TekInitialize(request, new, args, num_args)
Widget request, new;
+ ArgList args;
+ Cardinal *num_args;
{
/* look for focus related events on the shell, because we need
* to care about the shell's border being part of our focus.
***************
*** 1549,1565 ****
}
/* write copy of screen to a file */
TekCopy()
{
- register TekLink *Tp;
- register int tekcopyfd;
register TScreen *screen = &term->screen;
register struct tm *tp;
long l;
char buf[32];
time(&l);
tp = localtime(&l);
sprintf(buf, "COPY%02d-%02d-%02d.%02d:%02d:%02d", tp->tm_year,
--- 1560,1585 ----
}
+ #ifndef X_NOT_POSIX
+ #define HAS_WAITPID
+ #endif
+
/* write copy of screen to a file */
TekCopy()
{
register TScreen *screen = &term->screen;
register struct tm *tp;
long l;
char buf[32];
+ int waited;
+ int pid;
+ #ifndef HAS_WAITPID
+ int (*chldfunc)();
+ chldfunc = signal(SIGCHLD, SIG_DFL);
+ #endif
+
time(&l);
tp = localtime(&l);
sprintf(buf, "COPY%02d-%02d-%02d.%02d:%02d:%02d", tp->tm_year,
***************
*** 1573,1593 ****
Bell();
return;
}
! if((tekcopyfd = open(buf, O_WRONLY | O_CREAT | O_TRUNC, 0644)) < 0) {
! Bell();
! return;
! }
! chown(buf, screen->uid, screen->gid);
! sprintf(buf, "\033%c\033%c", screen->page.fontsize + '8',
! screen->page.linetype + '`');
! write(tekcopyfd, buf, 4);
! Tp = &Tek0;
! do {
write(tekcopyfd, (char *)Tp->data, Tp->count);
Tp = Tp->next;
! } while(Tp);
! close(tekcopyfd);
}
-
-
-
--- 1593,1645 ----
Bell();
return;
}
!
! /* Write the file in an unprivileged child process because
! using access before the open still leaves a small window
! of opportunity. */
! pid = fork();
! switch (pid)
! {
! case 0: /* child */
! {
! register int tekcopyfd;
! char initbuf[5];
! register TekLink *Tp;
!
! setgid(screen->gid);
! setuid(screen->uid);
! tekcopyfd = open(buf, O_WRONLY | O_CREAT | O_TRUNC, 0666);
! if (tekcopyfd < 0)
! _exit(1);
! sprintf(initbuf, "\033%c\033%c", screen->page.fontsize + '8',
! screen->page.linetype + '`');
! write(tekcopyfd, initbuf, 4);
! Tp = &Tek0;
! do {
write(tekcopyfd, (char *)Tp->data, Tp->count);
Tp = Tp->next;
! } while(Tp);
! close(tekcopyfd);
! _exit(0);
! }
! case -1: /* error */
! Bell();
! return;
! default: /* parent */
! #ifdef HAS_WAITPID
! waitpid(pid, NULL, 0);
! #else
! waited = wait(NULL);
! signal(SIGCHLD, chldfunc);
! /*
! Since we had the signal handler uninstalled for a while,
! we might have missed the termination of our screen child.
! If we can check for this possibility without hanging, do so.
! */
! do
! if (waited == term->screen.pid)
! Cleanup(0);
! while ( (waited=nonblocking_wait()) > 0);
! #endif
! }
}
diffstat-1.68/testing/case37p9.ref 0000644 0000000 0000000 00000001323 12133114345 015457 0 ustar root root LOGS |only
bin |only
case35.pat |only
case35.ref |only
case35R.ref |only
case35Rp0.ref |only
case35b.ref |only
case35f0.ref |only
case35k.ref |only
case35p1.ref |only
case35p9.ref |only
case35r1.ref |only
case35r2.ref |only
case35u.ref |only
case36.pat |only
case36.ref |only
case36R.ref |only
case36Rp0.ref |only
case36b.ref |only
case36f0.ref |only
case36k.ref |only
case36p1.ref |only
case36p9.ref |only
case36r1.ref |only
case36r2.ref |only
case36u.ref |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
33 files changed
diffstat-1.68/testing/case01b.ref 0000644 0000000 0000000 00000004054 10667374021 015354 0 ustar root root config/cf/Imake.cf | 7 +++++
config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 +
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 -
include/Xos.h | 7 ++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
test/xsuite/xtest/src/bin/mc/files.c | 2 -
util/patch/malloc.c | 12 +++------
util/patch/pch.c | 2 -
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case45b.ref 0000644 0000000 0000000 00000001216 14320603177 015356 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case44Rp0.ref 0000644 0000000 0000000 00000001637 14320603177 015604 0 ustar root root --unified=1 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case37r2.ref 0000644 0000000 0000000 00000001733 12133114345 015457 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case44k.ref 0000644 0000000 0000000 00000001216 14320603177 015366 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case06r1.ref 0000644 0000000 0000000 00000000462 10277702415 015460 0 ustar root root NEWS | 2 +
ncurses/lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++------------
ncurses/lib_initscr.c | 4 ++
ncurses/lib_pad.c | 48 ++++++++++++++++++++-----
test/ncurses.c | 29 ++++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case06p9.ref 0000644 0000000 0000000 00000000431 07073762771 015475 0 ustar root root NEWS | 2 +
lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++++++++--------------
lib_initscr.c | 4 ++
lib_pad.c | 48 +++++++++++++++++++++++-------
ncurses.c | 29 ++++++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case15p1.ref 0000644 0000000 0000000 00000001173 07073762773 015473 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1
debian/control | 19 ++++++++++
debian/copyright | 40 ++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case18p9.ref 0000644 0000000 0000000 00000000055 10300164552 015456 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case31k.ref 0000644 0000000 0000000 00000000121 11240121163 015340 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case29r1.ref 0000644 0000000 0000000 00000000203 11163734345 015460 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case48u.ref 0000644 0000000 0000000 00000000107 14714413374 015407 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case44R.ref 0000644 0000000 0000000 00000001637 14320603177 015344 0 ustar root root --unified=1 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case32R.ref 0000644 0000000 0000000 00000000105 11700545545 015331 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case42.ref 0000644 0000000 0000000 00000000475 14320561540 015214 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 +
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case24f0.ref 0000644 0000000 0000000 00000000565 10144014205 015431 0 ustar root root gen/gen.c | 5 2 + 3 - 0 !
gen/terminal_interface-curses-mouse.ads.m4 | 6 3 + 3 - 0 !
gen/terminal_interface-curses.ads.m4 | 10 6 + 4 - 0 !
samples/ncurses2-acs_and_scroll.adb | 15 8 + 7 - 0 !
samples/ncurses2-acs_display.adb | 21 12 + 9 - 0 !
5 files changed, 31 insertions(+), 26 deletions(-)
diffstat-1.68/testing/case23p9.ref 0000644 0000000 0000000 00000000234 07753454053 015471 0 ustar root root README | 1
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case22f0.ref 0000644 0000000 0000000 00000002340 07623304420 015431 0 ustar root root PATCHES | 1 1 + 0 - 0 !
compose.c | 17 13 + 4 - 0 !
crypt.c | 26 11 + 15 - 0 !
init.h | 54 47 + 7 - 0 !
mutt.h | 4 3 + 1 - 0 !
pgp.c | 5 4 + 1 - 0 !
pgplib.h | 1 1 + 0 - 0 !
po/ca.po | 10 5 + 5 - 0 !
po/cs.po | 8 4 + 4 - 0 !
po/da.po | 8 4 + 4 - 0 !
po/de.po | 8 4 + 4 - 0 !
po/el.po | 8 4 + 4 - 0 !
po/eo.po | 8 4 + 4 - 0 !
po/es.po | 9 5 + 4 - 0 !
po/et.po | 6 3 + 3 - 0 !
po/fr.po | 8 4 + 4 - 0 !
po/gl.po | 8 4 + 4 - 0 !
po/hu.po | 8 4 + 4 - 0 !
po/id.po | 8 4 + 4 - 0 !
po/it.po | 8 4 + 4 - 0 !
po/ja.po | 9 5 + 4 - 0 !
po/ko.po | 8 4 + 4 - 0 !
po/lt.po | 13 6 + 7 - 0 !
po/nl.po | 8 4 + 4 - 0 !
po/pl.po | 8 4 + 4 - 0 !
po/pt_BR.po | 12 6 + 6 - 0 !
po/ru.po | 8 4 + 4 - 0 !
po/sk.po | 13 6 + 7 - 0 !
po/sv.po | 8 4 + 4 - 0 !
po/tr.po | 8 4 + 4 - 0 !
po/uk.po | 8 4 + 4 - 0 !
po/zh_CN.po | 6 3 + 3 - 0 !
po/zh_TW.po | 6 3 + 3 - 0 !
postpone.c | 7 7 + 0 - 0 !
send.c | 16 15 + 1 - 0 !
sendlib.c | 2 2 + 0 - 0 !
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case01p9.ref 0000644 0000000 0000000 00000002534 10226221640 015451 0 ustar root root Imake.cf | 7 +++++++
Xos.h | 7 ++++++-
accel/i128/i128scrin.c | 2 +-
accel/p9000/p9000scrin.c | 2 +-
bin/mc/files.c | 2 +-
hp.cf | 7 +++++++
hpLib.rules | 2 ++
imakemdep.h | 13 +++++++++++++
import/mijpeg.c | 2 +-
input/drivers/hil_driver.c | 2 +-
input/hpKeyMap.c | 2 +-
main.c | 2 +-
malloc.c | 12 +++++-------
mono/drivers/apollo/apolloHW.h | 2 +-
mono/drivers/apollo/apollodriv.c | 6 +++---
mono/drivers/hgc1280/hgc1280driv.c | 4 ++--
mono/drivers/sigma/sigmadriv.c | 4 ++--
mono/mono/mono.c | 6 +++---
mono/mono/mono.h | 4 ++--
pch.c | 2 +-
process/mpgeomaa.c | 2 +-
process/mpgeomnn.c | 2 +-
vga16/ibm/vgaImages.c | 2 +-
vga256/drivers/ati/regati.h | 2 +-
vga256/drivers/cirrus/cir_blitter.c | 2 +-
vga256/drivers/cirrus/cir_cursor.c | 2 +-
vga256/drivers/oak/oak_driver.c | 2 +-
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case18p1.ref 0000644 0000000 0000000 00000000055 10300164552 015446 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case32r2.ref 0000644 0000000 0000000 00000000105 11246713507 015453 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case20k.ref 0000644 0000000 0000000 00000000172 07605627534 015373 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case48.ref 0000644 0000000 0000000 00000000107 14714413374 015222 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case31p1.ref 0000644 0000000 0000000 00000000167 11240121163 015440 0 ustar root root /depot/vendor/freebsd/src/sys/dev/usb/usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case01r2.ref 0000644 0000000 0000000 00000004072 10277702415 015455 0 ustar root root config/cf/Imake.cf | 7 +++++
config/cf/hp.cf | 7 +++++
config/cf/hpLib.rules | 2 ++
config/imake/imakemdep.h | 13 ++++++++++
config/makedepend/main.c | 2 +-
include/Xos.h | 7 ++++-
programs/Xserver/XIE/mixie/import/mijpeg.c | 2 +-
programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 +-
programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 +-
programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 +-
programs/Xserver/hw/hp/input/hpKeyMap.c | 2 +-
programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 +-
programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 +-
programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 +-
programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +-
programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +-
programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +-
programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 +-
programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 +-
test/xsuite/xtest/src/bin/mc/files.c | 2 +-
util/patch/malloc.c | 12 ++++-----
util/patch/pch.c | 2 +-
27 files changed, 68 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case40k.ref 0000644 0000000 0000000 00000000156 13777432505 015376 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case40p1.ref 0000644 0000000 0000000 00000000156 13777412636 015467 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case38rr2.ref 0000644 0000000 0000000 00000000456 12546615551 015660 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case41u.ref 0000644 0000000 0000000 00000000163 13777421437 015411 0 ustar root root b/hello.c | 8 +++++++-
b/hello.o |binary
hello.c | 1 +
3 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case04u.ref 0000644 0000000 0000000 00000003373 10276756033 015410 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case09r2.ref 0000644 0000000 0000000 00000000021 10277702416 015454 0 ustar root root 0 files changed
diffstat-1.68/testing/case08.ref 0000644 0000000 0000000 00000000502 07073762771 015225 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case13.ref 0000644 0000000 0000000 00000000303 10276756034 015212 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case33p9.ref 0000644 0000000 0000000 00000000105 11246713507 015461 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case29R.ref 0000644 0000000 0000000 00000000204 11700545544 015336 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case18k.ref 0000644 0000000 0000000 00000000055 10300164552 015360 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case09Rp0.ref 0000644 0000000 0000000 00000000021 11700545535 015571 0 ustar root root 0 files changed
diffstat-1.68/testing/case31b.ref 0000644 0000000 0000000 00000000121 11240121163 015327 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case48.pat 0000644 0000000 0000000 00000000441 14714413347 015233 0 ustar root root 1180,1181d1186
< product DLINK2 DWA120_NF 0x3a0d DWA-120 (no firmware)
< product DLINK2 DWA120 0x3a0e DWA-120
1185a1191,1192
> product DLINK2 DWA120_NF 0x3c0d DWA-120 (no firmware)
> product DLINK2 DWA120 0x3c0e DWA-120
1973a1981
> product PHILIPS SPE3030CC 0x083a USB 2.0 External Disk
diffstat-1.68/testing/case04.pat 0000644 0000000 0000000 00000035722 06122413145 015223 0 ustar root root diff -r -c diffstat/config.cache diffstat.orig/config.cache
*** diffstat/config.cache Fri Mar 15 19:27:13 1996
--- diffstat.orig/config.cache Fri Mar 15 19:51:02 1996
***************
*** 13,28 ****
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
! ac_cv_header_stdc=${ac_cv_header_stdc='no'}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_path_install=${ac_cv_path_install='/home/tom/com/install -c'}
! ac_cv_prog_CC=${ac_cv_prog_CC='atacCC'}
! ac_cv_prog_CPP=${ac_cv_prog_CPP='atacCC -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
ac_cv_prog_gcc_g=${ac_cv_prog_gcc_g='yes'}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional='no'}
--- 13,28 ----
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='no'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
! ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
ac_cv_path_install=${ac_cv_path_install='/home/tom/com/install -c'}
! ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
! ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
ac_cv_prog_gcc_g=${ac_cv_prog_gcc_g='yes'}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional='no'}
diff -r -c diffstat/config.h diffstat.orig/config.h
*** diffstat/config.h Fri Mar 15 19:27:15 1996
--- diffstat.orig/config.h Fri Mar 15 19:51:04 1996
***************
*** 6,11 ****
--- 6,12 ----
*/
+ #define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETOPT_H 1
diff -r -c diffstat/config.log diffstat.orig/config.log
*** diffstat/config.log Fri Mar 15 19:26:59 1996
--- diffstat.orig/config.log Fri Mar 15 19:50:58 1996
***************
*** 2,27 ****
running configure, to aid debugging if configure makes a mistake.
configure:607: sgtty.h: No such file or directory
! /usr/tmp/atacCC17934/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
! /usr/tmp/atacCC17934/conftest.c:66: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17934/conftest.c: In function `main':
! /usr/tmp/atacCC17934/conftest.c:67: warning: implicit declaration of function `aTaC'
! /usr/tmp/atacCC17934/conftest.c: At top level:
! /usr/tmp/atacCC17934/conftest.c:76: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17934/conftest.c: In function `t':
! /usr/tmp/atacCC17934/conftest.c:97: warning: declaration of `t' shadows global declaration
! /usr/tmp/atacCC17934/conftest.c:98: warning: unused variable `s'
! /usr/tmp/atacCC17934/conftest.c:104: warning: declaration of `x' shadows previous local
! /usr/tmp/atacCC17934/conftest.c:111: warning: declaration of `p' shadows previous local
! /usr/tmp/atacCC17934/conftest.c:125: warning: unused variable `foo'
! /usr/tmp/atacCC17934/conftest.c:86: warning: unused variable `zero'
! /usr/tmp/atacCC17934/conftest.c:80: warning: unused variable `x'
! /usr/tmp/atacCC17934/conftest.c: At top level:
! /usr/tmp/atacCC17934/conftest.c:1: warning: `ZIDENT' defined but not used
! /usr/tmp/atacCC17972/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
! /usr/tmp/atacCC17972/conftest.c:39: warning: return-type defaults to `int'
! /usr/tmp/atacCC17972/conftest.c:39: warning: function declaration isn't a prototype
! /usr/tmp/atacCC17972/conftest.c: In function `main':
! /usr/tmp/atacCC17972/conftest.c:40: warning: implicit declaration of function `aTaC'
! /usr/tmp/atacCC17972/conftest.c: At top level:
! /usr/tmp/atacCC17972/conftest.c:1: warning: `ZIDENT' defined but not used
--- 2,19 ----
running configure, to aid debugging if configure makes a mistake.
configure:607: sgtty.h: No such file or directory
! configure:659: warning: function declaration isn't a prototype
! configure:660: warning: function declaration isn't a prototype
! configure: In function `t':
! configure:680: warning: declaration of `t' shadows global declaration
! configure:681: warning: unused variable `s'
! configure:686: warning: declaration of `x' shadows previous local
! configure:692: warning: declaration of `p' shadows previous local
! configure:701: warning: unused variable `foo'
! configure:669: warning: unused variable `zero'
! configure:663: warning: unused variable `x'
! configure:680: warning: `t' might be used uninitialized in this function
! configure:698: warning: `b' might be used uninitialized in this function
! configure:735: warning: return-type defaults to `int'
! configure:735: warning: function declaration isn't a prototype
! configure:821: warning: function declaration isn't a prototype
diff -r -c diffstat/config.status diffstat.orig/config.status
*** diffstat/config.status Fri Mar 15 19:27:14 1996
--- diffstat.orig/config.status Fri Mar 15 19:51:03 1996
***************
*** 4,10 ****
# This directory was configured as follows,
# on host dickey-ppp:
#
! # ./configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
--- 4,10 ----
# This directory was configured as follows,
# on host dickey-ppp:
#
! # ./configure --verbose --disable-echo --enable-warnings --with-warnings
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
***************
*** 14,21 ****
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
! exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.3"
exit 0 ;;
--- 14,21 ----
do
case "$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion"
! exec ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "./config.status generated by autoconf version 2.3"
exit 0 ;;
***************
*** 38,53 ****
s%@CFLAGS@%-O -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
! s%@DEFS@% -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
! s%@CC@%atacCC%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
! s%@CPP@%atacCC -E%g
CEOF
--- 38,53 ----
s%@CFLAGS@%-O -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%%g
! s%@DEFS@% -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
s%@LDFLAGS@%%g
s%@LIBS@%%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
! s%@CC@%gcc%g
s%@INSTALL_PROGRAM@%${INSTALL}%g
s%@INSTALL_DATA@%${INSTALL} -m 644%g
! s%@CPP@%gcc -E%g
CEOF
Only in diffstat.orig: configure.out
Binary files diffstat/diffstat and diffstat.orig/diffstat differ
Binary files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diff -r -c diffstat/makefile diffstat.orig/makefile
*** diffstat/makefile Fri Mar 15 19:27:15 1996
--- diffstat.orig/makefile Fri Mar 15 19:51:04 1996
***************
*** 7,13 ****
srcdir = .
! CC = atacCC
LINK = $(CC)
INSTALL = /home/tom/com/install -c
INSTALL_PROGRAM = ${INSTALL}
--- 7,13 ----
srcdir = .
! CC = gcc
LINK = $(CC)
INSTALL = /home/tom/com/install -c
INSTALL_PROGRAM = ${INSTALL}
Only in diffstat/testing: Xlib-1.patch-
Only in diffstat/testing: Xlib-1.ref
Only in diffstat/testing: Xlib-2.patch-
Only in diffstat/testing: Xlib-2.ref
Only in diffstat/testing: Xlib-3.patch-
Only in diffstat/testing: Xlib-3.ref
Only in diffstat/testing: config-1.ref
Only in diffstat/testing: nugent.ref
Only in diffstat/testing: xserver-1.ref
Only in diffstat/testing: xserver-2.patch-
Only in diffstat/testing: xserver-2.ref
Only in diffstat/testing: xterm-1.patch-
Only in diffstat/testing: xterm-1.ref
Only in diffstat/testing: xterm-10.patch-
Only in diffstat/testing: xterm-10.ref
Only in diffstat/testing: xterm-11.patch-
Only in diffstat/testing: xterm-11.ref
Only in diffstat/testing: xterm-2.patch-
Only in diffstat/testing: xterm-2.ref
Only in diffstat/testing: xterm-3.patch-
Only in diffstat/testing: xterm-3.ref
Only in diffstat/testing: xterm-4.patch-
Only in diffstat/testing: xterm-4.ref
Only in diffstat/testing: xterm-5.patch-
Only in diffstat/testing: xterm-5.ref
Only in diffstat/testing: xterm-6.patch-
Only in diffstat/testing: xterm-6.ref
Only in diffstat/testing: xterm-7.ref
Only in diffstat/testing: xterm-8.patch-
Only in diffstat/testing: xterm-8.ref
Only in diffstat/testing: xterm-9.patch-
Only in diffstat/testing: xterm-9.ref
diff -r diffstat/config.cache diffstat.orig/config.cache
16c16
< ac_cv_c_cross=${ac_cv_c_cross='yes'}
---
> ac_cv_c_cross=${ac_cv_c_cross='no'}
19c19
< ac_cv_header_stdc=${ac_cv_header_stdc='no'}
---
> ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
24,25c24,25
< ac_cv_prog_CC=${ac_cv_prog_CC='atacCC'}
< ac_cv_prog_CPP=${ac_cv_prog_CPP='atacCC -E'}
---
> ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
> ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
diff -r diffstat/config.h diffstat.orig/config.h
8a9
> #define STDC_HEADERS 1
diff -r diffstat/config.log diffstat.orig/config.log
5,27c5,19
< /usr/tmp/atacCC17934/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
< /usr/tmp/atacCC17934/conftest.c:66: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17934/conftest.c: In function `main':
< /usr/tmp/atacCC17934/conftest.c:67: warning: implicit declaration of function `aTaC'
< /usr/tmp/atacCC17934/conftest.c: At top level:
< /usr/tmp/atacCC17934/conftest.c:76: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17934/conftest.c: In function `t':
< /usr/tmp/atacCC17934/conftest.c:97: warning: declaration of `t' shadows global declaration
< /usr/tmp/atacCC17934/conftest.c:98: warning: unused variable `s'
< /usr/tmp/atacCC17934/conftest.c:104: warning: declaration of `x' shadows previous local
< /usr/tmp/atacCC17934/conftest.c:111: warning: declaration of `p' shadows previous local
< /usr/tmp/atacCC17934/conftest.c:125: warning: unused variable `foo'
< /usr/tmp/atacCC17934/conftest.c:86: warning: unused variable `zero'
< /usr/tmp/atacCC17934/conftest.c:80: warning: unused variable `x'
< /usr/tmp/atacCC17934/conftest.c: At top level:
< /usr/tmp/atacCC17934/conftest.c:1: warning: `ZIDENT' defined but not used
< /usr/tmp/atacCC17972/conftest.c:30: warning: missing braces around initializer for `ZUmain[0]'
< /usr/tmp/atacCC17972/conftest.c:39: warning: return-type defaults to `int'
< /usr/tmp/atacCC17972/conftest.c:39: warning: function declaration isn't a prototype
< /usr/tmp/atacCC17972/conftest.c: In function `main':
< /usr/tmp/atacCC17972/conftest.c:40: warning: implicit declaration of function `aTaC'
< /usr/tmp/atacCC17972/conftest.c: At top level:
< /usr/tmp/atacCC17972/conftest.c:1: warning: `ZIDENT' defined but not used
---
> configure:659: warning: function declaration isn't a prototype
> configure:660: warning: function declaration isn't a prototype
> configure: In function `t':
> configure:680: warning: declaration of `t' shadows global declaration
> configure:681: warning: unused variable `s'
> configure:686: warning: declaration of `x' shadows previous local
> configure:692: warning: declaration of `p' shadows previous local
> configure:701: warning: unused variable `foo'
> configure:669: warning: unused variable `zero'
> configure:663: warning: unused variable `x'
> configure:680: warning: `t' might be used uninitialized in this function
> configure:698: warning: `b' might be used uninitialized in this function
> configure:735: warning: return-type defaults to `int'
> configure:735: warning: function declaration isn't a prototype
> configure:821: warning: function declaration isn't a prototype
diff -r diffstat/config.status diffstat.orig/config.status
7c7
< # ./configure
---
> # ./configure --verbose --disable-echo --enable-warnings --with-warnings
17,18c17,18
< echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
< exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
---
> echo "running ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion"
> exec ${CONFIG_SHELL-/bin/sh} ./configure --verbose --disable-echo --enable-warnings --with-warnings --no-create --no-recursion ;;
41c41
< s%@DEFS@% -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
---
> s%@DEFS@% -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC_H=1 %g
47c47
< s%@CC@%atacCC%g
---
> s%@CC@%gcc%g
50c50
< s%@CPP@%atacCC -E%g
---
> s%@CPP@%gcc -E%g
Only in diffstat.orig: configure.out
Binary files diffstat/diffstat and diffstat.orig/diffstat differ
Binary files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diff -r diffstat/makefile diffstat.orig/makefile
10c10
< CC = atacCC
---
> CC = gcc
Only in diffstat/testing: Xlib-1.patch-
Only in diffstat/testing: Xlib-1.ref
Only in diffstat/testing: Xlib-2.patch-
Only in diffstat/testing: Xlib-2.ref
Only in diffstat/testing: Xlib-3.patch-
Only in diffstat/testing: Xlib-3.ref
Only in diffstat/testing: config-1.ref
Only in diffstat/testing: nugent.ref
Only in diffstat/testing: xserver-1.ref
Only in diffstat/testing: xserver-2.patch-
Only in diffstat/testing: xserver-2.ref
Only in diffstat/testing: xterm-1.patch-
Only in diffstat/testing: xterm-1.ref
Only in diffstat/testing: xterm-10.patch-
Only in diffstat/testing: xterm-10.ref
Only in diffstat/testing: xterm-11.patch-
Only in diffstat/testing: xterm-11.ref
Only in diffstat/testing: xterm-2.patch-
Only in diffstat/testing: xterm-2.ref
Only in diffstat/testing: xterm-3.patch-
Only in diffstat/testing: xterm-3.ref
Only in diffstat/testing: xterm-4.patch-
Only in diffstat/testing: xterm-4.ref
Only in diffstat/testing: xterm-5.patch-
Only in diffstat/testing: xterm-5.ref
Only in diffstat/testing: xterm-6.patch-
Only in diffstat/testing: xterm-6.ref
Only in diffstat/testing: xterm-7.ref
Only in diffstat/testing: xterm-8.patch-
Only in diffstat/testing: xterm-8.ref
Only in diffstat/testing: xterm-9.patch-
Only in diffstat/testing: xterm-9.ref
diffstat-1.68/testing/case37Rp0.ref 0000644 0000000 0000000 00000002651 12133114345 015575 0 ustar root root diffstat-1.56+/config.log |differ
diffstat-1.56+/configure.out |differ
diffstat-1.56+/diffstat |differ
diffstat-1.56+/diffstat.c |differ
diffstat-1.56+/diffstat.o |differ
diffstat-1.56+/makefile |differ
diffstat-1.57/LOGS |only
diffstat-1.57/bin |only
diffstat-1.57/check.out |only
diffstat-1.57/testing/case35.pat |only
diffstat-1.57/testing/case35.ref |only
diffstat-1.57/testing/case35R.ref |only
diffstat-1.57/testing/case35Rp0.ref |only
diffstat-1.57/testing/case35b.ref |only
diffstat-1.57/testing/case35f0.ref |only
diffstat-1.57/testing/case35k.ref |only
diffstat-1.57/testing/case35p1.ref |only
diffstat-1.57/testing/case35p9.ref |only
diffstat-1.57/testing/case35r1.ref |only
diffstat-1.57/testing/case35r2.ref |only
diffstat-1.57/testing/case35u.ref |only
diffstat-1.57/testing/case36.pat |only
diffstat-1.57/testing/case36.ref |only
diffstat-1.57/testing/case36R.ref |only
diffstat-1.57/testing/case36Rp0.ref |only
diffstat-1.57/testing/case36b.ref |only
diffstat-1.57/testing/case36f0.ref |only
diffstat-1.57/testing/case36k.ref |only
diffstat-1.57/testing/case36p1.ref |only
diffstat-1.57/testing/case36p9.ref |only
diffstat-1.57/testing/case36r1.ref |only
diffstat-1.57/testing/case36r2.ref |only
diffstat-1.57/testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case05u.ref 0000644 0000000 0000000 00000000066 10300164550 015366 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case09r1.ref 0000644 0000000 0000000 00000000021 10277702416 015453 0 ustar root root 0 files changed
diffstat-1.68/testing/case13.pat 0000644 0000000 0000000 00000017374 06457155072 015243 0 ustar root root From pauzner.dnttm.rssi.ru!uue@pauzner.dnttm.rssi.ru Wed Jan 14 05:40:34 1998
Received: from allison.clark.net (allison.clark.net [207.97.14.170])
by ice.clark.net (8.8.8/8.8.8) with ESMTP id FAA28956
for ; Wed, 14 Jan 1998 05:40:28 -0500 (EST)
Received: from helios.dnttm.ru (dnttm.wave.ras.ru [194.85.104.197])
by allison.clark.net (8.8.8/8.8.8) with ESMTP id NAA05915
for ; Mon, 12 Jan 1998 13:50:43 -0500 (EST)
Received: from pauzner.UUCP (uucp@localhost)
by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id VAA21992
for dickey@clark.net; Mon, 12 Jan 1998 21:46:03 +0300
Received: by pauzner.dnttm.rssi.ru (dMail for DOS v2.06, 14Jul97);
Mon, 12 Jan 1998 21:44:21 +0300
To: dickey@shell.clark.net
References:
Message-Id:
From: "Leonid Pauzner"
Date: Mon, 12 Jan 1998 21:44:19 +0300 (MSK)
X-Mailer: dMail [Demos Mail for DOS v2.06]
Subject: Re: please submit a patch NOW
Lines: 276
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Status: RO
This is for russian Cyrillic chartrans only:
koi8-r and other Cyrillics now fall down to def7_uni transliteration
if necessary (as should be). No "strip high bit" any more for koi8-r
(UCAux.c), which made text completely unreadable for human
and come from "before Unicode Era".
(Somebody should look in LYCharUtil.c and LYCharSet.c
to remove unnecessary staff where)
Leonid Pauzner.
*** UCAux.c Thu Jan 8 16:53:06 1998
--- UCAux.c.new Sat Jan 10 15:40:48 1998
***************
*** 64,70 ****
/*
** CJK mode may be off (i.e., HTCJK == NOCJK) because
** the current document is not CJK, but the check may
! ** be for capability in relation to another document,
** for which CJK mode might be turned on when retrieved.
** Thus, when the from charset is CJK, check if the to
** charset is CJK, and return TQ_NO or TQ_GOOD depending on
--- 64,70 ----
/*
** CJK mode may be off (i.e., HTCJK == NOCJK) because
** the current document is not CJK, but the check may
! ** be for campability in relation to another document,
** for which CJK mode might be turned on when retrieved.
** Thus, when the from charset is CJK, check if the to
** charset is CJK, and return TQ_NO or TQ_GOOD depending on
***************
*** 84,113 ****
**/
return TQ_NO;
}
! if (!strcmp(fromname, "koi8-r")) {
! /*
! * Will try to use stripping of high bit...
! */
! tqmin = TQ_POOR;
! }
!
! if (!strcmp(fromname, "koi8-r") || /* from cyrillic */
! !strcmp(fromname, "iso-8859-5") ||
! !strcmp(fromname, "cp866") ||
! !strcmp(fromname, "cp1251") ||
! !strcmp(fromname, "koi-8")) {
! if (strcmp(toname, "iso-8859-5") &&
! strcmp(toname, "koi8-r") &&
! strcmp(toname, "cp866") &&
! strcmp(toname, "cp1251"))
! tqmax = TQ_POOR;
! }
return ((LYCharSet_UC[from].UChndl >= 0) ? tqmax : tqmin);
}
}
/*
! ** Returns YES if no tranlation necessary (because
** charsets are equal, are equivalent, etc.).
*/
PUBLIC BOOL UCNeedNotTranslate ARGS2(
--- 84,98 ----
**/
return TQ_NO;
}
! /* I am not sure with tqmax and tqmin :
! ** does we need them in this procedure et all now? -LP
! */
return ((LYCharSet_UC[from].UChndl >= 0) ? tqmax : tqmin);
}
}
/*
! ** Returns YES if no translation necessary (because
** charsets are equal, are equivalent, etc.).
*/
PUBLIC BOOL UCNeedNotTranslate ARGS2(
***************
*** 274,296 ****
** We set this, presently, for VISCII. - FM
*/
pT->repl_translated_C0 = (p_out->enc == UCT_ENC_8BIT_C0);
- /*
- ** This is a flag for whether we are dealing with koi8-r
- ** as the input, and could do 8th-bit stripping for other
- ** output charsets. Note that this always sets 8th-bit
- ** stripping if the input charset is KOI8-R and the output
- ** charset needs it, i.e., regardless of the RawMode and
- ** consequent HTPassEightBitRaw setting, so you can't look
- ** at raw koi8-r without selecting that as the display
- ** character set (or transparent). That's just as well,
- ** but worth noting for developers - FM
- */
- pT->strip_raw_char_in = ((!intm_ucs ||
- (p_out->enc == UCT_ENC_7BIT) ||
- (p_out->repertoire &
- UCT_REP_SUBSETOF_LAT1)) &&
- cs_in != cs_out &&
- !strcmp(p_in->MIMEname, "koi8-r"));
/*
** use_ucs should be set TRUE if we have or will create
** Unicode values for input octets or UTF multibytes. - FM
--- 259,264 ----
*** def7_uni.tbl Sun Nov 16 20:36:50 1997
--- def7_uni.tbl.new Sat Jan 10 15:14:34 1998
***************
*** 232,237 ****
--- 232,238 ----
# IPA symbols, from
# Linkname: FAQ: Representing IPA Phonetics in ASCII
# URL: http://www.hpl.hp.com/personal/Evan_Kirshenbaum/IPA/faq.html
+ # (corrected in Russian Cyrillic area).
#
0x41 U+0251 # LATIN SMALL LETTER SCRIPT A -> A
U+0252:A.
***************
*** 418,424 ****
U+03f4:'%
U+03f5:j3
# Cyrillic capital letters
- 0x65 U+0401
U+0402:D%
U+0403:G%
U+0404:IE
--- 419,424 ----
***************
*** 432,481 ****
U+040c:KJ
U+040e:V%
U+040f:DZ
! 0x61-0x62 U+0410-U+0411
! 0x77 U+0412
! 0x67 U+0413
! 0x64-0x65 U+0414-U+0415
! 0x76 U+0416
! 0x7a U+0417
! 0x69-0x70 U+0418-U+041f
! 0x72-0x75 U+0420-U+0423
! 0x66 U+0424
! 0x68 U+0425
! 0x63 U+0426
! 0x7e U+0427
! 0x7b U+0428
! 0x7d U+0429
! 0x27 U+042a
! 0x79 U+042b
! 0x78 U+042c
! 0x7c U+042d
! 0x60 U+042e
! 0x71 U+042f
!
! # Cyrillic small letters
! 0x41-0x42 U+0430-U+0431
! 0x57 U+0432
! 0x47 U+0433
! 0x44-0x45 U+0434-U+0435
! 0x56 U+0436
! 0x5a U+0437
! 0x49-0x50 U+0438-U+043f
! 0x52-0x55 U+0440-U+0443
! 0x46 U+0444
! 0x48 U+0445
! 0x43 U+0446
! 0x5e U+0447
! 0x5b U+0448
! 0x5d U+0449
! 0x27 U+044a
! 0x59 U+044b
! 0x58 U+044c
! 0x5c U+044d
! 0x40 U+044e
! 0x51 U+044f
!
! 0x65 U+0451 #:io
U+0452:d%
U+0453:g%
U+0454:ie
--- 432,506 ----
U+040c:KJ
U+040e:V%
U+040f:DZ
! # Russian Cyrillic letters, transliterated
! U+0401:IO
! U+0410:A
! U+0411:B
! U+0412:V
! U+0413:G
! U+0414:D
! U+0415:E
! U+0416:ZH
! U+0417:Z
! U+0418:I
! U+0419:J
! U+041a:K
! U+041b:L
! U+041c:M
! U+041d:N
! U+041e:O
! U+041f:P
! U+0420:R
! U+0421:S
! U+0422:T
! U+0423:U
! U+0424:F
! U+0425:H
! U+0426:C
! U+0427:CH
! U+0428:SH
! U+0429:SCH
! U+042a:"
! U+042b:Y
! U+042c:'
! U+042d:`E
! U+042e:JU
! U+042f:JA
! U+0430:a
! U+0431:b
! U+0432:v
! U+0433:g
! U+0434:d
! U+0435:e
! U+0436:zh
! U+0437:z
! U+0438:i
! U+0439:j
! U+043a:k
! U+043b:l
! U+043c:m
! U+043d:n
! U+043e:o
! U+043f:p
! U+0440:r
! U+0441:s
! U+0442:t
! U+0443:u
! U+0444:f
! U+0445:h
! U+0446:c
! U+0447:ch
! U+0448:sh
! U+0449:sch
! U+044a:"
! U+044b:y
! U+044c:'
! U+044d:`e
! U+044e:ju
! U+044f:ja
! U+0451:io
! # end of Russian Cyrillic letters.
! # Cyrillic small letters (and some archaic)
U+0452:d%
U+0453:g%
U+0454:ie
***************
*** 1432,1438 ****
U+223e:CG
U+2243:?-
U+2245:?=
! U+2248:?2
U+224c:=?
U+2253:HI
U+2260:!=
--- 1457,1464 ----
U+223e:CG
U+2243:?-
U+2245:?=
! # ALMOST EQUAL TO:
! U+2248:~=
U+224c:=?
U+2253:HI
U+2260:!=
diffstat-1.68/testing/case31f0.ref 0000644 0000000 0000000 00000000120 11240121163 015412 0 ustar root root usbdevs | 14 11 + 3 - 0 !
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case18.pat 0000644 0000000 0000000 00000000267 07605442451 015235 0 ustar root root diff -urN tst/foo tst.new/foo
--- tst/foo 2002-11-27 17:21:54.000000000 +0200
+++ tst.new/foo 2002-11-27 17:22:00.000000000 +0200
@@ -1,3 +1,2 @@
lalala
--- ALWAYS!:
foobar
diffstat-1.68/testing/case44u.ref 0000644 0000000 0000000 00000001216 14320603177 015400 0 ustar root root configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
NEWS | 9 ++++++++-
package/debian/changelog | 4 ++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
VERSION | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case11p1.ref 0000644 0000000 0000000 00000000064 10300164551 015436 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case31uR.ref 0000644 0000000 0000000 00000000121 11700545545 015513 0 ustar root root usbdevs | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diffstat-1.68/testing/case23r1.ref 0000644 0000000 0000000 00000000235 10277702417 015457 0 ustar root root README | 1 -
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case21r1.ref 0000644 0000000 0000000 00000000100 10300164553 015432 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case07b.ref 0000644 0000000 0000000 00000000266 10667374022 015364 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case01Rp0.ref 0000644 0000000 0000000 00000005614 11700545532 015573 0 ustar root root /build/x11r6/XFree86-3.1.2Cf/xc/config/cf/Imake.cf | 7 -----
/build/x11r6/XFree86-3.1.2Cf/xc/config/cf/hp.cf | 7 -----
/build/x11r6/XFree86-3.1.2Cf/xc/config/cf/hpLib.rules | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/config/imake/imakemdep.h | 13 ----------
/build/x11r6/XFree86-3.1.2Cf/xc/config/makedepend/main.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/include/Xos.h | 7 -----
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/import/mijpeg.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/process/mpgeomaa.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/XIE/mixie/process/mpgeomnn.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/hp/input/drivers/hil_driver.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/hp/input/hpKeyMap.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/accel/i128/i128scrin.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/accel/p9000/p9000scrin.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apolloHW.h | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/apollo/apollodriv.c | 6 ++--
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/hgc1280/hgc1280driv.c | 4 +--
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/drivers/sigma/sigmadriv.c | 4 +--
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/mono/mono.c | 6 ++--
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/mono/mono/mono.h | 4 +--
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga16/ibm/vgaImages.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/ati/regati.h | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_blitter.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/cirrus/cir_cursor.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/programs/Xserver/hw/xfree86/vga256/drivers/oak/oak_driver.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/test/xsuite/xtest/src/bin/mc/files.c | 2 -
/build/x11r6/XFree86-3.1.2Cf/xc/util/patch/malloc.c | 12 +++++----
/build/x11r6/XFree86-3.1.2Cf/xc/util/patch/pch.c | 2 -
27 files changed, 36 insertions(+), 68 deletions(-)
diffstat-1.68/testing/case12f0.ref 0000644 0000000 0000000 00000000161 07530543242 015433 0 ustar root root main.c | 11 9 + 2 - 0 !
resize.c | 47 39 + 8 - 0 !
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case46f0.ref 0000644 0000000 0000000 00000001363 14320603177 015446 0 ustar root root NEWS | 9 8 + 1 - 0 !
VERSION | 2 1 + 1 - 0 !
configure | 4 2 + 2 - 0 !
configure.in | 6 3 + 3 - 0 !
dist.mk | 4 2 + 2 - 0 !
misc/gen-pkgconfig.in | 8 6 + 2 - 0 !
package/debian-mingw/changelog | 4 2 + 2 - 0 !
package/debian-mingw64/changelog | 4 2 + 2 - 0 !
package/debian/changelog | 4 2 + 2 - 0 !
package/mingw-ncurses.nsi | 4 2 + 2 - 0 !
package/mingw-ncurses.spec | 2 1 + 1 - 0 !
package/ncurses.spec | 2 1 + 1 - 0 !
package/ncursest.spec | 2 1 + 1 - 0 !
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case12Rp0.ref 0000644 0000000 0000000 00000000263 11700545536 015574 0 ustar root root xc/programs/xterm/main.c | 11 +---------
xc/programs/xterm/resize.c | 47 +++++++--------------------------------------
2 files changed, 10 insertions(+), 48 deletions(-)
diffstat-1.68/testing/case10R.ref 0000644 0000000 0000000 00000000214 11700545535 015325 0 ustar root root XIstubs.h | 26 --------------------------
allowev.c | 6 +-!!!!
2 files changed, 1 insertion(+), 27 deletions(-), 4 modifications(!)
diffstat-1.68/testing/case40r1.ref 0000644 0000000 0000000 00000000156 13777412637 015472 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case47.pat 0000644 0000000 0000000 00000015755 14377643447 015263 0 ustar root root diff --git a/install.sh b/install-sh
similarity index 100%
rename from install.sh
rename to install-sh
diff --git a/package/debian/cdialog-dev.install b/package/debian/cdialog-dev.install
index a186c7f..ffbd246 100755
--- a/package/debian/cdialog-dev.install
+++ b/package/debian/cdialog-dev.install
@@ -1,7 +1,8 @@
#! /usr/bin/dh-exec
-/usr/bin/*-config /usr/bin
-/usr/include/*.h /usr/include
-/usr/include/*/*.h /usr/include/cdialog
-*.so /lib/${DEB_HOST_MULTIARCH}
-/usr/share/man/man3/*.3 /usr/share/man/man3
+/usr/bin/*-config /usr/bin
+/usr/include/*.h /usr/include
+/usr/include/*/*.h /usr/include/cdialog
+*.so /lib/${DEB_HOST_MULTIARCH}
+*.so.[1-9].[0-9] /lib/${DEB_HOST_MULTIARCH}
+/usr/share/man/man3/*.3 /usr/share/man/man3
diff --git a/package/debian/cdialog.links b/package/debian/cdialog-dev.links
similarity index 100%
rename from package/debian/cdialog.links
rename to package/debian/cdialog-dev.links
diff --git a/package/debian/cdialog.install b/package/debian/cdialog.install
index ebceeb9..739d761 100755
--- a/package/debian/cdialog.install
+++ b/package/debian/cdialog.install
@@ -1,6 +1,7 @@
#! /usr/bin/dh-exec
-/usr/bin/cdialog /usr/bin
-/usr/lib/*/*.so.* /lib/${DEB_HOST_MULTIARCH}
-/usr/share/locale/*/*/cdialog.mo
-/usr/share/man/man1/*.1 /usr/share/man/man1
+/usr/bin/*dialog /usr/bin
+*.so.[1-9][0-9].[0-9].[0-9] /lib/${DEB_HOST_MULTIARCH}
+/usr/share/man/man1/*.1 /usr/share/man/man1
+/usr/share/locale/* /usr/share/locale
+
diff --git a/package/debian/cdialog.lintian-overrides b/package/debian/cdialog.lintian-overrides
index 7ba1edc..6d0a4a4 100644
--- a/package/debian/cdialog.lintian-overrides
+++ b/package/debian/cdialog.lintian-overrides
@@ -1,5 +1,5 @@
# the source filename was misspelled in the original version
-cdialog: spelling-error-in-binary usr/bin/cdialog guage gauge
+# cdialog: spelling-error-in-binary usr/bin/cdialog guage gauge
# the soname name is for the shared library used by cdialog-dev
cdialog: package-name-doesnt-match-sonames libcdialog15.0.0
diff --git a/headers.sh b/headers-sh.in
similarity index 75%
rename from headers.sh
rename to headers-sh.in
index ec2839a..930f420 100755
--- a/headers.sh
+++ b/headers-sh.in
@@ -1,5 +1,5 @@
#! /bin/sh
-# $Id: case47.pat,v 1.1 2023/03/01 12:37:59 tom Exp $
+# $Id: case47.pat,v 1.1 2023/03/01 12:37:59 tom Exp $
##############################################################################
# Copyright (c) 2004,2007 Thomas E. Dickey #
# #
@@ -40,17 +40,27 @@
# $3 is the source directory
# $4 is the file to install, editing source/target/etc.
-PACKAGE=DIALOG
-PKGNAME=DLG
-CONFIGH=dlg_config.h
+PACKAGE=@PACKAGE@
+PKGNAME=@PACKAGE_PREFIX@
+CONFIGH=@PACKAGE_CONFIG@
TMPSED=headers.sed
+DIGIT=0123456789
+alpha=abcdefghijklmnopqrstuvwxyz
+ALPHA=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+
+alnum=_${DIGIT}${alpha}
+ALNUM=_${DIGIT}${ALPHA}
+MIXED=_${DIGIT}${ALPHA}${alpha}
+
if test $# = 2 ; then
rm -f $TMPSED
DST=$1
REF=$2
LEAF=`basename $DST`
+
+ # map the include-directory, if needed, to the subdirectory
case $DST in
/*/include/$LEAF)
END=`basename $DST`
@@ -64,8 +74,41 @@ if test $# = 2 ; then
echo "" >> $TMPSED
;;
esac
+
+ # cannot do _this_ in -e options:
+ cat >headers.tmp </'${PKGNAME}'_\1/g%' >>$TMPSED
+ done
+ rm -f headers.tmp
+
+ # pick up autoconf-defined symbols in the config.h file
for name in `
- egrep '^#define[ ][ ]*[_ABCDEFGHIJKLMNOPQRSTUVWXYZ]' $REF/$CONFIGH \
+ egrep '^#define[ ][ ]*['$ALNUM']' $REF/$CONFIGH \
| sed -e 's/^#define[ ][ ]*//' \
-e 's/[ ].*//' \
| egrep -v "^${PACKAGE}_" \
@@ -74,6 +117,10 @@ if test $# = 2 ; then
do
echo "s/\\<$name\\>/${PKGNAME}_$name/g" >>$TMPSED
done
+
+ # reduce the count if possible, since some old sed's limit is 100 lines
+ sort -u $TMPSED >headers.tmp
+ mv headers.tmp $TMPSED
else
PRG=""
while test $# != 3
diff --git a/samples/inputbox6 b/samples/inputbox6-utf8
similarity index 89%
rename from samples/inputbox6
rename to samples/inputbox6-utf8
index 4c09317..a78232e 100755
--- a/samples/inputbox6
+++ b/samples/inputbox6-utf8
@@ -1,5 +1,7 @@
#!/bin/sh
-DIALOG=${DIALOG=dialog}
+# $Id: case47.pat,v 1.1 2023/03/01 12:37:59 tom Exp $
+: ${DIALOG=dialog}
+
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
trap "rm -f $tempfile" 0 1 2 5 15
diff --git a/po/Makefile.inn b/po/makefile.inn
similarity index 95%
rename from po/Makefile.inn
rename to po/makefile.inn
index 4cd91d8..59b5097 100644
--- a/po/Makefile.inn
+++ b/po/makefile.inn
@@ -47,7 +47,7 @@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
SOURCES = cat-id-tbl.c
POFILES = @POFILES@
GMOFILES = @GMOFILES@
-DISTFILES = ChangeLog Makefile.inn POTFILES.in $(PACKAGE).pot \
+DISTFILES = ChangeLog makefile.inn POTFILES.in $(PACKAGE).pot \
stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES)
POTFILES = \
@@ -158,8 +158,8 @@ install-data-yes: all
else \
$(SHELL) $(top_srcdir)/mkdirs.sh $(DESTDIR)$(gettextsrcdir); \
fi; \
- $(INSTALL_DATA) $(srcdir)/Makefile.inn \
- $(DESTDIR)$(gettextsrcdir)/Makefile.inn; \
+ $(INSTALL_DATA) $(srcdir)/makefile.inn \
+ $(DESTDIR)$(gettextsrcdir)/makefile.inn; \
else \
: ; \
fi
@@ -177,7 +177,7 @@ uninstall:
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
done
- rm -f $(gettextsrcdir)/po-Makefile.inn
+ rm -f $(gettextsrcdir)/po-makefile.inn
check: all
@@ -193,7 +193,7 @@ clean: mostlyclean
distclean: clean
rm -f cat-id-tbl.c stamp-cat-id *.gmo
- rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
+ rm -f makefile makefile.in POTFILES *.mo *.msg *.cat *.cat.m
maintainer-clean: distclean
@echo "This command is intended for maintainers to use;"
@@ -208,7 +208,7 @@ dist distdir: update-po $(DISTFILES)
|| cp -p $(srcdir)/$$file $(distdir); \
done
-update-po: Makefile
+update-po: makefile
$(MAKE) $(PACKAGE).pot
PATH=`pwd`/../src:$$PATH; \
cd $(srcdir); \
@@ -240,7 +240,7 @@ POTFILES: POTFILES.in
&& chmod a-w $@-t \
&& mv $@-t $@ )
-Makefile: Makefile.inn ../config.status POTFILES
+makefile: makefile.inn ../config.status POTFILES
cd .. \
&& CONFIG_FILES=$(subdir)/$@.in:$(subdir)/$@.inn CONFIG_HEADERS= \
$(SHELL) ./config.status
diffstat-1.68/testing/case19.ref 0000644 0000000 0000000 00000000114 10300164552 015202 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case34R.ref 0000644 0000000 0000000 00000000144 11762443774 015347 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case21.ref 0000644 0000000 0000000 00000000100 10300164552 015166 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case10p1.ref 0000644 0000000 0000000 00000000347 07073762772 015467 0 ustar root root build/x11r6/XFree86-current/xc/programs/Xserver/Xi/allowev.c | 6 !
build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case23r2.ref 0000644 0000000 0000000 00000000235 10277702420 015452 0 ustar root root README | 1 -
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case44f0.ref 0000644 0000000 0000000 00000001363 14320603177 015444 0 ustar root root NEWS | 9 8 + 1 - 0 !
VERSION | 2 1 + 1 - 0 !
configure | 4 2 + 2 - 0 !
configure.in | 6 3 + 3 - 0 !
dist.mk | 4 2 + 2 - 0 !
misc/gen-pkgconfig.in | 8 6 + 2 - 0 !
package/debian-mingw/changelog | 4 2 + 2 - 0 !
package/debian-mingw64/changelog | 4 2 + 2 - 0 !
package/debian/changelog | 4 2 + 2 - 0 !
package/mingw-ncurses.nsi | 4 2 + 2 - 0 !
package/mingw-ncurses.spec | 2 1 + 1 - 0 !
package/ncurses.spec | 2 1 + 1 - 0 !
package/ncursest.spec | 2 1 + 1 - 0 !
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case20R.ref 0000644 0000000 0000000 00000000171 11700545541 015325 0 ustar root root README | 22 -------!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 deletions(-), 22 modifications(!)
diffstat-1.68/testing/case14p1.ref 0000644 0000000 0000000 00000000064 10300164552 015442 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case14R.ref 0000644 0000000 0000000 00000000057 11700545537 015340 0 ustar root root xx010 | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case27r1.ref 0000644 0000000 0000000 00000000673 10664325751 015473 0 ustar root root Makefile | 4 ++++
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/cpuidle/governors/menu.c | 2 +-
b/drivers/parport/daisy.c | 29 -----------------------------
b/fs/select.c | 2 +-
b/include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case48p9.ref 0000644 0000000 0000000 00000000107 14714413374 015473 0 ustar root root unknown | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case09.pat 0000644 0000000 0000000 00000000213 06122630275 015220 0 ustar root root Other testing
Bad data
Index!!!
Index:::
diff!!!
+++++++++++++
---------------
Only in ?
Binary files XXX and YYY are the same
<<
--
++
!!
diffstat-1.68/testing/case02f0.ref 0000644 0000000 0000000 00000000324 07530543241 015432 0 ustar root root bug-report | 2 0 + 0 - 2 !
clients/xterm/Tekproc.c | 98 20 + 5 - 73 !
clients/xterm/misc.c | 104 82 + 0 - 22 !
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case19r2.ref 0000644 0000000 0000000 00000000114 10300164552 015446 0 ustar root root data.new | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case07p9.ref 0000644 0000000 0000000 00000000266 07073762771 015504 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case08R.ref 0000644 0000000 0000000 00000000502 11700545535 015334 0 ustar root root Imakefile | 15 ---------------
Tekproc.c | 7 -------
charproc.c | 22 ----------------------
data.c | 4 ----
main.c | 20 ++------!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ------
scrollbar.c | 2 !!
8 files changed, 2 insertions(+), 60 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case32p9.ref 0000644 0000000 0000000 00000000105 11246713507 015460 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case21.pat 0000644 0000000 0000000 00000004277 07605627154 015241 0 ustar root root # remove duplicated files when reading applypatch input
#
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####
#### Patch data follows ####
diff -c 'diffstat-1.31/diffstat.c' 'diffstat-1.31_applypatch/diffstat.c'
Index: ./diffstat.c
Prereq: 1.31
*** ./diffstat.c Tue Aug 20 19:38:52 2002
--- ./diffstat.c Sat Nov 9 22:54:12 2002
***************
*** 483,489 ****
if (match(buffer, "Index: ")) {
s = strrchr(buffer, BLANK); /* last token is name */
blip('.');
! that = new_data(s + 1);
ok = begin_data(that);
}
break;
--- 483,491 ----
if (match(buffer, "Index: ")) {
s = strrchr(buffer, BLANK); /* last token is name */
blip('.');
! if (strlen(that->name) != 0)
! s = do_merging(that, s + 1);
! that = new_data(s);
ok = begin_data(that);
}
break;
***************
*** 493,499 ****
&& *(s = skip_options(buffer + 5)) != '\0') {
s = strrchr(buffer, BLANK);
blip('.');
! that = new_data(s + 1);
ok = begin_data(that);
}
break;
--- 495,503 ----
&& *(s = skip_options(buffer + 5)) != '\0') {
s = strrchr(buffer, BLANK);
blip('.');
! if (strlen(that->name) != 0)
! s = do_merging(that, s + 1);
! that = new_data(s);
ok = begin_data(that);
}
break;
#### End of Patch data ####
#### ApplyPatch data follows ####
# Data version : 1.0
# Date generated : Sat Nov 9 22:55:16 2002
# Generated by : makepatch 2.00_05
# Recurse directories : Yes
# p 'diffstat.c' 21017 1036900452 0100644
#### End of ApplyPatch data ####
#### End of Patch kit [created: Sat Nov 9 22:55:16 2002] ####
#### Patch checksum: 55 1528 36697 ####
#### Checksum: 73 2205 27936 ####
diffstat-1.68/testing/case37b.ref 0000644 0000000 0000000 00000001733 12133114345 015355 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case07r1.ref 0000644 0000000 0000000 00000000266 10277702416 015464 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case20r2.ref 0000644 0000000 0000000 00000000172 10277702417 015455 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case49R.ref 0000644 0000000 0000000 00000000117 14714413543 015344 0 ustar root root unknown | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case06R.ref 0000644 0000000 0000000 00000000461 11700545534 015335 0 ustar root root NEWS | 2 -
ncurses/lib_doupdate.c | 91 +++++++++++--------------------------------------
ncurses/lib_initscr.c | 4 --
ncurses/lib_pad.c | 48 +++++--------------------
test/ncurses.c | 29 ---------------
5 files changed, 32 insertions(+), 142 deletions(-)
diffstat-1.68/testing/case31l.pat 0000644 0000000 0000000 00000000473 11234653207 015377 0 ustar root root ==== //depot/user/ed/newcons/sys/kern/tty.c#2 - /home/ed/p4/newcons/sys/kern/tty.c ====
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2008 Ed Schouten
+ * Copyright (c) 2009 Ed Schouten
* All rights reserved.
*
* Portions of this software were developed under sponsorship from Snow
diffstat-1.68/testing/case41b.ref 0000644 0000000 0000000 00000000140 13777406456 015365 0 ustar root root b/hello.c | 8 +++++++-
hello.c | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case10r2.ref 0000644 0000000 0000000 00000000352 10277702416 015453 0 ustar root root /build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
xc/programs/Xserver/Xi/allowev.c | 6 !!
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case38lR.ref 0000644 0000000 0000000 00000000456 12546615551 015530 0 ustar root root READ ME! | 5 -----
README ? | 5 +++++
run atac.sh | 6 ------
run test.sh | 51 ---------------------------------------------------
run_atac.sh | 6 ++++++
run_test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case12p1.ref 0000644 0000000 0000000 00000000260 07073762772 015463 0 ustar root root programs/xterm/main.c | 11 +++++++++--
programs/xterm/resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case40f0.ref 0000644 0000000 0000000 00000000170 13777412634 015446 0 ustar root root diffstat |binary
diffstat.c | 2 1 + 1 - 0 !
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case16b.ref 0000644 0000000 0000000 00000002051 10667374024 015360 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++------------------
curses.h | 37 +++-
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 +++
install-sh | 26 ++-
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 +++
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 ++++++++++-----
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 +
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case05b.ref 0000644 0000000 0000000 00000000066 10667374021 015357 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case18r1.ref 0000644 0000000 0000000 00000000055 10300164552 015450 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case17u.ref 0000644 0000000 0000000 00000000274 07530534455 015412 0 ustar root root kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
include/linux/sched.h | 11 +++++++++++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case36Rp0.ref 0000644 0000000 0000000 00000003373 12133111320 015564 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 16 ++--!!!!
diffstat/config.h | 2 -
diffstat/config.log | 76 +++++++++++--------!!!!!!!!!!!!!!!!!!
diffstat/config.status | 24 +++---!!!!!!
diffstat/diffstat |binary
diffstat/diffstat.o |binary
diffstat/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 34 insertions(+), 28 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case12r2.ref 0000644 0000000 0000000 00000000222 10277702416 015451 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case31ub.ref 0000644 0000000 0000000 00000000121 11240121111 015505 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case29u.ref 0000644 0000000 0000000 00000000204 11163734345 015403 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case24Rp0.ref 0000644 0000000 0000000 00000000617 11700545542 015577 0 ustar root root Ada95/gen/gen.c | 5 +++--
Ada95/gen/terminal_interface-curses-mouse.ads.m4 | 6 +++---
Ada95/gen/terminal_interface-curses.ads.m4 | 10 ++++------
Ada95/samples/ncurses2-acs_and_scroll.adb | 15 +++++++--------
Ada95/samples/ncurses2-acs_display.adb | 21 +++++++++------------
5 files changed, 26 insertions(+), 31 deletions(-)
diffstat-1.68/testing/case23.ref 0000644 0000000 0000000 00000000234 07753454053 015220 0 ustar root root README | 1
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case38rR.ref 0000644 0000000 0000000 00000000456 12546615551 015536 0 ustar root root READ ME! | 5 +++++
README ? | 5 -----
run atac.sh | 6 ++++++
run test.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
run_atac.sh | 6 ------
run_test.sh | 51 ---------------------------------------------------
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case27p9.ref 0000644 0000000 0000000 00000000513 10664325751 015472 0 ustar root root Makefile | 4 ++++
daisy.c | 29 -----------------------------
export_report.pl | 2 +-
menu.c | 2 +-
parport-lowlevel.txt | 29 +++--------------------------
parport.h | 1 -
select.c | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case31p9.ref 0000644 0000000 0000000 00000000121 11240121163 015436 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case31lp9.ref 0000644 0000000 0000000 00000000100 11237775205 015631 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case11u.ref 0000644 0000000 0000000 00000000064 10300164551 015362 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case18r2.ref 0000644 0000000 0000000 00000000055 10300164552 015451 0 ustar root root foo | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case47f0.ref 0000644 0000000 0000000 00000000651 14377643723 015463 0 ustar root root headers-sh.in | 57 52 + 5 - 0 !
package/debian/cdialog-dev.install | 11 6 + 5 - 0 !
package/debian/cdialog.install | 9 5 + 4 - 0 !
package/debian/cdialog.lintian-overrides | 2 1 + 1 - 0 !
po/makefile.inn | 14 7 + 7 - 0 !
samples/inputbox6-utf8 | 4 3 + 1 - 0 !
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case44p9.ref 0000644 0000000 0000000 00000000640 14320603177 015464 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
changelog | 12 ++++++------
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
gen-pkgconfig.in | 8 ++++++--
mingw-ncurses.nsi | 4 ++--
mingw-ncurses.spec | 2 +-
ncurses.spec | 2 +-
ncursest.spec | 2 +-
11 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case35f0.ref 0000644 0000000 0000000 00000000275 12133111243 015431 0 ustar root root config.cache | 1 0 + 0 - 1 !
config.h | 1 1 + 0 - 0 !
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case43r2.ref 0000644 0000000 0000000 00000001216 14320603177 015456 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case04r2.ref 0000644 0000000 0000000 00000003373 10277702415 015463 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++-----------!!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 !
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case08p9.ref 0000644 0000000 0000000 00000000502 07073762771 015476 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case25r2.ref 0000644 0000000 0000000 00000000556 10277702420 015462 0 ustar root root CHANGES | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
MANIFEST | 3 ++-
cmdtbl | 15 ++++++++++---
configure.in | 16 ++++++++++---
doc/filters.doc | 36 ++++++++++++++++++++++++++++--
doc/macros.doc | 67 ++++++++++++++++++++++++++++++++++----------------------
6 files changed, 159 insertions(+), 36 deletions(-)
diffstat-1.68/testing/case43.pat 0000644 0000000 0000000 00000013655 14320570414 015231 0 ustar root root diff '--unified=0' -r ncurses-6.3-20221001/configure ncurses-6.3-20221008/configure
--- ncurses-6.3-20221001/configure 2022-10-01 09:25:01.000000000 -0400
+++ ncurses-6.3-20221008/configure 2022-10-08 12:55:47.000000000 -0400
@@ -2 +2 @@
-# From configure.in Revision: 1.749 .
+# From configure.in Revision: 1.750 .
@@ -15412 +15412 @@
-(789)
+([789])
diff '--unified=0' -r ncurses-6.3-20221001/configure.in ncurses-6.3-20221008/configure.in
--- ncurses-6.3-20221001/configure.in 2022-10-01 09:16:18.000000000 -0400
+++ ncurses-6.3-20221008/configure.in 2022-10-08 11:54:35.000000000 -0400
@@ -32 +32 @@
-dnl $Id: configure.in,v 1.749 2022/10/01 13:16:18 tom Exp $
+dnl $Id: configure.in,v 1.750 2022/10/08 15:54:35 tom Exp $
@@ -41 +41 @@
-AC_REVISION($Revision: 1.749 $)
+AC_REVISION($Revision: 1.750 $)
@@ -1275 +1275 @@
-([789])
+([[789]])
diff '--unified=0' -r ncurses-6.3-20221001/dist.mk ncurses-6.3-20221008/dist.mk
--- ncurses-6.3-20221001/dist.mk 2022-10-01 09:15:31.000000000 -0400
+++ ncurses-6.3-20221008/dist.mk 2022-10-08 06:25:44.000000000 -0400
@@ -29 +29 @@
-# $Id: dist.mk,v 1.1505 2022/10/01 13:15:31 tom Exp $
+# $Id: dist.mk,v 1.1506 2022/10/08 10:25:44 tom Exp $
@@ -41 +41 @@
-NCURSES_PATCH = 20221001
+NCURSES_PATCH = 20221008
diff '--unified=0' -r ncurses-6.3-20221001/misc/gen-pkgconfig.in ncurses-6.3-20221008/misc/gen-pkgconfig.in
--- ncurses-6.3-20221001/misc/gen-pkgconfig.in 2022-08-27 15:07:03.000000000 -0400
+++ ncurses-6.3-20221008/misc/gen-pkgconfig.in 2022-10-08 12:45:20.000000000 -0400
@@ -2 +2 @@
-# $Id: gen-pkgconfig.in,v 1.55 2022/08/27 19:07:03 tom Exp $
+# $Id: gen-pkgconfig.in,v 1.56 2022/10/08 16:45:20 tom Exp $
@@ -106 +106,5 @@
- [ -d "$lib_check" ] || continue
+ # on a new/nonstandard install, $libdir may not yet exist at this point
+ if [ "$libdir" != "$lib_check" ]
+ then
+ [ -d "$lib_check" ] || continue
+ fi
diff '--unified=0' -r ncurses-6.3-20221001/NEWS ncurses-6.3-20221008/NEWS
--- ncurses-6.3-20221001/NEWS 2022-10-01 18:20:28.000000000 -0400
+++ ncurses-6.3-20221008/NEWS 2022-10-08 12:50:03.000000000 -0400
@@ -29 +29 @@
--- $Id: NEWS,v 1.3862 2022/10/01 22:20:28 tom Exp $
+-- $Id: NEWS,v 1.3864 2022/10/08 16:50:03 tom Exp $
@@ -47,0 +48,7 @@
+
+20221008
+ + correct a switch-statement case in configure script to allow for test
+ builds with ABI=7.
+ + modify misc/gen-pkgconfig.in to allow for the case where the library
+ directory does not yet exist, since this is processed before doing an
+ install (report by Michal Liszcz).
diff '--unified=0' -r ncurses-6.3-20221001/package/debian/changelog ncurses-6.3-20221008/package/debian/changelog
--- ncurses-6.3-20221001/package/debian/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -5 +5 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=0' -r ncurses-6.3-20221001/package/debian-mingw/changelog ncurses-6.3-20221008/package/debian-mingw/changelog
--- ncurses-6.3-20221001/package/debian-mingw/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -5 +5 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=0' -r ncurses-6.3-20221001/package/debian-mingw64/changelog ncurses-6.3-20221008/package/debian-mingw64/changelog
--- ncurses-6.3-20221001/package/debian-mingw64/changelog 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/debian-mingw64/changelog 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-ncurses6 (6.3+20221001) unstable; urgency=low
+ncurses6 (6.3+20221008) unstable; urgency=low
@@ -5 +5 @@
- -- Thomas E. Dickey Fri, 30 Sep 2022 20:16:53 -0400
+ -- Thomas E. Dickey Sat, 08 Oct 2022 06:25:44 -0400
diff '--unified=0' -r ncurses-6.3-20221001/package/mingw-ncurses.nsi ncurses-6.3-20221008/package/mingw-ncurses.nsi
--- ncurses-6.3-20221001/package/mingw-ncurses.nsi 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.nsi 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-; $Id: mingw-ncurses.nsi,v 1.544 2022/10/01 09:34:57 tom Exp $
+; $Id: mingw-ncurses.nsi,v 1.545 2022/10/08 10:25:44 tom Exp $
@@ -13 +13 @@
-!define VERSION_MMDD "1001"
+!define VERSION_MMDD "1008"
diff '--unified=0' -r ncurses-6.3-20221001/package/mingw-ncurses.spec ncurses-6.3-20221008/package/mingw-ncurses.spec
--- ncurses-6.3-20221001/package/mingw-ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/mingw-ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -6 +6 @@
-Release: 20221001
+Release: 20221008
diff '--unified=0' -r ncurses-6.3-20221001/package/ncurses.spec ncurses-6.3-20221008/package/ncurses.spec
--- ncurses-6.3-20221001/package/ncurses.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncurses.spec 2022-10-08 06:25:44.000000000 -0400
@@ -4 +4 @@
-Release: 20221001
+Release: 20221008
diff '--unified=0' -r ncurses-6.3-20221001/package/ncursest.spec ncurses-6.3-20221008/package/ncursest.spec
--- ncurses-6.3-20221001/package/ncursest.spec 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/package/ncursest.spec 2022-10-08 06:25:44.000000000 -0400
@@ -4 +4 @@
-Release: 20221001
+Release: 20221008
diff '--unified=0' -r ncurses-6.3-20221001/VERSION ncurses-6.3-20221008/VERSION
--- ncurses-6.3-20221001/VERSION 2022-10-01 05:34:57.000000000 -0400
+++ ncurses-6.3-20221008/VERSION 2022-10-08 06:25:44.000000000 -0400
@@ -1 +1 @@
-5:0:10 6.3 20221001
+5:0:10 6.3 20221008
diffstat-1.68/testing/case13u.ref 0000644 0000000 0000000 00000000303 10276756034 015377 0 ustar root root UCAux.c | 42 --------!!!!!!!!!!!!!
def7_uni.tbl | 118 -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 files changed, 1 insertion(+), 18 deletions(-), 141 modifications(!)
diffstat-1.68/testing/case42R.ref 0000644 0000000 0000000 00000000462 14320561540 015332 0 ustar root root testing/case39k.ref | 1 -
testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 deletion(-)
diffstat-1.68/testing/case47p1.ref 0000644 0000000 0000000 00000000622 14377643723 015474 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++--
package/debian/cdialog.install | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
po/makefile.inn | 14 +++----
samples/inputbox6-utf8 | 4 +-
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case49Rp0.ref 0000644 0000000 0000000 00000000117 14714413543 015604 0 ustar root root unknown | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case46R.ref 0000644 0000000 0000000 00000001637 14320603177 015346 0 ustar root root --unified=3 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case10u.ref 0000644 0000000 0000000 00000000351 07530534455 015377 0 ustar root root xc/programs/Xserver/Xi/allowev.c | 6 !
/build/x11r6/XFree86-current/xc/programs/Xserver/include/XIstubs.h | 26 ++++++++++
2 files changed, 27 insertions(+), 1 deletion(-), 4 modifications(!)
diffstat-1.68/testing/case29Rp0.ref 0000644 0000000 0000000 00000000204 11700545544 015576 0 ustar root root ./testing/case29.pat | 70 +++++++++++++++++++++++++--------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case31r1.ref 0000644 0000000 0000000 00000000121 11240121163 015430 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case19f0.ref 0000644 0000000 0000000 00000000117 10300164552 015433 0 ustar root root data.new | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case28R.ref 0000644 0000000 0000000 00000000204 11700545543 015334 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case07.ref 0000644 0000000 0000000 00000000266 07073762771 015233 0 ustar root root resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case03k.ref 0000644 0000000 0000000 00000000247 07530543207 015366 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case20Rp0.ref 0000644 0000000 0000000 00000000215 11700545541 015564 0 ustar root root vile-9.3+/README | 22 -------!!!!!!!!!!!!!!!
vile-9.3+/README.PC | 7 !!!!!!!
2 files changed, 7 deletions(-), 22 modifications(!)
diffstat-1.68/testing/case18R.ref 0000644 0000000 0000000 00000000056 11700545540 015335 0 ustar root root foo | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case22.ref 0000644 0000000 0000000 00000002214 07623304420 015203 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case49k.ref 0000644 0000000 0000000 00000000117 14714413542 015374 0 ustar root root unknown | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case22k.ref 0000644 0000000 0000000 00000002214 07623304420 015356 0 ustar root root PATCHES | 1 +
compose.c | 17 +++++++++++++----
crypt.c | 26 +++++++++++---------------
init.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++-------
mutt.h | 4 +++-
pgp.c | 5 ++++-
pgplib.h | 1 +
po/ca.po | 10 +++++-----
po/cs.po | 8 ++++----
po/da.po | 8 ++++----
po/de.po | 8 ++++----
po/el.po | 8 ++++----
po/eo.po | 8 ++++----
po/es.po | 9 +++++----
po/et.po | 6 +++---
po/fr.po | 8 ++++----
po/gl.po | 8 ++++----
po/hu.po | 8 ++++----
po/id.po | 8 ++++----
po/it.po | 8 ++++----
po/ja.po | 9 +++++----
po/ko.po | 8 ++++----
po/lt.po | 13 ++++++-------
po/nl.po | 8 ++++----
po/pl.po | 8 ++++----
po/pt_BR.po | 12 ++++++------
po/ru.po | 8 ++++----
po/sk.po | 13 ++++++-------
po/sv.po | 8 ++++----
po/tr.po | 8 ++++----
po/uk.po | 8 ++++----
po/zh_CN.po | 6 +++---
po/zh_TW.po | 6 +++---
postpone.c | 7 +++++++
send.c | 16 +++++++++++++++-
sendlib.c | 2 ++
36 files changed, 214 insertions(+), 139 deletions(-)
diffstat-1.68/testing/case05p1.ref 0000644 0000000 0000000 00000000066 10300164550 015442 0 ustar root root config.cache | 1 -
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case21R.ref 0000644 0000000 0000000 00000000100 11700545541 015316 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case02p9.ref 0000644 0000000 0000000 00000000373 10276756033 015467 0 ustar root root Tekproc.c | 98 +++++++++++---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
bug-report | 2 !
misc.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++!!!!!!!!!!!!!
3 files changed, 102 insertions(+), 5 deletions(-), 97 modifications(!)
diffstat-1.68/testing/case28k.ref 0000644 0000000 0000000 00000000204 11163734344 015367 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case08r2.ref 0000644 0000000 0000000 00000000502 10277702416 015457 0 ustar root root Imakefile | 15 +++++++++++++++
Tekproc.c | 7 +++++++
charproc.c | 22 ++++++++++++++++++++++
data.c | 4 ++++
main.c | 20 ++++++--!!!!!!!!!!!!
menu.c | 6 !!!!!!
misc.c | 6 ++++++
scrollbar.c | 2 !!
8 files changed, 60 insertions(+), 2 deletions(-), 20 modifications(!)
diffstat-1.68/testing/case04Rp0.ref 0000644 0000000 0000000 00000003373 11700545533 015577 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 16 ++--!!!!
diffstat/config.h | 2 -
diffstat/config.log | 76 +++++++++++--------!!!!!!!!!!!!!!!!!!
diffstat/config.status | 24 +++---!!!!!!
diffstat/diffstat |binary
diffstat/diffstat.o |binary
diffstat/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 34 insertions(+), 28 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case37.pat 0000644 0000000 0000000 00000003000 12133114113 015201 0 ustar root root Only in diffstat-1.57: LOGS
Only in diffstat-1.57: bin
Only in diffstat-1.57: check.out
Files diffstat-1.56+/config.log and diffstat-1.57/config.log differ
Files diffstat-1.56+/configure.out and diffstat-1.57/configure.out differ
Files diffstat-1.56+/diffstat and diffstat-1.57/diffstat differ
Files diffstat-1.56+/diffstat.c and diffstat-1.57/diffstat.c differ
Files diffstat-1.56+/diffstat.o and diffstat-1.57/diffstat.o differ
Files diffstat-1.56+/makefile and diffstat-1.57/makefile differ
Only in diffstat-1.57/testing: case35.pat
Only in diffstat-1.57/testing: case35.ref
Only in diffstat-1.57/testing: case35R.ref
Only in diffstat-1.57/testing: case35Rp0.ref
Only in diffstat-1.57/testing: case35b.ref
Only in diffstat-1.57/testing: case35f0.ref
Only in diffstat-1.57/testing: case35k.ref
Only in diffstat-1.57/testing: case35p1.ref
Only in diffstat-1.57/testing: case35p9.ref
Only in diffstat-1.57/testing: case35r1.ref
Only in diffstat-1.57/testing: case35r2.ref
Only in diffstat-1.57/testing: case35u.ref
Only in diffstat-1.57/testing: case36.pat
Only in diffstat-1.57/testing: case36.ref
Only in diffstat-1.57/testing: case36R.ref
Only in diffstat-1.57/testing: case36Rp0.ref
Only in diffstat-1.57/testing: case36b.ref
Only in diffstat-1.57/testing: case36f0.ref
Only in diffstat-1.57/testing: case36k.ref
Only in diffstat-1.57/testing: case36p1.ref
Only in diffstat-1.57/testing: case36p9.ref
Only in diffstat-1.57/testing: case36r1.ref
Only in diffstat-1.57/testing: case36r2.ref
Only in diffstat-1.57/testing: case36u.ref
diffstat-1.68/testing/case35k.ref 0000644 0000000 0000000 00000000247 12133111243 015355 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case06Rp0.ref 0000644 0000000 0000000 00000000461 11700545534 015575 0 ustar root root NEWS | 2 -
ncurses/lib_doupdate.c | 91 +++++++++++--------------------------------------
ncurses/lib_initscr.c | 4 --
ncurses/lib_pad.c | 48 +++++--------------------
test/ncurses.c | 29 ---------------
5 files changed, 32 insertions(+), 142 deletions(-)
diffstat-1.68/testing/case31lp1.ref 0000644 0000000 0000000 00000000140 11237775205 015625 0 ustar root root /depot/user/ed/newcons/sys/kern/tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case44p1.ref 0000644 0000000 0000000 00000001216 14320603177 015454 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case31R.ref 0000644 0000000 0000000 00000000121 11700545544 015325 0 ustar root root usbdevs | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diffstat-1.68/testing/case25.pat 0000644 0000000 0000000 00000044043 10160405152 015216 0 ustar root root # vile 9.4m - patch 2004/12/15 - Thomas Dickey
# ------------------------------------------------------------------------------
# $Header: | 1
# CHANGES | 58
# MANIFEST | 3
# buffer.c | 208 ++-
# buglist | 7
# builtflt.c | 68 +
# cmdtbl | 15
# configure | 2652 ++++++++++++++++++++---------------------
# configure.in | 16
# display.c | 80 -
# doc/filters.doc | 34
# doc/macros.doc | 67 -
# edef.h | 5
# estruct.h | 13
# eval.c | 196 ++-
# filters/as-filt.l | 6
# filters/asm-filt.l | 8
# filters/au3-filt.l | 8
# filters/bat-filt.l | 6
# filters/c-filt.c | 20
# filters/filterio.c | 33
# filters/filters.c | 3
# filters/filters.h | 7
# filters/filters.rc | 40
# filters/htmlfilt.l | 9
# filters/imakeflt.l | 19
# filters/key-filt.c | 11
# filters/m4-filt.c | 3
# filters/makefilt.l | 19
# filters/pl-filt.c | 24
# filters/pot-filt.l | 5
# filters/ps-filt.l | 5
# filters/rb-filt.l | 3
# filters/rpm-filt.l | 16
# filters/rubyfilt.c | 30
# filters/sccsfilt.l | 5
# filters/sed-filt.c | 3
# filters/sh-filt.l | 16
# filters/spell.rc | 36
# filters/spellflt.l | 8
# filters/sql-filt.l | 9
# filters/tc-filt.l | 12
# filters/tcl-filt.l | 4
# filters/vilefilt.l | 10
# filters/vl-filt.l | 20
# filters/xml-filt.l | 50
# filters/xresfilt.l | 11
# input.c | 4
# macros/gnugpg.rc | 8
# macros/which.rc | 107 +
# main.c | 5
# makefile.in | 17
# makefile.wnt | 3
# modes.c | 358 +++--
# modetbl | 22
# ntconio.c | 51
# ntwinio.c | 53
# patchlev.h | 2
# proto.h | 19
# revlist | 129 +
# statevar.c | 8
# tbuff.c | 14
# tcap.c | 3
# vile-9.4.spec | 9
# vile-9.4m/macros/showeach.rc | 78 +
# vile.hlp | 16
# x11.c | 370 ++---
# 67 files changed, 3017 insertions(+), 2141 deletions(-)
# ------------------------------------------------------------------------------
Index: CHANGES
--- vile-9.4l+/CHANGES 2004-12-08 01:01:53.000000000 +0000
+++ vile-9.4m/CHANGES 2004-12-15 23:56:47.000000000 +0000
@@ -1,5 +1,63 @@
Changes for vile 9.5 (released ??? ??? ?? ????)
+ 20041215 (m)
+ > Tom Dickey:
+ + modify x11.c, ntconio.c and ntwinio.c to make modifiers work with tab
+ key, e.g., to add shift-key as a back-tab key.
+ + add macro show-each-buffer (file showeach.rc), which splits up the
+ screen into equal chunks to display as many of the non-scratch
+ buffers as possible.
+ + modify macro parameter evaluation so it does not attempt to compute
+ a value for function tokens or goto-labels. Otherwise pathnames such
+ as "~\foo" look like macro directives and produce an error.
+ + correct slash/backslash translation (win32, etc) for some of the
+ built-in functions; the translated result was not actually the return
+ value: &path and &pcat.
+ + correct flags in modetbl used to annotate trace of &seq and a few
+ other operators.
+ + correct length computed for $bflags variable; an empty string was
+ returned.
+ + add a section on command-line options to doc/filters.doc
+ + add macro which-filter to show which locations would be checked for
+ an external filter. If the filter happens to be built-in, this is
+ also noted, in the message line.
+ + improve 'eval' command, provide for mixture of functions and other
+ tokens which are passed to the script interpreter.
+ + modify SpellFilter macro to use the results from [Filter Messages]
+ with the error-finder to step through the misspellings.
+ + add macro show-filtermsgs to show syntax filter messages, setting the
+ list to the error-buffer to provide simple stepping through the
+ errors which are found.
+ + add commands popup-buffer and popdown-buffer, which open/close
+ windows for the given buffer rather than changing the current window
+ to show a different buffer. The popup-buffer command is a wrapper
+ for the existing logic used for help and similar commands. The
+ popdown-buffer command differs from delete-window by closing all
+ windows for the given buffer.
+ + remove the pre-9.4e workarounds for set-highlighting and
+ which-keywords macros.
+ + modify kdb_reply() to shift the minibuffer left/right as needed after
+ doing the initial tab of a name-completion, in case that left the
+ cursor position past the end of the line (report by Paul Fox).
+ + add new operators to make it simpler for macros to check for
+ features: &isa, &classof and &mclass.
+ + modify historical-buffer to allow tab/back-tab to cycle through the
+ first 9 buffers, solves the problem of seeing more than the first
+ few possibilities on the message line. Toggling with the repeated
+ '_' selects the first buffer shown.
+ + add back-tab to termcap/terminfo driver as a bindable key.
+ + modify configure script to make builtflt.h part of $(BUILTHDRS) to
+ simplify "make sources" rule.
+ + modify htmlfilt.l to match in the middle of a line to
+ accommodate pages where the script is given by a "src=".
+ + add filtermsgs mode, for built-in filters to report syntax errors
+ into [Filter Messages] buffer so that one may use the error finder to
+ locate these (motivated by a 200,000 line xml file).
+ + correct state manipulation in xml-filt.l, which was confused by
+ CDATA pattern.
+ + correct $CPPFLAGS for linting configurations with built-in filters.
+ + correct typo in configure script from 9.4k fixes for iconv_open().
+
20041207 (l)
> Clark Morgan:
+ modify special treatment of "#" which prevents it from being shifted
Index: MANIFEST
--- vile-9.4l+/MANIFEST 2004-12-08 01:48:52.000000000 +0000
+++ vile-9.4m/MANIFEST 2004-12-16 00:53:14.000000000 +0000
@@ -1,4 +1,4 @@
-MANIFEST for vile, version v9_4l
+MANIFEST for vile, version v9_4m
--------------------------------------------------------------------------------
MANIFEST this file
CHANGES Change-log for VILE
@@ -332,6 +332,7 @@
macros/pictmode.rc macros to support "picture-mode" editing
macros/search.rc find a file in one of several locations
macros/shifts.rc macros to shift words left/right
+macros/showeach.rc show-each-buffer
macros/vile-pager use vile as a pager
macros/vileinit.rc sample initialization file
macros/vilemenu.rc sample menu for xvile
Index: cmdtbl
Prereq: 1.230
--- vile-9.4l+/cmdtbl 2004-12-07 01:28:55.000000000 +0000
+++ vile-9.4m/cmdtbl 2004-12-14 20:18:42.000000000 +0000
@@ -97,7 +97,7 @@
# in '!' listed, then the flag does nothing, and should be
# viewed simply as documentation.
#
-# @Header: /usr/build/vile/vile/RCS/cmdtbl,v 1.230 2004/12/07 01:28:55 tom Exp @
+# @Header: /usr/build/vile/vile/RCS/cmdtbl,v 1.233 2004/12/14 20:18:42 tom Exp @
#
#
@@ -625,7 +625,7 @@
firstbuffer NONE
"rewind"
"rew!"
-
+
firstnonwhite MOTION|MINIBUF
"first-nonwhite" !FEWNAMES
'^'
@@ -1686,13 +1686,22 @@
edit_buffer NONE
"B"
"edit-buffer" !FEWNAMES
-
+
+popup_buffer NONE !SMALLER
+ "popup-buffer"
+ "open-window" !FEWNAMES
+
+popdown_buffer NONE !SMALLER
+ "popdown-buffer"
+ "close-windows" !FEWNAMES
+
usekreg REDO
"use-register" !FEWNAMES
'"'
userbeep NONE !SMALLER
"beep"
+ 'FN-b' KEY_BackTab
visual NONE
"visual"
Index: configure.in
Prereq: 1.211
--- vile-9.4l+/configure.in 2004-12-04 00:42:49.000000000 +0000
+++ vile-9.4m/configure.in 2004-12-10 22:52:59.000000000 +0000
@@ -1,12 +1,12 @@
dnl Process this file with autoconf to produce a configure script.
-AC_REVISION(@Revision: 1.211 @)
+AC_REVISION(@Revision: 1.214 @)
AC_PREREQ(2.13.20030927)
rm -f config.cache
### Use "configure -with-screen" to override the default configuration, which is
### termcap-based on unix systems.
-dnl @Header: /usr/build/vile/vile/RCS/configure.in,v 1.211 2004/12/04 00:42:49 tom Exp @
+dnl @Header: /usr/build/vile/vile/RCS/configure.in,v 1.214 2004/12/10 22:52:59 tom Exp @
define(MAKELIST, sh $srcdir/filters/makelist.sh $srcdir/filters/genmake.mak)
@@ -52,6 +52,10 @@
CF_LIB_PREFIX
### options to control how much we build
+BUILTHDRS="nebind.h neproto.h neexec.h nefunc.h nemode.h nename.h nevars.h nefkeys.h nefsms.h"
+BUILTLIBS=
+BUILTSRCS=
+
AC_MSG_CHECKING(if you wish to build only core functions)
CF_ARG_DISABLE(extensions,
[ --disable-extensions test: build only core functions],
@@ -287,6 +291,7 @@
perl_lib_path=`$PERL -MConfig -e 'print $Config{privlib}'`
AC_DEFINE(OPT_PERL)
EXTRAOBJS="$EXTRAOBJS perl.o"
+ BUILTSRCS="$BUILTSRCS perl.c"
LINK_PREFIX=`$PERL -MConfig -e 'print $Config{shrpenv}'`
ac_link="$LINK_PREFIX $ac_link"
CF_CHECK_CFLAGS(`$PERL -MExtUtils::Embed -e ccopts`)
@@ -672,7 +677,7 @@
[cf_func_iconv="$withval"],
[cf_func_iconv=yes])
AC_MSG_RESULT($cf_func_iconv)
-if test "$cf_func_iconv" == yes ; then
+if test "$cf_func_iconv" = yes ; then
AC_DEFINE(OPT_ICONV_FUNCS)
test "$cf_cv_func_iconv" != yes && LIBS="$cf_cv_func_iconv $LIBS"
fi # test $cf_func_iconv" = yes
@@ -834,9 +839,10 @@
if test "$cf_filter_libs" = yes ; then
EXTRAOBJS="$EXTRAOBJS builtflt.o"
- CFLAGS="-I\$(srcdir)/filters $CFLAGS"
+ CPPFLAGS="-I\$(srcdir)/filters $CPPFLAGS"
FILTER_LIBS="-Lfilters -lvlflt"
LIBBUILTFLT="${LIB_PREFIX}vlflt.a"
+ BUILTHDRS="$BUILTHDRS builtflt.h"
BUILTLIBS="$BUILTLIBS filters/$LIBBUILTFLT"
AC_DEFINE(OPT_FILTER)
else
@@ -846,7 +852,9 @@
fi
AC_SUBST(EXTRAOBJS)
+AC_SUBST(BUILTHDRS)
AC_SUBST(BUILTLIBS)
+AC_SUBST(BUILTSRCS)
AC_SUBST(FILTER_LIBS)
AC_SUBST(LIBBUILTFLT)
Index: doc/filters.doc
Prereq: 1.32
--- vile-9.4l+/doc/filters.doc 2004-11-11 00:47:06.000000000 +0000
+++ vile-9.4m/doc/filters.doc 2004-12-14 00:47:49.000000000 +0000
@@ -33,7 +33,7 @@
[ If $VILE_STARTUP_PATH is not defined, the filter checks the
"prefix" directory specified when all filters were compiled
- (default path is /usr/local/share/vile/vile.keyords). ]
+ (default path is /usr/local/share/vile/vile.keywords). ]
and then here:
@@ -146,6 +146,38 @@
language keywords, if any.
+OPTIONS
+-------
+
+A few options are common to all filters:
+
+ -d is recognized when the filters have been compiled with "DEBUG" defined.
+ This is used in the more complicated filters such as perl and ruby to
+ show the parsing.
+
+ -k FILE
+
+ -q exits the filter before writing the marked-up output. This happens
+ after processing the class definitions, so it is useful in combination
+ with the -v option to simply obtain the class information.
+
+ -t holds the tabstop setting, which can be used in a filter for column
+ computations.
+
+ -v verbose, turns on extra output which can be used for troubleshooting
+ configuration problems.
+
+The C syntax filter recognizes additional options to customize it for Java and
+JavaScript:
+
+ -j Extend name- and literal-syntax to include Java.
+
+ -p Disallow preprocessor lines.
+
+ -s for JavaScript (to support jsmode). This controls whether to allow
+ regular expressions in certain cases.
+
+
PROGRAMS
--------
@@ -230,4 +262,4 @@
The lex filters have been well tested only with flex, which treats newlines
differently. Older versions of lex may not support the %x states.
--- @Header: /usr/build/vile/vile/doc/RCS/filters.doc,v 1.32 2004/11/11 00:47:06 tom Exp @
+-- @Header: /usr/build/vile/vile/doc/RCS/filters.doc,v 1.33 2004/12/14 00:47:49 tom Exp @
Index: doc/macros.doc
Prereq: 1.93
--- vile-9.4l+/doc/macros.doc 2004-10-20 22:47:38.000000000 +0000
+++ vile-9.4m/doc/macros.doc 2004-12-12 20:29:24.000000000 +0000
@@ -774,7 +774,7 @@
&mod "N1" "N2" Divide the "N1" by "N2", return remainder.
&negate "N" Return -(N).
&ascii "S" Return the ASCII code of the first
- character in "S"
+ character in "S"
&random "N"
&rnd "N" Random number between 1 and N
&abs "N" Absolute value of "N"
@@ -791,12 +791,12 @@
The rest return strings:
&bind "S" Return the function name bound to the
- key sequence "S".
+ key sequence "S".
&cat "S1" "S2" Concatenate S1 and string "S".
&chr "N" Converts numeric "N" to an ASCII character.
&cclass "S" Character class (see "show-printable")
&env "S" Return the value of the user's environment
- variable named "S".
+ variable named "S".
>key Get a single raw keystroke from the user.
>sequence Get a complete vile key sequence from user.
&left "S" "N" Extract first "N" characters from "S"
@@ -805,8 +805,8 @@
&middle "S" "N1" "N2" Extract "N2" chars at position "N1".
&upper "S" Return uppercase version of "S".
&trim "S" Remove whitespace at either end of "S",
- reduce multiple spaces within "S"
- to just one space each.
+ reduce multiple spaces within "S"
+ to just one space each.
Boolean/logical functions --
@@ -820,6 +820,9 @@
&geq "N1" "N2" Is "N1" numerically not less than "N2"?
&greater "N1" "N2" Is "N1" numerically greater than "N2"?
> "N1" "N2" (same as &greater)
+ &isa "C" "N" Is "N" a member of class "C". Classes
+ include: buffer, color, mode, submode,
+ Majormode.
&leq "N1" "N2" Is "N1" numerically not greater than "N2"?
&lessthan "N1" "N2" Is "N1" numerically less than "N2"?
< "N1" "N2" (same as &lessthan)
@@ -860,19 +863,26 @@
These all return string values:
+ &classof "N" Retrieves the class(es) to which the given
+ name may return. Usually this is a single
+ name, e.g., one of those checked by &isa.
+ If multiple matches are found, the result
+ contains each classname separated by a
+ space.
+
&default "MODENAME" Retrieves initial/default value for the
- given mode or state variable.
+ given mode or state variable.
&global "MODENAME" Retrieves universal/global mode setting.
- &indirect "S" Evaluate value of "S" as a
- macro language variable itself.
- Thus if %foo has value "HOME",
- then &env &indirect %foo will
- return the home directory pathname.
+ &indirect "S" Evaluate value of "S" as a macro language
+ variable itself. Thus if %foo has value
+ "HOME", then
+ &env &indirect %foo
+ will return the home directory pathname.
&local "MODENAME" Retrieves local mode setting (for
- current buffer).
+ current buffer).
&lookup "N" "P" The "N" keyword tells which field to use
looking for the file "P":
@@ -890,25 +900,31 @@
bin, startup, path, libdir. Note that
the directory lists may overlap.
+ &mclass "M" Retrieve the class to which the given
+ mode belongs. This is different from
+ &mclass since it distinguishes the modes
+ Return values include: universal buffer
+ window submode Majormode.
+
&qpasswd "S" Present "S" to the user and return their
- response. Each typed character is
- echoed as '*'. The response is not
- recallable via the editor's history
- mechanism.
+ response. Each typed character is
+ echoed as '*'. The response is not
+ recallable via the editor's history
+ mechanism.
&query "S" Present "S" to the user, and return
- their typed response.
+ their typed response.
&date "F" "T" If strftime() is found, format the time "T"
- using the "F" format. Otherwise, use
- ctime() to format the time. Times are
- numbers (see &ftime and &stime).
+ using the "F" format. Otherwise, use
+ ctime() to format the time. Times are
+ numbers (see &ftime and &stime).
&dquery "S" "D" Present "S" to the user, and return
- their typed response. If "D" is given,
- use that as the default response.
- Otherwise use the previous response
- as the default.
+ their typed response. If "D" is given,
+ use that as the default response.
+ Otherwise use the previous response
+ as the default.
&path "N" "P" The "N" keyword tells which field to extract
from the pathname "P":
@@ -1056,7 +1072,6 @@
The ~break directive allows early termination of an enclosing
while-loop. Extending the above example:
-
; count the occurrences of a pattern in all buffers
set nowrapscan
set noautobuffer
@@ -1465,6 +1480,6 @@
========================= end vile.rc =======================
-----------------------------------
- @Header: /usr/build/vile/vile/doc/RCS/macros.doc,v 1.93 2004/10/20 22:47:38 tom Exp @
+ @Header: /usr/build/vile/vile/doc/RCS/macros.doc,v 1.94 2004/12/12 20:29:24 tom Exp @
-----------------------------------
diffstat-1.68/testing/case33R.ref 0000644 0000000 0000000 00000000111 11700545545 015327 0 ustar root root README.new | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case20b.ref 0000644 0000000 0000000 00000000172 10667374025 015356 0 ustar root root README | 22 +++++++!!!!!!!!!!!!!!!
README.PC | 7 !!!!!!!
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case22Rp0.ref 0000644 0000000 0000000 00000003410 11700545541 015566 0 ustar root root pgp-menu-traditional/PATCHES | 1
pgp-menu-traditional/compose.c | 17 ++----------
pgp-menu-traditional/crypt.c | 26 ++++++++++--------
pgp-menu-traditional/init.h | 54 +++++----------------------------------
pgp-menu-traditional/mutt.h | 4 --
pgp-menu-traditional/pgp.c | 5 ---
pgp-menu-traditional/pgplib.h | 1
pgp-menu-traditional/po/ca.po | 10 +++----
pgp-menu-traditional/po/cs.po | 8 ++---
pgp-menu-traditional/po/da.po | 8 ++---
pgp-menu-traditional/po/de.po | 8 ++---
pgp-menu-traditional/po/el.po | 8 ++---
pgp-menu-traditional/po/eo.po | 8 ++---
pgp-menu-traditional/po/es.po | 9 ++----
pgp-menu-traditional/po/et.po | 6 ++--
pgp-menu-traditional/po/fr.po | 8 ++---
pgp-menu-traditional/po/gl.po | 8 ++---
pgp-menu-traditional/po/hu.po | 8 ++---
pgp-menu-traditional/po/id.po | 8 ++---
pgp-menu-traditional/po/it.po | 8 ++---
pgp-menu-traditional/po/ja.po | 9 ++----
pgp-menu-traditional/po/ko.po | 8 ++---
pgp-menu-traditional/po/lt.po | 13 +++++----
pgp-menu-traditional/po/nl.po | 8 ++---
pgp-menu-traditional/po/pl.po | 8 ++---
pgp-menu-traditional/po/pt_BR.po | 12 ++++----
pgp-menu-traditional/po/ru.po | 8 ++---
pgp-menu-traditional/po/sk.po | 13 +++++----
pgp-menu-traditional/po/sv.po | 8 ++---
pgp-menu-traditional/po/tr.po | 8 ++---
pgp-menu-traditional/po/uk.po | 8 ++---
pgp-menu-traditional/po/zh_CN.po | 6 ++--
pgp-menu-traditional/po/zh_TW.po | 6 ++--
pgp-menu-traditional/postpone.c | 7 -----
pgp-menu-traditional/send.c | 16 -----------
pgp-menu-traditional/sendlib.c | 2 -
36 files changed, 139 insertions(+), 214 deletions(-)
diffstat-1.68/testing/case31uu.ref 0000644 0000000 0000000 00000000121 11240121111 015530 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case40Rp0.ref 0000644 0000000 0000000 00000000164 13777412633 015604 0 ustar root root a/diffstat |binary
a/diffstat.c | 2 +-
a/diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case45Rp0.ref 0000644 0000000 0000000 00000001637 14320603177 015605 0 ustar root root --unified=2 | 4 ++--
ncurses-6.3-20221001/NEWS | 9 +--------
ncurses-6.3-20221001/VERSION | 2 +-
ncurses-6.3-20221001/configure.in | 6 +++---
ncurses-6.3-20221001/dist.mk | 4 ++--
ncurses-6.3-20221001/misc/gen-pkgconfig.in | 8 ++------
ncurses-6.3-20221001/package/debian-mingw/changelog | 4 ++--
ncurses-6.3-20221001/package/debian-mingw64/changelog | 4 ++--
ncurses-6.3-20221001/package/debian/changelog | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.nsi | 4 ++--
ncurses-6.3-20221001/package/mingw-ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncurses.spec | 2 +-
ncurses-6.3-20221001/package/ncursest.spec | 2 +-
13 files changed, 22 insertions(+), 33 deletions(-)
diffstat-1.68/testing/case31lu.ref 0000644 0000000 0000000 00000000100 11237775205 015545 0 ustar root root tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case42f0.ref 0000644 0000000 0000000 00000000510 14320561540 015430 0 ustar root root testing/case42.pat |only
testing/full1.log |only
testing/full1.txt |only
testing/short.log |only
testing/short.txt |only
testing/short1.log |only
testing/short1.txt |only
testing2/case39k.ref | 1 1 + 0 - 0 !
testing2/full.log |only
testing2/full.txt |only
10 files changed, 1 insertion(+)
diffstat-1.68/testing/case06.pat 0000644 0000000 0000000 00000023551 06076060115 015225 0 ustar root root From esr@locke.ccil.org Sat Jan 13 18:02 EST 1996
Received: from locke.ccil.org (esr@locke.ccil.org [205.164.136.88]) by mail.Clark.Net (8.7.3/8.6.5) with SMTP id SAA07403 for ; Sat, 13 Jan 1996 18:02:54 -0500 (EST)
Received: (esr@localhost) by locke.ccil.org (8.6.9/8.6.10) id SAA23481; Sat, 13 Jan 1996 18:28:57 -0500
From: "Eric S. Raymond"
Message-Id: <199601132328.SAA23481@locke.ccil.org>
Subject: patch #283 -- change line-breakout optimization logic
To: zmbenhal@netcom.com, dickey@clark.net, ncurses-list@netcom.com
Date: Sat, 13 Jan 1996 18:28:56 -0500 (EST)
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 9395
Status: RO
This patch (#283) changes the logic for line-breakout optimization.
Daniel Barlow complained:
>According to curs_inopts(3), curses periodically looks at the keyboard
>while refreshing, and stops immediately if there is input pending.
>
>This works too well! I was playing with emacs to see if it would like
>to use real ncurses routines to output to the screen instead of just
>using it as a glorified termcap library, and found that if I held down
>the `page down' key (which autorepeats), nothing displayed at all
>until I let go of it again.
This patch addresses the problem. See the comment leading the lib_doupdate.c
patch band for details.
This patch also makes a minor change in lib_initscr() to allow the maximum
escape delay to be set from the environment. Finally, it includes a
workaround for the ncurses 'p' test bug. A real fix is next on my agenda.
Diffs between last version checked in and current workfile(s):
--- NEWS 1996/01/11 19:47:02 1.3
+++ NEWS 1996/01/12 17:10:09
@@ -6,6 +6,8 @@
* fixed broken wsyncup()/wysncdown(), as a result wnoutrefresh() now has
copy-changed-lines behavior.
* added and documented wresize() code.
+* changed the line-breakout optimization code to allow some lines to be
+ emitted before the first check.
### ncurses-1.9.7 -> 1.9.8a
--- ncurses/lib_doupdate.c 1996/01/12 16:09:44 1.6
+++ ncurses/lib_doupdate.c 1996/01/12 16:50:21
@@ -43,6 +43,17 @@
#include "term.h"
/*
+ * This define controls the line-breakout optimization. Every once in a
+ * while during screen refresh, we want to check for input and abort the
+ * update if there's some waiting. CHECK_INTERVAL controls the number of
+ * changed lines to be emitted between input checks.
+ *
+ * Note: Input-check-and-abort is no longer done if the screen is being
+ * updated from scratch. This is a feature, not a bug.
+ */
+#define CHECK_INTERVAL 6
+
+/*
* Enable checking to see if doupdate and friends are tracking the true
* cursor position correctly. NOTE: this is a debugging hack which will
* work ONLY on ANSI-compatible terminals!
@@ -146,6 +157,26 @@
}
}
+static bool check_pending(void)
+/* check for pending input */
+{
+ if (SP->_checkfd >= 0) {
+ fd_set fdset;
+ struct timeval ktimeout;
+
+ ktimeout.tv_sec =
+ ktimeout.tv_usec = 0;
+
+ FD_ZERO(&fdset);
+ FD_SET(SP->_checkfd, &fdset);
+ if (select(SP->_checkfd+1, &fdset, NULL, NULL, &ktimeout) != 0)
+ {
+ fflush(SP->_ofp);
+ return OK;
+ }
+ }
+}
+
/*
* No one supports recursive inline functions. However, gcc is quieter if we
* instantiate the recursive part separately.
@@ -278,22 +309,6 @@
SP->_endwin = FALSE;
}
- /* check for pending input */
- if (SP->_checkfd >= 0) {
- fd_set fdset;
- struct timeval ktimeout;
-
- ktimeout.tv_sec =
- ktimeout.tv_usec = 0;
-
- FD_ZERO(&fdset);
- FD_SET(SP->_checkfd, &fdset);
- if (select(SP->_checkfd+1, &fdset, NULL, NULL, &ktimeout) != 0) {
- fflush(SP->_ofp);
- return OK;
- }
- }
-
/*
* FIXME: Full support for magic-cookie terminals could go in here.
* The theory: we scan the virtual screen looking for attribute
@@ -315,10 +330,15 @@
ClrUpdate(newscr);
newscr->_clear = FALSE;
} else {
+ int changedlines;
+
_nc_scroll_optimize();
T(("Transforming lines"));
- for (i = 0; i < min(screen_lines, newscr->_maxy + 1); i++) {
+ for (i = changedlines = 0;
+ i < min(screen_lines,newscr->_maxy+1);
+ i++)
+ {
/*
* newscr->line[i].firstchar is normally set
* by wnoutrefresh. curscr->line[i].firstchar
@@ -327,17 +347,43 @@
*/
if (newscr->_line[i].firstchar != _NOCHANGE
|| curscr->_line[i].firstchar != _NOCHANGE)
+ {
TransformLine(i);
+ changedlines++;
+ }
+
+ /* mark line changed successfully */
+ if (i <= newscr->_maxy)
+ {
+ newscr->_line[i].firstchar = _NOCHANGE;
+ newscr->_line[i].lastchar = _NOCHANGE;
+ newscr->_line[i].oldindex = i;
+ }
+ if (i <= curscr->_maxy)
+ {
+ curscr->_line[i].firstchar = _NOCHANGE;
+ curscr->_line[i].lastchar = _NOCHANGE;
+ curscr->_line[i].oldindex = i;
+ }
+
+ /*
+ * Here is our line-breakout optimization.
+ */
+ if ((changedlines % CHECK_INTERVAL) == changedlines-1 && check_pending())
+ goto cleanup;
}
}
}
- T(("marking screen as updated"));
- for (i = 0; i <= newscr->_maxy; i++) {
+
+ /* this code won't be executed often */
+ for (i = screen_lines; i <= newscr->_maxy; i++)
+ {
newscr->_line[i].firstchar = _NOCHANGE;
newscr->_line[i].lastchar = _NOCHANGE;
newscr->_line[i].oldindex = i;
}
- for (i = 0; i <= curscr->_maxy; i++) {
+ for (i = screen_lines; i <= curscr->_maxy; i++)
+ {
curscr->_line[i].firstchar = _NOCHANGE;
curscr->_line[i].lastchar = _NOCHANGE;
curscr->_line[i].oldindex = i;
@@ -346,10 +392,11 @@
curscr->_curx = newscr->_curx;
curscr->_cury = newscr->_cury;
+ GoTo(curscr->_cury, curscr->_curx);
+
+ cleanup:
if (curscr->_attrs != A_NORMAL)
vidattr(curscr->_attrs = A_NORMAL);
-
- GoTo(curscr->_cury, curscr->_curx);
fflush(SP->_ofp);
--- ncurses/lib_initscr.c 1996/01/12 20:11:34 1.1
+++ ncurses/lib_initscr.c 1996/01/12 20:17:54
@@ -41,6 +41,10 @@
exit(1);
}
+ /* allow user to set maximum escape delay from the environment */
+ if ((name = getenv("ESCDELAY")))
+ ESCDELAY = atoi(getenv("ESCDELAY"));
+
def_shell_mode();
/* follow the XPG4 requirement to turn echo off at this point */
--- ncurses/lib_pad.c 1995/12/29 15:34:11 1.2
+++ ncurses/lib_pad.c 1996/01/13 17:56:24
@@ -107,6 +107,7 @@
short m, n;
short pmaxrow;
short pmaxcol;
+bool wide;
T(("pnoutrefresh(%p, %d, %d, %d, %d, %d, %d) called",
win, pminrow, pmincol, sminrow, smincol, smaxrow, smaxcol));
@@ -140,20 +141,46 @@
T(("pad being refreshed"));
+ /*
+ * For pure efficiency, we'd want to transfer scrolling information
+ * from the pad to newscr whenever the window is wide enough that
+ * its update will dominate the cost of the update for the horizontal
+ * band of newscr that it occupies. Unfortunately, this threshold
+ * tends to be complex to estimate, and in any case scrolling the
+ * whole band and rewriting the parts outside win's image would look
+ * really ugly. So. What we do is consider the pad "wide" if it
+ * either (a) occupies the whole width of newscr, or (b) occupies
+ * all but at most one column on either vertical edge of the screen
+ * (this caters to fussy people who put boxes around full-screen
+ * windows). Note that changing this formula will not break any code,
+ * merely change the costs of various update cases.
+ */
+ wide = (sminrow <= 1 && win->_maxx >= (newscr->_maxx - 1));
+
for (i = pminrow, m = sminrow; i <= pmaxrow; i++, m++) {
+ register struct ldat *nline = &newscr->_line[m];
+ register struct ldat *oline = &win->_line[i];
+
for (j = pmincol, n = smincol; j <= pmaxcol; j++, n++) {
- if (win->_line[i].text[j] != newscr->_line[m].text[n]) {
- newscr->_line[m].text[n] = win->_line[i].text[j];
+ if (oline->text[j] != nline->text[n]) {
+ nline->text[n] = oline->text[j];
+
+ if (nline->firstchar == _NOCHANGE)
+ nline->firstchar = nline->lastchar = n;
+ else if (n < nline->firstchar)
+ nline->firstchar = n;
+ else if (n > nline->lastchar)
+ nline->lastchar = n;
+ }
+ }
+
+ if (wide) {
+ int oind = oline->oldindex;
- if (newscr->_line[m].firstchar == _NOCHANGE)
- newscr->_line[m].firstchar = newscr->_line[m].lastchar = n;
- else if (n < newscr->_line[m].firstchar)
- newscr->_line[m].firstchar = n;
- else if (n > newscr->_line[m].lastchar)
- newscr->_line[m].lastchar = n;
- }
+ nline->oldindex = (oind == _NEWINDEX) ? _NEWINDEX : sminrow + oind;
}
- win->_line[i].firstchar = win->_line[i].lastchar = _NOCHANGE;
+ oline->firstchar = oline->lastchar = _NOCHANGE;
+ oline->oldindex = i;
}
win->_begx = smincol;
@@ -176,6 +203,7 @@
newscr->_cury = win->_cury - pminrow + win->_begy;
newscr->_curx = win->_curx - pmincol + win->_begx;
}
+ win->_flags &= ~_HASMOVED;
return OK;
}
--- test/ncurses.c 1996/01/11 19:49:39 1.4
+++ test/ncurses.c 1996/01/13 23:00:26
@@ -1368,6 +1368,35 @@
}
mvaddch(porty - 1, portx - 1, ACS_LRCORNER);
+
+ /*
+ * FIXME: this touchwin should not be necessary!
+ * There is something not quite right with the pad code
+ * Thomas Dickey writes:
+ *
+ * In the ncurses 'p' test, if I (now) press '<', '>', '<', then the
+ * right boundary of the box that outlines the pad is blanked. That's
+ * because
+ *
+ * + the value that marks the right boundary (porty) is incremented,
+ *
+ * + a new vertical line is written to stdscr
+ *
+ * + stdscr is flushed with wnoutrefresh, clearing its firstchar &
+ * lastchar markers. This writes the change (the new vertical line)
+ * to newscr.
+ *
+ * => previously stdscr was written to newscr entirely
+ *
+ * + the pad is written using prefresh, which writes directly to
+ * newscr, bypassing stdscr entirely.
+ *
+ * When I've pressed '>' (see above), this means that stdscr contains
+ * two columns of ACS_VLINE characters. The left one (column 79) is
+ * shadowed by the pad that's written to newscr.
+ */
+ touchwin(stdscr);
+
wnoutrefresh(stdscr);
prefresh(pad,
End of diffs.
diffstat-1.68/testing/case42.pat 0000644 0000000 0000000 00000001056 14320556551 015226 0 ustar root root diff -ur testing/case39k.ref testing2/case39k.ref
--- testing/case39k.ref 2021-01-12 18:52:54.000000000 -0500
+++ testing2/case39k.ref 2022-10-09 08:55:13.555920276 -0400
@@ -1,4 +1,5 @@
diffstat |binary
+
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
Only in testing/: case42.pat
Only in testing/: full1.log
Only in testing/: full1.txt
Only in testing2/: full.log
Only in testing2/: full.txt
Only in testing/: short1.log
Only in testing/: short1.txt
Only in testing/: short.log
Only in testing/: short.txt
diffstat-1.68/testing/case37r1.ref 0000644 0000000 0000000 00000001733 12133114345 015456 0 ustar root root LOGS |only
bin |only
check.out |only
config.log |differ
configure.out |differ
diffstat |differ
diffstat.c |differ
diffstat.o |differ
makefile |differ
testing/case35.pat |only
testing/case35.ref |only
testing/case35R.ref |only
testing/case35Rp0.ref |only
testing/case35b.ref |only
testing/case35f0.ref |only
testing/case35k.ref |only
testing/case35p1.ref |only
testing/case35p9.ref |only
testing/case35r1.ref |only
testing/case35r2.ref |only
testing/case35u.ref |only
testing/case36.pat |only
testing/case36.ref |only
testing/case36R.ref |only
testing/case36Rp0.ref |only
testing/case36b.ref |only
testing/case36f0.ref |only
testing/case36k.ref |only
testing/case36p1.ref |only
testing/case36p9.ref |only
testing/case36r1.ref |only
testing/case36r2.ref |only
testing/case36u.ref |only
33 files changed
diffstat-1.68/testing/case27p1.ref 0000644 0000000 0000000 00000000655 10664325751 015471 0 ustar root root Documentation/parport-lowlevel.txt | 29 +++--------------------------
Makefile | 4 ++++
drivers/cpuidle/governors/menu.c | 2 +-
drivers/parport/daisy.c | 29 -----------------------------
fs/select.c | 2 +-
include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case03R.ref 0000644 0000000 0000000 00000000354 11700545533 015332 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 1 !
diffstat/config.h | 1 -
diffstat/diffstat |binary
diffstat/diffstat.o |binary
5 files changed, 1 deletion(-), 1 modification(!)
diffstat-1.68/testing/case35Rp0.ref 0000644 0000000 0000000 00000000354 12133111243 015563 0 ustar root root diffstat.orig/configure.out |only
diffstat/config.cache | 1 !
diffstat/config.h | 1 -
diffstat/diffstat |binary
diffstat/diffstat.o |binary
5 files changed, 1 deletion(-), 1 modification(!)
diffstat-1.68/testing/case06p1.ref 0000644 0000000 0000000 00000000431 07073762771 015465 0 ustar root root NEWS | 2 +
lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++++++++--------------
lib_initscr.c | 4 ++
lib_pad.c | 48 +++++++++++++++++++++++-------
ncurses.c | 29 ++++++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case29.ref 0000644 0000000 0000000 00000000204 11163734345 015216 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case45.ref 0000644 0000000 0000000 00000001216 14320603177 015214 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case29p9.ref 0000644 0000000 0000000 00000000204 11163734345 015467 0 ustar root root case29.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case21k.ref 0000644 0000000 0000000 00000000100 10300164553 015342 0 ustar root root diffstat.c | 8 !!!!!!!!
1 file changed, 8 modifications(!)
diffstat-1.68/testing/case27.ref 0000644 0000000 0000000 00000000673 10664325751 015230 0 ustar root root Makefile | 4 ++++
b/Documentation/parport-lowlevel.txt | 29 +++--------------------------
b/drivers/cpuidle/governors/menu.c | 2 +-
b/drivers/parport/daisy.c | 29 -----------------------------
b/fs/select.c | 2 +-
b/include/linux/parport.h | 1 -
scripts/export_report.pl | 2 +-
7 files changed, 10 insertions(+), 59 deletions(-)
diffstat-1.68/testing/case07p1.ref 0000644 0000000 0000000 00000000276 07073762771 015475 0 ustar root root man/resizeterm.3x | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
man/wresize.3x | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case31r2.ref 0000644 0000000 0000000 00000000121 11240121163 015431 0 ustar root root usbdevs | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diffstat-1.68/testing/case33k.ref 0000644 0000000 0000000 00000000105 11246713507 015363 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case35.pat 0000644 0000000 0000000 00000002136 12133111006 015206 0 ustar root root diff -r -c diffstat/config.cache diffstat.orig/config.cache
*** 1.1 Fri Mar 15 19:27:13 1996
--- diffstat.orig/config.cache Fri Mar 15 19:51:02 1996
***************
*** 13,28 ****
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
! ac_cv_c_cross=${ac_cv_c_cross='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
--- 13,28 ----
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const='yes'}
ac_cv_header_getopt_h=${ac_cv_header_getopt_h='yes'}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
diff -r -c diffstat/config.h diffstat.orig/config.h
*** diffstat/config.h Fri Mar 15 19:27:15 1996
--- diffstat.orig/config.h Fri Mar 15 19:51:04 1996
***************
*** 6,11 ****
--- 6,12 ----
*/
+ #define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_GETOPT_H 1
Only in diffstat.orig: configure.out
Files diffstat/diffstat and diffstat.orig/diffstat differ
< nothing
> nothing again
Files diffstat/diffstat.o and diffstat.orig/diffstat.o differ
diffstat-1.68/testing/case28r2.ref 0000644 0000000 0000000 00000000203 11163734345 015460 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case41p9.ref 0000644 0000000 0000000 00000000134 13777421437 015473 0 ustar root root hello.c | 9 ++++++++-
hello.o |binary
2 files changed, 8 insertions(+), 1 deletion(-)
diffstat-1.68/testing/case03b.ref 0000644 0000000 0000000 00000000171 10667374021 015352 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
3 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/run_test.sh 0000755 0000000 0000000 00000002132 11700552746 015636 0 ustar root root #!/bin/sh
# $Id: run_test.sh,v 1.15 2012/01/03 10:18:14 tom Exp $
# Test-script for DIFFSTAT
# change this for ad hoc testing of compression
#TYPE=.pat.Z
#TYPE=.pat.gz
#TYPE=.pat.bz2
TYPE=.pat
if [ $# = 0 ]
then
eval '"$0" *${TYPE}'
exit
fi
PATH=`cd ..;pwd`:$PATH; export PATH
# Sanity check, remembering that not every system has `which'.
(which diffstat) >/dev/null 2>/dev/null && echo "Checking `which diffstat`"
for item in $*
do
echo "testing `basename $item $TYPE`"
for OPTS in "" "-p1" "-p9" "-f0" "-u" "-k" "-r1" "-r2" "-b" "-R" "-Rp0"
do
NAME=`echo $item | sed -e 's/'$TYPE'$//'`
DATA=${NAME}${TYPE}
if [ ".$OPTS" != "." ] ; then
NAME=$NAME`echo ./$OPTS|sed -e 's@./-@@'`
fi
TEST=`basename $NAME`
diffstat -e $TEST.err -o $TEST.out $OPTS $DATA
if [ -f $NAME.ref ]
then
diff -b $NAME.ref $TEST.out >check.out
if test -s check.out
then
echo "?? fail: $TEST"
ls -l check.out
cat check.out
else
echo "** ok: $TEST"
rm -f $TEST.out
rm -f $TEST.err
fi
else
echo "** save: $TEST"
mv $TEST.out $NAME.ref
rm -f $TEST.err
fi
done
done
diffstat-1.68/testing/case09f0.ref 0000644 0000000 0000000 00000000021 07530543242 015434 0 ustar root root 0 files changed
diffstat-1.68/testing/case32u.ref 0000644 0000000 0000000 00000000105 11246713507 015374 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case06b.ref 0000644 0000000 0000000 00000000461 10667374022 015360 0 ustar root root NEWS | 2 +
ncurses/lib_doupdate.c | 91 +++++++++++++++++++++++++++++++++++++------------
ncurses/lib_initscr.c | 4 ++
ncurses/lib_pad.c | 48 ++++++++++++++++++++-----
test/ncurses.c | 29 +++++++++++++++
5 files changed, 142 insertions(+), 32 deletions(-)
diffstat-1.68/testing/case05R.ref 0000644 0000000 0000000 00000000067 11700545534 015336 0 ustar root root config.cache | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case34r1.ref 0000644 0000000 0000000 00000000144 11762443774 015470 0 ustar root root quux bar baz | 2 +-
quux bar baz2 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case36.ref 0000644 0000000 0000000 00000003373 12133111320 015202 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case47Rp0.ref 0000644 0000000 0000000 00000000634 14377643724 015621 0 ustar root root a/headers.sh | 57 ++---------------------------
a/install.sh | 11 ++---
a/package/debian/cdialog.links | 9 ++--
a/package/debian/cdialog.lintian-overrides | 2 -
a/po/Makefile.inn | 14 +++----
a/samples/inputbox6 | 4 --
6 files changed, 23 insertions(+), 74 deletions(-)
diffstat-1.68/testing/case43k.ref 0000644 0000000 0000000 00000001216 14320603177 015365 0 ustar root root NEWS | 9 ++++++++-
VERSION | 2 +-
configure | 4 ++--
configure.in | 6 +++---
dist.mk | 4 ++--
misc/gen-pkgconfig.in | 8 ++++++--
package/debian-mingw/changelog | 4 ++--
package/debian-mingw64/changelog | 4 ++--
package/debian/changelog | 4 ++--
package/mingw-ncurses.nsi | 4 ++--
package/mingw-ncurses.spec | 2 +-
package/ncurses.spec | 2 +-
package/ncursest.spec | 2 +-
13 files changed, 33 insertions(+), 22 deletions(-)
diffstat-1.68/testing/case16p1.ref 0000644 0000000 0000000 00000002051 07605676572 015472 0 ustar root root Makefile.in | 61 ++++----
README | 5
aclocal.m4 | 7
config.h.in | 6
configure | 386 +++++++++++++++++++++++++++++++++------------------
curses.h | 37 +++-
curspriv.h | 12 -
demos/testcurs.c | 9 -
doc/intro.man | 27 ++-
doc/x11.man | 100 +++++++++----
dos/pdckbd.c | 28 +++
install-sh | 26 ++-
os2/gccos2.mak | 14 -
os2/pdckbd.c | 28 +++
os2/pdcurses.def | 8 -
pdcurses/Makefile.in | 120 ++++++++++-----
pdcurses/border.c | 168 +++++++++++++++++++++-
pdcurses/color.c | 26 +++
pdcurses/getch.c | 12 +
pdcurses/initscr.c | 6
pdcurses/util.c | 6
win32/curses.def | 3
win32/pdckbd.c | 10 -
x11/README | 15 +
x11/ScrollBox.c | 32 ++--
x11/pdcdisp.c | 4
x11/pdckbd.c | 4
x11/pdcscrn.c | 3
x11/pdcsetsc.c | 11 -
29 files changed, 847 insertions(+), 327 deletions(-)
diffstat-1.68/testing/case36r1.ref 0000644 0000000 0000000 00000003373 12133111243 015451 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++-----------!!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 !
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case04f0.ref 0000644 0000000 0000000 00000003400 07530543241 015432 0 ustar root root diffstat.orig/config.cache | 16 4 + 4 - 8 !
diffstat.orig/config.h | 2 2 + 0 - 0 !
diffstat.orig/config.log | 76 15 + 23 - 38 !
diffstat.orig/config.status | 24 6 + 6 - 12 !
diffstat.orig/configure.out |only
diffstat.orig/diffstat |binary
diffstat.orig/diffstat.o |binary
diffstat.orig/makefile | 4 1 + 1 - 2 !
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
40 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case29f0.ref 0000644 0000000 0000000 00000000125 11163734345 015446 0 ustar root root case29.pat | 70 35 + 35 - 0 !
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case32b.ref 0000644 0000000 0000000 00000000105 11246713507 015351 0 ustar root root README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diffstat-1.68/testing/case17f0.ref 0000644 0000000 0000000 00000000246 07530543243 015445 0 ustar root root include/linux/sched.h | 11 11 + 0 - 0 !
kernel/sched.c | 47 47 + 0 - 0 !
kernel/user.c | 2 2 + 0 - 0 !
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case03u.ref 0000644 0000000 0000000 00000000247 07530534454 015404 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case07f0.ref 0000644 0000000 0000000 00000000154 07530543242 015441 0 ustar root root resizeterm.3x | 53 53 + 0 - 0 !
wresize.3x | 47 47 + 0 - 0 !
2 files changed, 100 insertions(+)
diffstat-1.68/testing/case39f0.ref 0000644 0000000 0000000 00000000170 13777406456 015463 0 ustar root root diffstat |binary
diffstat.c | 2 1 + 1 - 0 !
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case04b.ref 0000644 0000000 0000000 00000003245 10667374021 015360 0 ustar root root diffstat.orig/config.cache | 16 ++--!!!!
diffstat.orig/config.h | 2 +
diffstat.orig/config.log | 76 +++++++------------!!!!!!!!!!!!!!!!!!
diffstat.orig/config.status | 24 +++---!!!!!!
diffstat.orig/configure.out |only
diffstat.orig/makefile | 4 -
diffstat/testing/Xlib-1.patch- |only
diffstat/testing/Xlib-1.ref |only
diffstat/testing/Xlib-2.patch- |only
diffstat/testing/Xlib-2.ref |only
diffstat/testing/Xlib-3.patch- |only
diffstat/testing/Xlib-3.ref |only
diffstat/testing/config-1.ref |only
diffstat/testing/nugent.ref |only
diffstat/testing/xserver-1.ref |only
diffstat/testing/xserver-2.patch- |only
diffstat/testing/xserver-2.ref |only
diffstat/testing/xterm-1.patch- |only
diffstat/testing/xterm-1.ref |only
diffstat/testing/xterm-10.patch- |only
diffstat/testing/xterm-10.ref |only
diffstat/testing/xterm-11.patch- |only
diffstat/testing/xterm-11.ref |only
diffstat/testing/xterm-2.patch- |only
diffstat/testing/xterm-2.ref |only
diffstat/testing/xterm-3.patch- |only
diffstat/testing/xterm-3.ref |only
diffstat/testing/xterm-4.patch- |only
diffstat/testing/xterm-4.ref |only
diffstat/testing/xterm-5.patch- |only
diffstat/testing/xterm-5.ref |only
diffstat/testing/xterm-6.patch- |only
diffstat/testing/xterm-6.ref |only
diffstat/testing/xterm-7.ref |only
diffstat/testing/xterm-8.patch- |only
diffstat/testing/xterm-8.ref |only
diffstat/testing/xterm-9.patch- |only
diffstat/testing/xterm-9.ref |only
38 files changed, 28 insertions(+), 34 deletions(-), 60 modifications(!)
diffstat-1.68/testing/case20f0.ref 0000644 0000000 0000000 00000000166 07605627533 015450 0 ustar root root README | 22 7 + 0 - 15 !
README.PC | 7 0 + 0 - 7 !
2 files changed, 7 insertions(+), 22 modifications(!)
diffstat-1.68/testing/case38lf0.ref 0000644 0000000 0000000 00000000374 12546615551 015633 0 ustar root root READ ME! | 5 5 + 0 - 0 !
README ? | 5 0 + 5 - 0 !
run atac.sh | 6 6 + 0 - 0 !
run test.sh | 51 51 + 0 - 0 !
run_atac.sh | 6 0 + 6 - 0 !
run_test.sh | 51 0 + 51 - 0 !
6 files changed, 62 insertions(+), 62 deletions(-)
diffstat-1.68/testing/case12r1.ref 0000644 0000000 0000000 00000000222 10277702416 015450 0 ustar root root main.c | 11 +++++++++--
resize.c | 47 +++++++++++++++++++++++++++++++++++++++--------
2 files changed, 48 insertions(+), 10 deletions(-)
diffstat-1.68/testing/case05f0.ref 0000644 0000000 0000000 00000000101 10300164550 015415 0 ustar root root config.cache | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)
diffstat-1.68/testing/case35u.ref 0000644 0000000 0000000 00000000247 12133111320 015363 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case19.pat 0000644 0000000 0000000 00000001123 07605623647 015236 0 ustar root root --- data.old Sat Jan 4 13:26:04 2003
+++ data.new Sat Jan 4 13:27:20 2003
@@ -1,5 +1,8 @@
-Readme file for DiffStat.
-
--This program is a simple filter that reads the output of the 'diff' program,
--- and produces a histogram of the total number of lines that were changed. It is
-useful for scanning a patch file to see which files were changed.
+-This program is
+- a simple filter that reads the output of the 'diff' program,
+++ and produces a histogram
+- of the total number of lines that were changed. It is
+++ useful
++ for scanning a patch file to see which files were changed.
diffstat-1.68/testing/case11p9.ref 0000644 0000000 0000000 00000000064 10300164551 015446 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case15.ref 0000644 0000000 0000000 00000001173 07073762773 015232 0 ustar root root build/Makefile.in | 38 ++++++++++-----------
build/recover | 49 ++++++++++++++++++++++++++++
debian/README.debian | 14 ++++++++
debian/changelog | 53 ++++++++++++++++++++++++++++++
debian/conffiles | 1
debian/control | 19 ++++++++++
debian/copyright | 40 ++++++++++++++++++++++
debian/postinst | 21 ++++++++++++
debian/prerm | 11 ++++++
debian/rc.boot | 58 +++++++++++++++++++++++++++++++++
debian/rules | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/substvars | 1
12 files changed, 375 insertions(+), 19 deletions(-)
diffstat-1.68/testing/case28b.ref 0000644 0000000 0000000 00000000204 11163734345 015357 0 ustar root root case28.pat | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
diffstat-1.68/testing/case17p1.ref 0000644 0000000 0000000 00000000274 07524717237 015472 0 ustar root root include/linux/sched.h | 11 +++++++++++
kernel/sched.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
kernel/user.c | 2 ++
3 files changed, 60 insertions(+)
diffstat-1.68/testing/case39r1.ref 0000644 0000000 0000000 00000000156 13777406456 015504 0 ustar root root diffstat |binary
diffstat.c | 2 +-
diffstat.o |binary
3 files changed, 1 insertion(+), 1 deletion(-)
diffstat-1.68/testing/case14p9.ref 0000644 0000000 0000000 00000000064 10300164552 015452 0 ustar root root ncurses.c | 1 +
1 file changed, 1 insertion(+)
diffstat-1.68/testing/case35r2.ref 0000644 0000000 0000000 00000000247 12133111320 015442 0 ustar root root config.cache | 1 !
config.h | 1 +
configure.out |only
diffstat |binary
diffstat.o |binary
5 files changed, 1 insertion(+), 1 modification(!)
diffstat-1.68/testing/case23u.ref 0000644 0000000 0000000 00000000234 07753454053 015405 0 ustar root root README | 1
gkrellm-bfm.c | 99 +++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 77 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case47.ref 0000644 0000000 0000000 00000000622 14377643723 015233 0 ustar root root headers-sh.in | 57 ++++++++++++++++++++++++++++---
package/debian/cdialog-dev.install | 11 +++--
package/debian/cdialog.install | 9 ++--
package/debian/cdialog.lintian-overrides | 2 -
po/makefile.inn | 14 +++----
samples/inputbox6-utf8 | 4 +-
6 files changed, 74 insertions(+), 23 deletions(-)
diffstat-1.68/testing/case08.pat 0000644 0000000 0000000 00000021435 06122640427 015230 0 ustar root root Index: Imakefile
*** /build/x11r6/XFree86-3.1.2Bn/xc/programs/xterm/Imakefile Fri Jan 26 11:43:22 1996
--- /build/x11r6/XFree86-current/xc/programs/xterm/Imakefile Sun Jan 28 20:45:35 1996
***************
*** 10,15 ****
--- 10,30 ----
XCOMM
/*
+ * Fixes to allow compile with X11R5
+ */
+ #ifndef XkbClientDefines
+ #define XkbClientDefines /**/
+ #endif
+
+ #ifndef XkbClientDepLibs
+ #define XkbClientDepLibs /**/
+ #endif
+
+ #ifndef XkbClientLibs
+ #define XkbClientLibs /**/
+ #endif
+
+ /*
* add -DWTMP and -DLASTLOG if you want them; make sure that bcopy can
* handle overlapping copies before using it.
*/
Index: Tekproc.c
*** /build/x11r6/XFree86-3.1.2Bn/xc/programs/xterm/Tekproc.c Tue Jan 16 15:43:01 1996
--- /build/x11r6/XFree86-current/xc/programs/xterm/Tekproc.c Sun Jan 28 20:45:35 1996
***************
*** 64,70 ****
--- 64,77 ----
#include
#include
#include
+
+ #if XtSpecificationRelease >= 6
#include
+ #else
+ #define Select(n,r,w,e,t) select(0,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval *)t)
+ #define XFD_COPYSET(src,dst) bcopy((src)->fds_bits, (dst)->fds_bits, sizeof(fd_set))
+ #endif
+
#include
#include
#include