Projects
openEuler:Mainline
libXaw
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
_service:tar_scm:libXaw.spec
Changed
@@ -1,12 +1,12 @@ %global _pkgdocdir %{_docdir}/%{name}-%{version} Name: libXaw -Version: 1.0.14 -Release: 2 +Version: 1.0.15 +Release: 1 License: MIT Summary: X Athena Widget Set URL: https://www.x.org -Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 +Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.gz BuildRequires: autoconf automake libtool xorg-x11-proto-devel libX11-devel libXt-devel BuildRequires: libXmu-devel libXpm-devel libXext-devel xorg-x11-util-macros xmlto lynx @@ -59,6 +59,9 @@ %changelog +* Thu Jul 20 2023 zhangpan <zhangpan103@h-partners.com> - 1.0.15-1 +- update to 1.0.15 + * Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.0.14-2 - Rebuild for next release
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/ChangeLog -> _service:tar_scm:libXaw-1.0.15.tar.gz/ChangeLog
Changed
@@ -1,3 +1,161 @@ +commit 78eb3c75688a1e92ec435e5bc3ded063cd339a73 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Wed Mar 15 16:29:53 2023 -0700 + + libXaw 1.0.15 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit ebf701e9752a2c85f2fcfcce32b97f47d2546f47 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Mar 4 10:44:45 2023 -0800 + + configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL + + AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, + so it's time to rely on it. + + Clears autoconf warnings: + + configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete. + configure.ac:13: You should run autoupdate. + aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... + configure.ac:13: the top level + + libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS(m4)' to configure.ac, + libtoolize: and rerunning libtoolize and aclocal. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit f7246b984c287b64eb73ee0c303f1b61ee51caf2 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Tue Feb 28 14:12:09 2023 -0800 + + Replace calls to index() with strchr() + + Use C standard API instead of old BSD equivalent + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 02d6fcb26ee1c77c26d98372898d0e48542da5cb +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Tue Feb 28 11:50:15 2023 -0800 + + Add .git-blame-ignore-revs to hide whitespace commits from git blame + + To use this in your local repo clone, you will need to either run + `git blame --ignore-revs-file .git-blame-ignore-revs` + or set it permanently with + `git config blame.ignoreRevsFile .git-blame-ignore-revs` + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit c37efe7e63ce7be18238590b25042a8d7184f86c +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat Feb 25 09:21:46 2023 -0800 + + Remove "All rights reserved" from Oracle copyright notices + + Oracle no longer includes this term in our copyright & license notices. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 9129b6dbca53afe7e1876ce11bb0386d91bcd589 +Author: Thomas E. Dickey <dickey@invisible-island.net> +Date: Mon Jul 4 08:46:04 2022 -0400 + + issue #6: fix typo in XawMax parameter in GetBlockBoundaries + + Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> + +commit 49cec54165b46116c73e7db78c46b624948b01c8 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat May 7 10:20:30 2022 -0700 + + Stop memory leak in error paths in XawTextSinkConvertPropertyList() + + Fixes issues reported by Oracle Parfait static analyzer: + + Error: Memory leak + Memory leak memory-leak (CWE 401): + Memory leak of pointer pointer allocated with XtCalloc(1, 144) + at line 1586 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. + pointer allocated at line 1570 with XtCalloc(1, 144) + pointer leaks when XawFindArgVal(params, "font") != NULL at line 1573 + and argval->value != NULL at line 1574 + and XLoadQueryFont(screen->display, argval->value) == NULL at line 1577. + Memory leak memory-leak (CWE 401): + Memory leak of pointer pointer allocated with XtCalloc(1, 144) + at line 1605 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. + pointer allocated at line 1570 with XtCalloc(1, 144) + pointer leaks when argval->value == NULL at line 1574 + and XawFindArgVal(params, "foreground") != NULL at line 1593 + and argval->value != NULL at line 1594 + and XAllocNamedColor(...) == 0 at line 1595. + Memory leak memory-leak (CWE 401): + Memory leak of pointer pointer allocated with XtCalloc(1, 144) + at line 1622 of lib/libXaw/src/TextSink.c in function 'XawTextSinkConvertPropertyList'. + pointer allocated at line 1570 with XtCalloc(1, 144) + pointer leaks when argval->value == NULL at line 1574 + and XawFindArgVal(params, "background") != NULL at line 1610 + and argval->value != NULL at line 1611 + and XAllocNamedColor(...) == 0 at line 1612. + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 11384211b9407eeab475e54e4806e47825fb1790 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat May 7 10:11:18 2022 -0700 + + Stop memory leak in GetResourcePixmapPath() + + Fixes issue reported by Oracle Parfait static analyzer: + + Error: Memory leak + Memory leak memory-leak (CWE 401): + Memory leak of pointer pointer allocated with XtMalloc((strlen(value.addr) + 1)) + at line 700 of lib/libXaw/src/Pixmap.c in function 'GetResourcePixmapPath'. + pointer allocated at line 679 with XtMalloc((strlen(value.addr) + 1)) + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 01c0b0365a50a08e69dffe3c63ac62343560b26c +Author: Taylor R Campbell <riastradh@netbsd.org> +Date: Mon Apr 4 14:53:48 2022 +0200 + + Fix ctype(3) users. + + The API requires "unsigned char" arguments. + + Signed-off-by: Thomas Klausner <tk@giga.or.at> + +commit 794367d1ac396842c0213064ebcfe1f4e2219657 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat May 7 10:56:22 2022 -0700 + + Fix spelling/wording issues + + Found by using: + codespell --builtin clear,rare,usage,informal,code,names + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit f704f8cf083140a592a79705a3b104063d9b67c4 +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat May 7 10:36:59 2022 -0700 + + gitlab CI: add a basic build test + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + +commit 8d6e75133738d0311d7737faab841b44cbb86e6b +Author: Alan Coopersmith <alan.coopersmith@oracle.com> +Date: Sat May 7 10:31:31 2022 -0700 + + Build xz tarballs instead of bzip2 + + Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> + commit 9cfeba9db7f3ac4e0b351969c9ff5ab8f58ec7ef Author: Matt Turner <mattst88@gmail.com> Date: Sat Mar 27 13:38:39 2021 -0400 @@ -1751,7 +1909,7 @@ Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit ceaf6f7f0e516b1479744df421de404b1decc556 -Author: Rémi Cardona <remi@gentoo.org> +Author: Rémi Cardona <remi@gentoo.org> Date: Thu Dec 17 08:28:30 2009 +0100 require autoconf 2.60 because of $(docdir) use @@ -2409,7 +2567,7 @@ libraries not yet installed will work properly. commit 5fc8851308321a65a6987aedea6618d056ff7879 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jul 6 19:26:27 2005 +0000 - Xaw/xaw.m4: Change help string to say "enable xprint" instead of "disable @@ -2420,7 +2578,7 @@ - remove font/arabic-misc/README and font/mutt-misc/README commit d4f214b6255184a2cbf571c02409a0e3f4405fb0 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue Jul 5 22:51:11 2005 +0000 Add build systems for xlogo, xlsatoms, xlsclients, xmag, xman, xmessage, @@ -2441,7 +2599,7 @@ <X11/fonts/foo.h>. commit f8e7a4ec6117006123dfdc7c970f9f1392bf7d84 -Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> +Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue Jun 28 13:30:15 2005 +0000 lib/Xaw/Makefile.am: install the libXaw.so symlink in $(DESTDIR)$(libdir) - @@ -2449,7 +2607,7 @@ lib/Xaw/man/Makefile.am: add Xaw.man to EXTRA_DIST to make it distcheck.
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/Makefile.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -92,7 +92,10 @@ @BUILD_XAW7_TRUE@am__append_2 = xaw7.pc subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ @@ -185,14 +188,11 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/xaw6.pc.in $(srcdir)/xaw7.pc.in COPYING ChangeLog \ - INSTALL compile config.guess config.sub install-sh ltmain.sh \ - missing + INSTALL README.md compile config.guess config.sub install-sh \ + ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -228,9 +228,11 @@ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" -DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz GZIP_ENV = --best -DIST_TARGETS = dist-bzip2 dist-gzip +DIST_TARGETS = dist-xz dist-gzip +# Exists only to be overridden by the user if desired. +AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' @@ -252,8 +254,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -267,8 +270,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -590,7 +595,6 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am @@ -664,6 +668,7 @@ dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) + dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) @@ -671,7 +676,6 @@ dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) - dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) @@ -739,7 +743,7 @@ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/README.md -> _service:tar_scm:libXaw-1.0.15.tar.gz/README.md
Changed
@@ -6,7 +6,7 @@ https://lists.x.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: https://gitlab.freedesktop.org/xorg/lib/libXaw
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/aclocal.m4 -> _service:tar_scm:libXaw-1.0.15.tar.gz/aclocal.m4
Changed
@@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.16.2 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -14,9062 +14,1143 @@ m4_ifndef(AC_CONFIG_MACRO_DIRS, m4_defun(_AM_CONFIG_MACRO_DIRS, )m4_defun(AC_CONFIG_MACRO_DIRS, _AM_CONFIG_MACRO_DIRS($@))) m4_ifndef(AC_AUTOCONF_VERSION, m4_copy(m4_PACKAGE_VERSION, AC_AUTOCONF_VERSION))dnl -m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.69,, -m4_warning(this file was generated for autoconf 2.69. +m4_if(m4_defn(AC_AUTOCONF_VERSION), 2.71,, +m4_warning(this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.)) -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# Copyright (C) 2002-2021 Free Software Foundation, Inc. # -# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define(_LT_COPYING, dnl -# Copyright (C) 2014 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. - -# GNU Libtool 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 2 of of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program or library that is built -# using GNU Libtool, you may include this file under the same -# distribution terms that you use for the rest of that program. -# -# GNU Libtool 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 <http://www.gnu.org/licenses/>. -) - -# serial 58 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun(LT_PREREQ, -m4_if(m4_version_compare(m4_defn(LT_PACKAGE_VERSION), $1), -1, - m4_default($3, - m4_fatal(Libtool version $1 or higher is required, - 63)), - $2)) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun(_LT_CHECK_BUILDDIR, -case `pwd` in - *\ * | *\ *) - AC_MSG_WARN(Libtool does not cope well with whitespace in `pwd`) ;; -esac -) - - -# LT_INIT(OPTIONS) -# ------------------ -AC_DEFUN(LT_INIT, -AC_PREREQ(2.62)dnl We use AC_PATH_PROGS_FEATURE_CHECK -AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl -AC_BEFORE($0, LT_LANG)dnl -AC_BEFORE($0, LT_OUTPUT)dnl -AC_BEFORE($0, LTDL_INIT)dnl -m4_require(_LT_CHECK_BUILDDIR)dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid(^_?LT_A-Z_+$)dnl -m4_pattern_allow(^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$)dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE(LTOPTIONS_VERSION)dnl -AC_REQUIRE(LTSUGAR_VERSION)dnl -AC_REQUIRE(LTVERSION_VERSION)dnl -AC_REQUIRE(LTOBSOLETE_VERSION)dnl -m4_require(_LT_PROG_LTMAIN)dnl - -_LT_SHELL_INIT(SHELL=${CONFIG_SHELL-/bin/sh}) - -dnl Parse OPTIONS -_LT_SET_OPTIONS($0, $1) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS=$ltmain - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define(LT_INIT) -)# LT_INIT - -# Old names: -AU_ALIAS(AC_PROG_LIBTOOL, LT_INIT) -AU_ALIAS(AM_PROG_LIBTOOL, LT_INIT) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN(AC_PROG_LIBTOOL, ) -dnl AC_DEFUN(AM_PROG_LIBTOOL, ) - - -# _LT_PREPARE_CC_BASENAME -# ----------------------- -m4_defun(_LT_PREPARE_CC_BASENAME, -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -func_cc_basename () -{ - for cc_temp in @S|@*""; do - case $cc_temp in - compile | *\\/compile | ccache | *\\/ccache ) ;; - distcc | *\\/distcc | purify | *\\/purify ) ;; - \-*) ;; - *) break;; - esac - done - func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -} -)# _LT_PREPARE_CC_BASENAME - - -# _LT_CC_BASENAME(CC) -# ------------------- -# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, -# but that macro is also expanded into generated libtool script, which -# arranges for $SED and $ECHO to be set by different means. -m4_defun(_LT_CC_BASENAME, -m4_require(_LT_PREPARE_CC_BASENAME)dnl -AC_REQUIRE(_LT_DECL_SED)dnl -AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl -func_cc_basename $1 -cc_basename=$func_cc_basename_result -) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after 'm4_require(_LT_FILEUTILS_DEFAULTS)'. -m4_defun(_LT_FILEUTILS_DEFAULTS, -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -)# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun(_LT_SETUP, -AC_REQUIRE(AC_CANONICAL_HOST)dnl -AC_REQUIRE(AC_CANONICAL_BUILD)dnl -AC_REQUIRE(_LT_PREPARE_SED_QUOTE_VARS)dnl -AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl - -_LT_DECL(, PATH_SEPARATOR, 1, The PATH separator for the build system)dnl -dnl -_LT_DECL(, host_alias, 0, The host system)dnl -_LT_DECL(, host, 0)dnl -_LT_DECL(, host_os, 0)dnl -dnl -_LT_DECL(, build_alias, 0, The build system)dnl -_LT_DECL(, build, 0)dnl -_LT_DECL(, build_os, 0)dnl -dnl -AC_REQUIRE(AC_PROG_CC)dnl -AC_REQUIRE(LT_PATH_LD)dnl -AC_REQUIRE(LT_PATH_NM)dnl -dnl -AC_REQUIRE(AC_PROG_LN_S)dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL(, LN_S, 1, Whether we need soft or hard links)dnl -dnl -AC_REQUIRE(LT_CMD_MAX_LEN)dnl -_LT_DECL(objext, ac_objext, 0, Object file suffix (normally "o"))dnl -_LT_DECL(, exeext, 0, Executable file suffix (normally ""))dnl
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/compile -> _service:tar_scm:libXaw-1.0.15.tar.gz/compile
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/config.guess -> _service:tar_scm:libXaw-1.0.15.tar.gz/config.guess
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2020 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2020-04-26' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-01' # 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 +# 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 @@ -27,11 +29,19 @@ # 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/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to <config-patches@gnu.org>. +# 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="\ @@ -50,7 +60,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2020 Free Software Foundation, Inc. +Copyright 1992-2023 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." @@ -84,6 +94,9 @@ 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 @@ -102,7 +115,7 @@ # prevent multiple calls if $tmp is already set test "$tmp" && return 0 : "${TMPDIR=/tmp}" - # shellcheck disable=SC2039 + # 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 ; } || @@ -112,7 +125,7 @@ ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c89 c99 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then - CC_FOR_BUILD="$driver" + CC_FOR_BUILD=$driver break fi done @@ -133,14 +146,12 @@ 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_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "$UNAME_SYSTEM" in +case $UNAME_SYSTEM in Linux|GNU|GNU/*) - # If the system lacks a compiler, then just pick glibc. - # We could probably try harder. - LIBC=gnu + LIBC=unknown set_cc_for_build cat <<-EOF > "$dummy.c" @@ -149,24 +160,37 @@ LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc - #else + #elif defined(__GLIBC__) LIBC=gnu + #else + #include <stdarg.h> + /* First heuristic to detect musl libc. */ + #ifdef __DEFINED_va_list + LIBC=musl + #endif #endif EOF - eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + eval "$cc_set_libc" - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl + # 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 +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*, @@ -178,12 +202,12 @@ # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ - "/sbin/$sysctl" 2>/dev/null || \ - "/usr/sbin/$sysctl" 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 + case $UNAME_MACHINE_ARCH in + aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; @@ -192,13 +216,13 @@ earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv0-9\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` - machine="${arch}${endian}"-unknown + machine=${arch}${endian}-unknown ;; - *) machine="$UNAME_MACHINE_ARCH"-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 + case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; @@ -219,7 +243,7 @@ ;; esac # Determine ABI tags. - case "$UNAME_MACHINE_ARCH" in + case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv0-9/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` @@ -230,7 +254,7 @@ # 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 + case $UNAME_VERSION in Debian*) release='-gnu' ;; @@ -241,51 +265,57 @@ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "$machine-${os}${release}${abi-}" - exit ;; + GUESS=$machine-${os}${release}${abi-} + ;;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/config.h.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/config.h.in
Changed
@@ -15,12 +15,12 @@ /* Define to 1 if you have the `ws2_32' library (-lws2_32). */ #undef HAVE_LIBWS2_32 -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H +/* Define to 1 if you have the <stdio.h> header file. */ +#undef HAVE_STDIO_H + /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H @@ -81,7 +81,9 @@ /* Patch version of this package */ #undef PACKAGE_VERSION_PATCHLEVEL -/* Define to 1 if you have the ANSI C header files. */ +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ #undef STDC_HEADERS /* Version number of package */
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/config.sub -> _service:tar_scm:libXaw-1.0.15.tar.gz/config.sub
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2020 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. -timestamp='2020-06-20' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2023-01-21' # 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 +# 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 @@ -33,7 +35,7 @@ # 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/gitweb/?p=config.git;a=blob_plain;f=config.sub +# 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 @@ -50,6 +52,13 @@ # 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="\ @@ -67,7 +76,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2020 Free Software Foundation, Inc. +Copyright 1992-2023 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." @@ -112,9 +121,11 @@ # Split fields of configuration type # shellcheck disable=SC2162 +saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <<EOF $1 EOF +IFS=$saved_IFS # Separate into logical components for further validation case $1 in @@ -124,28 +135,27 @@ ;; *-*-*-*) basic_machine=$field1-$field2 - os=$field3-$field4 + 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 - nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ - | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ + nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova*) + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-*) basic_machine=$field1 - os=$maybe_os + basic_os=$maybe_os ;; android-linux) basic_machine=$field1-unknown - os=linux-android + basic_os=linux-android ;; *) basic_machine=$field1-$field2 - os=$field3 + basic_os=$field3 ;; esac ;; @@ -154,7 +164,7 @@ case $field1-$field2 in decstation-3100) basic_machine=mips-dec - os= + basic_os= ;; *-*) # Second component is usually, but not always the OS @@ -162,7 +172,11 @@ # Prevent following clause from handling this valid os sun*os*) basic_machine=$field1 - os=$field2 + basic_os=$field2 + ;; + zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ @@ -175,11 +189,11 @@ | microblaze* | sim | cisco \ | oki | wec | wrs | winbond) basic_machine=$field1-$field2 - os= + basic_os= ;; *) basic_machine=$field1 - os=$field2 + basic_os=$field2 ;; esac ;; @@ -191,451 +205,451 @@ case $field1 in 386bsd) basic_machine=i386-pc - os=bsd + basic_os=bsd ;; a29khif) basic_machine=a29k-amd - os=udi + basic_os=udi ;; adobe68k) basic_machine=m68010-adobe - os=scout + basic_os=scout ;; alliant) basic_machine=fx80-alliant - os= + basic_os= ;; altos | altos3068) basic_machine=m68k-altos - os= + basic_os= ;; am29k) basic_machine=a29k-none - os=bsd + basic_os=bsd ;; amdahl) basic_machine=580-amdahl - os=sysv + basic_os=sysv ;; amiga) basic_machine=m68k-unknown - os= + basic_os= ;; amigaos | amigados) basic_machine=m68k-unknown - os=amigaos + basic_os=amigaos ;; amigaunix | amix) basic_machine=m68k-unknown - os=sysv4 + basic_os=sysv4 ;; apollo68) basic_machine=m68k-apollo - os=sysv + basic_os=sysv ;; apollo68bsd) basic_machine=m68k-apollo - os=bsd + basic_os=bsd ;; aros) basic_machine=i386-pc - os=aros + basic_os=aros ;;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/configure -> _service:tar_scm:libXaw-1.0.15.tar.gz/configure
Changed
@@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libXaw 1.0.14. +# Generated by GNU Autoconf 2.71 for libXaw 1.0.15. # -# Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXaw/issues>. +# Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>. # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi +if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -96,8 +92,12 @@ for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -109,30 +109,10 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/configure.ac -> _service:tar_scm:libXaw-1.0.15.tar.gz/configure.ac
Changed
@@ -1,16 +1,17 @@ # Initialize Autoconf AC_PREREQ(2.60) -AC_INIT(libXaw, 1.0.14, - https://gitlab.freedesktop.org/xorg/lib/libXaw/issues, libXaw) +AC_INIT(libXaw, 1.0.15, + https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues, libXaw) AC_CONFIG_SRCDIR(Makefile.am) AC_CONFIG_HEADERS(config.h) +AC_CONFIG_MACRO_DIRS(m4) # Initialize Automake -AM_INIT_AUTOMAKE(foreign dist-bzip2) +AM_INIT_AUTOMAKE(foreign dist-xz) # Initialize libtool -AC_PROG_LIBTOOL +LT_INIT # Require xorg-macros minimum of 1.12 for DocBook external references m4_ifndef(XORG_MACROS_VERSION,
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/depcomp -> _service:tar_scm:libXaw-1.0.15.tar.gz/depcomp
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2020 Free Software Foundation, Inc. +# Copyright (C) 1999-2021 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/Makefile.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -90,7 +90,10 @@ host_triplet = @host@ subdir = include ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(xawinclude_HEADERS) \ @@ -164,8 +167,6 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ @@ -185,8 +186,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -200,8 +202,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -502,7 +506,6 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/AsciiSinkP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/AsciiSinkP.h
Changed
@@ -81,7 +81,7 @@ XawTextInsertState laststate; short cursor_x, cursor_y; /* Cursor Location. */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } AsciiSinkPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/AsciiSrcP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/AsciiSrcP.h
Changed
@@ -112,7 +112,7 @@ int ascii_length; /* length field for ascii string emulation */ #ifdef ASCII_DISK - String filename; /* name of file for Compatability */ + String filename; /* name of file for Compatibility */ #endif /* ASCII_DISK */ /* private */ @@ -125,7 +125,7 @@ XawTextPosition length; /* length of file */ Piece *first_piece; /* first piece of the text */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } AsciiSrcPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/AsciiTextP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/AsciiTextP.h
Changed
@@ -82,7 +82,7 @@ typedef struct { int resource; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } AsciiPart; @@ -114,7 +114,7 @@ typedef struct { int resource; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } AsciiStringPart; @@ -148,7 +148,7 @@ typedef struct { char resource; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } AsciiDiskPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/BoxP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/BoxP.h
Changed
@@ -81,7 +81,7 @@ XtGeometryMask last_query_mode; #ifndef OLDXAW XawDisplayList *display_list; - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } BoxPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/CommandP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/CommandP.h
Changed
@@ -96,7 +96,7 @@ Dimension corner_round; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } CommandPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/DialogP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/DialogP.h
Changed
@@ -76,7 +76,7 @@ Widget labelW; /* widget to display description */ Widget valueW; /* user response TextWidget */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } DialogPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/FormP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/FormP.h
Changed
@@ -97,7 +97,7 @@ Boolean resize_is_no_op; /* Causes resize to take not action */ #ifndef OLDXAW XawDisplayList *display_list; - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } FormPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/GripP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/GripP.h
Changed
@@ -71,7 +71,7 @@ typedef struct { XtCallbackList grip_action; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } GripPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/LabelP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/LabelP.h
Changed
@@ -95,7 +95,7 @@ int lbm_y; /* where in label */ unsigned int lbm_width, lbm_height; /* size of pixmap */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } LabelPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/List.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/List.h
Changed
@@ -72,7 +72,7 @@ y Position Position 0 **1 - If the Width or Height of the list widget is zero (0) then the value - is set to the minimum size necessay to fit the entire list. + is set to the minimum size necessary to fit the entire list. If both Width and Height are zero then they are adjusted to fit the entire list that is created width the number of default columns @@ -161,7 +161,7 @@ * Changes the list being used and shown. * * Note: - * If nitems of longest are <= 0 then they will be caluculated + * If nitems of longest are <= 0 then they will be calculated * If nitems is <= 0 then the list needs to be NULL terminated */ void XawListChange
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/ListP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/ListP.h
Changed
@@ -100,7 +100,7 @@ Boolean show_current; char pad1(sizeof(XtPointer) - sizeof(Boolean)) + (sizeof(XtPointer) - sizeof(int)); - XtPointer pad22; /* for future use and keep binary compatability */ + XtPointer pad22; /* for future use and keep binary compatibility */ #endif } ListPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/MenuButtoP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/MenuButtoP.h
Changed
@@ -63,7 +63,7 @@ /* resources */ char * menu_name; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } MenuButtonPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/MultiSinkP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/MultiSinkP.h
Changed
@@ -108,7 +108,7 @@ short cursor_x, cursor_y; /* Cursor Location */ XFontSet fontset; /* font set to draw */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } MultiSinkPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/MultiSrc.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/MultiSrc.h
Changed
@@ -101,7 +101,7 @@ * * the AsciiSrc API which currently forwards requests here. * - * future versions (like theres going to be an R7 Xaw!) may + * future versions (like there's going to be an R7 Xaw!) may * * eliminate this file or at least these functions entirely. *
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/MultiSrcP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/MultiSrcP.h
Changed
@@ -156,7 +156,7 @@ XawTextPosition length; /* length of file - IN CHARACTERS, NOT BYTES */ MultiPiece *first_piece; /* first piece of the text */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } MultiSrcPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/Paned.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/Paned.h
Changed
@@ -96,7 +96,7 @@ ** These resources now are set to the vertical or horizontal cursor depending upon orientation, by default. If a value is specified here - then that cursor will be used reguardless of orientation. + then that cursor will be used regardless of orientation. CONSTRAINT RESOURCES:
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/PanedP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/PanedP.h
Changed
@@ -159,7 +159,7 @@ int num_panes; /* count of managed panes */ PaneStack *stack; /* The pane stack for this widget */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } PanedPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/PannerP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/PannerP.h
Changed
@@ -82,7 +82,7 @@ XRectangle shadow_rects2; /* location of shadows */ Position last_x, last_y; /* previous location of knob */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } PannerPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/PortholeP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/PortholeP.h
Changed
@@ -47,7 +47,7 @@ /* resources */ XtCallbackList report_callbacks; /* callback/Callback */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } PortholePart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/RepeaterP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/RepeaterP.h
Changed
@@ -59,7 +59,7 @@ int next_delay; /* next amount for timer */ XtIntervalId timer; /* timer that will fire */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } RepeaterPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/ScrollbarP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/ScrollbarP.h
Changed
@@ -69,7 +69,7 @@ float shown; Dimension length; /* either height or width */ Dimension thickness; /* either width or height */ - Dimension min_thumb; /* minium size for the thumb */ + Dimension min_thumb; /* minimum size for the thumb */ /* private */ Cursor inactiveCursor; /* The normal cursor for scrollbar */ @@ -78,7 +78,7 @@ Position topLoc; /* Pixel that corresponds to top */ Dimension shownLength; /* Num pixels corresponding to shown */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } ScrollbarPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/SimpleMenP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/SimpleMenP.h
Changed
@@ -84,7 +84,7 @@ XawDisplayList *display_list; Widget sub_menu; unsigned char state; - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } SimpleMenuPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/SimpleP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/SimpleP.h
Changed
@@ -84,7 +84,7 @@ #ifndef OLDXAW XawDisplayList *display_list; String tip; - XtPointer pad3; /* for future use and keep binary compatability */ + XtPointer pad3; /* for future use and keep binary compatibility */ #endif } SimplePart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/SmeBSBP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/SmeBSBP.h
Changed
@@ -63,7 +63,7 @@ /* private */ Boolean set_values_area_cleared; /* do we need to unhighlight? */ - GC norm_gc; /* noral color gc */ + GC norm_gc; /* normal color gc */ GC rev_gc; /* reverse color gc */ GC norm_gray_gc; /* Normal color (grayed out) gc */ GC invert_gc; /* gc for flipping colors */ @@ -75,7 +75,7 @@ #ifndef OLDXAW /* new resources */ char * menu_name; /* name of nested sub menu or NULL */ - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } SmeBSBPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/SmeLineP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/SmeLineP.h
Changed
@@ -58,7 +58,7 @@ /* private */ GC gc; /* Graphics context for drawing line */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } SmeLinePart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/SmeP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/SmeP.h
Changed
@@ -68,7 +68,7 @@ XtCallbackList callbacks; Boolean international; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } SmePart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/StripCharP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/StripCharP.h
Changed
@@ -76,7 +76,7 @@ XtCallbackList get_value; /* proc to call to fetch load pt */ int jump_val; /* Amount to jump on each scroll */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } StripChartPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/Text.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/Text.h
Changed
@@ -362,7 +362,7 @@ _XFUNCPROTOEND /* - * For R3 compatability only + * For R3 compatibility only */ #include <X11/Xaw/AsciiSrc.h> #include <X11/Xaw/AsciiSink.h>
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TextP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TextP.h
Changed
@@ -155,7 +155,7 @@ struct SearchAndReplace { Boolean selection_changed; /* flag so that the selection cannot be changed out from underneath query-replace.*/ - Widget search_popup; /* The poppup widget that allows searches.*/ + Widget search_popup; /* The popup widget that allows searches.*/ Widget label1; /* The label widgets for the search window. */ Widget label2; Widget left_toggle; /* The left search toggle radioGroup. */ @@ -256,7 +256,7 @@ */ short left_column, right_column; XawTextJustifyMode justify; - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } TextPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TextSink.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TextSink.h
Changed
@@ -100,7 +100,7 @@ * y - "" * pos1 - location of starting and ending points in the text buffer * pos2 - "" - * highlight - hightlight this text? + * highlight - highlight this text? * * Description: * Stub function that in subclasses will display text. @@ -236,7 +236,7 @@ * fromX - x location of starting Position * toPos - end Position * resWidth - Distance between fromPos and toPos - * resPos - Acutal toPos used + * resPos - Actual toPos used * resHeight - Height required by this text * * Description: @@ -265,7 +265,7 @@ * resPos - resulting position * * Description: - * Resloves a location to a position. + * Resolves a location to a position. */ void XawTextSinkResolve ( @@ -312,7 +312,7 @@ * Height * * Description: - * Finds the Minium height that will contain a given number lines. + * Finds the Minimum height that will contain a given number lines. */ int XawTextSinkMaxHeight (
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TextSinkP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TextSinkP.h
Changed
@@ -213,7 +213,7 @@ Pixel cursor_color; XawTextPropertyList *properties; XawTextPaintList *paint; - XtPointer pad2; /* for future use and keep binary compatability */ + XtPointer pad2; /* for future use and keep binary compatibility */ #endif } TextSinkPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TextSrc.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TextSrc.h
Changed
@@ -116,7 +116,7 @@ * * Parameters: * w - TextSrc Object - * pos - position of the text to retreive + * pos - position of the text to retrieve * text - text block that will contain returned text * length - maximum number of characters to read * @@ -167,7 +167,7 @@ * position - position to start scanning * type - type of thing to scan for * dir - direction to scan - * count - which occurance if this thing to search for + * count - which occurrence if this thing to search for * include - whether or not to include the character found in * the position that is returned. * @@ -205,7 +205,7 @@ * text - the text block to search for * * Description: - * Searchs the text source for the text block passed. + * Searches the text source for the text block passed. * * Returns: * The position of the text we are searching for or XawTextSearchError @@ -230,7 +230,7 @@ * w - TextSrc object * selection - current selection atom * target - current target atom - * type - type to conver the selection to + * type - type to convert the selection to * value - return value that has been converted * length - "" * format - format of the returned value
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TextSrcP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TextSrcP.h
Changed
@@ -152,7 +152,7 @@ XtCallbackList property_callback; XawTextAnchor **anchors; int num_anchors; - XtPointer pad1; /* for future use and keep binary compatability */ + XtPointer pad1; /* for future use and keep binary compatibility */ #endif } TextSrcPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/ToggleP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/ToggleP.h
Changed
@@ -76,7 +76,7 @@ /* private */ RadioGroup *radio_group; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } TogglePart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/TreeP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/TreeP.h
Changed
@@ -81,7 +81,7 @@ Dimension maxwidth, maxheight; /* for shrink wrapping */ #ifndef OLDXAW XawDisplayList *display_list; - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } TreePart; @@ -110,7 +110,7 @@ Position x, y; #ifndef OLDXAW XtPointer pad2; /* leave some space for future optimizations, and - * keep binary compatability + * keep binary compatibility */ #endif } TreeConstraintsPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/VendorEP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/VendorEP.h
Changed
@@ -69,7 +69,7 @@ XawImPart im; XawIcPart ic; #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } XawVendorShellExtPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/include/X11/Xaw/ViewportP.h -> _service:tar_scm:libXaw-1.0.15.tar.gz/include/X11/Xaw/ViewportP.h
Changed
@@ -83,7 +83,7 @@ Widget clip, child; /* The clipping and (scrolled) child widgets */ Widget horiz_bar, vert_bar; /* What scrollbars we currently have */ #ifndef OLDXAW - XtPointer pad4; /* for future use and keep binary compatability */ + XtPointer pad4; /* for future use and keep binary compatibility */ #endif } ViewportPart;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/install-sh -> _service:tar_scm:libXaw-1.0.15.tar.gz/install-sh
Changed
@@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2018-03-11.20; # UTC +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 @@ -69,6 +69,11 @@ # 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= @@ -99,18 +104,28 @@ --version display version info and exit. -c (ignored) - -C install only if different (preserve the last data modification time) + -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 @@ -137,8 +152,13 @@ -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 @@ -255,6 +275,10 @@ 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 @@ -301,22 +325,6 @@ if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *23672367) mkdir_umask=$umask;; - .*00202 | .0202 | .02) mkdir_umask=22;; - - *0-7) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then @@ -326,52 +334,49 @@ fi posix_mkdir=false - case $umask in - *1235670-70-7) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - # Note that $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' feature. - 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;; + # 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 @@ -382,7 +387,7 @@ then : else - # The umask is ridiculous, or mkdir does not conform to POSIX,
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/ltmain.sh -> _service:tar_scm:libXaw-1.0.15.tar.gz/ltmain.sh
Changed
@@ -1,12 +1,12 @@ -#! /bin/sh +#! /usr/bin/env sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in -## by inline-source v2014-01-03.01 +## by inline-source v2019-02-19.15 -# libtool (GNU libtool) 2.4.6 +# libtool (GNU libtool) 2.4.7 # Provide generalized library-building support services. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# Copyright (C) 1996-2019, 2021-2022 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. @@ -31,8 +31,8 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.6 -package_revision=2.4.6 +VERSION=2.4.7 +package_revision=2.4.7 ## ------ ## @@ -64,34 +64,25 @@ # libraries, which are installed to $pkgauxdir. # Set a version string for this script. -scriptversion=2015-10-04.22; # UTC +scriptversion=2019-02-19.15; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 -# Copyright (C) 2004-2015 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. - -# This program 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. - -# As a special exception to the GNU General Public License, if you distribute -# this file as part of a program or library that is built using GNU Libtool, -# you may include this file under the same distribution terms that you use -# for the rest of that program. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNES 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 <http://www.gnu.org/licenses/>. +# This is free software. There is NO warranty; not even for +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# +# Copyright (C) 2004-2019, 2021 Bootstrap Authors +# +# This file is dual licensed under the terms of the MIT license +# <https://opensource.org/license/MIT>, and GPL version 2 or later +# <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of +# these licenses when using or redistributing this software or any of +# the files within it. See the URLs above, or the file `LICENSE` +# included in the Bootstrap distribution for the full license texts. -# Please report bugs or propose patches to gary@gnu.org. +# Please report bugs or propose patches to: +# <https://github.com/gnulib-modules/bootstrap/issues> ## ------ ## @@ -139,9 +130,12 @@ _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# These NLS vars are set unconditionally (bootstrap issue #24). Unset those +# in case the environment reset is needed later and the $save_* variant is not +# defined (see the code above). +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL # Make sure IFS has a sensible default sp=' ' @@ -159,6 +153,26 @@ fi +# func_unset VAR +# -------------- +# Portably unset VAR. +# In some shells, an 'unset VAR' statement leaves a non-zero return +# status if VAR is already unset, which might be problematic if the +# statement is used at the end of a function (thus poisoning its return +# value) or when 'set -e' is active (causing even a spurious abort of +# the script in this case). +func_unset () +{ + { eval $1=; (eval unset $1) >/dev/null 2>&1 && eval unset $1 || : ; } +} + + +# Make sure CDPATH doesn't cause `cd` commands to output the target dir. +func_unset CDPATH + +# Make sure ${,E,F}GREP behave sanely. +func_unset GREP_OPTIONS + ## ------------------------- ## ## Locate command utilities. ## @@ -259,7 +273,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin" rm -f conftest.sed SED=$func_path_progs_result } @@ -295,7 +309,7 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out } - func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin" GREP=$func_path_progs_result } @@ -360,6 +374,35 @@ s/\\(^$_G_bs\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" +# require_check_ifs_backslash +# --------------------------- +# Check if we can use backslash as IFS='\' separator, and set +# $check_ifs_backshlash_broken to ':' or 'false'. +require_check_ifs_backslash=func_require_check_ifs_backslash +func_require_check_ifs_backslash () +{ + _G_save_IFS=$IFS + IFS='\' + _G_check_ifs_backshlash='a\\b' + for _G_i in $_G_check_ifs_backshlash + do + case $_G_i in + a) + check_ifs_backshlash_broken=false + ;; + '') + break + ;; + *) + check_ifs_backshlash_broken=: + break + ;; + esac + done + IFS=$_G_save_IFS + require_check_ifs_backslash=: +} + ## ----------------- ## ## Global variables. ## @@ -580,16 +623,16 @@ { $debug_cmd - func_quote_for_eval "$2" - eval "$1+=\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1+=\\ \$func_quote_arg_result" }' else func_append_quoted () { $debug_cmd - func_quote_for_eval "$2" - eval "$1=\$$1\\ \$func_quote_for_eval_result" + func_quote_arg pretty "$2" + eval "$1=\$$1\\ \$func_quote_arg_result" } fi @@ -1091,132 +1134,203 @@ } -# func_quote ARG
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4
Added
+(directory)
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4/libtool.m4
Added
@@ -0,0 +1,8400 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +# +# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +m4_define(_LT_COPYING, dnl +# Copyright (C) 2014 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. + +# GNU Libtool 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 2 of of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool 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 <http://www.gnu.org/licenses/>. +) + +# serial 59 LT_INIT + + +# LT_PREREQ(VERSION) +# ------------------ +# Complain and exit if this libtool version is less that VERSION. +m4_defun(LT_PREREQ, +m4_if(m4_version_compare(m4_defn(LT_PACKAGE_VERSION), $1), -1, + m4_default($3, + m4_fatal(Libtool version $1 or higher is required, + 63)), + $2)) + + +# _LT_CHECK_BUILDDIR +# ------------------ +# Complain if the absolute build directory name contains unusual characters +m4_defun(_LT_CHECK_BUILDDIR, +case `pwd` in + *\ * | *\ *) + AC_MSG_WARN(Libtool does not cope well with whitespace in `pwd`) ;; +esac +) + + +# LT_INIT(OPTIONS) +# ------------------ +AC_DEFUN(LT_INIT, +AC_PREREQ(2.62)dnl We use AC_PATH_PROGS_FEATURE_CHECK +AC_REQUIRE(AC_CONFIG_AUX_DIR_DEFAULT)dnl +AC_BEFORE($0, LT_LANG)dnl +AC_BEFORE($0, LT_OUTPUT)dnl +AC_BEFORE($0, LTDL_INIT)dnl +m4_require(_LT_CHECK_BUILDDIR)dnl + +dnl Autoconf doesn't catch unexpanded LT_ macros by default: +m4_pattern_forbid(^_?LT_A-Z_+$)dnl +m4_pattern_allow(^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$)dnl +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 +dnl unless we require an AC_DEFUNed macro: +AC_REQUIRE(LTOPTIONS_VERSION)dnl +AC_REQUIRE(LTSUGAR_VERSION)dnl +AC_REQUIRE(LTVERSION_VERSION)dnl +AC_REQUIRE(LTOBSOLETE_VERSION)dnl +m4_require(_LT_PROG_LTMAIN)dnl + +_LT_SHELL_INIT(SHELL=${CONFIG_SHELL-/bin/sh}) + +dnl Parse OPTIONS +_LT_SET_OPTIONS($0, $1) + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +_LT_SETUP + +# Only expand once: +m4_define(LT_INIT) +)# LT_INIT + +# Old names: +AU_ALIAS(AC_PROG_LIBTOOL, LT_INIT) +AU_ALIAS(AM_PROG_LIBTOOL, LT_INIT) +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_PROG_LIBTOOL, ) +dnl AC_DEFUN(AM_PROG_LIBTOOL, ) + + +# _LT_PREPARE_CC_BASENAME +# ----------------------- +m4_defun(_LT_PREPARE_CC_BASENAME, +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in @S|@*""; do + case $cc_temp in + compile | *\\/compile | ccache | *\\/ccache ) ;; + distcc | *\\/distcc | purify | *\\/purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} +)# _LT_PREPARE_CC_BASENAME + + +# _LT_CC_BASENAME(CC) +# ------------------- +# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, +# but that macro is also expanded into generated libtool script, which +# arranges for $SED and $ECHO to be set by different means. +m4_defun(_LT_CC_BASENAME, +m4_require(_LT_PREPARE_CC_BASENAME)dnl +AC_REQUIRE(_LT_DECL_SED)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl +func_cc_basename $1 +cc_basename=$func_cc_basename_result +) + + +# _LT_FILEUTILS_DEFAULTS +# ---------------------- +# It is okay to use these file commands and assume they have been set +# sensibly after 'm4_require(_LT_FILEUTILS_DEFAULTS)'. +m4_defun(_LT_FILEUTILS_DEFAULTS, +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} +)# _LT_FILEUTILS_DEFAULTS + + +# _LT_SETUP +# --------- +m4_defun(_LT_SETUP, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +AC_REQUIRE(AC_CANONICAL_BUILD)dnl +AC_REQUIRE(_LT_PREPARE_SED_QUOTE_VARS)dnl +AC_REQUIRE(_LT_PROG_ECHO_BACKSLASH)dnl + +_LT_DECL(, PATH_SEPARATOR, 1, The PATH separator for the build system)dnl +dnl +_LT_DECL(, host_alias, 0, The host system)dnl +_LT_DECL(, host, 0)dnl +_LT_DECL(, host_os, 0)dnl +dnl +_LT_DECL(, build_alias, 0, The build system)dnl +_LT_DECL(, build, 0)dnl +_LT_DECL(, build_os, 0)dnl +dnl +AC_REQUIRE(AC_PROG_CC)dnl +AC_REQUIRE(LT_PATH_LD)dnl +AC_REQUIRE(LT_PATH_NM)dnl +dnl +AC_REQUIRE(AC_PROG_LN_S)dnl +test -z "$LN_S" && LN_S="ln -s" +_LT_DECL(, LN_S, 1, Whether we need soft or hard links)dnl +dnl +AC_REQUIRE(LT_CMD_MAX_LEN)dnl +_LT_DECL(objext, ac_objext, 0, Object file suffix (normally "o"))dnl +_LT_DECL(, exeext, 0, Executable file suffix (normally ""))dnl +dnl +m4_require(_LT_FILEUTILS_DEFAULTS)dnl +m4_require(_LT_CHECK_SHELL_FEATURES)dnl +m4_require(_LT_PATH_CONVERSION_FUNCTIONS)dnl +m4_require(_LT_CMD_RELOAD)dnl +m4_require(_LT_DECL_FILECMD)dnl +m4_require(_LT_CHECK_MAGIC_METHOD)dnl +m4_require(_LT_CHECK_SHAREDLIB_FROM_LINKLIB)dnl +m4_require(_LT_CMD_OLD_ARCHIVE)dnl +m4_require(_LT_CMD_GLOBAL_SYMBOLS)dnl +m4_require(_LT_WITH_SYSROOT)dnl +m4_require(_LT_CMD_TRUNCATE)dnl + +_LT_CONFIG_LIBTOOL_INIT( +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi +)
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4/ltoptions.m4
Added
@@ -0,0 +1,437 @@ +# Helper functions for option handling. -*- Autoconf -*- +# +# Copyright (C) 2004-2005, 2007-2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 8 ltoptions.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOPTIONS_VERSION, m4_if(1)) + + +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) +# ------------------------------------------ +m4_define(_LT_MANGLE_OPTION, +_LT_OPTION_m4_bpatsubst($1__$2, ^a-zA-Z0-9_, _)) + + +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) +# --------------------------------------- +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a +# matching handler defined, dispatch to it. Other OPTION-NAMEs are +# saved as a flag. +m4_define(_LT_SET_OPTION, +m4_define(_LT_MANGLE_OPTION($1, $2))dnl +m4_ifdef(_LT_MANGLE_DEFUN($1, $2), + _LT_MANGLE_DEFUN($1, $2), + m4_warning(Unknown $1 option '$2'))dnl +) + + +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, IF-NOT-SET) +# ------------------------------------------------------------ +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +m4_define(_LT_IF_OPTION, +m4_ifdef(_LT_MANGLE_OPTION($1, $2), $3, $4)) + + +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) +# ------------------------------------------------------- +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME +# are set. +m4_define(_LT_UNLESS_OPTIONS, +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + m4_ifdef(_LT_MANGLE_OPTION($1, _LT_Option), + m4_define($0_found)))dnl +m4_ifdef($0_found, m4_undefine($0_found), $3 +)dnl +) + + +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) +# ---------------------------------------- +# OPTION-LIST is a space-separated list of Libtool options associated +# with MACRO-NAME. If any OPTION has a matching handler declared with +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about +# the unknown option and exit. +m4_defun(_LT_SET_OPTIONS, +# Set options +m4_foreach(_LT_Option, m4_split(m4_normalize($2)), + _LT_SET_OPTION($1, _LT_Option)) + +m4_if($1,LT_INIT, + dnl + dnl Simply set some default values (i.e off) if boolean options were not + dnl specified: + _LT_UNLESS_OPTIONS(LT_INIT, dlopen, enable_dlopen=no + ) + _LT_UNLESS_OPTIONS(LT_INIT, win32-dll, enable_win32_dll=no + ) + dnl + dnl If no reference was made to various pairs of opposing options, then + dnl we run the default mode handler for the pair. For example, if neither + dnl 'shared' nor 'disable-shared' was passed, we enable building of shared + dnl archives by default: + _LT_UNLESS_OPTIONS(LT_INIT, shared disable-shared, _LT_ENABLE_SHARED) + _LT_UNLESS_OPTIONS(LT_INIT, static disable-static, _LT_ENABLE_STATIC) + _LT_UNLESS_OPTIONS(LT_INIT, pic-only no-pic, _LT_WITH_PIC) + _LT_UNLESS_OPTIONS(LT_INIT, fast-install disable-fast-install, + _LT_ENABLE_FAST_INSTALL) + _LT_UNLESS_OPTIONS(LT_INIT, aix-soname=aix aix-soname=both aix-soname=svr4, + _LT_WITH_AIX_SONAME(aix)) + ) +)# _LT_SET_OPTIONS + + +## --------------------------------- ## +## Macros to handle LT_INIT options. ## +## --------------------------------- ## + +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) +# ----------------------------------------- +m4_define(_LT_MANGLE_DEFUN, +_LT_OPTION_DEFUN_m4_bpatsubst(m4_toupper($1__$2), ^A-Z0-9_, _)) + + +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) +# ----------------------------------------------- +m4_define(LT_OPTION_DEFINE, +m4_define(_LT_MANGLE_DEFUN($1, $2), $3)dnl +)# LT_OPTION_DEFINE + + +# dlopen +# ------ +LT_OPTION_DEFINE(LT_INIT, dlopen, enable_dlopen=yes +) + +AU_DEFUN(AC_LIBTOOL_DLOPEN, +_LT_SET_OPTION(LT_INIT, dlopen) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'dlopen' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_DLOPEN, ) + + +# win32-dll +# --------- +# Declare package support for building win32 dll's. +LT_OPTION_DEFINE(LT_INIT, win32-dll, +enable_win32_dll=yes + +case $host in +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; +esac + +test -z "$AS" && AS=as +_LT_DECL(, AS, 1, Assembler program)dnl + +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL(, DLLTOOL, 1, DLL creation program)dnl + +test -z "$OBJDUMP" && OBJDUMP=objdump +_LT_DECL(, OBJDUMP, 1, Object dumper program)dnl +)# win32-dll + +AU_DEFUN(AC_LIBTOOL_WIN32_DLL, +AC_REQUIRE(AC_CANONICAL_HOST)dnl +_LT_SET_OPTION(LT_INIT, win32-dll) +AC_DIAGNOSE(obsolete, +$0: Remove this warning and the call to _LT_SET_OPTION when you +put the 'win32-dll' option into LT_INIT's first parameter.) +) + +dnl aclocal-1.4 backwards compatibility: +dnl AC_DEFUN(AC_LIBTOOL_WIN32_DLL, ) + + +# _LT_ENABLE_SHARED(DEFAULT) +# ---------------------------- +# implement the --enable-shared flag, and supports the 'shared' and +# 'disable-shared' LT_INIT options. +# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. +m4_define(_LT_ENABLE_SHARED, +m4_define(_LT_ENABLE_SHARED_DEFAULT, m4_if($1, no, no, yes))dnl +AC_ARG_ENABLE(shared, + AS_HELP_STRING(--enable-shared@<:@=PKGS@:>@, + build shared libraries @<:@default=_LT_ENABLE_SHARED_DEFAULT@:>@), + p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac, + enable_shared=_LT_ENABLE_SHARED_DEFAULT) + + _LT_DECL(build_libtool_libs, enable_shared, 0, + Whether or not to build shared libraries) +)# _LT_ENABLE_SHARED + +LT_OPTION_DEFINE(LT_INIT, shared, _LT_ENABLE_SHARED(yes)) +LT_OPTION_DEFINE(LT_INIT, disable-shared, _LT_ENABLE_SHARED(no)) + +# Old names: +AC_DEFUN(AC_ENABLE_SHARED, +_LT_SET_OPTION(LT_INIT, m4_if($1, no, disable-)shared) +)
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4/ltsugar.m4
Added
@@ -0,0 +1,124 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007-2008, 2011-2019, 2021-2022 Free Software +# Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTSUGAR_VERSION, m4_if(0.1)) + + +# lt_join(SEP, ARG1, ARG2...) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define(lt_join, +m4_if($#, 1, , + $#, 2, $2, + m4_if($2, , , $2_)$0($1, m4_shift(m4_shift($@))))) +m4_define(_lt_join, +m4_if($#$2, 2, , + m4_if($2, , , $1$2)$0($1, m4_shift(m4_shift($@))))) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59, which quotes differently. +m4_define(lt_car, $1) +m4_define(lt_cdr, +m4_if($#, 0, m4_fatal($0: cannot be called without arguments), + $#, 1, , + m4_dquote(m4_shift($@)))) +m4_define(lt_unquote, $1) + + +# lt_append(MACRO-NAME, STRING, SEPARATOR) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define(lt_append, +m4_define($1, + m4_ifdef($1, m4_defn($1)$3)$2)) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, SUFFIX2...) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define(lt_combine, +m4_if(m4_eval($# > 3), 1, + m4_pushdef(_Lt_sep, m4_define(_Lt_sep, m4_defn(lt_car)))dnl +m4_foreach(_Lt_prefix, $2, + m4_foreach(_Lt_suffix, + m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@))))), + _Lt_sep($1)m4_defn(_Lt_prefix)$3m4_defn(_Lt_suffix))))) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, SEPARATOR, UNIQ, NOT-UNIQ) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define(lt_if_append_uniq, +m4_ifdef($1, + m4_if(m4_index($3m4_defn($1)$3, $3$2$3), -1, + lt_append($1, $2, $3)$4, + $5), + lt_append($1, $2, $3)$4)) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define(lt_dict_add, +m4_define($1($2), $3)) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define(lt_dict_add_subkey, +m4_define($1($2:$3), $4)) + + +# lt_dict_fetch(DICT, KEY, SUBKEY) +# ---------------------------------- +m4_define(lt_dict_fetch, +m4_ifval($3, + m4_ifdef($1($2:$3), m4_defn($1($2:$3))), + m4_ifdef($1($2), m4_defn($1($2))))) + + +# lt_if_dict_fetch(DICT, KEY, SUBKEY, VALUE, IF-TRUE, IF-FALSE) +# ----------------------------------------------------------------- +m4_define(lt_if_dict_fetch, +m4_if(lt_dict_fetch($1, $2, $3), $4, + $5, + $6)) + + +# lt_dict_filter(DICT, SUBKEY, VALUE, SEPARATOR, KEY, ...) +# -------------------------------------------------------------- +m4_define(lt_dict_filter, +m4_if($5, , , + lt_join(m4_quote(m4_default($4, , )), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car(m4_shiftn(4, $@)), + lt_if_dict_fetch($1, _Lt_key, $2, $3, _Lt_key )))))))dnl +)
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4/ltversion.m4
Added
@@ -0,0 +1,24 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation, +# Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 4245 ltversion.m4 +# This file is part of GNU Libtool + +m4_define(LT_PACKAGE_VERSION, 2.4.7) +m4_define(LT_PACKAGE_REVISION, 2.4.7) + +AC_DEFUN(LTVERSION_VERSION, +macro_version='2.4.7' +macro_revision='2.4.7' +_LT_DECL(, macro_version, 0, Which release of libtool.m4 was used?) +_LT_DECL(, macro_revision, 0) +)
View file
_service:tar_scm:libXaw-1.0.15.tar.gz/m4/lt~obsolete.m4
Added
@@ -0,0 +1,99 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004-2005, 2007, 2009, 2011-2019, 2021-2022 Free +# Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN(LTOBSOLETE_VERSION, m4_if(1)) + +m4_ifndef(AC_LIBTOOL_LINKER_OPTION, AC_DEFUN(AC_LIBTOOL_LINKER_OPTION)) +m4_ifndef(AC_PROG_EGREP, AC_DEFUN(AC_PROG_EGREP)) +m4_ifndef(_LT_AC_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_AC_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_AC_SHELL_INIT, AC_DEFUN(_LT_AC_SHELL_INIT)) +m4_ifndef(_LT_AC_SYS_LIBPATH_AIX, AC_DEFUN(_LT_AC_SYS_LIBPATH_AIX)) +m4_ifndef(_LT_PROG_LTMAIN, AC_DEFUN(_LT_PROG_LTMAIN)) +m4_ifndef(_LT_AC_TAGVAR, AC_DEFUN(_LT_AC_TAGVAR)) +m4_ifndef(AC_LTDL_ENABLE_INSTALL, AC_DEFUN(AC_LTDL_ENABLE_INSTALL)) +m4_ifndef(AC_LTDL_PREOPEN, AC_DEFUN(AC_LTDL_PREOPEN)) +m4_ifndef(_LT_AC_SYS_COMPILER, AC_DEFUN(_LT_AC_SYS_COMPILER)) +m4_ifndef(_LT_AC_LOCK, AC_DEFUN(_LT_AC_LOCK)) +m4_ifndef(AC_LIBTOOL_SYS_OLD_ARCHIVE, AC_DEFUN(AC_LIBTOOL_SYS_OLD_ARCHIVE)) +m4_ifndef(_LT_AC_TRY_DLOPEN_SELF, AC_DEFUN(_LT_AC_TRY_DLOPEN_SELF)) +m4_ifndef(AC_LIBTOOL_PROG_CC_C_O, AC_DEFUN(AC_LIBTOOL_PROG_CC_C_O)) +m4_ifndef(AC_LIBTOOL_SYS_HARD_LINK_LOCKS, AC_DEFUN(AC_LIBTOOL_SYS_HARD_LINK_LOCKS)) +m4_ifndef(AC_LIBTOOL_OBJDIR, AC_DEFUN(AC_LIBTOOL_OBJDIR)) +m4_ifndef(AC_LTDL_OBJDIR, AC_DEFUN(AC_LTDL_OBJDIR)) +m4_ifndef(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, AC_DEFUN(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH)) +m4_ifndef(AC_LIBTOOL_SYS_LIB_STRIP, AC_DEFUN(AC_LIBTOOL_SYS_LIB_STRIP)) +m4_ifndef(AC_PATH_MAGIC, AC_DEFUN(AC_PATH_MAGIC)) +m4_ifndef(AC_PROG_LD_GNU, AC_DEFUN(AC_PROG_LD_GNU)) +m4_ifndef(AC_PROG_LD_RELOAD_FLAG, AC_DEFUN(AC_PROG_LD_RELOAD_FLAG)) +m4_ifndef(AC_DEPLIBS_CHECK_METHOD, AC_DEFUN(AC_DEPLIBS_CHECK_METHOD)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_NO_RTTI, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_NO_RTTI)) +m4_ifndef(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE, AC_DEFUN(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE)) +m4_ifndef(AC_LIBTOOL_PROG_COMPILER_PIC, AC_DEFUN(AC_LIBTOOL_PROG_COMPILER_PIC)) +m4_ifndef(AC_LIBTOOL_PROG_LD_SHLIBS, AC_DEFUN(AC_LIBTOOL_PROG_LD_SHLIBS)) +m4_ifndef(AC_LIBTOOL_POSTDEP_PREDEP, AC_DEFUN(AC_LIBTOOL_POSTDEP_PREDEP)) +m4_ifndef(LT_AC_PROG_EGREP, AC_DEFUN(LT_AC_PROG_EGREP)) +m4_ifndef(LT_AC_PROG_SED, AC_DEFUN(LT_AC_PROG_SED)) +m4_ifndef(_LT_CC_BASENAME, AC_DEFUN(_LT_CC_BASENAME)) +m4_ifndef(_LT_COMPILER_BOILERPLATE, AC_DEFUN(_LT_COMPILER_BOILERPLATE)) +m4_ifndef(_LT_LINKER_BOILERPLATE, AC_DEFUN(_LT_LINKER_BOILERPLATE)) +m4_ifndef(_AC_PROG_LIBTOOL, AC_DEFUN(_AC_PROG_LIBTOOL)) +m4_ifndef(AC_LIBTOOL_SETUP, AC_DEFUN(AC_LIBTOOL_SETUP)) +m4_ifndef(_LT_AC_CHECK_DLFCN, AC_DEFUN(_LT_AC_CHECK_DLFCN)) +m4_ifndef(AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_DEFUN(AC_LIBTOOL_SYS_DYNAMIC_LINKER)) +m4_ifndef(_LT_AC_TAGCONFIG, AC_DEFUN(_LT_AC_TAGCONFIG)) +m4_ifndef(AC_DISABLE_FAST_INSTALL, AC_DEFUN(AC_DISABLE_FAST_INSTALL)) +m4_ifndef(_LT_AC_LANG_CXX, AC_DEFUN(_LT_AC_LANG_CXX)) +m4_ifndef(_LT_AC_LANG_F77, AC_DEFUN(_LT_AC_LANG_F77)) +m4_ifndef(_LT_AC_LANG_GCJ, AC_DEFUN(_LT_AC_LANG_GCJ)) +m4_ifndef(AC_LIBTOOL_LANG_C_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_C_CONFIG)) +m4_ifndef(_LT_AC_LANG_C_CONFIG, AC_DEFUN(_LT_AC_LANG_C_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_CXX_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_CXX_CONFIG)) +m4_ifndef(_LT_AC_LANG_CXX_CONFIG, AC_DEFUN(_LT_AC_LANG_CXX_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_F77_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_F77_CONFIG)) +m4_ifndef(_LT_AC_LANG_F77_CONFIG, AC_DEFUN(_LT_AC_LANG_F77_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_GCJ_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_GCJ_CONFIG)) +m4_ifndef(_LT_AC_LANG_GCJ_CONFIG, AC_DEFUN(_LT_AC_LANG_GCJ_CONFIG)) +m4_ifndef(AC_LIBTOOL_LANG_RC_CONFIG, AC_DEFUN(AC_LIBTOOL_LANG_RC_CONFIG)) +m4_ifndef(_LT_AC_LANG_RC_CONFIG, AC_DEFUN(_LT_AC_LANG_RC_CONFIG)) +m4_ifndef(AC_LIBTOOL_CONFIG, AC_DEFUN(AC_LIBTOOL_CONFIG)) +m4_ifndef(_LT_AC_FILE_LTDLL_C, AC_DEFUN(_LT_AC_FILE_LTDLL_C)) +m4_ifndef(_LT_REQUIRED_DARWIN_CHECKS, AC_DEFUN(_LT_REQUIRED_DARWIN_CHECKS)) +m4_ifndef(_LT_AC_PROG_CXXCPP, AC_DEFUN(_LT_AC_PROG_CXXCPP)) +m4_ifndef(_LT_PREPARE_SED_QUOTE_VARS, AC_DEFUN(_LT_PREPARE_SED_QUOTE_VARS)) +m4_ifndef(_LT_PROG_ECHO_BACKSLASH, AC_DEFUN(_LT_PROG_ECHO_BACKSLASH)) +m4_ifndef(_LT_PROG_F77, AC_DEFUN(_LT_PROG_F77)) +m4_ifndef(_LT_PROG_FC, AC_DEFUN(_LT_PROG_FC)) +m4_ifndef(_LT_PROG_CXX, AC_DEFUN(_LT_PROG_CXX))
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/man/Makefile.am -> _service:tar_scm:libXaw-1.0.15.tar.gz/man/Makefile.am
Changed
@@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, Oracle and/or its affiliates. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"),
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/man/Makefile.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/man/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -15,7 +15,7 @@ @SET_MAKE@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, Oracle and/or its affiliates. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -113,7 +113,10 @@ host_triplet = @host@ subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) @@ -189,8 +192,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -204,8 +208,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -395,7 +401,6 @@ cscope cscopelist: - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/man/Xaw.man -> _service:tar_scm:libXaw-1.0.15.tar.gz/man/Xaw.man
Changed
@@ -123,7 +123,7 @@ the Xlib drawing primitives. .PP \fBFunction-name\fP is the drawing or configuration function to be called, -described bellow. +described below. .PP \fBArguments\fP may be anything suitable to the displayList function being called. When the function requires a coordinate, the syntax is
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/missing -> _service:tar_scm:libXaw-1.0.15.tar.gz/missing
Changed
@@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2020 Free Software Foundation, Inc. +# Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/old-doc/CHANGES -> _service:tar_scm:libXaw-1.0.15.tar.gz/old-doc/CHANGES
Changed
@@ -46,7 +46,7 @@ Form: The geometry handler now will now disallow geometry management - reqests that will force the child outside the Form's window. + requests that will force the child outside the Form's window. Fixed missing parens typo in PreferredGeometry.
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/old-doc/Changelog -> _service:tar_scm:libXaw-1.0.15.tar.gz/old-doc/Changelog
Changed
@@ -30,7 +30,7 @@ background constant-name: - Especial values. They aren't normally contants, but a special state + Special values. They aren't normally constants, but a special state not triggered with resources or variables (They have the highest precedence, so, to allow these strings as resource names I'll need to allow some sort of escape sequences). Examples: @@ -189,7 +189,7 @@ + Allows setting the resources label_x and label_y inherited from labelWidget. This is useful for moving the contents of a button when it is pressed ( I included a simple test for it ) - + Added OS/2 patchs + + Added OS/2 patches + The buffer overflow problems were resolved in a different way. I added a function XmuSnprintf, that is used by Xaw and Xmu. + Correction of a problem in SimpleMenu, when it tries to optimize the @@ -199,7 +199,7 @@ ----- + Function XmuNCopyISOLatin1Lowered, defined in <X11/Xmu/CharSet.h> + Function XmuSnprintf, defined in <X11/Xmu/SysUtil.h> - + All ocurrences of sprintf were replaced by XmuSnprintf and all ocurrences + + All occurrences of sprintf were replaced by XmuSnprintf and all occurrences of XmuCopyISOLatin1Lowered were replaced by XmuNCopyISOLation1Lowered. @@ -216,7 +216,7 @@ MultiSrc.c:Scan() functions. + I added clipping code to the {Ascii,Multi}Sink widgets, to allow use of displayList's as decoration. The best solution I found to avoid too much - server requests, and keep full binary compatability was to use the resize + server requests, and keep full binary compatibility was to use the resize method of these widgets, to tell them to the parent widget have changed it's size. + Now the TextWidget has a xterm/emacs like cursor. And it is possible to @@ -224,14 +224,14 @@ + Fixed several problems caused by code assuming a line of text will be shown as one line in the TextWidget. This is not always true when it uses XawtextWrapLine or XawTextWrapWord, the most common problem was - the cursor becomming invisible, after calling the function + the cursor becoming invisible, after calling the function Text.c:_XawTextShowPosition() that is called to make sure it is visible ;) + Added code that it will not forget the cursor distance from the left of the window while moving the cursor one line up or down. + Ansification of the text code (not yet complete). Private routines now uses prototypes and wide parameters. External routines were kept as before (but with prototypes not masked by NeedFunctionPrototypes), - to avoid binary compatability problems. The bigger problem I found in the + to avoid binary compatibility problems. The bigger problem I found in the ansification was a function with 6 parameters being called with only 5. + Several routines were rewritten, sometimes from scratch. + The cursor navigation of the TextWidget was completely reviewed. It @@ -239,7 +239,7 @@ when the cursor in move one line up or down and becomes invisible; the text will be scrolled so that the line with the cursor will be centered in the screen. Also, when doing page up, the cursor will be positioned - in the bottom-left, instead of allways in the top-left. + in the bottom-left, instead of always in the top-left. Patch 8 (#1752) 27 June 1998 @@ -276,11 +276,11 @@ Does not allow anymore scrolling of the text width Ctrl+Z if the text has only one line, or only one line of text. Several changes in the TextWidget. I did not gratuitously break binary - compatability. Source compatability is only granted to programs that + compatibility. Source compatibility is only granted to programs that do not access private structures. This is required because there are several changes in the behaviour of the TextWidget, and if a program becomes non compilable, it is because it will not work properly with - the changes in the text widget (please read bellow for a explanation) + the changes in the text widget (please read below for a explanation) Better cursor navigation when moving line-up or line-down over a tab: cursor | @@ -293,10 +293,10 @@ now: tab | |#ext There were several problems in the Text.c:_XawTextReplace(), when deleting - a character and the cursor (shoud be) moved to the previous line. This + a character and the cursor (should be) moved to the previous line. This problem was corrected. -The text code was doing too much redrawing! When typping text, it would - redraw all the current line at each character typped, and also redraw the +The text code was doing too much redrawing! When typing text, it would + redraw all the current line at each character typed, and also redraw the entire window till the bottom. Now it only redraws the minimum necessary (and makes a minimum of requests for the Xserver, when clearing areas), most of these problems were related to Text.c:_XawTextReplace() (rewritten @@ -308,16 +308,16 @@ Added a set-keyboard-focus translation to the text code, and in the default translation, it is called when pressing the left mouse button over a text widget (so that the mouse does not need to be over the text window - when typping) + when typing) -These are the changes to Xaw that made it not fully source compatable (I'm -open to comments, to make it source compatable, but as I said above, if +These are the changes to Xaw that made it not fully source compatible (I'm +open to comments, to make it source compatible, but as I said above, if a program does not compile anymore, it is because it is not granted it will work properly): scrollMode set to WhenNeeded is not supported anymore. I spent several hours fighting side-effects caused when a scrollbar is created or destroyed - 'on demand', and have (after tired of long debug sessions) choosed that - it is not required (it saves a lot of potencial unespected conditions + 'on demand', and have (after tired of long debug sessions) chosen that + it is not required (it saves a lot of potential unexpected conditions being found by a user). I changed the 'type' of the scroll mode to Boolean, so, to have a scrollbar, is enough to say: *Text.scrollVertical: True. Since the type now is Boolean, Xt will print warning messages when the @@ -332,7 +332,7 @@ wrap-mode set to word does not work properly always (never did) the multiply should be setable to a variable value; the default value is 4, i.e. Ctrl+U <text+action> -I will work on the itens listed above, and I'm also planning: +I will work on the items listed above, and I'm also planning: one level undo, for text actions C style indentation and 'jumping' the cursor to show matching '(', '' and '{' @@ -345,7 +345,7 @@ I get by cutting and pasting code under a #if 0 :(), but it was corrected. The code in the new file 'Clip.c' is very useful for creating clipiing lists and thus, avoiding too much server requests, or code for the same - functionality (poorly) repeteated in several places around the libary. This + functionality (poorly) repeteated in several places around the library. This code is now heavily used by the TextWidget. @@ -363,7 +363,7 @@ #1788 12 July 1998 -- TextWidget -- - + Corrected problem whem moving the cursor over a non-printing character + + Corrected problem when moving the cursor over a non-printing character + Now, does not allow scroll with ^Z when there is only one line of text + Automatic resize was removed, it is not required with automatic horizontal scroll, but I will look for programs that rely on it; the only program @@ -372,13 +372,13 @@ request. + Scroll mode set to "WhenNeeded" was removed. It generates several unespected conditions when editing text, and the new feature of automatic scrolling - the text widget while typping is more useful. + the text widget while typing is more useful. + Removed a leak in TextAction.c:AutoFill(), generated by the code text.ptr = (char *)XtMalloc(sizeof(wchar_t) * 2); that memory was never released, but the fix was simple, since the amount of memory requested is fixed. + Several optimizations in the redisplay of the text. - + Now, wrap mode set to word or line is expected to work, while typping text. + + Now, wrap mode set to word or line is expected to work, while typing text. + AutoFill will only break lines in word boundaries now. + Added a set-keyboard-focus action to TextAction.c, so that when pressing the left button over a text widget, it will receive the keyboard focus. @@ -395,7 +395,7 @@ -- XAW -- + I had added a XawStackAlloc definition to "Private.h", to avoid a XtMalloc - request for every character typped in TextAction.c:InsertChar(), but + request for every character typed in TextAction.c:InsertChar(), but when syncing with 3.9Aj, saw that the file "XawAlloc.h" is no longer required. Please, remove XawAlloc.h from 3.9Aj. @@ -406,7 +406,7 @@ -- xedit -- + Removed a XDefineCursor from xedit.c:main() - + I have added a XtSetKeyboardFocus in xedit.c:main(), but comented it + + I have added a XtSetKeyboardFocus in xedit.c:main(), but commented it because it would make xedit unusable with previous versions of Xaw, or with the Xaw replacements (Xaw3d, Xaw95 ...) @@ -415,13 +415,13 @@ that code made the cursor do not erase portions of the text while moving the it, but it was failing at some places that would need that the TextWidget, and not only the {Ascii,Multi}SinkObject had access to the fonts, so I -choosed to left it to the future (and keep the sources simple, by now). -The text widget is useable with italic fonts, but fonts with: +chose to left it to the future (and keep the sources simple, by now). +The text widget is usable with italic fonts, but fonts with: f->per_char<char> - f->min_char_or_byte2.rbearing > f->per_char<char> - f->min_char_or_byte2.width or f->per_char<char> - f->min_char_or_byte2.lbearing < 0 -will not allways be displayed correctly. +will not always be displayed correctly. I haved also added a xedit configuration file to this mail. @@ -453,11 +453,11 @@ calling that function with only 3 parameters; the ansification flagred that error. TextTr.c was modified to have only one string. I believe that that weird - thing was due to the inheritance of compatability with some very old and + thing was due to the inheritance of compatibility with some very old and probably buggy ld. -Xaw is expected to be binary compatable with R6.3; there are some - preprocessor macros that keeps binary compatability, and unless the gains - of breaking binary compatability show worth enough (and people think) it
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/specs/Dialog.xml -> _service:tar_scm:libXaw-1.0.15.tar.gz/specs/Dialog.xml
Changed
@@ -435,10 +435,11 @@ resources to place the children of the Dialog. A single pass is made through the Dialog widget's children in the order that they were created. Each child is then placed in -the Dialog widget below or to the right of the widget speci- -fied by the <function>fromVert</function> mand <function>fromHoriz</function> mresources. The distance -the new child is placed from its left or upper neighbor is -determined by the <function>horizDistance</function> mand <function>vertDistance</function> mresources. +the Dialog widget below or to the right of the widget specified by the +<function>fromVert</function> and <function>fromHoriz</function> resources. +The distance the new child is placed from its left or upper neighbor is +determined by the <function>horizDistance</function> and +<function>vertDistance</function> resources. This implies some things about how the order of creation affects the possible placement of the children. The Form widget registers a string to widget converter which does not
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/specs/Makefile.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/specs/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -112,7 +112,10 @@ @ENABLE_SPECS_TRUE@@HAVE_STYLESHEETS_TRUE@@HAVE_XMLTO_TRUE@@HAVE_XSLTPROC_TRUE@ $(docbook:.xml=.pdf.db) subdir = specs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__dist_shelf_DATA_DIST) \ @@ -203,8 +206,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -218,8 +222,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -536,7 +542,6 @@ cscope cscopelist: - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/specs/Repeater.xml -> _service:tar_scm:libXaw-1.0.15.tar.gz/specs/Repeater.xml
Changed
@@ -527,7 +527,7 @@ <listitem> <para> This invokes the functions on the <function>stopCallback</function> list and prevents any -further timers from occuring until the next <function>start</function> action. +further timers from occurring until the next <function>start</function> action. </para> </listitem> </varlistentry>
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Actions.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Actions.c
Changed
@@ -149,7 +149,7 @@ * Start of Boolean Expression Evaluation Implementation Code */ Bool -XawParseBoolean(Widget w, String param, XEvent *event, Bool *succed) +XawParseBoolean(Widget w, String param, XEvent *event, Bool *succeed) { char *tmp = (char *)param; int value; @@ -179,7 +179,7 @@ else if (XmuCompareISOLatin1(param, "faked") == 0) return (event->xany.send_event != 0); else - *succed = False; + *succeed = False; return (False); } @@ -246,7 +246,7 @@ /* It's a symbol name, resolve it. */ if (ch == XAW_PRIV_VAR_PREFIX || isalnum(ch) || ch == '_' || ch == '\\') { - Bool succed = True; + Bool succeed = True; p = info->cp - 1; @@ -262,13 +262,13 @@ String value = XawConvertActionVar(info->vlist, name); info->value = info->parse_proc(info->widget, value, info->event, - &succed) & 1; + &succeed) & 1; } else { info->value = info->parse_proc(info->widget, name, info->event, - &succed) & 1; - if (!succed) + &succeed) & 1; + if (!succeed) { String value = XawConvertActionRes(info->rlist, info->widget, @@ -276,18 +276,18 @@ /* '\\' may have been used to escape a resource name. */ - succed = True; + succeed = True; info->value = info->parse_proc(info->widget, value, info->event, - &succed) & 1; - if (!succed) + &succeed) & 1; + if (!succeed) { /* not a numeric value or boolean string */ info->value = True; - succed = True; + succeed = True; } } } - if (succed) + if (succeed) return (info->token = BOOLEAN); } else if (ch == '\0')
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/AsciiSink.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/AsciiSink.c
Changed
@@ -1878,7 +1878,7 @@ * lines - number of lines * * Description: - * Finds the Minium height that will contain a given number lines. + * Finds the Minimum height that will contain a given number lines. * * Returns: * the height
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/AsciiSrc.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/AsciiSrc.c
Changed
@@ -336,7 +336,7 @@ * * Parameters: * w - AsciiSource widget - * pos - position of the text to retreive. + * pos - position of the text to retrieve. * text - text block that will contain returned text * length - maximum number of characters to read * @@ -618,7 +618,7 @@ * position - position to start scanning * type - type of thing to scan for * dir - direction to scan - * count - which occurance if this thing to search for. + * count - which occurrence if this thing to search for. * include - whether or not to include the character found in * the position that is returned * @@ -746,7 +746,7 @@ while (True) { if (ptr < lim) { piece = piece->prev; - if (piece == NULL) /* Begining of text */ + if (piece == NULL) /* Beginning of text */ return (0); ptr = piece->text + piece->used - 1; lim = piece->text; @@ -821,7 +821,7 @@ * text - text block to search for * * Description: - * Searchs the text source for the text block passed. + * Searches the text source for the text block passed. * * Returns: * The position of the item found @@ -857,8 +857,8 @@ /*CONSTCOND*/ while (1) { if (*ptr++ == c - || (case_sensitive && isalpha(c) && isalpha(ptr-1) - && toupper(c) == toupper(ptr-1))) { + || (case_sensitive && isalpha((unsigned char)c) && isalpha((unsigned char)ptr-1) + && toupper((unsigned char)c) == toupper((unsigned char)ptr-1))) { if (++count == text->length) break; c = *++str; @@ -904,8 +904,8 @@ /*CONSTCOND*/ while (1) { if (*ptr-- == c - || (case_sensitive && isalpha(c) && isalpha(ptr1) - && toupper(c) == toupper(ptr1))) { + || (case_sensitive && isalpha((unsigned char)c) && isalpha((unsigned char)ptr1) + && toupper((unsigned char)c) == toupper((unsigned char)ptr1))) { if (++count == text->length) break; c = *--str; @@ -1046,7 +1046,7 @@ if (streq(argsi.name, XtNstring)) { if (src->ascii_src.use_string_in_place) *((char **)argsi.value) = src->ascii_src.first_piece->text; - else if (XawAsciiSave(w)) /* If save sucessful */ + else if (XawAsciiSave(w)) /* If save successful */ *((char **)argsi.value) = src->ascii_src.string; break; } @@ -1181,7 +1181,7 @@ * Save the current buffer as a file. * * Returns: - * True if the save was sucessful + * True if the save was successful */ Bool XawAsciiSaveAsFile(Widget w, _Xconst char *name) @@ -1270,10 +1270,10 @@ * name - the name of the file * * Description: - * Write the string specified to the begining of the file specified. + * Write the string specified to the beginning of the file specified. * * Returns: - * returns True if sucessful, False otherwise + * returns True if successful, False otherwise */ static Bool WriteToFile(String string, String name, unsigned length) @@ -1308,7 +1308,7 @@ * what can be useful when editing very large files. * * Returns: - * returns True if sucessful, False otherwise + * returns True if successful, False otherwise */ static Bool WritePiecesToFile(AsciiSrcObject src, String name) @@ -1790,7 +1790,7 @@ #ifdef ASCII_STRING /* - * Compatability functions. + * Compatibility functions. */ /* * Function:
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Box.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Box.c
Changed
@@ -436,7 +436,7 @@ /* * Try to do a new layout within the current width and height; - * if that fails try to resize and do it within the box returne + * if that fails try to resize and do it within the box returned * by XawBoxQueryGeometry * * TryNewLayout just says if it's possible, and doesn't actually move the kids @@ -533,7 +533,7 @@ || ((request->request_mode & CWY) && request->y != XtY(w))) return (XtGeometryNo); - /* Size changes must see if the new size can be accomodated */ + /* Size changes must see if the new size can be accommodated */ if (request->request_mode & (CWWidth | CWHeight | CWBorderWidth)) { /* Make all three fields in the request valid */ if ((request->request_mode & CWWidth) == 0)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Converters.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Converters.c
Changed
@@ -154,7 +154,7 @@ first_time = False; - /* Replace with more apropriate converters */ + /* Replace with more appropriate converters */ XtSetTypeConverter(XtRCallback, XtRString, _XawCvtCARD32ToString, NULL, 0, XtCacheNone, NULL); XtSetTypeConverter(XtRColormap, XtRString, _XawCvtCARD32ToString,
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/DisplayList.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/DisplayList.c
Changed
@@ -494,7 +494,7 @@ /********************************************************************** * If you want to implement your own class of procedures, look at - * the code bellow. + * the code below. **********************************************************************/ /* Start of Implementation of class "xlib" */ typedef struct _XawXlibData { @@ -1941,7 +1941,7 @@ case EXPOSURES: if (*num_params == 1) { - if (isdigit(params00) || params00 == '+' || params00 == '-') + if (isdigit((unsigned char)params00) || params00 == '+' || params00 == '-') retval = (void *)read_int((char *)params0, NULL); else if (XmuCompareISOLatin1(params0, "true") == 0 || XmuCompareISOLatin1(params0, "on") == 0)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Form.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Form.c
Changed
@@ -650,7 +650,7 @@ if (fw->form.no_refigure) { /* - * I am changing the widget wrapper w/o modifing the window. This is + * I am changing the widget wrapper w/o modifying the window. This is * risky, but I can get away with it since I am the parent of this * widget, and he must ask me for any geometry changes * @@ -893,7 +893,7 @@ if (fw->form.no_refigure) { /* - * I am changing the widget wrapper w/o modifing the window. + * I am changing the widget wrapper w/o modifying the window. * This is risky, but I can get away with it since I am the * parent of this widget, and he must ask me for any geometry * changes
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Label.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Label.c
Changed
@@ -305,12 +305,12 @@ lw->label.label_len = 0; lw->label.label_width = 0; } - else if ((nl = index(lw->label.label, '\n')) != NULL) { + else if ((nl = strchr(lw->label.label, '\n')) != NULL) { char *label; lw->label.label_len = MULTI_LINE_LABEL; lw->label.label_width = 0; - for (label = lw->label.label; nl != NULL; nl = index(label, '\n')) { + for (label = lw->label.label; nl != NULL; nl = strchr(label, '\n')) { int width = XmbTextEscapement(fset, label, (int)(nl - label)); if (width > (int)lw->label.label_width) @@ -338,12 +338,12 @@ lw->label.label_len = 0; lw->label.label_width = 0; } - else if ((nl = index(lw->label.label, '\n')) != NULL) { + else if ((nl = strchr(lw->label.label, '\n')) != NULL) { char *label; lw->label.label_len = MULTI_LINE_LABEL; lw->label.label_width = 0; - for (label = lw->label.label; nl != NULL; nl = index(label, '\n')) { + for (label = lw->label.label; nl != NULL; nl = strchr(label, '\n')) { int width; if (lw->label.encoding) @@ -537,7 +537,7 @@ if (len == MULTI_LINE_LABEL) { char *nl; - while ((nl = index(label, '\n')) != NULL) { + while ((nl = strchr(label, '\n')) != NULL) { XmbDrawString(XtDisplay(w), XtWindow(w), w->label.fontset, gc, w->label.label_x, ksy, label, (int)(nl - label)); @@ -554,7 +554,7 @@ if (len == MULTI_LINE_LABEL) { char *nl; - while ((nl = index(label, '\n')) != NULL) { + while ((nl = strchr(label, '\n')) != NULL) { if (w->label.encoding) XDrawString16(XtDisplay(gw), XtWindow(gw), gc, w->label.label_x, y,
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/List.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/List.c
Changed
@@ -455,11 +455,11 @@ Layout(w, False, False, &request.width, &request.height); request.request_mode = CWWidth | CWHeight; XtMakeGeometryRequest(w, &request, &reply); - /*FALLTROUGH*/ + /*FALLTHROUGH*/ default: break; } - /*FALLTROUGH*/ + /*FALLTHROUGH*/ default: break; }
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Makefile.in -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Makefile.in
Changed
@@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.16.2 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2020 Free Software Foundation, Inc. +# Copyright (C) 1994-2021 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -92,7 +92,10 @@ @BUILD_XAW7_TRUE@am__append_2 = libXaw7.la subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) @@ -351,8 +354,6 @@ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ @@ -372,8 +373,9 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CHANGELOG_CMD = @CHANGELOG_CMD@ -CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ CWARNFLAGS = @CWARNFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ @@ -387,8 +389,10 @@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ +ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ FILE_MAN_DIR = @FILE_MAN_DIR@ FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ FOP = @FOP@ @@ -1457,7 +1461,6 @@ distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/MultiSink.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/MultiSink.c
Changed
@@ -880,7 +880,7 @@ * lines - number of lines * * Description: - * Finds the Minium height that will contain a given number lines. + * Finds the Minimum height that will contain a given number lines. * Returns: * The height */
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/MultiSrc.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/MultiSrc.c
Changed
@@ -515,8 +515,8 @@ * position - position to start scanning * type - type of thing to scan for * dir - direction to scan - * count - which occurance if this thing to search for - * include - whether or not to include the character found in + * count - which occurrence of this thing to search for + * include - whether or not to include the character found in * the position that is returned * * Description: @@ -526,8 +526,8 @@ * The position of the item found * * Note: - * While there are only 'n' characters in the file there are n+1 - * possible cursor positions (one before the first character and + * While there are only 'n' characters in the file there are n+1 + * possible cursor positions (one before the first character and * one after the last character */ static XawTextPosition @@ -584,7 +584,7 @@ if (ptr < piece->text) { piece = piece->prev; - if (piece == NULL) /* Begining of text */ + if (piece == NULL) /* Beginning of text */ return (0); ptr = piece->text + piece->used - 1; c = *ptr; @@ -671,7 +671,7 @@ * text - text block to search for * * Description: - * Searchs the text source for the text block passed. + * Searches the text source for the text block passed. * * Returns: * The position of the item found @@ -708,7 +708,7 @@ I'm being passed a string claiming to be 8bit chars (ie, MB text.) If that is the case, naturally I convert to 32bit format */ - /*if the block was FMT8BIT, length will convert to REAL wchar count bellow */ + /*if the block was FMT8BIT, length will convert to REAL wchar count below */ wtarget_len = text->length; if (text->format == XawFmtWide) @@ -752,7 +752,7 @@ cnt = (int)(piece->text - ptr); piece = piece->prev; - if (piece == NULL) { /* Begining of text */ + if (piece == NULL) { /* Beginning of text */ XtFree((char *)buf); return (XawTextSearchError); } @@ -877,7 +877,7 @@ if (src->multi_src.use_string_in_place) *((char **)argsi.value) = (char *) src->multi_src.first_piece->text; - else if (_XawMultiSave(w)) /* If save sucessful */ + else if (_XawMultiSave(w)) /* If save successful */ *((char **)argsi.value) = (char *)src->multi_src.string; break; } @@ -1025,7 +1025,7 @@ * Save the current buffer as a file. * * Returns: - * True if the save was sucessful + * True if the save was successful * * Note: * The public interface is XawAsciiSaveAsFile! @@ -1078,10 +1078,10 @@ * name - name of the file * * Description: - * Write the string specified to the begining of the file specified. + * Write the string specified to the beginning of the file specified. * * Returns: - * Returns True if sucessful, False otherwise + * Returns True if successful, False otherwise */ static Bool WriteToFile(String string, String name)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Paned.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Paned.c
Changed
@@ -566,7 +566,7 @@ * * 1) size < max && size > min * 2) skip adjust == False - * 3) widget not its prefered height + * 3) widget not its preferred height * && this change will bring it closer * && The user has not resized this pane. * @@ -723,7 +723,7 @@ * dir - AnyPane. * * If either of these is true then all panes may be resized and - * the choosing of panes procedes in reverse order starting with the + * the choosing of panes proceeds in reverse order starting with the * last child. */ static void @@ -1822,7 +1822,7 @@ if (HasGrip(*childP)) PaneInfo(pane->grip)->position = pw->paned.num_panes; - pane->position = pw->paned.num_panes; /* TEMPORY -CDP 3/89 */ + pane->position = pw->paned.num_panes; /* TEMPORARY -CDP 3/89 */ pw->paned.num_panes++; } else
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Panner.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Panner.c
Changed
@@ -575,7 +575,7 @@ /* * syntax: spaces +- number spaces pc\0 spaces */ - for (; isascii(*s) && isspace(*s); s++) /* skip white space */ + for (; isascii((unsigned char)*s) && isspace((unsigned char)*s); s++) /* skip white space */ ; if (*s == '+' || *s == '-') { /* deal with signs */ @@ -590,12 +590,12 @@ } /* skip over numbers */ - for (cp = s; isascii(*s) && (isdigit(*s) || *s == '.'); s++) + for (cp = s; isascii((unsigned char)*s) && (isdigit((unsigned char)*s) || *s == '.'); s++) ; val *= atof(cp); /* skip blanks */ - for (; isascii(*s) && isspace(*s); s++) + for (; isascii((unsigned char)*s) && isspace((unsigned char)*s); s++) ; if (*s) { /* if units */
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Pixmap.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Pixmap.c
Changed
@@ -690,6 +690,7 @@ length = (length + (int)strlen(tok) + 3); } } + XtFree(buffer); pixmap_path = XtRealloc(pixmap_path, (Cardinal)((size_t)length + strlen(default_path) + 2)); if (length) pixmap_pathlength++ = ':';
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Scrollbar.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Scrollbar.c
Changed
@@ -807,7 +807,7 @@ ScrollbarWidget w = (ScrollbarWidget)gw; XtVaSetValues(gw, XtNcursor, w->scrollbar.inactiveCursor, NULL); - XFlush(XtDisplay(w)); /* make sure it get propogated */ + XFlush(XtDisplay(w)); /* make sure it get propagated */ w->scrollbar.direction = 0; }
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/SimpleMenu.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/SimpleMenu.c
Changed
@@ -1087,7 +1087,7 @@ * about the return values, and just want a relayout. * * if this is not the case then it will set width_ret and height_ret - * to be width and height that the child would get if it were layed out + * to be width and height that the child would get if it were laid out * at this time. * * "w" can be the simple menu widget or any of its object children. @@ -1379,7 +1379,7 @@ * * Description: * Actually moves the menu, may force it to - * to be fully visable if menu_on_screen is True. + * to be fully visible if menu_on_screen is True. */ static void MoveMenu(Widget w, int x, int y)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Sme.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Sme.c
Changed
@@ -134,7 +134,7 @@ * XawSmeClassPartInitialize * * Parameters: - * cclass - widget classs of this widget + * cclass - widget class of this widget * * Description: * Handles inheritance of class functions. @@ -186,7 +186,7 @@ * w - menu entry * * Description: - * Default highlight proceedure for menu entries. + * Default highlight procedure for menu entries. */ /*ARGSUSED*/ static void @@ -202,7 +202,7 @@ * w - menu entry * * Description: - * Default unhighlight proceedure for menu entries. + * Default unhighlight procedure for menu entries. */ /*ARGSUSED*/ static void @@ -218,7 +218,7 @@ * w - menu entry * * Description: - * Calls the callback proceedures for this entry. + * Calls the callback procedures for this entry. */ static void Notify(Widget w)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/StripChart.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/StripChart.c
Changed
@@ -297,7 +297,7 @@ } /* - * NOTE: This function really needs to recieve graphics exposure + * NOTE: This function really needs to receive graphics exposure * events, but since this is not easily supported until R4 I am * going to hold off until then. */
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Text.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Text.c
Changed
@@ -925,7 +925,7 @@ ctx->text.update = XmuNewScanline(0, 0, 0); ctx->text.gc = XtGetGC(cnew, 0, 0); ctx->text.hasfocus = False; - ctx->text.margin = ctx->text.r_margin; /* Strucure copy */ + ctx->text.margin = ctx->text.r_margin; /* Structure copy */ ctx->text.left_margin = ctx->text.r_margin.left; ctx->text.update_disabled = False; ctx->text.clear_to_eol = True; @@ -1095,7 +1095,7 @@ bytes = sizeof(unsigned char); else if (XawTextFormat(ctx, XawFmtWide)) bytes = sizeof(wchar_t); - else /* if there is another fomat, add here */ + else /* if there is another format, add here */ bytes = 1; /* leave space for ZERO */ @@ -1459,7 +1459,7 @@ * * Description: * Returns the width (in pixels) of the widest line that - * is currently visable. + * is currently visible. * * Returns: * The width of the widest line @@ -2824,8 +2824,8 @@ /* * This routine implements multi-click selection in a hardwired manner. * It supports multi-click entity cycling (char, word, line, file) and mouse - * motion adjustment of the selected entitie (i.e. select a word then, with - * button still down, adjust wich word you really meant by moving the mouse). + * motion adjustment of the selected entity (i.e. select a word then, with + * button still down, adjust which word you really meant by moving the mouse). * NOTE: This routine is to be replaced by a set of procedures that * will allows clients to implements a wide class of draw through and * multi-click selection user interfaces. @@ -3289,7 +3289,7 @@ } /* - * This routine does all setup required to syncronize batched screen updates + * This routine does all setup required to synchronize batched screen updates */ void _XawTextPrepareToUpdate(TextWidget ctx) @@ -3802,7 +3802,7 @@ * pos - any position * * Description: - * Returns a valid position given any postition. + * Returns a valid position given any position. * * Returns: * A position between (0 and lastPos)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/TextAction.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/TextAction.c
Changed
@@ -2607,7 +2607,7 @@ strcpy(++ptr, line_to_ip); length++; - while (length && (isspace(*ptr) || (*ptr == XawTAB))) + while (length && (isspace((unsigned char)*ptr) || (*ptr == XawTAB))) ptr++, length--; *ptr = '\0'; text.length = (int)strlen(text.ptr); @@ -2822,7 +2822,7 @@ /* This is kind of a hack, but, only one text widget can have focus at * a time on one display. There is a problem in the implementation of the - * text widget, the scrollbars can not be adressed via editres, since they + * text widget, the scrollbars can not be addressed via editres, since they * are not children of a subclass of composite. * The focus variable is required to make sure only one text window will * show a block cursor at one time. @@ -2971,7 +2971,7 @@ * Arguments: ctx - The text widget. * * Description: - * Breaks the line at the previous word boundry when + * Breaks the line at the previous word boundary when * called inside InsertChar. */ static void @@ -3201,7 +3201,7 @@ * * i18n requires the ability to specify multiple characters in a hexa- * decimal string at once. Since Insert was already too long, I made - * this a seperate routine. + * this a separate routine. * * A legal hex string in MBNF: '0' 'x' ( HEX-DIGIT HEX-DIGIT )+ '\0' * @@ -3259,7 +3259,7 @@ } } - /* We quit the above loop becasue we hit a non hex. If that char is \0... */ + /* We quit the above loop because we hit a non hex. If that char is \0... */ if ((c == '\0') && first_digit) { *len_return = (int)strlen(hexval); return (hexval); /* ...it was a legal hex string, so return it */ @@ -3393,7 +3393,7 @@ long mult = ctx->text.mult; if (*num_params != 1 || strlen(params0) != 1 - || (!isdigit(params00) + || (!isdigit((unsigned char)params00) && (params00 != '-' || mult != 0))) { char err_buf256; @@ -3591,7 +3591,7 @@ if (!iswspace(((wchar_t*)buf)i) || ((periodPos + i) >= to)) break; } - else if (!isspace(bufi) || (periodPos + i) >= to) + else if (!isspace((unsigned char)bufi) || (periodPos + i) >= to) break; XtFree(buf); @@ -3681,7 +3681,7 @@ if (!iswspace(((wchar_t*)buf)i)) break; } - else if (!isspace(bufi)) + else if (!isspace((unsigned char)bufi)) break; to -= (i - 1); @@ -3811,7 +3811,7 @@ XawMin(ctx->text.s.left, ctx->text.s.right), XawstEOL, XawsdLeft, 1, False); to = SrcScan(ctx->text.source, - XawMax(ctx->text.s.right, ctx->text.s.right), + XawMax(ctx->text.s.left, ctx->text.s.right), XawstEOL, XawsdRight, 1, False); } else { @@ -4130,7 +4130,7 @@ case 'R': case 'r': XBell(XtDisplay(w), 0); - /*FALLTROUGH*/ + /*FALLTHROUGH*/ default: break; }
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/TextPop.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/TextPop.c
Changed
@@ -34,7 +34,7 @@ * used by all more than one of these dialogs. * * The following functions are the only non-static ones defined - * in this module. They are located at the begining of the + * in this module. They are located at the beginning of the * section that contains this dialog box that uses them. * * void _XawTextInsertFileAction(w, event, params, num_params); @@ -296,7 +296,7 @@ * Inserts a file into the text widget. * * Returns: - * True if the insert was sucessful, False otherwise. + * True if the insert was successful, False otherwise. */ static Bool InsertFileNamed(Widget tw, String str) @@ -417,7 +417,7 @@ * will search for a string in the main Text Widget. * * Note: - * If the search was sucessful and the argument popdown is passed to + * If the search was successful and the argument popdown is passed to * this action routine then the widget will automatically popdown the * search widget */ @@ -515,7 +515,7 @@ * * First Entry: * The first entry is the direction to search by default. - * This arguement must be specified and may have a value of + * This argument must be specified and may have a value of * "left" or "right". * * Second Entry: @@ -547,7 +547,7 @@ ptr = params1; else if (XawTextFormat(ctx, XawFmtWide)) { /* This just does the equivalent of - ptr = ""L, a waste because params1 isnt W aligned */ + ptr = ""L, a waste because params1 isn't W aligned */ ptr = (char *)wcs; wcs0 = 0; } @@ -601,7 +601,7 @@ * * Description: * This function initializes the search widget and - * is called each time the search widget is poped up. + * is called each time the search widget is popped up. */ static void InitializeSearchWidget(struct SearchAndReplace *search, @@ -830,7 +830,7 @@ * Performs a search * * Returns: - * True if sucessful + * True if successful */ /*ARGSUSED*/ static Bool @@ -1256,7 +1256,7 @@ * name of the child and the shell widget of the dialog. * * Returns: - * True if sucessful + * True if successful */ static Bool SetResourceByName(Widget shell, String name, String res_name, XtArgVal value)
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/TextSink.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/TextSink.c
Changed
@@ -364,7 +364,7 @@ * y - "" * pos1 - location of starting and ending points in the text buffer * pos2 - "" - * highlight - hightlight this text? + * highlight - highlight this text? * * Description: * Stub function that in subclasses will display text. @@ -475,7 +475,7 @@ * fromX - x location of starting Position * toPos - end Position * resWidth - Distance between fromPos and toPos - * resPos - Acutal toPos used + * resPos - Actual toPos used * resHeight - Height required by this text * * Description: @@ -503,7 +503,7 @@ * resPos - resulting position * * Description: - * Resloves a location to a position. + * Resolves a location to a position. */ /*ARGSUSED*/ static void @@ -549,7 +549,7 @@ * lines - number of lines * * Description: - * Finds the Minium height that will contain a given number lines. + * Finds the Minimum height that will contain a given number lines. * * Returns: * the height @@ -610,7 +610,7 @@ * y - "" * pos1 - location of starting and ending points in the text buffer * pos2 - "" - * highlight - hightlight this text? + * highlight - highlight this text? */ /*ARGSUSED*/ void @@ -750,7 +750,7 @@ * fromX - x location of starting Position * toPos - end Position * resWidth - Distance between fromPos and toPos - * resPos - Acutal toPos used + * resPos - Actual toPos used * resHeight - Height required by this text * * Description: @@ -780,7 +780,7 @@ * resPos - resulting position * * Description: - * Resloves a location to a position. + * Resolves a location to a position. */ /*ARGSUSED*/ void @@ -828,7 +828,7 @@ * lines - number of lines * * Description: - * Finds the Minium height that will contain a given number lines. + * Finds the Minimum height that will contain a given number lines. * * Returns: * the height @@ -1251,7 +1251,7 @@ weight = asterisk; if (property->slant != NULLQUARK) { slant = XrmQuarkToString(property->slant); - if (toupper(*slant) != 'R') + if (toupper((unsigned char)*slant) != 'R') slant = asterisk; /* X defaults to italics, so, don't care in resolving between `I' and `O' */ } @@ -1583,6 +1583,7 @@ if (prev) prev->next = NULL; XawFreeParamsStruct(params); + XtFree((char *)prop); return (NULL); } prop->mask |= XAW_TPROP_FONT; @@ -1602,6 +1603,7 @@ if (prev) prev->next = NULL; XawFreeParamsStruct(params); + XtFree((char *)prop); return (NULL); } prop->foreground = color.pixel; @@ -1619,6 +1621,7 @@ if (prev) prev->next = NULL; XawFreeParamsStruct(params); + XtFree((char *)prop); return (NULL); } prop->background = color.pixel;
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/TextSrc.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/TextSrc.c
Changed
@@ -399,7 +399,7 @@ * * Parameters: * w - TextSrc Object - * pos - position of the text to retreive + * pos - position of the text to retrieve * text - text block that will contain returned text * length - maximum number of characters to read * @@ -446,8 +446,8 @@ * position - position to start scanning * type - type of thing to scan for * dir - direction to scan - * count - which occurance if this thing to search for - * include - whether or not to include the character found in + * count - which occurrence 0f this thing to search for + * include - whether or not to include the character found in * the position that is returned * * Description: @@ -472,7 +472,7 @@ * text - the text block to search for * * Description: - * Searchs the text source for the text block passed + * Searches the text source for the text block passed */ /*ARGSUSED*/ static XawTextPosition @@ -690,7 +690,7 @@ } /* - * To diferentiate insert-char's separeted by cursor movements. + * To differentiate insert-char's separated by cursor movements. */ void _XawSourceSetUndoMerge(TextSrcObject src, Bool state) @@ -1399,7 +1399,7 @@ * position - position to start scanning * type - type of thing to scan for * dir - direction to scan - * count - which occurance if this thing to search for + * count - which occurrence if this thing to search for * include - whether or not to include the character found in * the position that is returned. * @@ -1439,7 +1439,7 @@ * The position of the text we are searching for or XawTextSearchError. * * Description: - * Searchs the text source for the text block passed + * Searches the text source for the text block passed */ XawTextPosition XawTextSourceSearch(Widget w, XawTextPosition position, @@ -1463,7 +1463,7 @@ * w - TextSrc object * selection - current selection atom * target - current target atom - * type - type to conver the selection to + * type - type to convert the selection to * value - return value that has been converted * length - "" * format - format of the returned value @@ -1489,7 +1489,7 @@ * Parameters: * w - TextSrc object * left - bounds of the selection - * rigth - "" + * right - "" * selection - selection atom * * Description: @@ -1522,7 +1522,7 @@ * The caller is responsible for freeing both the source and ret string * * wstr - source wchar string - * len_in_out - lengh of string. + * len_in_out - length of string. * As In, length of source wchar string, measured in wchar * As Out, length of returned string */ @@ -1548,7 +1548,7 @@ * The caller is responsible for freeing both the source and ret string. * * str - source string - * len_in_out - lengh of string + * len_in_out - length of string * As In, it is length of source string * As Out, it is length of returned string, measured in wchar */
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Tip.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Tip.c
Changed
@@ -332,7 +332,7 @@ ksy = (ksy + XawAbs(ext->max_ink_extent.y)); - while ((nl = index(label, '\n')) != NULL) { + while ((nl = strchr(label, '\n')) != NULL) { XmbDrawString(XtDisplay(w), XtWindow(w), tip->tip.fontset, gc, tip->tip.left_margin, ksy, label, (int)(nl - label)); @@ -345,7 +345,7 @@ tip->tip.left_margin, ksy, label, len); } else { - while ((nl = index(label, '\n')) != NULL) { + while ((nl = strchr(label, '\n')) != NULL) { if (tip->tip.encoding) XDrawString16(XtDisplay(w), XtWindow(w), gc, tip->tip.left_margin, y, @@ -411,7 +411,7 @@ XFontSetExtents *ext = XExtentsOfFontSet(fset); height = ext->max_ink_extent.height; - if ((nl = index(label, '\n')) != NULL) { + if ((nl = strchr(label, '\n')) != NULL) { /*CONSTCOND*/ while (True) { int w = XmbTextEscapement(fset, label, (int)(nl - label)); @@ -423,8 +423,8 @@ label = nl + 1; if (*label) height += ext->max_ink_extent.height; - if ((nl = index(label, '\n')) == NULL) - nl = index(label, '\0'); + if ((nl = strchr(label, '\n')) == NULL) + nl = strchr(label, '\0'); } } else @@ -432,7 +432,7 @@ } else { height = fs->max_bounds.ascent + fs->max_bounds.descent; - if ((nl = index(label, '\n')) != NULL) { + if ((nl = strchr(label, '\n')) != NULL) { /*CONSTCOND*/ while (True) { int w = info->tip->tip.encoding ? @@ -445,8 +445,8 @@ label = nl + 1; if (*label) height += fs->max_bounds.ascent + fs->max_bounds.descent; - if ((nl = index(label, '\n')) == NULL) - nl = index(label, '\0'); + if ((nl = strchr(label, '\n')) == NULL) + nl = strchr(label, '\0'); } } else
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Toggle.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Toggle.c
Changed
@@ -179,7 +179,7 @@ WidgetClass toggleWidgetClass = (WidgetClass)&toggleClassRec; /* - * Impelementation + * Implementation */ static void XawToggleClassInitialize(void) @@ -248,10 +248,10 @@ * have to handle the case where it needs to be set * * If this widget is in a radio group then it may cause another - * widget to be unset, thus calling the notify proceedure + * widget to be unset, thus calling the notify procedure * * I want to set the toggle if the user set the state to "On" in - * the resource group, reguardless of what my ancestors did + * the resource group, regardless of what my ancestors did */ if (tw_req->command.set) ToggleSet(cnew, NULL, NULL, NULL);
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/Viewport.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/Viewport.c
Changed
@@ -707,7 +707,7 @@ * Parameters: * widget - viewport widget * query - whether or not to query the child - * intended - cache of the childs height is stored here + * intended - cache of the child's height is stored here * (used and returned) * clip_width - size of clip window (used and returned) * clip_height - ""
View file
_service:tar_scm:libXaw-1.0.14.tar.bz2/src/XawIm.c -> _service:tar_scm:libXaw-1.0.15.tar.gz/src/XawIm.c
Changed
@@ -357,7 +357,7 @@ contextErrDataRec *contextErrData; /* - * Destory all ICs + * Destroy all ICs */ if (IsSharedIC(ve)) { if ((p = ve->ic.shared_ic_table) && p->xic) { @@ -472,14 +472,14 @@ for(ns=s=ve->im.input_method; ns && *s;) { /* skip any leading blanks */ - while (*s && isspace(*s)) s++; + while (*s && isspace((unsigned char)*s)) s++; if (!*s) break; if ((ns = end = strchr(s, ',')) == NULL) end = s + strlen(s); /* If there is a spurious comma end can be the same as s */ if (end > s) { /* strip any trailing blanks */ - while (isspace(*(end - 1))) end--; + while (isspace((unsigned char)*(end - 1))) end--; strcpy (pbuf, "@im="); strncat (pbuf, s, (size_t)(end - s)); @@ -514,14 +514,14 @@ } found = False; for(ns = s = ve->im.preedit_type; s && !found;) { - while (*s && isspace(*s)) s++; + while (*s && isspace((unsigned char)*s)) s++; if (!*s) break; if ((ns = end = strchr(s, ',')) == NULL) end = s + strlen(s); else ns++; if (end > s) - while (isspace(*(end - 1))) end--; + while (isspace((unsigned char)*(end - 1))) end--; if (!strncmp(s, "OverTheSpot", (size_t)(end - s))) { input_style = (XIMPreeditPosition | XIMStatusArea);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2