mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Merge branch 'master' into cde-next
This commit is contained in:
commit
2c1f56d37c
163 changed files with 1492 additions and 3581 deletions
|
@ -201,25 +201,10 @@ CleanDaemons()
|
|||
then
|
||||
stopsrc -s inetd >>$LOGFILE 2>&1
|
||||
fi
|
||||
elif [ "$PLATFORM" = "openbsd" ] || [ "$PLATFORM" = "freebsd" ] || \
|
||||
[ "$PLATFORM" = "netbsd" ] || [ "$PLATFORM" = "linux" ]
|
||||
then
|
||||
pgrep pid,comm > /tmp/tmppsout
|
||||
if [ -s /tmp/tmppsout ]
|
||||
then
|
||||
awk '{print "kill " $1}' /tmp/tmppsout | /bin/sh -f
|
||||
sleep 2
|
||||
fi
|
||||
else
|
||||
pgrep -v pgrep >/tmp/tmppsout
|
||||
if [ -s /tmp/tmppsout ]
|
||||
then
|
||||
awk '{print "kill " $2}' /tmp/tmppsout | /bin/sh -f
|
||||
sleep 2
|
||||
fi
|
||||
ps -eo pid,comm | grep $i | awk '{print "kill " $1}' | /bin/sh
|
||||
fi
|
||||
done
|
||||
rm -f /tmp/tmppsout
|
||||
}
|
||||
|
||||
RestartInetd()
|
||||
|
@ -509,7 +494,7 @@ XCOMM don't bother if the fileset doesn't exist
|
|||
if [ -s "/tmp/${2}.missing" ]
|
||||
then
|
||||
Log " - missing files:"
|
||||
"/tmp/${2}.missing" >> "$LOGFILE"
|
||||
cat "/tmp/${2}.missing" | tee -a "$LOGFILE"
|
||||
fi
|
||||
}
|
||||
ORIGINAL_COMMAND_LINE="$*"
|
||||
|
|
|
@ -73,9 +73,6 @@ USE_GCC = UseGcc
|
|||
# define HasGcc2 YES
|
||||
#endif
|
||||
|
||||
/* Use installed X11 includes/libs */
|
||||
#define UseInstalledX11 YES
|
||||
|
||||
/* For DtHelp TIFF processing routines. */
|
||||
#ifdef AMD64Architecture
|
||||
#define LSBBitOrder YES
|
||||
|
|
|
@ -18,22 +18,7 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
|
|||
* 4. Create a .cf file with the name given by MacroFile.
|
||||
*/
|
||||
|
||||
#ifdef ultrix
|
||||
# define MacroIncludeFile <ultrix.cf>
|
||||
# define MacroFile ultrix.cf
|
||||
# ifdef vax
|
||||
# undef vax
|
||||
# define VaxArchitecture
|
||||
# endif
|
||||
# ifdef mips
|
||||
# undef mips
|
||||
# define MipsArchitecture
|
||||
# endif
|
||||
# undef ultrix
|
||||
# define UltrixArchitecture
|
||||
#endif /* ultrix */
|
||||
|
||||
#if defined(vax) && !defined(UltrixArchitecture)
|
||||
#if defined(vax)
|
||||
# define MacroIncludeFile <bsd.cf>
|
||||
# define MacroFile bsd.cf
|
||||
# undef vax
|
||||
|
|
|
@ -81,7 +81,6 @@ sony.cf \
|
|||
sun.cf \
|
||||
svr3.cf \
|
||||
svr4.cf \
|
||||
ultrix.cf \
|
||||
x386.cf \
|
||||
xfree86.cf
|
||||
|
||||
|
|
|
@ -106,9 +106,6 @@ XCOMM operating system: OSName
|
|||
#define GccGasOption -DGCCUSESGAS
|
||||
#define AsmDefines -DUSE_GAS
|
||||
|
||||
/* Use installed X11 includes/libs */
|
||||
#define UseInstalledX11 YES
|
||||
|
||||
#ifdef i386Architecture
|
||||
# ifndef OptimizedCDebugFlags
|
||||
# define OptimizedCDebugFlags -O2 -fno-strict-aliasing
|
||||
|
|
|
@ -148,9 +148,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Use installed X11 includes/libs */
|
||||
# define UseInstalledX11 YES
|
||||
|
||||
/*
|
||||
* Compiler Features
|
||||
*/
|
||||
|
|
|
@ -72,8 +72,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#define UseInstalledX11 YES
|
||||
|
||||
#define BuildLibPathVar LD_LIBRARY_PATH
|
||||
#define HasGcc YES
|
||||
#define HasGcc2 YES
|
||||
|
|
|
@ -21,10 +21,8 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
|||
/* CDE uses a .C suffix for C++ source, not the default .cxx */
|
||||
# define CCsuf C
|
||||
|
||||
/* We will import x11. */
|
||||
# define ImportX11 YES
|
||||
|
||||
/* We will use installed Motif. */
|
||||
/* We will use installed x11 and Motif. */
|
||||
# define UseInstalledX11 YES
|
||||
# define UseInstalledMotif YES
|
||||
|
||||
# ifndef TopLevelProject
|
||||
|
|
|
@ -376,9 +376,6 @@ man_keywords:: @@\
|
|||
#define DependDefines -D__BUILTIN_VA_ARG_INCR
|
||||
#endif
|
||||
|
||||
/* Use installed X11 includes/libs */
|
||||
#define UseInstalledX11 YES
|
||||
|
||||
#define LdPreLib -L$(BUILDLIBDIR)
|
||||
#define PamUnixDefines -DPAM_NIS
|
||||
#define TtLargePICTable YES
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
XCOMM platform: $XConsortium: ultrix.cf /main/68 1996/09/28 16:13:46 rws $
|
||||
|
||||
#ifndef OSName
|
||||
# define OSName DefaultOSName
|
||||
#endif
|
||||
#ifndef OSMajorVersion
|
||||
# define OSMajorVersion DefaultOSMajorVersion
|
||||
#endif
|
||||
#ifndef OSMinorVersion
|
||||
# define OSMinorVersion DefaultOSMinorVersion
|
||||
#endif
|
||||
XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
|
||||
|
||||
#define HasNdbm YES
|
||||
#define HasPutenv YES
|
||||
#define HasShm YES
|
||||
#define LintLibFlag -o
|
||||
#define LintOpts -ax
|
||||
|
||||
#if HasDECnet
|
||||
#define ExtraLibraries -ldnet
|
||||
#endif
|
||||
|
||||
#if ThreadedX
|
||||
/* if you want to experiment, turn this on, but no guarantees */
|
||||
#define HasThreadSafeAPI NO
|
||||
#define HasPosixThreads YES
|
||||
#define ThreadPreStdAPIDefines -DXPRE_STANDARD_API
|
||||
#define ExtraLibraries -lpthreads -li
|
||||
#endif
|
||||
|
||||
#ifdef VaxArchitecture
|
||||
#define PexNativeFPFormat PEXDEC_F_Floating
|
||||
#define NativeFPFormat DEC_F_Float
|
||||
#define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */
|
||||
#define BuildServer NO
|
||||
#endif
|
||||
|
||||
#ifdef MipsArchitecture
|
||||
#if OSMajorVersion > 4 || (OSMajorVersion == 4 && OSMinorVersion >= 2)
|
||||
#define XdecServer YES
|
||||
#define ServerOSDefines -DDDXTIME
|
||||
/* Even under ultrix 4.2, the compiler miscompiles some alloca calls */
|
||||
#define AllocateLocalDefines /* -DINCLUDE_ALLOCA_H */
|
||||
#else
|
||||
#define BuildServer NO
|
||||
#define AllocateLocalDefines /**/
|
||||
#endif
|
||||
#if !HasGcc
|
||||
#define NeedFunctionPrototypes YES
|
||||
#define PexCCOptions -Wf,-XNp15000,-XNd15000
|
||||
/*
|
||||
* NormalLibObjCompile - compile fragment for a library object file
|
||||
* do ld -x to remove line number symbols for libraries
|
||||
*/
|
||||
#define NormalLibObjCompile(options) $(RM) $@ $*.os \ @@\
|
||||
&& $(CC) -c options $(CFLAGS) $*.c \ @@\
|
||||
&& $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \ @@\
|
||||
&& $(MV) $*.os $@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HasGcc
|
||||
#ifdef VaxArchitecture
|
||||
#define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
|
||||
#endif
|
||||
#ifdef MipsArchitecture
|
||||
#define CcCmd gcc -ansi -Dmips -Dultrix -fpcc-struct-return
|
||||
#endif
|
||||
#define ServerCCOptions /* */
|
||||
#define AllocateLocalDefines /* */
|
||||
#endif
|
||||
|
||||
#define ServerExtraDefines AllocateLocalDefines
|
||||
#define HasWChar32 YES
|
||||
|
||||
#define MotifDefines -DNO_REGEX -DNO_REGCOMP -DNO_CONST
|
|
@ -494,7 +494,7 @@ char *cpp_argv[ARGUMENTS] = {
|
|||
# define DEFAULT_OS_MINOR_REV "r %[0-9]"
|
||||
/* No information available to generate default OSTeenyVersion value. */
|
||||
# define DEFAULT_OS_NAME "srvm %[^\n]"
|
||||
#elif defined(sun) || defined(sgi) || defined(ultrix) || defined(__linux__) || defined(sony)
|
||||
#elif defined(sun) || defined(__linux__)
|
||||
/* uname -r returns "x.y[.z]", e.g. "5.4" or "4.1.3" */
|
||||
# define DEFAULT_OS_MAJOR_REV "r %[0-9]"
|
||||
# define DEFAULT_OS_MINOR_REV "r %*d.%[0-9]"
|
||||
|
@ -601,9 +601,6 @@ struct symtab predefs[] = {
|
|||
#ifdef __mips__
|
||||
{"__mips__", "1"},
|
||||
#endif
|
||||
#ifdef ultrix
|
||||
{"ultrix", "1"},
|
||||
#endif
|
||||
#ifdef stellar
|
||||
{"stellar", "1"},
|
||||
#endif
|
||||
|
|
|
@ -19,7 +19,7 @@ Build-Depends: debhelper (>= 10),
|
|||
libjpeg62-dev,
|
||||
libfreetype6-dev,
|
||||
libssl-dev,
|
||||
tcl8.6-dev,
|
||||
tcl-dev,
|
||||
ksh,
|
||||
m4,
|
||||
ncompress,
|
||||
|
@ -28,8 +28,7 @@ Build-Depends: debhelper (>= 10),
|
|||
rpcbind,
|
||||
bison,
|
||||
libbison-dev,
|
||||
xbitmaps,
|
||||
chrpath
|
||||
xbitmaps
|
||||
Standards-Version: 4.1.2
|
||||
Homepage: https://sourceforge.net/projects/cdesktopenv/
|
||||
#Vcs-Git: https://anonscm.debian.org/git/collab-maint/cde-desktop.git
|
||||
|
@ -51,7 +50,7 @@ Depends: libxt6,
|
|||
libjpeg62,
|
||||
libfreetype6,
|
||||
libuil4,
|
||||
tcl8.6,
|
||||
tcl,
|
||||
ksh,
|
||||
m4,
|
||||
ncompress,
|
||||
|
|
|
@ -39,28 +39,6 @@ Copyright: 1993 - 1999 Hewlett-Packard Company
|
|||
2012 - 2016 William Schaub <wschaub@genesi-tech.com>
|
||||
License: LGPL-2+
|
||||
|
||||
Files: programs/dtdocbook/sgmls/sgml-mode.el
|
||||
Copyright: 1992 James Clark <jjc@jclark.com>
|
||||
1992 Free Software Foundation, Inc.
|
||||
License: GPL-1+
|
||||
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 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 1 can be found in the
|
||||
/usr/share/common-licenses/GPL-1 file.
|
||||
|
||||
Files: programs/dtinfo/DtMmdb/btree_berkeley/*.h
|
||||
programs/dtinfo/DtMmdb/btree_berkeley/bt_close.c
|
||||
programs/dtinfo/DtMmdb/btree_berkeley/bt_conv.c
|
||||
|
|
|
@ -15,5 +15,5 @@ override_dh_auto_build:
|
|||
|
||||
#make install is broken, so we use the install script instead
|
||||
override_dh_auto_install:
|
||||
sudo ./admin/IntegTools/dbTools/installCDE -s . -destdir \
|
||||
sudo ./admin/IntegTools/dbTools/installCDE -s . -destDir \
|
||||
./debian/cde-desktop
|
||||
|
|
|
@ -4,4 +4,4 @@ version=4
|
|||
#opts="pgpsigurlmangle=s%$%.sig%"
|
||||
|
||||
# SourceForge hosted projects
|
||||
http://sf.net/cdesktopenv/ cde-src-(.*)\.tar\.gz debian uupdate
|
||||
http://sf.net/cdesktopenv/ cde-(.*)\.tar\.gz debian uupdate
|
||||
|
|
|
@ -5,20 +5,20 @@
|
|||
# dbtoman
|
||||
#
|
||||
#############################################################################
|
||||
#
|
||||
#
|
||||
# Copyright (c) 1996 X Consortium
|
||||
# Copyright (c) 1996 Dalrymple Consulting
|
||||
#
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
|
@ -26,12 +26,12 @@
|
|||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
#
|
||||
# Except as contained in this notice, the names of the X Consortium and
|
||||
# Dalrymple Consulting shall not be used in advertising or otherwise to
|
||||
# promote the sale, use or other dealings in this Software without prior
|
||||
# written authorization.
|
||||
#
|
||||
#
|
||||
|
||||
trap "rm -f /tmp/dtm.$$.psinc /tmp/dtm.$$.out1 /tmp/dtm.$$.out2" 0 1 2 3 4 5 6 7 8 10 12 15
|
||||
|
||||
|
@ -41,17 +41,10 @@ TPT_LIB=$CDETOP/doc/util/dbtoman/transpec
|
|||
export TPT_LIB
|
||||
|
||||
PARSER=$CDETOP/programs/nsgmls/nsgmls
|
||||
if [ -x $PARSER ]
|
||||
then
|
||||
PARSER_OPTS="-g -oline -wno-idref"
|
||||
SGML_CATALOG_FILES="$SGML/catalog"
|
||||
export SGML_CATALOG_FILES
|
||||
else
|
||||
PARSER=$CDETOP/programs/dtdocbook/sgmls/sgmls
|
||||
PARSER_OPTS="-gl"
|
||||
SGML_PATH="$SGML/%P:$SGML/%S:%S"
|
||||
export SGML_PATH
|
||||
fi
|
||||
|
||||
INSTANT=$CDETOP/doc/util/dbtoman/instant/instant
|
||||
INSTANT_OPT=-d
|
||||
|
||||
|
@ -59,7 +52,7 @@ DECL=$CDETOP/programs/dtdocbook/doc2sdl/docbook.sgml
|
|||
|
||||
NROFF=
|
||||
|
||||
if [ $# -gt 0 -a $1 = "-c" ]
|
||||
if [ $# -gt 0 ] && [ $1 = "-c" ]
|
||||
then
|
||||
NROFF="| tbl | nroff -man"
|
||||
shift
|
||||
|
@ -76,7 +69,8 @@ cat > /tmp/dtm.$$.psinc <<\!
|
|||
'\" t
|
||||
!
|
||||
|
||||
grep '<\!-- $''XConsortium: ' $REFFILE | sed -e 's/<\!-- $''XConsortium:/...\\"/g' -e 's/ -->//g' >> /tmp/dtm.$$.psinc
|
||||
grep '<\!-- $''XConsortium: ' $REFFILE | \
|
||||
sed -e 's/<\!-- $''XConsortium:/...\\"/g' -e 's/ -->//g' >> /tmp/dtm.$$.psinc
|
||||
|
||||
cat >> /tmp/dtm.$$.psinc <<\!
|
||||
.de P!
|
||||
|
@ -126,4 +120,9 @@ cat >> /tmp/dtm.$$.psinc <<\!
|
|||
.ds f4\"
|
||||
!
|
||||
|
||||
cat $DECL $DCLFILE $REFFILE | sed -e 's/<\!\[[ ]*\%CDE\.C\.CDE;[ ]*\[<[rR]ef[eE]ntry [iI]d="[^"]*">\]\]>/<refentry>/g' | $PARSER $PARSER_OPTS | $INSTANT $INSTANT_OPT -croff.cmap -sroff.sdata -tdocbook-to-man.ts > /tmp/dtm.$$.out1 && eval cat /tmp/dtm.$$.psinc /tmp/dtm.$$.out1 $NROFF > /tmp/dtm.$$.out2 && cp /tmp/dtm.$$.out2 $MANFILE
|
||||
cat $DECL $DCLFILE $REFFILE | \
|
||||
sed -e 's/<\!\[[ ]*\%CDE\.C\.CDE;[ ]*\[<[rR]ef[eE]ntry [iI]d="[^"]*">\]\]>/<refentry>/g' | \
|
||||
$PARSER $PARSER_OPTS | \
|
||||
$INSTANT $INSTANT_OPT -croff.cmap -sroff.sdata -tdocbook-to-man.ts > \
|
||||
/tmp/dtm.$$.out1 && eval cat /tmp/dtm.$$.psinc /tmp/dtm.$$.out1 $NROFF > \
|
||||
/tmp/dtm.$$.out2 && cp /tmp/dtm.$$.out2 $MANFILE
|
||||
|
|
|
@ -331,10 +331,3 @@ void PrintElemSummary(Element_t *);
|
|||
void PrintElemTree(Element_t *);
|
||||
void PrintStats(Element_t *);
|
||||
void PrintIDList();
|
||||
|
||||
/* ----- other declarations ----- */
|
||||
|
||||
#ifdef ultrix
|
||||
#define strdup(s) strcpy((char *)malloc(strlen(s)+1), s)
|
||||
#endif
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -47,13 +47,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(SunOS)
|
||||
#if (RELMAJOR==5)
|
||||
#if (RELMINOR<2)
|
||||
#define STRCASECMP_NOT_DEFINED
|
||||
#endif /* RELMINOR */
|
||||
#endif /* RELMAJOR */
|
||||
#endif
|
||||
|
||||
/*
|
||||
** System V R4 based systems define the stuff we need in
|
||||
|
@ -162,14 +155,6 @@ typedef enum {B_FALSE, B_TRUE} boolean_t;
|
|||
|
||||
#endif /* AIX */
|
||||
|
||||
/*
|
||||
* A bug in Solaris 2.1 and the GNU compilers, these are not defined.
|
||||
*/
|
||||
#ifdef STRCASECMP_NOT_DEFINED
|
||||
extern int strcasecmp(const char *, const char *);
|
||||
extern int strncasecmp(const char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -2,7 +2,7 @@ XCOMM $TOG: Imakefile /main/4 1997/07/09 10:03:24 samborn $
|
|||
#define PassCDebugFlags /**/
|
||||
#define IHaveSubdirs
|
||||
|
||||
HEADERS = hpversion.h EUSCompat.h
|
||||
HEADERS = EUSCompat.h
|
||||
SUBDIRS = Xm
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/* $XConsortium: hpversion.h /main/5 1996/08/30 15:22:49 drk $ */
|
||||
/* -*-C-*-
|
||||
****************************************************************
|
||||
*/
|
||||
/* The following macro should be invoked once by each of the X11 components
|
||||
to provide standard revision information. */
|
||||
#ifndef lint
|
||||
#define version_tag(FILE_VERSION) \
|
||||
static char _hp_merge_version[] = "@(#)" FILE_VERSION;
|
||||
#else /* lint */
|
||||
#define version_tag(FILE_VERSION)
|
||||
#endif /* lint */
|
||||
|
||||
/* Any revision information other than the standard 'hpversion' macro shoud
|
||||
be conditionally compiled using the VERBOSE_REV_INFO constant so that it
|
||||
can be excluded for official X11 releases. To set VERBOSE_REV_INFO, comment
|
||||
out one of the following 2 blocks. */
|
||||
|
||||
/* This block turns on VERBOSE_REV_INFO */
|
||||
/*
|
||||
#ifndef lint
|
||||
#define VERBOSE_REV_INFO 1
|
||||
#else
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
#undef VERBOSE_REV_INFO
|
||||
#endif
|
||||
#endif
|
||||
*/
|
||||
|
||||
/* This block turns off VERBOSE_REV_INFO */
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
#undef VERBOSE_REV_INFO
|
||||
#endif
|
|
@ -253,38 +253,10 @@ void DtHelpSetCatalogName(
|
|||
if (catFile == NULL)
|
||||
{
|
||||
/* Setup the short and long versions */
|
||||
#ifdef __ultrix
|
||||
CatFileName = strdup("DtHelp.cat");
|
||||
#else
|
||||
CatFileName = strdup("DtHelp");
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef __ultrix
|
||||
|
||||
/* If we have a full path, just use it */
|
||||
if (*catFile == '/')
|
||||
CatFileName = strdup(catFile);
|
||||
else
|
||||
{
|
||||
/* We don't have a full path, and the ultirx os needs the
|
||||
* ".cat" extention so let's make sure its there.
|
||||
*/
|
||||
if (strcmp(&catFile[strlen(catFile) -4], ".cat") == 0)
|
||||
CatFileName = strdup(catFile);
|
||||
else
|
||||
{
|
||||
/* Create our CatFileName with the extention */
|
||||
CatFileName = malloc (strlen(catFile) + 5);
|
||||
/* +5, 1 for NULL, 4 for ".cat" */
|
||||
strcpy(CatFileName, catFile);
|
||||
strcat(CatFileName, ".cat");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
{
|
||||
|
||||
/* If we have a full path, just use it */
|
||||
if (*catFile == '/')
|
||||
|
@ -294,7 +266,7 @@ void DtHelpSetCatalogName(
|
|||
/* hp-ux os does not work with the ".cat" extention, so
|
||||
* if one exists, remove it.
|
||||
*/
|
||||
|
||||
|
||||
if (strcmp(&catFile[strlen(catFile) -4], ".cat") != 0)
|
||||
CatFileName = strdup(catFile);
|
||||
else
|
||||
|
@ -306,7 +278,6 @@ void DtHelpSetCatalogName(
|
|||
CatFileName[len]= '\0';
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
_DtHelpProcessUnlock();
|
||||
}
|
||||
|
@ -340,22 +311,18 @@ char *_DtHelpGetMessage(
|
|||
static nl_catd nlmsg_fd;
|
||||
|
||||
_DtHelpProcessLock();
|
||||
if ( first )
|
||||
if ( first )
|
||||
{
|
||||
|
||||
/* Setup our default message catalog names if none have been set! */
|
||||
if (CatFileName == NULL)
|
||||
{
|
||||
/* Setup the short and long versions */
|
||||
#ifdef __ultrix
|
||||
CatFileName = strdup("DtHelp.cat");
|
||||
#else
|
||||
CatFileName = strdup("DtHelp");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
loc = _DtHelpGetLocale();
|
||||
if (!loc || !(strcmp (loc, "C")))
|
||||
if (!loc || !(strcmp (loc, "C")))
|
||||
/*
|
||||
* If LANG is not set or if LANG=C, then there
|
||||
* is no need to open the message catalog - just
|
||||
|
|
|
@ -78,7 +78,7 @@ SRCS1 = \
|
|||
HyperText.c JpegUtils.c Messages.c \
|
||||
PathArea.c Print.c Resize.c \
|
||||
SetList.c VolSelect.c XInterface.c \
|
||||
XUICreate.c XbmUtils.c version.c
|
||||
XUICreate.c XbmUtils.c
|
||||
|
||||
OBJS1 = \
|
||||
Actions.o AsciiSpc.o Callbacks.o \
|
||||
|
@ -91,7 +91,7 @@ OBJS1 = \
|
|||
HyperText.o JpegUtils.o Messages.o \
|
||||
PathArea.o Print.o Resize.o \
|
||||
SetList.o VolSelect.o XInterface.o \
|
||||
XUICreate.o XbmUtils.o version.o
|
||||
XUICreate.o XbmUtils.o
|
||||
|
||||
SRCS2 = \
|
||||
Access.c AccessCCDF.c AccessSDL.c \
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
/* add any additional revision info here */
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/********************************************************
|
||||
|
||||
Copyright (c) 1988 by Hewlett-Packard Company
|
||||
Copyright (c) 1988 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
and its documentation for any purpose and without fee is hereby
|
||||
granted, provided that the above copyright notice appear in all
|
||||
copies and that both that copyright notice and this permission
|
||||
notice appear in supporting documentation, and that the names of
|
||||
Hewlett-Packard or M.I.T. not be used in advertising or publicity
|
||||
pertaining to distribution of the software without specific, written
|
||||
prior permission.
|
||||
|
||||
(c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
(c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
(c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
||||
(c) Copyright 1993, 1994 Novell, Inc.
|
||||
********************************************************/
|
||||
|
||||
#include <include/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("$XConsortium: version.c /main/7 1996/08/30 15:23:51 drk $")
|
||||
#endif /* lint */
|
|
@ -112,9 +112,9 @@ static char SCCSID[] = "OSF/Motif: @(#)_DtosP.h 4.16 91/09/12";
|
|||
|
||||
#ifdef BOGUS_MB_MAX /* some systems don't properly set MB_[CUR|LEN]_MAX */
|
||||
# undef MB_LEN_MAX
|
||||
# define MB_LEN_MAX 1 /* temp fix for ultrix */
|
||||
# define MB_LEN_MAX 1 /* temp fix */
|
||||
# undef MB_CUR_MAX
|
||||
# define MB_CUR_MAX 1 /* temp fix for ultrix */
|
||||
# define MB_CUR_MAX 1 /* temp fix */
|
||||
#endif /* BOGUS_MB_MAX */
|
||||
|
||||
/**********************************************************************/
|
||||
|
|
|
@ -44,12 +44,6 @@ REQUIREDLIBS = SharedDtSvcReqs $(XINLIB)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
EXTRA_SRCS = svc_init.c
|
||||
EXTRA_OBJS = svc_init.o
|
||||
#endif
|
||||
|
||||
#if defined(SunArchitecture)
|
||||
DTUTIL2_EXTRA_OBJS = DtUtil2/SunDtHelp.o
|
||||
#endif
|
||||
|
@ -60,83 +54,78 @@ DTUTIL2_EXTRA_OBJS = DtUtil2/SunDtHelp.o
|
|||
* Each .o must have a listing in *OBJS macros below.
|
||||
*/
|
||||
DTUTIL1_OBJS1 = \
|
||||
DtUtil1/Action.o DtUtil1/ActionTt.o \
|
||||
DtUtil1/ActionFind.o DtUtil1/ActionDb.o \
|
||||
DtUtil1/ActionUtil.o DtUtil1/CmdSpc.o \
|
||||
DtUtil1/CmdMain.o DtUtil1/CmdProcess.o \
|
||||
DtUtil1/CmdUtilityP.o DtUtil1/DbReader.o \
|
||||
DtUtil1/DbUtil.o DtUtil1/Dnd.o \
|
||||
DtUtil1/DndDrag.o DtUtil1/DndDrop.o \
|
||||
DtUtil1/DndIcon.o DtUtil1/DndBuff.o \
|
||||
DtUtil1/DndFile.o DtUtil1/DndText.o \
|
||||
DtUtil1/Action.o DtUtil1/ActionTt.o \
|
||||
DtUtil1/ActionFind.o DtUtil1/ActionDb.o \
|
||||
DtUtil1/ActionUtil.o DtUtil1/CmdSpc.o \
|
||||
DtUtil1/CmdMain.o DtUtil1/CmdProcess.o \
|
||||
DtUtil1/CmdUtilityP.o DtUtil1/DbReader.o \
|
||||
DtUtil1/DbUtil.o DtUtil1/Dnd.o \
|
||||
DtUtil1/DndDrag.o DtUtil1/DndDrop.o \
|
||||
DtUtil1/DndIcon.o DtUtil1/DndBuff.o \
|
||||
DtUtil1/DndFile.o DtUtil1/DndText.o \
|
||||
DtUtil1/Dt.o DtUtil1/Dts.o \
|
||||
DtUtil1/DtsDb.o DtUtil1/DtsSort.o \
|
||||
DtUtil1/DbLoad.o DtUtil1/DtsInit.o \
|
||||
DtUtil1/DtHash.o DtUtil1/intarray.o \
|
||||
DtUtil1/inttab.o DtUtil1/strtab.o \
|
||||
DtUtil1/DtsDb.o DtUtil1/DtsSort.o \
|
||||
DtUtil1/DbLoad.o DtUtil1/DtsInit.o \
|
||||
DtUtil1/DtHash.o DtUtil1/intarray.o \
|
||||
DtUtil1/inttab.o DtUtil1/strtab.o \
|
||||
DtUtil1/MMDb.o DtUtil1/DtsMM.o \
|
||||
DtUtil1/GetMwmW.o DtUtil1/GetVWmHint.o \
|
||||
DtUtil1/Qualify.o DtUtil1/Saver.o \
|
||||
DtUtil1/SetVWmHint.o DtUtil1/SmComm.o \
|
||||
DtUtil1/SmUtil.o DtUtil1/WmAddDelWs.o \
|
||||
DtUtil1/WmBackWin.o DtUtil1/WmChBackD.o \
|
||||
DtUtil1/WmGWsInfo.o DtUtil1/WmGWsList.o \
|
||||
DtUtil1/WmMarquee.o DtUtil1/WmRestart.o \
|
||||
DtUtil1/WmRmWsFcn.o DtUtil1/WmSetTitle.o \
|
||||
DtUtil1/WmSetWs.o DtUtil1/WmWsCallB.o \
|
||||
DtUtil1/WmWsHints.o DtUtil1/WmWsOccupy.o
|
||||
DtUtil1/GetMwmW.o DtUtil1/GetVWmHint.o \
|
||||
DtUtil1/Qualify.o DtUtil1/Saver.o \
|
||||
DtUtil1/SetVWmHint.o DtUtil1/SmComm.o \
|
||||
DtUtil1/SmUtil.o DtUtil1/WmAddDelWs.o \
|
||||
DtUtil1/WmBackWin.o DtUtil1/WmChBackD.o \
|
||||
DtUtil1/WmGWsInfo.o DtUtil1/WmGWsList.o \
|
||||
DtUtil1/WmMarquee.o DtUtil1/WmRestart.o \
|
||||
DtUtil1/WmRmWsFcn.o DtUtil1/WmSetTitle.o \
|
||||
DtUtil1/WmSetWs.o DtUtil1/WmWsCallB.o \
|
||||
DtUtil1/WmWsHints.o DtUtil1/WmWsOccupy.o
|
||||
|
||||
DTUTIL2_OBJS = \
|
||||
$(DTUTIL2_EXTRA_OBJS) \
|
||||
DtUtil2/ChkpntClient.o DtUtil2/ChkpntListen.o \
|
||||
DtUtil2/DtEnvMap.o DtUtil2/DtNlUtils.o \
|
||||
DtUtil2/EnvControl.o DtUtil2/FileUtil.o \
|
||||
DtUtil2/GetDispRes.o DtUtil2/GetMessage.o \
|
||||
DtUtil2/HourGlass.o DtUtil2/SharedProcs.o \
|
||||
DtUtil2/SmCreateDirs.o DtUtil2/UErrNoBMS.o \
|
||||
DtUtil2/Utility.o DtUtil2/ActIndicator.o \
|
||||
DtUtil2/CmdUtility.o DtUtil2/DtGetMessage.o \
|
||||
DtUtil2/DtUtil.o DtUtil2/GetEmbed.o \
|
||||
DtUtil2/ChkpntClient.o DtUtil2/ChkpntListen.o \
|
||||
DtUtil2/DtEnvMap.o DtUtil2/DtNlUtils.o \
|
||||
DtUtil2/EnvControl.o DtUtil2/FileUtil.o \
|
||||
DtUtil2/GetDispRes.o DtUtil2/GetMessage.o \
|
||||
DtUtil2/HourGlass.o DtUtil2/SharedProcs.o \
|
||||
DtUtil2/SmCreateDirs.o DtUtil2/UErrNoBMS.o \
|
||||
DtUtil2/Utility.o DtUtil2/ActIndicator.o \
|
||||
DtUtil2/CmdUtility.o DtUtil2/DtGetMessage.o \
|
||||
DtUtil2/DtUtil.o DtUtil2/GetEmbed.o \
|
||||
DtUtil2/Hash.o DtUtil2/PrintXErr.o \
|
||||
DtUtil2/XmWrap.o DtUtil2/addToRes.o \
|
||||
DtUtil2/XmWrap.o DtUtil2/addToRes.o \
|
||||
DtUtil2/lock.o DtUtil2/SvcTT.o \
|
||||
DtUtil2/MsgCat.o DtUtil2/MsgLog.o \
|
||||
DtUtil2/MsgCat.o DtUtil2/MsgLog.o \
|
||||
DtUtil2/Info.o DtUtil2/LocaleXlate.o \
|
||||
DtUtil2/XlationSvc.o
|
||||
|
||||
DTCODELIBS_OBJS3 = \
|
||||
DtCodelibs/buf.o DtCodelibs/filegen.o \
|
||||
DtCodelibs/mbschr.o DtCodelibs/pathcollapse.o \
|
||||
DtCodelibs/privbuf.o DtCodelibs/shellscan.o \
|
||||
DtCodelibs/strcase.o DtCodelibs/strend.o \
|
||||
DtCodelibs/strhash.o DtCodelibs/stringio.o \
|
||||
DtCodelibs/strtokx.o DtCodelibs/strwcmp.o
|
||||
DtCodelibs/buf.o DtCodelibs/filegen.o \
|
||||
DtCodelibs/mbschr.o DtCodelibs/pathcollapse.o \
|
||||
DtCodelibs/privbuf.o DtCodelibs/shellscan.o \
|
||||
DtCodelibs/strcase.o DtCodelibs/strend.o \
|
||||
DtCodelibs/strhash.o DtCodelibs/stringio.o \
|
||||
DtCodelibs/strtokx.o DtCodelibs/strwcmp.o
|
||||
|
||||
DTENCAP_OBJS4 = \
|
||||
DtEncap/MemoryMgr.o DtEncap/SbEvent.o \
|
||||
DtEncap/Symbolic.o DtEncap/bmsglob.o \
|
||||
DtEncap/connect.o DtEncap/local.o \
|
||||
DtEncap/MemoryMgr.o DtEncap/SbEvent.o \
|
||||
DtEncap/Symbolic.o DtEncap/bmsglob.o \
|
||||
DtEncap/connect.o DtEncap/local.o \
|
||||
DtEncap/nls.o DtEncap/noio.o \
|
||||
DtEncap/pathwexp.o DtEncap/pipe.o \
|
||||
DtEncap/pathwexp.o DtEncap/pipe.o \
|
||||
DtEncap/pty.o DtEncap/remote.o \
|
||||
DtEncap/sbstdinc.o DtEncap/scoop.o \
|
||||
DtEncap/spc-env.o DtEncap/spc-error.o \
|
||||
DtEncap/spc-exec.o DtEncap/spc-net.o \
|
||||
DtEncap/spc-obj.o DtEncap/spc-proto.o \
|
||||
DtEncap/spc-sm.o DtEncap/spc-termio.o \
|
||||
DtEncap/spc-util.o DtEncap/spc-xt.o \
|
||||
DtEncap/sbstdinc.o DtEncap/scoop.o \
|
||||
DtEncap/spc-env.o DtEncap/spc-error.o \
|
||||
DtEncap/spc-exec.o DtEncap/spc-net.o \
|
||||
DtEncap/spc-obj.o DtEncap/spc-proto.o \
|
||||
DtEncap/spc-sm.o DtEncap/spc-termio.o \
|
||||
DtEncap/spc-util.o DtEncap/spc-xt.o \
|
||||
DtEncap/spc.o DtEncap/stringbuf.o \
|
||||
DtEncap/usersig.o
|
||||
|
||||
DTXPM_OBJS5 = \
|
||||
DtXpm/xpm.o
|
||||
|
||||
|
||||
SRCS = version.c $(EXTRA_SRCS)
|
||||
OBJS = version.o $(EXTRA_OBJS) \
|
||||
$(DTUTIL1_OBJS1) $(DTUTIL1_OBJS2) $(DTUTIL2_OBJS) \
|
||||
OBJS = $(EXTRA_OBJS) $(DTUTIL1_OBJS1) $(DTUTIL1_OBJS2) $(DTUTIL2_OBJS) \
|
||||
$(DTCODELIBS_OBJS3) $(DTENCAP_OBJS4) $(DTXPM_OBJS5)
|
||||
|
||||
#include <Library.tmpl>
|
||||
|
||||
DependTarget()
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/* $XConsortium: svc_init.c /main/3 1996/07/09 14:47:28 drk $ */
|
||||
|
||||
#include <sys/uswitch.h>
|
||||
#include <errno.h>
|
||||
|
||||
/*
|
||||
* Activate System V Null pointer treatment. This allows dereferences
|
||||
* of NULL pointers in the CDE executables to work.
|
||||
*
|
||||
* This procedure is obsolete. Dereferencing a NULL pointer is
|
||||
* an error, and such code should be repaired.
|
||||
*/
|
||||
|
||||
svc_init()
|
||||
{
|
||||
int usw_val;
|
||||
|
||||
usw_val=uswitch(USC_GET,0);
|
||||
if ((uswitch(USC_SET, usw_val | USW_NULLP)) == 01) {
|
||||
perror("svc_init");
|
||||
return(-1);
|
||||
}
|
||||
return(0);
|
||||
}
|
|
@ -1,55 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
|
||||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
/* add any additional revision info here */
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/********************************************************
|
||||
|
||||
Copyright (c) 1988 by Hewlett-Packard Company
|
||||
Copyright (c) 1988 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
and its documentation for any purpose and without fee is hereby
|
||||
granted, provided that the above copyright notice appear in all
|
||||
copies and that both that copyright notice and this permission
|
||||
notice appear in supporting documentation, and that the names of
|
||||
Hewlett-Packard or M.I.T. not be used in advertising or publicity
|
||||
pertaining to distribution of the software without specific, written
|
||||
prior permission.
|
||||
|
||||
********************************************************/
|
||||
|
||||
#include <include/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("$XConsortium: version.c /main/5 1996/08/30 15:24:25 drk $")
|
||||
#endif /* lint */
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: Term.c /main/2 1998/01/21 14:57:06 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermAction.c /main/1 1996/04/21 19:15:17 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermBuffer.c /main/2 1997/04/17 18:04:41 samborn $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermColor.c /main/2 1996/05/08 13:31:00 ageorge $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermEnhance.c /main/1 1996/04/21 19:15:41 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermFunction.c /main/2 1998/03/16 14:41:27 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermFunctionKey.c /main/1 1996/04/21 19:15:53 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermParse.c /main/3 1999/10/15 12:25:13 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -30,11 +30,4 @@
|
|||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*/
|
||||
|
||||
#include <include/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("dtterm1.0: $XConsortium: TermVersion.c /main/2 1996/08/30 15:24:52 drk $")
|
||||
#endif /* lint */
|
||||
|
||||
char _DtTermPullInTermWhatString[] = "";
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrim.c /main/15 1999/10/14 16:35:04 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimAction.c /main/1 1996/04/21 19:16:44 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimBuffer.c /main/1 1996/04/21 19:16:49 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimBufferWc.c /main/1 1996/04/21 19:16:59 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimCursor.c /main/1 1996/04/21 19:17:13 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimDebug.c /main/4 1996/11/21 19:58:15 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimFunction.c /main/1 1996/04/21 19:17:27 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimGetPty-bsd.c /main/4 1996/11/21 19:58:32 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimGetPty-clone.c /main/7 1998/04/03 17:11:08 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimGetPty-svr4.c /main/1 1996/04/21 19:17:39 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimLineDraw.c /main/1 1996/04/21 19:17:48 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#define NL_SETN_Function 3
|
||||
#define NL_SETN_Prim 4
|
||||
#define NL_SETN_PrimRend 5
|
||||
#define NL_SETN_View 6
|
||||
#define NL_SETN_View 6
|
||||
#define NL_SETN_ViewGlobalDialog 7
|
||||
#define NL_SETN_ViewMenu 8
|
||||
#define NL_SETN_ViewTerminalDialog 9
|
||||
|
@ -54,11 +54,7 @@
|
|||
#ifndef NO_MESSAGE_CATALOG
|
||||
extern char *_DtTermPrimGetMessage( char *filename, int set, int n, char *s );
|
||||
|
||||
# ifdef __ultrix
|
||||
# define _CLIENT_CAT_NAME "dtterm.cat"
|
||||
# else /* __ultrix */
|
||||
# define _CLIENT_CAT_NAME "dtterm"
|
||||
# endif /* __ultrix */
|
||||
# define GETMESSAGE(set, number, string)\
|
||||
_DtTermPrimGetMessage(_CLIENT_CAT_NAME, set, number, string)
|
||||
#else
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimParse.c /main/1 1996/04/21 19:18:12 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimParser.c /main/2 1999/10/15 12:23:41 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimPendingText.c /main/3 1997/07/03 15:40:05 samborn $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimRender.c /main/3 1999/07/20 17:34:54 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimRenderFont.c /main/1 1996/04/21 19:18:47 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimRenderFontSet.c /main/1 1996/04/21 19:18:53 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimRenderLineDraw.c /main/1 1996/04/21 19:18:59 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimRenderMb.c /main/1 1996/04/21 19:19:05 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimRepType.c /main/1 1996/04/21 19:19:11 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimScroll.c /main/1 1996/04/21 19:19:17 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimSelect.c /main/6 1999/10/14 16:22:53 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimSetPty.c /main/2 1998/04/03 17:11:24 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimSetUtmp.c /main/10 1998/04/03 17:11:42 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimSubproc.c /main/11 1998/04/20 12:45:57 mgreess $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$TOG: TermPrimUtil.c /main/3 1997/04/17 18:25:29 samborn $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -30,11 +30,4 @@
|
|||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*/
|
||||
|
||||
#include <include/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("DtTermPrimitiveWidget: $XConsortium: TermPrimVersion.c /main/2 1996/08/30 15:25:43 drk $")
|
||||
#endif /* lint */
|
||||
|
||||
char _DtTermPrimPullInTermWhatString[] = "";
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermPrimWMProtocols.c /main/1 1996/04/21 19:20:04 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermView.c /main/1 1996/04/21 19:20:13 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermViewGlobalDialog.c /main/2 1996/08/28 16:49:57 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermViewMenu.c /main/4 1996/09/26 16:42:48 samborn $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994, 1996 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994, 1996 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: TermViewTerminalDialog.c /main/2 1996/08/28 16:50:55 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
static char rcs_id[] = "$XConsortium: lineToData.c /main/1 1996/04/21 19:20:58 drk $";
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/* *
|
||||
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
||||
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
#ifndef lint
|
||||
#ifdef VERBOSE_REV_INFO
|
||||
/* add any additional revision info here */
|
||||
#endif /* VERBOSE_REV_INFO */
|
||||
#endif /* lint */
|
||||
|
||||
/********************************************************
|
||||
|
||||
Copyright (c) 1988 by Hewlett-Packard Company
|
||||
Copyright (c) 1988 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
and its documentation for any purpose and without fee is hereby
|
||||
granted, provided that the above copyright notice appear in all
|
||||
copies and that both that copyright notice and this permission
|
||||
notice appear in supporting documentation, and that the names of
|
||||
Hewlett-Packard or M.I.T. not be used in advertising or publicity
|
||||
pertaining to distribution of the software without specific, written
|
||||
prior permission.
|
||||
|
||||
********************************************************/
|
||||
|
||||
#include <X11/hpversion.h>
|
||||
|
||||
#ifndef lint
|
||||
version_tag("$XConsortium: version.c /main/4 1996/08/30 15:26:32 drk $")
|
||||
#endif /* lint */
|
|
@ -35,10 +35,7 @@
|
|||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#if defined(ultrix)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/stat.h>
|
||||
#include "prop.h"
|
||||
#include "ttdbck.h"
|
||||
|
||||
|
|
|
@ -37,10 +37,7 @@
|
|||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(ultrix)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/stat.h>
|
||||
#include "spec.h"
|
||||
#include "options_tt.h"
|
||||
#include "util/tt_gettext.h"
|
||||
|
|
|
@ -35,13 +35,10 @@
|
|||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#if defined(ultrix)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#if defined(_AIX)
|
||||
#include <time.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/stat.h>
|
||||
#include "spec.h"
|
||||
#include "options_tt.h"
|
||||
#include "ttdbck.h"
|
||||
|
|
|
@ -44,10 +44,6 @@
|
|||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#if defined(ultrix)
|
||||
#include <sys/inode.h>
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include "api/c/tt_c.h"
|
||||
|
|
|
@ -44,10 +44,6 @@
|
|||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#if defined(ultrix)
|
||||
#include <sys/inode.h>
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include "api/c/tt_c.h"
|
||||
|
|
|
@ -60,10 +60,6 @@
|
|||
#define _TT_DBCLIENT_SIDE
|
||||
#include "db/db_server.h"
|
||||
|
||||
#if defined(ultrix)
|
||||
extern "C" void xdrstdio_create(XDR *, FILE *, enum xdr_op);
|
||||
#endif
|
||||
|
||||
typedef void (*cmd_fn)();
|
||||
|
||||
TT_INSERT_COPYRIGHT
|
||||
|
|
|
@ -77,25 +77,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <isam.h>
|
||||
|
||||
#if defined(ultrix)
|
||||
# include <sys/time.h>
|
||||
# include <sys/mount.h>
|
||||
# include <sys/fs_types.h>
|
||||
# define KERNEL
|
||||
# include </usr/sys/h/fs_types.h>
|
||||
# undef KERNEL
|
||||
# define MNTTAB "/etc/fstab"
|
||||
const char *TYPE_NFS = "nfs";
|
||||
const char *TYPE_LOCAL = "ufs";
|
||||
extern "C"
|
||||
{
|
||||
int getmnt(int *,struct fs_data*, int, int, char*);
|
||||
time_t time();
|
||||
}
|
||||
#else
|
||||
# include <time.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
extern "C" { int isaddindex(int, struct keydesc*); }
|
||||
extern "C" { int isbuild(const char*, int, struct keydesc*, int); }
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(ultrix)
|
||||
#include <sys/inode.h>
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include "tttar_utils.h"
|
||||
#include "tttar_file_utils.h"
|
||||
|
|
|
@ -41,11 +41,6 @@
|
|||
#include <rpc/xdr.h>
|
||||
#include <util/tt_rpc_xdr.h>
|
||||
|
||||
#if defined(ultrix)
|
||||
#include <rpc/xdr.h>
|
||||
#define bool_t int
|
||||
#endif
|
||||
|
||||
bool_t _tt_xdr_cstring_list(XDR *xdrs, char ***ar);
|
||||
|
||||
#endif /* _API_XDR_H */
|
||||
|
|
|
@ -38,17 +38,6 @@
|
|||
#include <mp/mp_global.h>
|
||||
#include <util/tt_object.h>
|
||||
|
||||
#if defined(ultrix)
|
||||
extern "C"
|
||||
{ extern struct XSizeHints;
|
||||
extern struct XStandardColormap;
|
||||
extern struct XTextProperty;
|
||||
extern struct XWMHints;
|
||||
extern struct XClassHint;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
enum _Tt_dt_type {
|
||||
_TT_DESKTOP_X11,
|
||||
_TT_DESKTOP_LAST
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
# undef __SVR4_I386_ABI_L1__
|
||||
#endif
|
||||
|
||||
#if defined(ultrix) || defined(_AIX)
|
||||
#if defined(_AIX)
|
||||
extern "C" {
|
||||
void svcerr_auth (SVCXPRT *, enum auth_stat);
|
||||
SVCXPRT *svcfd_create(int,int,int);
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
*
|
||||
* Copyright (c) 1990 by Sun Microsystems, Inc.
|
||||
*/
|
||||
#include <sys/time.h> // ultrix
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
@ -50,16 +50,6 @@
|
|||
#include "util/tt_host.h"
|
||||
#include "util/tt_port.h"
|
||||
|
||||
#if defined(ultrix)
|
||||
extern "C"
|
||||
{ extern struct XSizeHints;
|
||||
extern struct XStandardColormap;
|
||||
extern struct XTextProperty;
|
||||
extern struct XWMHints;
|
||||
extern struct XClassHint;
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(_AIX)
|
||||
/* AIX's FD_ZERO macro uses bzero() without declaring it. */
|
||||
#include <strings.h>
|
||||
|
|
|
@ -149,7 +149,7 @@ c_open_unix_socket(char *socket_name)
|
|||
memset(&server_addr, 0, sizeof(server_addr));
|
||||
server_addr.sun_family = AF_UNIX;
|
||||
strcpy(server_addr.sun_path, socket_name);
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux)
|
||||
#if defined(_AIX) || defined(hpux)
|
||||
int servlen = strlen(server_addr.sun_path) + sizeof(server_addr.sun_fam\
|
||||
ily);
|
||||
if (connect(sock, (sockaddr *)&server_addr, servlen) < 0) {
|
||||
|
|
|
@ -57,10 +57,6 @@
|
|||
|
||||
#include <sys/time.h>
|
||||
|
||||
#if defined(ultrix)
|
||||
extern "C" unsigned long inet_addr(char *);
|
||||
#endif
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,144 +0,0 @@
|
|||
/*
|
||||
* CDE - Common Desktop Environment
|
||||
*
|
||||
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
||||
*
|
||||
* These libraries and programs are free software; you can
|
||||
* redistribute them and/or modify them under the terms of the GNU
|
||||
* Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* These libraries and programs are distributed in the hope that
|
||||
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU Lesser General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with these libraries and programs; if not, write
|
||||
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
||||
* Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
/*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
|
||||
/*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
|
||||
/*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
|
||||
/*%% (c) Copyright 1993, 1994 Novell, Inc. */
|
||||
/*%% $XConsortium: realpath.ultrix.c /main/3 1995/10/23 09:50:04 rswiston $ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include <strings.h>
|
||||
|
||||
char *
|
||||
realpath(pathname, finalpath)
|
||||
char *pathname;
|
||||
char *finalpath;
|
||||
{
|
||||
struct stat sbuf;
|
||||
char curpath[MAXPATHLEN],
|
||||
workpath[MAXPATHLEN],
|
||||
linkpath[MAXPATHLEN],
|
||||
namebuf[MAXPATHLEN],
|
||||
*where,
|
||||
*ptr,
|
||||
*last;
|
||||
int len;
|
||||
|
||||
strcpy(curpath, pathname);
|
||||
|
||||
if (*pathname != '/') {
|
||||
#if defined(__STDC__) && defined(hp)
|
||||
if (!getcwd(workpath)) {
|
||||
#else
|
||||
if (!getwd(workpath)) {
|
||||
#endif
|
||||
strcpy(finalpath, ".");
|
||||
return(NULL);
|
||||
}
|
||||
} else *workpath = NULL;
|
||||
|
||||
/* curpath is the path we're still resolving */
|
||||
/* linkpath is the path a symbolic link points to */
|
||||
/* workpath is the path we've resolved */
|
||||
|
||||
loop:
|
||||
where = curpath;
|
||||
while (*where != NULL) {
|
||||
if (!strcmp(where, ".")) {
|
||||
where++;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* deal with "./" */
|
||||
if (!strncmp(where, "./", 2)) {
|
||||
where += 2;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* deal with "../" */
|
||||
if (!strncmp(where, "../", 3)) {
|
||||
where += 3;
|
||||
ptr = last = workpath;
|
||||
while (*ptr) {
|
||||
if (*ptr == '/') last = ptr;
|
||||
ptr++;
|
||||
}
|
||||
*last = NULL;
|
||||
continue;
|
||||
}
|
||||
|
||||
ptr = strchr(where, '/');
|
||||
if (!ptr)
|
||||
ptr = where + strlen(where) - 1;
|
||||
else
|
||||
*ptr = NULL;
|
||||
|
||||
strcpy(namebuf, workpath);
|
||||
for (last = namebuf; *last; last++) continue;
|
||||
/* tack on a trailing, or leading, `/` */
|
||||
if (last == namebuf || *--last != '/') {
|
||||
strcat(namebuf, "/");
|
||||
}
|
||||
strcat(namebuf, where);
|
||||
|
||||
where = ++ptr;
|
||||
if (lstat(namebuf, &sbuf) == -1) {
|
||||
strcpy(finalpath, namebuf);
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
if ((sbuf.st_mode & S_IFLNK) == S_IFLNK) {
|
||||
len = readlink(namebuf, linkpath, MAXPATHLEN);
|
||||
if (len == 0) {
|
||||
strcpy(finalpath, namebuf);
|
||||
return(NULL);
|
||||
}
|
||||
*(linkpath + len) = NULL; /* readlink doesn't null-terminate result */
|
||||
if (*linkpath == '/') *workpath = NULL;
|
||||
if (*where) {
|
||||
strcat(linkpath, "/");
|
||||
strcat(linkpath, where);
|
||||
}
|
||||
strcpy(curpath, linkpath);
|
||||
goto loop;
|
||||
}
|
||||
|
||||
if ((sbuf.st_mode & S_IFDIR) == S_IFDIR) {
|
||||
strcpy(workpath, namebuf);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (*where) {
|
||||
strcpy(finalpath, namebuf);
|
||||
return(NULL); /* path/notadir/morepath */
|
||||
} else
|
||||
strcpy(workpath, namebuf);
|
||||
}
|
||||
strcpy(finalpath, workpath);
|
||||
return(finalpath);
|
||||
|
||||
}
|
||||
|
|
@ -355,17 +355,6 @@
|
|||
# undef OPT_CLASSING_ENGINE
|
||||
# define OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
|
||||
#elif defined(ultrix)
|
||||
|
||||
# undef OPT_UNIX_SOCKET_RPC
|
||||
# undef OPT_TLI
|
||||
# undef OPT_DLOPEN_X11
|
||||
# undef OPT_DLOPEN_CE
|
||||
# undef OPT_ADDMSG_DIRECT
|
||||
# undef OPT_SECURE_RPC
|
||||
# undef OPT_CLASSING_ENGINE
|
||||
# undef OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
|
||||
#elif defined(__hpux) || defined(hpux)
|
||||
|
||||
# undef OPT_UNIX_SOCKET_RPC
|
||||
|
|
|
@ -33,9 +33,6 @@
|
|||
*/
|
||||
#include "util/tt_int_rec.h"
|
||||
#include "util/tt_iostream.h"
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
|
||||
_Tt_int_rec::
|
||||
_Tt_int_rec()
|
||||
|
|
|
@ -35,9 +35,6 @@
|
|||
#define TT_INT_REC_H
|
||||
#include <util/tt_object.h>
|
||||
#include <util/tt_list.h>
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* _Tt_int_rec is essentially just a wrapper around an integer so we can
|
||||
|
|
|
@ -41,10 +41,6 @@
|
|||
#include <sys/types.h>
|
||||
#endif /* __STDC__ */
|
||||
#include <stdlib.h>
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#define bool_t int
|
||||
#endif
|
||||
#if defined(sun)
|
||||
# define MALLOCTYPE char
|
||||
#else
|
||||
|
|
|
@ -42,10 +42,6 @@
|
|||
#include "util/tt_generic.h"
|
||||
#include "util/tt_new.h"
|
||||
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
|
||||
class _Tt_object;
|
||||
class _Tt_new_ptr : public _Tt_allocated {
|
||||
protected:
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
#ifndef _TT_OBJECT_H
|
||||
#define _TT_OBJECT_H
|
||||
#include "util/tt_ptr.h"
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
|
||||
declare_ptr_to(_Tt_object)
|
||||
|
||||
|
|
|
@ -41,10 +41,6 @@
|
|||
# undef remove
|
||||
#endif
|
||||
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
|
||||
class _Tt_object_list_element;
|
||||
class _Tt_object_list_ptr;
|
||||
class _Tt_object_list: public _Tt_object {
|
||||
|
|
|
@ -49,9 +49,6 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <memory.h>
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
|
||||
|
|
|
@ -59,9 +59,6 @@ extern "C" {
|
|||
#include "util/tt_list.h"
|
||||
#include "util/tt_object.h"
|
||||
#include <memory.h>
|
||||
#if defined(ultrix)
|
||||
#define bool_t int
|
||||
#endif
|
||||
|
||||
const int _Tt_string_unlimited = -1;
|
||||
const int _Tt_string_user_width = -2;
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
* Copyright (c) 1990 by Sun Microsystems, Inc.
|
||||
*/
|
||||
#include <stdint.h>
|
||||
#if defined(ultrix)
|
||||
#include <rpc/types.h>
|
||||
#define bool_t int
|
||||
#endif
|
||||
#include <rpc/rpc.h>
|
||||
#include <util/tt_xdr_utils.h>
|
||||
#include <memory.h>
|
||||
|
@ -81,9 +77,7 @@ tt_x_putbytes(XDR *xp, caddr_t, int len)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#if defined(ultrix)
|
||||
static int*
|
||||
#elif defined(CSRG_BASED) || defined(__linux__)
|
||||
#if defined(CSRG_BASED) || defined(__linux__)
|
||||
static int32_t*
|
||||
#else
|
||||
static long *
|
||||
|
@ -104,9 +98,8 @@ tt_x_inline(XDR *xp, int len)
|
|||
*/
|
||||
if (len > 0 && (caddr_t) (intptr_t) len < xp->x_base) {
|
||||
xp->x_handy += RNDUP (len);
|
||||
#if defined(ultrix)
|
||||
return (int *) xp->x_private;
|
||||
#elif defined(CSRG_BASED) || defined(__linux__)
|
||||
|
||||
#if defined(CSRG_BASED) || defined(__linux__)
|
||||
return (int32_t *) xp->x_private;
|
||||
#else
|
||||
return (long *) xp->x_private;
|
||||
|
|
|
@ -42,9 +42,6 @@
|
|||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <syslog.h>
|
||||
#ifdef __ultrix__
|
||||
#define LOG_USER LOG_INFO
|
||||
#endif
|
||||
/*
|
||||
* _isfatal_error(msg)
|
||||
*
|
||||
|
|
|
@ -948,7 +948,7 @@ signal_new_message(_Tt_message_ptr &m)
|
|||
#if defined(sun) && defined(SVR4)
|
||||
typedef int (*Xdrrec_reader)(...);
|
||||
typedef int (*Xdrrec_writer)(...);
|
||||
#elif defined(sun) & !defined(SVR4) || defined(ultrix)
|
||||
#elif defined(sun) && !defined(SVR4)
|
||||
typedef int (*Xdrrec_reader)();
|
||||
typedef int (*Xdrrec_writer)();
|
||||
#else
|
||||
|
|
|
@ -115,7 +115,7 @@ s_open_unix_socket(char *socket_name)
|
|||
server_addr.sun_family = AF_UNIX;
|
||||
(void)unlink(socket_name);
|
||||
strcpy(server_addr.sun_path, socket_name);
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux)
|
||||
#if defined(_AIX) || defined(hpux)
|
||||
int servlen = strlen(server_addr.sun_path) + sizeof(server_addr.sun_fam\
|
||||
ily);
|
||||
if (bind(sock, (struct sockaddr *)&server_addr,servlen) < 0) {
|
||||
|
@ -377,23 +377,6 @@ check_for_live_session()
|
|||
return(TT_OK);
|
||||
}
|
||||
|
||||
#if defined(ultrix)
|
||||
/* strdup - make duplicate of string s */
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
|
||||
static char *
|
||||
strdup(char *s)
|
||||
{
|
||||
char *p;
|
||||
|
||||
p = (char *)malloc(strlen(s) + 1); /* + 1 for '\0' character */
|
||||
if (p != NULL)
|
||||
strcpy(p,s);
|
||||
return p;
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// Advertises a session procid so that any clients that come up within
|
||||
// the appropiate domain will find the session id.
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue