1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Merge branch 'master' into cde-next

This commit is contained in:
Jon Trulson 2018-11-04 10:56:04 -07:00
commit 2c1f56d37c
163 changed files with 1492 additions and 3581 deletions

View file

@ -7,16 +7,6 @@ NSGMLSDIR = nsgmls
#endif
EXTRADIRS = types localized tttypes $(NSGMLSDIR) util dtopen
XCOMM some of these cannot be built on linux yet.
XCOMM dtinfo
#if defined(LinuxArchitecture)
DTINFODIR = dtinfo
#elif defined(BSDArchitecture)
DTINFODIR = dtinfo
#else
DTINFODIR = dtinfo
#endif
SUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm dtlogin \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
@ -25,7 +15,7 @@ SUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm dtlogin \
dtappbuilder dtappintegrate dtprintegrate dtconfig \
dtcreate dtprintinfo fontaliases dtdspmsg ttsnoop \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
dtpdmd $(DTINFODIR) $(EXTRADIRS)
dtpdmd dtinfo $(EXTRADIRS)
LINTSUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm dtlogin \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
@ -33,7 +23,7 @@ LINTSUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm dtlogin \
dtscreen dtksh dtcm dtsearchpath \
dtappbuilder dtappintegrate dtprintegrate dtprintinfo dtdspmsg \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
dtpdmd $(DTINFODIR) $(EXTRADIRS)
dtpdmd dtinfo $(EXTRADIRS)
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

View file

@ -12,15 +12,8 @@ SYS_LIBRARIES = -lm
EXTRA_DEFINES = +e
#endif
#ifdef LinuxArchitecture
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef FreeBSDArchitecture
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef NetBSDArchitecture
#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || \
defined(NetBSDArchitecture)
SYS_LIBRARIES = -lm -lcrypt
#endif

View file

@ -137,11 +137,7 @@ XtResource resources[] =
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtact.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtact"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtact"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -21,18 +21,15 @@ SYS_LIBRARIES = -lmsaa -liconv
SYS_LIBRARIES = -lintl -lm -ldl
#endif
#if defined(HPOSFArchitecture)
#endif
SRCS = calctool.c ds_common.c ds_popup.c \
ds_widget.c ds_xlib.c functions.c \
help.c motif.c mp.c \
text.c version.c
text.c
OBJS = calctool.o ds_common.o ds_popup.o \
ds_widget.o ds_xlib.o functions.o \
help.o motif.o mp.o \
text.o version.o
text.o
ComplexProgramTarget(dtcalc)

View file

@ -55,11 +55,7 @@ extern char *MSGFILE_MESSAGE ;
#define bindtextdomain(f, s)
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtcalc.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtcalc"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtcalc"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -1,45 +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: version.c /main/5 1996/08/30 15:28:16 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
#include <include/hpversion.h>
#ifndef lint
version_tag("dtcalc: $XConsortium: version.c /main/5 1996/08/30 15:28:16 drk $")
#endif /* lint */

View file

@ -62,8 +62,7 @@ SRCS = \
fileio.c \
af_aux.c \
icon_selection_dialog.c \
parser.c \
version.c
parser.c
OBJS = \
main.o \
@ -81,8 +80,7 @@ OBJS = \
fileio.o \
af_aux.o \
icon_selection_dialog.o \
parser.o \
version.o
parser.o
NormalLibraryObjectRule()
@ -91,8 +89,7 @@ ComplexProgramTarget(dtcreate)
/***** For dtge make a client_OBJS.o using client_main.o ******/
/***** This implies the existence of client_main.c ******/
/***** dtge hidden symbols *******/
#ifdef BuildHugeObject
#ifdef HPArchitecture
#if defined(BuildHugeObject) && defined(HPArchitecture)
#ifdef __hp9000s300
HIDDEN_SYMBOLS = -h _main -h _HelpOnItemCB -h _CreateHelpDialog \
-h _DisplayHelpDialog -h _ChangeTitle
@ -100,6 +97,5 @@ HIDDEN_SYMBOLS = -h _main -h _HelpOnItemCB -h _CreateHelpDialog \
HIDDEN_SYMBOLS = -h main -h HelpOnItemCB -h CreateHelpDialog \
-h DisplayHelpDialog -h ChangeTitle
#endif
#endif
SpecialRelocatableTarget(dtcreate,$(HIDDEN_SYMBOLS),$(OBJS))
#endif

View file

@ -1,27 +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
*/
#include <include/hpversion.h>
#ifndef lint
version_tag("dtcreate: $XConsortium: version.c /main/5 1996/08/30 15:29:02 drk $")
#endif /* lint */

View file

@ -3,16 +3,23 @@ XCOMM $XConsortium: Imakefile /main/6 1996/11/29 11:06:09 rswiston $
XLATESRC = $(DTSVCSRC)/DtUtil2
TCLINC =
TCLLIB =
TCLLIB = -ltcl
#if defined(LinuxArchitecture)
TCLINC = -I/usr/include/tcl
TCLLIB = -ltcl
#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
TCLINC = -I/usr/local/include/tcl8.6
TCLLIB = -ltcl86
#endif
#if defined(TCLInc)
TCLINC = TCLInc
#endif
#if defined(TCLLib)
TCLLIB = TCLLib
#endif
INCLUDES = -I../lib/tptregexp -I$(XLATESRC) $(TCLINC)
DEPLIBS = $(DEPDTSVCLIB)
LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) \

View file

@ -55,6 +55,11 @@ static char *gen_h_RCSid =
/* get Tcl header so the variables make sense */
#include <tcl.h>
/* Compatibility with pre 8.6 versions */
#if (TCL_MAJOR_VERSION < 8) || (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)
# define Tcl_GetErrorLine(x) ((x)->errorLine)
#endif
/* instant variable delimiter (can't use '$', collides with Tcl) */
#define VDELIM '@'

View file

@ -6,8 +6,8 @@ DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMSGLOG_CLIENT_ONLY
INCLUDES = -I. $(TIRPCINC)
SRCS = DtGetMessage.c Main.c MsgLog.c Version.c
OBJS = DtGetMessage.o Main.o MsgLog.o Version.o
SRCS = DtGetMessage.c Main.c MsgLog.c
OBJS = DtGetMessage.o Main.o MsgLog.o
ComplexProgramTarget(dtexec)

View file

@ -1,61 +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: Version.c /main/5 1996/08/30 15:30:02 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
/********************************************************
Copyright (c) 1988, 1990 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("dtexec: $XConsortium: Version.c /main/5 1996/08/30 15:30:02 drk $")
#endif /* lint */

View file

@ -68,29 +68,12 @@
#include <signal.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
/** The following ifdefs need to be straightened out
** They are a mess.
**/
#ifdef sun
#include <unistd.h>
#include <limits.h>
#ifndef SVR4
#if defined(sun) && !defined(SVR4)
#include <ufs/fs.h>
#endif
#else
#ifdef __ultrix
#include <unistd.h>
#include <limits.h>
#include <ufs/fs.h>
#else
#include <unistd.h>
#include <limits.h>
#ifdef __hpux
#include <unistd.h>
#endif
#endif /* __ultrix */
#endif /* sun */
#include <Xm/Xm.h>
@ -134,15 +117,6 @@ CheckAccess(
uid_t save_ruid;
gid_t save_rgid;
#if defined(__ultrix)
/*--------------------------------------------------------------------
* access code for __ultrix
*------------------------------------------------------------------*/
setreuid(geteuid(),-1);
return access (fname, what);
#else
#ifdef BLS
/*--------------------------------------------------------------------
* access code for BLS
@ -181,7 +155,6 @@ CheckAccess(
return access_priv;
#endif /* BLS */
#endif /* Apollo */
}
@ -975,8 +948,7 @@ FileManip(
if (lstat (to, &s2) >= 0) /* <to> exists */
{
if ((stat (to, &s3) >= 0) &&
#if defined(__ultrix) || defined(__linux__) || \
defined(CSRG_BASED)
#if defined(__linux__) || defined(CSRG_BASED)
(((s3.st_mode & S_IFMT) == S_IFDIR) /* if is a directory */
|| ((s3.st_mode & S_IFMT) == S_IFSOCK)) ) /* or a net special */
#else

View file

@ -1821,7 +1821,7 @@ ExecuteFind(
if (access_priv == -1 && geteuid() != root_user)
{
#else
# if defined(__ultrix) || defined(__linux__) || defined(CSRG_BASED)
# if defined(__linux__) || defined(CSRG_BASED)
rv = setreuid(geteuid(),-1);
if (access ((char *) path, R_OK) == -1)
{

View file

@ -55,8 +55,7 @@ SRCS = ChangeDir.c ChangeDirP.c Command.c Common.c \
IconicPath.c Main.c Menu.c MkDir.c \
ModAttr.c ModAttrP.c MultiView.c OverWrite.c \
Prefs.c PrefsP.c SharedMsgs.c SharedProcs.c \
ToolTalk.c Trash.c Utils.c fsDialog.c \
version.c
ToolTalk.c Trash.c Utils.c fsDialog.c
DTCOPY_OBJS = dtcopy/sharedFuncs.o dtcopy/fsrtns.o
@ -69,7 +68,7 @@ OBJS = ChangeDir.o ChangeDirP.o Command.o Common.o \
ModAttr.o ModAttrP.o MultiView.o OverWrite.o \
Prefs.o PrefsP.o SharedMsgs.o SharedProcs.o \
ToolTalk.o Trash.o Utils.o fsDialog.o \
version.o $(DTCOPY_OBJS)
$(DTCOPY_OBJS)
ComplexProgramTarget(dtfile)

View file

@ -1615,11 +1615,7 @@ extern Pixmap _DtGetPixmap(
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtfile.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtfile"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtfile"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -157,11 +157,7 @@ extern int touch(String path);
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtcopy.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtcopy"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtcopy"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -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
*/
/************************************<+>*************************************
****************************************************************************
*
* FILE: version.c
*
* COMPONENT_NAME: Desktop File Manager (dtfile)
*
* Description: Contains functions related to version.
*
* FUNCTIONS: hpversion
*
* (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
* (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
* (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
* (c) Copyright 1993, 1994, 1995 Novell, Inc.
*
****************************************************************************
************************************<+>*************************************/
#include <include/hpversion.h>
#ifndef lint
version_tag("dtfile: $XConsortium: version.c /main/5 1996/08/30 15:30:40 drk $")
#endif /* lint */

View file

@ -14,9 +14,9 @@ EXTRA_DEFINES = -DHP_COLOR
SYS_LIBRARIES = -lm -ldl -lgen
#endif
SRCS1 = dthello.c version.c
SRCS1 = dthello.c
SRCS = $(SRCS1)
OBJS = dthello.o version.o \
OBJS = dthello.o \
$(CDELIBSRC)/DtSvc/DtUtil2/EnvControl.o \
$(CDELIBSRC)/DtSvc/DtUtil2/DtNlUtils.o \
$(CDELIBSRC)/DtSvc/DtUtil2/GetDispRes.o

View file

@ -26,9 +26,6 @@
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
* (c) Copyright 1993, 1994 Novell, Inc. *
*/
#ifdef VERBOSE_REV_INFO
static char rcsid[] = "$TOG: dthello.c /main/9 1998/04/20 12:52:17 mgreess $";
#endif /* VERBOSE_REV_INFO */
/******************************<+>*************************************
**********************************************************************
**

View file

@ -1,61 +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: version.c /main/5 1996/08/30 15:31:27 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
/********************************************************
Copyright (c) 1988, 1990 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("dthello: $XConsortium: version.c /main/5 1996/08/30 15:31:27 drk $")
#endif /* lint */

View file

@ -11,7 +11,7 @@ SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
EXTRA_INCLUDES = -I$(DTHELPSRC)
SRCS = helpgen.c version.c
OBJS = helpgen.o version.o
SRCS = helpgen.c
OBJS = helpgen.o
ComplexProgramTarget($(PROGRAMS))

View file

@ -215,14 +215,10 @@ GetMessage (
/* Setup our default message catalog names if none have been set! */
/* Setup the short and long versions */
#ifdef __ultrix
catFileName = "dthelpgen.cat";
#else
catFileName = "dthelpgen";
#endif
first = 0;
if (strcmp (Lang, "C") == 0)
if (strcmp (Lang, "C") == 0)
/*
* If LANG is not set or if LANG=C, then there
* is no need to open the message catalog - just

View file

@ -1,50 +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
*/
/********************************************************
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 1996 Digital Equipment Corporation.
(c) Copyright 1988,1996 Hewlett-Packard Company.
(c) Copyright 1996 International Business Machines Corp.
(c) Copyright 1996 Sun Microsystems, Inc.
(c) Copyright 1996 Novell, Inc.
(c) Copyright 1996 FUJITSU LIMITED.
(c) Copyright 1996 Hitachi.
********************************************************/
#include <include/hpversion.h>
#ifndef lint
version_tag("dthelpgen: $XConsortium: version.c /main/5 1996/08/30 15:39:04 drk $")
#endif /* lint */

View file

@ -16,7 +16,7 @@ SYS_LIBRARIES = DtClientSysLibs -lw $(CXXLIB)
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
#endif
SRCS = Main.c Initialize.c PrintUtil.c PrintTopics.c PrintManStrFile.c version.c
OBJS = Main.o Initialize.o PrintUtil.o PrintTopics.o PrintManStrFile.o version.o
SRCS = Main.c Initialize.c PrintUtil.c PrintTopics.c PrintManStrFile.c
OBJS = Main.o Initialize.o PrintUtil.o PrintTopics.o PrintManStrFile.o
ComplexProgramTarget($(PROGRAMS))

View file

@ -261,11 +261,7 @@ char * _DtHPrGetMessage(
if (s_CatFileName == NULL)
{
/* Setup the short and long versions */
#ifdef __ultrix
s_CatFileName = strdup(HELPPRINT_CAT_WITH_SUFFIX);
#else
s_CatFileName = strdup(HELPPRINT_CAT);
#endif
}
s_First = 0;

View file

@ -1,50 +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
*/
/********************************************************
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,1996 Digital Equipment Corporation.
(c) Copyright 1988,1993-1994,1996 Hewlett-Packard Company.
(c) Copyright 1993-1994,1996 International Business Machines Corp.
(c) Copyright 1993-1994,1996 Sun Microsystems, Inc.
(c) Copyright 1996 Novell, Inc.
(c) Copyright 1996 FUJITSU LIMITED.
(c) Copyright 1996 Hitachi.
********************************************************/
#include <include/hpversion.h>
#ifndef lint
version_tag("dthelpprint: $XConsortium: version.c /main/5 1996/08/30 15:37:29 drk $")
#endif /* lint */

View file

@ -9,7 +9,7 @@ DEPLIBS = $(DEPDTHELPLIB) $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB)
LOCAL_LIBRARIES = $(DTHELPLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = DtClientSysLibs $(CXXLIB)
SRCS = Main.c ManPage.c Util.c version.c
OBJS = Main.o ManPage.o Util.o version.o
SRCS = Main.c ManPage.c Util.c
OBJS = Main.o ManPage.o Util.o
ComplexProgramTarget($(PROGRAMS))

View file

@ -1,50 +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
*/
/********************************************************
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,1996 Digital Equipment Corporation.
(c) Copyright 1987-1994,1996 Hewlett-Packard Company.
(c) Copyright 1993-1994,1996 International Business Machines Corp.
(c) Copyright 1993-1994,1996 Sun Microsystems, Inc.
(c) Copyright 1996 Novell, Inc.
(c) Copyright 1996 FUJITSU LIMITED.
(c) Copyright 1996 Hitachi.
********************************************************/
#include <include/hpversion.h>
#ifndef lint
version_tag("dthelpview: $XConsortium: version.c /main/5 1996/08/30 15:38:24 drk $")
#endif /* lint */

View file

@ -50,12 +50,12 @@ SRCS = dtIconShell.c event.c fileIO.c \
fileIODialog.c globals.c graphics.c \
help.c image.c main.c \
newIconDialog.c process.c queryDialog.c \
stdErrDialog.c utils.c version.c
stdErrDialog.c utils.c
OBJS = dtIconShell.o event.o fileIO.o \
fileIODialog.o globals.o graphics.o \
help.o image.o main.o \
newIconDialog.o process.o queryDialog.o \
stdErrDialog.o utils.o version.o
stdErrDialog.o utils.o
ComplexProgramTarget(dticon)

View file

@ -48,11 +48,7 @@
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dticon.cat"
# else
# define _CLIENT_CAT_NAME "dticon"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dticon"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETSTR(set, number, string) \
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -1,37 +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: version.c /main/5 1996/08/30 15:32:43 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
#include <include/hpversion.h>
#ifndef lint
version_tag("dticon: $XConsortium: version.c /main/5 1996/08/30 15:32:43 drk $")
#endif /* lint */

View file

@ -38,11 +38,7 @@
* macro to get message catalog strings
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtinfo_start.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtinfo_start"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtinfo_start"
extern char *_DtGetMessage (char *filename, int set_num, int message_num, char *message);

View file

@ -80,10 +80,8 @@ OLIASTLIBS= \
#endif
OLIASLIBS= $(OLIASNORMALLIBS) $(OLIASTLIBS)
#ifndef HPArchitecture
# ifdef UseDlOpen
#if !defined(HPArchitecture) && defined(UseDlOpen)
DLLIB=-ldl
# endif
#endif
OTHEROBJS=Support/InputNotifier.o

View file

@ -74,8 +74,7 @@ SRCS = \
extra.c \
xmdtksym.c \
findsym.c \
msgs.c \
version.c
msgs.c
OBJS = \
$(KSH93OBJ) \
@ -91,7 +90,6 @@ OBJS = \
xmdtksym.o \
findsym.o \
msgs.o \
version.o \
$(LOCAL_LIBRARIES2)
all:: dtksh

View file

@ -489,11 +489,7 @@ static MsgStr allmsgs[] = {
{"you have mail in $_", 25, 233},
{"zero byte", 25, 234},
};
#ifdef __ultrix
#define _CLIENT_CAT_NAME "dtksh.cat"
#else /* __ultrix */
#define _CLIENT_CAT_NAME "dtksh"
#endif /* __ultrix */
/*
* Without this proto, standard C says that _DtGetMessage() returns

View file

@ -54,11 +54,7 @@ char * GetSharedMsg(
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtksh.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtksh"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtksh"
/*
* Without this proto, standard C says that _DtGetMessage() returns

View file

@ -1,50 +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
*/
/********************************************************
Copyright (c) 1988, 1990, 1991, 1992 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("dtksh: $XConsortium: version.c /main/5 1996/08/30 15:36:49 drk $")
#endif /* lint */

View file

@ -24,8 +24,7 @@ HEADERS = dm.h vg.h vglogo.h vgmsg.h vgproto.h
DESDEFS = -DHASDES -DHASXDMAUTH -DSILLYEXPORTRULE
DESOBJS = xdmauth.o
DESSRCS = xdmauth.c
#else
#if HasDESLibrary
#elif HasDESLibrary
DESDEFS = -DHASDES
DESOBJS = xdmauth.o
DESSRCS = xdmauth.c
@ -34,7 +33,6 @@ DESDEFS =
DESOBJS =
DESSRCS =
#endif
#endif
#ifndef UsePamLibrary
# define UsePamLibrary NO
@ -85,15 +83,14 @@ LOGINDEPXLIB = $(DEPXLIB)
LOGINXLIB = $(XLIB)
#ifdef HPArchitecture
# if (! defined(UseInstalled)) && (! defined(UseMitLibrariesFromSystemOnly))
# ifdef SHLIB
# if !defined(UseInstalled) && !defined(UseMitLibrariesFromSystemOnly) && \
defined(SHLIB)
LOGINDEPXMULIB = $(XMUSRC)/libXmu.a
LOGINXMULIB = $(LOGINDEPXMULIB)
LOGINDEPXLIB = $(XLIBSRC)/libX11.a
LOGINXLIB = $(LOGINDEPXLIB)
/* This is really a kludge !! */
LOGINLDOPTIONS = -Wl,-a archive
# endif
# endif
# if OSMajorVersion >= 10
SYS_LIBRARIES = -lsec
@ -162,28 +159,22 @@ INCLUDES = -I$(XPROJECTROOT)/include/freetype2
SRCS1 = access.c account.c auth.c genauth.c daemon.c dm.c \
dpylist.c error.c file.c mitauth.c protodpy.c policy.c \
reset.c resource.c server.c session.c socket.c util.c \
verify.c version.c sysauth.c fontpath.c $(DESSRCS) \
qualify.c choose.c netaddr.c xdmcp.c \
$(PAM_SRCS) $(SOLARIS_SRCS)
verify.c sysauth.c fontpath.c $(DESSRCS) qualify.c choose.c \
netaddr.c xdmcp.c $(PAM_SRCS) $(SOLARIS_SRCS)
OBJS1 = access.o account.o auth.o genauth.o daemon.o dm.o \
dpylist.o error.o file.o mitauth.o protodpy.o policy.o \
reset.o resource.o server.o session.o socket.o util.o \
verify.o version.o sysauth.o fontpath.o $(DESOBJS) \
qualify.o choose.o netaddr.o xdmcp.o \
$(PAM_OBJS) $(SOLARIS_OBJS)
verify.o sysauth.o fontpath.o $(DESOBJS) qualify.o choose.o \
netaddr.o xdmcp.o $(PAM_OBJS) $(SOLARIS_OBJS)
PROG2 = dtgreet
#ifdef AlphaArchitecture
SRCS2 = vgcallback.c vglogo.c vgmain.c vgutil.c \
vgversion.c vglang.c vgsiaform.c
OBJS2 = vgcallback.o vglogo.o vgmain.o vgutil.o \
vgversion.o vglang.o vgsiaform.o
SRCS2 = vgcallback.c vglogo.c vgmain.c vgutil.c vglang.c vgsiaform.c
OBJS2 = vgcallback.o vglogo.o vgmain.o vgutil.o vglang.o vgsiaform.o
#else
SRCS2 = vgcallback.c vglogo.c vgmain.c vgutil.c \
vgversion.c vglang.c
OBJS2 = vgcallback.o vglogo.o vgmain.o vgutil.o \
vgversion.o vglang.o
SRCS2 = vgcallback.c vglogo.c vgmain.c vgutil.c vglang.c
OBJS2 = vgcallback.o vglogo.o vgmain.o vgutil.o vglang.o
#endif
PROG3 = dtchooser
@ -324,12 +315,9 @@ EXTRA_RES_DEFINES = \
*
**************************************************************************/
#ifndef BLS
# ifdef HPArchitecture
# if (OSMajorVersion == 8) && (OSMinorVersion == 8)
# define BLS
# endif
# endif
#if !defined(BLS) && defined(HPArchitecture) && (OSMajorVersion == 8) && \
(OSMinorVersion == 8)
# define BLS
#endif
#ifdef BLS
@ -461,11 +449,9 @@ vgutil.o:
#endif
SpecialObjectRule(resource.o, $(ICONFIGFILES), $(EXTRA_RES_DEFINES) $(RES_DEFINES) $(CCINLIBS))
#ifdef HPArchitecture
#ifndef DEBUGTREE
#if defined(HPArchitecture) && !defined(DEBUGTREE)
SpecialObjectRule(session.o,,+O1 $(CCINLIBS))
#endif
#endif
#if !defined(USE_KRB) && !defined(USE_RGY)
@ -487,13 +473,10 @@ MakeDirectories(install,$(XDMDIR))
InstallProgramWithFlags(xdmshell,$(XBINDIR), /**/)
#endif
#if !defined(USE_KRB) && !defined(USE_RGY)
#if !defined(USE_KRB) && !defined(USE_RGY) && defined(BuildHugeObject) && \
defined(HPArchitecture) && !defined(BLS)
/***** For dtge make a client_OBJS.o using client_main.o ******/
/***** This implies the existence of client_main.c ******/
# ifdef BuildHugeObject
# if defined (HPArchitecture) && ! defined (BLS)
SpecialRelocatableTarget(dtlogin,$(HIDDEN_SYMBOLS1),$(OBJS1))
SpecialRelocatableTarget(dtgreet,$(HIDDEN_SYMBOLS2),$(OBJS2))
# endif
# endif
#endif

View file

@ -106,37 +106,18 @@ extern int errno;
#define Time_t time_t
#endif
#ifndef DONT_USE_DES
# ifndef USE_CRYPT
# ifdef AIXV3
# define USE_CRYPT
# endif
# ifdef ultrix
# define USE_CRYPT
# endif
# ifdef hpux
# define USE_CRYPT
# endif
# ifdef macII
# define USE_CRYPT
# endif
# ifdef __FreeBSD__
# define USE_CRYPT
# endif
# ifdef __OpenBSD__
# define DONT_USE_DES
# endif
# ifdef sun
# define USE_CRYPT
# if (OSMAJORVERSION >= 4)
/* avoid strange sun crypt hackery */
# define crypt _crypt
# endif
#if !defined(DONT_USE_DES) && !defined(USE_CRYPT)
# if defined(AIXV3) || defined(hpux) || defined(__FreeBSD__)
# define USE_CRYPT
# elif defined(__OpenBSD__)
# define DONT_USE_DES
# elif defined(sun)
# define USE_CRYPT
# if (OSMAJORVERSION >= 4)
/* avoid strange sun crypt hackery */
# define crypt _crypt
# endif
# endif
#endif
#if !defined (DONT_USE_DES) && !defined (USE_CRYPT)
# define USE_ENCRYPT
#endif

View file

@ -1,78 +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: version.c /main/6 1996/08/30 15:33:21 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
/********************************************************
Copyright (c) 1988, 1990 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("dtlogin: $XConsortium: version.c /main/6 1996/08/30 15:33:21 drk $")
#ifdef __AFS
static char _afs_version[] = "@(#)AFS 3 Authentication";
#endif
#ifdef __KERBEROS
static char _krb_version[] = "@(#)Kerberos Authentication";
#endif
#ifdef __PASSWD_ETC
static char _rgy_version[] = "@(#)Passwd Etc. - Domain Registry Authentication";
#endif
#ifdef BLS
static char _bls_version[] = "@(#)HP BLS Authentication";
#endif
#endif /* lint */

View file

@ -1,78 +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: vgversion.c /main/6 1996/08/30 15:34:13 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
/********************************************************
Copyright (c) 1988, 1990 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("dtgreet: $XConsortium: vgversion.c /main/6 1996/08/30 15:34:13 drk $")
#ifdef __AFS
static char _afs_version[] = "@(#)AFS 3 Authentication";
#endif
#ifdef __KERBEROS
static char _krb_version[] = "@(#)Kerberos Authentication";
#endif
#ifdef __PASSWD_ETC
static char _rgy_version[] = "@(#)Passwd Etc. - Domain Registry Authentication";
#endif
#ifdef BLS
static char _bls_version[] = "@(#)HP BLS Authentication";
#endif
#endif /* lint */

View file

@ -19,7 +19,7 @@ SRCS = \
helpCB.c helpDlg.c main.c \
optionsCB.c printJob.c printOutput.c \
printSetup.c session.c ttMsgSupport.c \
ttSaveSupport.c version.c
ttSaveSupport.c
OBJS = \
dtpad.o editCB.o fileCB.o \
@ -27,7 +27,7 @@ OBJS = \
helpCB.o helpDlg.o main.o \
optionsCB.o printJob.o printOutput.o \
printSetup.o session.o ttMsgSupport.o \
ttSaveSupport.o version.o
ttSaveSupport.o
ComplexProgramTarget(dtpad)

View file

@ -117,12 +117,8 @@
# if !defined(NL_CAT_LOCALE)
# define NL_CAT_LOCALE 0
# endif
# ifdef __ultrix
# define _DTPAD_CAT_NAME "dtpad.cat"
# else /* __ultrix */
static const char catalogName[] = "dtpad";
# define _DTPAD_CAT_NAME catalogName
# endif /* __ultrix */
# define _DTPAD_CAT_NAME catalogName
#endif

View file

@ -1,59 +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
*/
/********************************************************
Copyright (c) 1988, 1990 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
/* NOTE: Be sure to update the corresponding version argument for
* ttdt_open() in TTstartDesktopMediaExchange() (in ttMsgSupport.c).
*/
version_tag("dtpad: $XConsortium: version.c /main/5 1996/08/30 15:27:22 drk $")
#endif /* lint */

View file

@ -89,8 +89,7 @@ OBJS= $(ALTDIRECTORY)SmMain.o \
$(ALTDIRECTORY)SmAuth.o \
$(ALTDIRECTORY)SmWatch.o \
$(ALTDIRECTORY)SmProp.o \
$(ALTDIRECTORY)SmDB.o \
version.o
$(ALTDIRECTORY)SmDB.o
SRCS= SmMain.c \
SmHelp.c \
@ -114,8 +113,7 @@ SRCS= SmMain.c \
SmAuth.c \
SmWatch.c \
SmProp.c \
SmDB.c \
version.c
SmDB.c
/**************************************************************************
*
@ -132,14 +130,6 @@ SRCS= SmMain.c \
/******* RGY or KRB CASE *******************************/
#if (defined(USE_KRB) || defined(USE_RGY)) && defined(HPArchitecture)
/*******************************************************/
ALTDIRECTORY = $(CDESRC)/dtsession/
SRCS= version.c
includes::
@echo " linking $(ALTDIRECTORY)version.c to version.c";\
ln -f -s $(ALTDIRECTORY)version.c .
version.o: version.c
ObjectCompile($(_NOOP_))
/* don't build other .o's */
.c.o:

View file

@ -129,11 +129,7 @@
#define SM_CM_DEFAULT SM_CM_NONE
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtsession.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtsession"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtsession"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -87,11 +87,7 @@
* macro to get message catalog strings
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtsession.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtsession"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtsession"
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
# define GETMESSAGE(set, number, string)\
(_DtGetMessage(_CLIENT_CAT_NAME, set, number, string))

View file

@ -1,66 +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: version.c /main/5 1996/08/30 15:34:51 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
/********************************************************
Copyright (c) 1988, 1990 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("dtsession: $XConsortium: version.c /main/5 1996/08/30 15:34:51 drk $")
#ifdef __PASSWD_ETC
static char _rgy_version[] = "@(#)Passwd Etc. - Domain Registry Authentication";
#endif
#endif /* lint */

View file

@ -21,13 +21,13 @@ EXTRA_DEFINES = -D$(PROGRAMS)
PROGRAMS = dtstyle
OBJS = Main.o version.o MainWin.o Font.o Audio.o \
OBJS = Main.o MainWin.o Font.o Audio.o \
Startup.o Mouse.o SaveRestore.o Backdrop.o Screen.o \
Keyboard.o ColorMain.o ColorPalette.o ColorFile.o ColorEdit.o \
Resource.o Protocol.o Dtwm.o Help.o HelpCB.o I18nMain.o \
I18nEnv.o I18nUtil.o $(EXTRA_OBJS)
SRCS = Main.c version.c MainWin.c Font.c Audio.c \
SRCS = Main.c MainWin.c Font.c Audio.c \
Startup.c Mouse.c SaveRestore.c Backdrop.c Screen.c \
Keyboard.c ColorMain.c ColorPalette.c ColorFile.c ColorEdit.c \
Resource.c Protocol.c Dtwm.c Help.c HelpCB.c I18nMain.c \

View file

@ -1,35 +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: version.c /main/5 1996/08/30 15:35:36 drk $
*
* (c) Copyright 1996 Digital Equipment Corporation.
* (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
* (c) Copyright 1993,1994,1996 International Business Machines Corp.
* (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
* (c) Copyright 1993,1994,1996 Novell, Inc.
* (c) Copyright 1996 FUJITSU LIMITED.
* (c) Copyright 1996 Hitachi.
*/
#include <include/hpversion.h>
version_tag("dtstyle: $XConsortium: version.c /main/5 1996/08/30 15:35:36 drk $")

View file

@ -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: DtTermMain.c /main/19 1999/09/17 13:26:34 mgreess $";
#endif /* VERBOSE_REV_INFO */
#endif /* lint */
/* *
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
* (c) Copyright 1993, 1994 International Business Machines Corp. *

View file

@ -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: DtTermServer.c /main/5 1998/07/23 18:09:38 mgreess $";
#endif /* VERBOSE_REV_INFO */
#endif /* lint */
/* *
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
* (c) Copyright 1993, 1994 International Business Machines Corp. *

View file

@ -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: DtTermSyntax.c /main/4 1996/05/16 11:22:57 ageorge $";
#endif /* VERBOSE_REV_INFO */
#endif /* lint */
/* *
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
* (c) Copyright 1993, 1994 International Business Machines Corp. *

View file

@ -1,6 +1,6 @@
XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:51:51 drk $
DEFINES = -DVERBOSE_REV_INFO
DEFINES =
SRCS = logger.c
OBJS = logger.o
SYS_LIBRARIES = -lm

View file

@ -974,7 +974,7 @@ pPROPS( FontInfoRec *fip, FontPropRec *fplistPtr, unsigned int fplistNum )
bufp += k;
wkp = fplistPtr;
for ( i = 0; i < fplistNum; i++ ) {
k = snprintf( bufp, sizeof(buf) - (bufp - buf), "%s %d\n", (char *) (intptr_t) wkp->name, wkp->value );
k = snprintf( bufp, sizeof(buf) - (bufp - buf), "%s %ld\n", (char *) (intptr_t) wkp->name, wkp->value );
bufp += k;
wkp++;
}
@ -1017,7 +1017,7 @@ pPROPS_pcf(PcfTmp *pcf)
);
bufp += k;
} else {
k = sprintf(bufp,"%s %d\n",
k = sprintf(bufp,"%s %ld\n",
pcf->string + wkp->name, wkp->value
);
bufp += k;

View file

@ -511,11 +511,7 @@ extern void GeneralTopicHelpCB(Widget, XtPointer, XtPointer);
extern char *_DtGetMessage(char *filename, int set, int n, char *s);
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _FP_CLIENT_CAT_NAME "fp.cat"
# else /* __ultrix */
# define _FP_CLIENT_CAT_NAME "fp"
# endif /* __ultrix */
# define _FP_CLIENT_CAT_NAME "fp"
# define FPGETMESSAGE(set, number, string)\
_DtGetMessage(_FP_CLIENT_CAT_NAME, set, number, string)
#else

View file

@ -33,8 +33,7 @@ SRCSXM = \
WmMenu.c WmProperty.c WmProtocol.c \
WmResCvt.c WmResParse.c WmResource.c \
WmSignal.c WmWinConf.c WmWinInfo.c \
WmWinList.c WmWinState.c version.c \
WmMultiHead.c
WmWinList.c WmWinState.c WmMultiHead.c
SRCSDT = \
Button.c Callback.c Clock.c \
@ -55,8 +54,7 @@ OBJSXM = \
WmMenu.o WmProperty.o WmProtocol.o \
WmResCvt.o WmResParse.o WmResource.o \
WmSignal.o WmWinConf.o WmWinInfo.o \
WmWinList.o WmWinState.o version.o \
WmMultiHead.o
WmWinList.o WmWinState.o WmMultiHead.o
OBJSDT = \
Button.o Callback.o Clock.o \

View file

@ -2208,11 +2208,7 @@ extern char *_DtGetMessage(char *filename, int set, int n, char *s);
* macro to get message catalog strings
*/
#ifndef NO_MESSAGE_CATALOG
# ifdef __ultrix
# define _CLIENT_CAT_NAME "dtwm.cat"
# else /* __ultrix */
# define _CLIENT_CAT_NAME "dtwm"
# endif /* __ultrix */
# define _CLIENT_CAT_NAME "dtwm"
# define GETMESSAGE(set, number, string)\
_DtGetMessage(_CLIENT_CAT_NAME, set, number, string)
#else

View file

@ -1,37 +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 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
* ALL RIGHTS RESERVED
*
* (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("dtwm: $XConsortium: version.c /main/5 1996/08/30 15:36:22 drk $")
#endif /* lint */

View file

@ -517,8 +517,10 @@ main(int argc, char **argv)
}
}
apiTracerArgv[ 0 ] = "tail";
apiTracerArgv[ 1 ] = "-f";
apiTracerArgv[ 2 ] = traceFile;
apiTracerArgv[ 1 ] = "-n";
apiTracerArgv[ 2 ] = "+0";
apiTracerArgv[ 3 ] = "-f";
apiTracerArgv[ 4 ] = traceFile;
if (snoopFile == 0) {
//
// Set up fifo for snoop output
@ -530,8 +532,10 @@ main(int argc, char **argv)
}
}
snooperArgv[ 0 ] = "tail";
snooperArgv[ 1 ] = "-f";
snooperArgv[ 2 ] = snoopFile;
snooperArgv[ 1 ] = "-n";
snooperArgv[ 2 ] = "+0";
snooperArgv[ 3 ] = "-f";
snooperArgv[ 4 ] = snoopFile;
if (optind < argc) {
if (committed2Snooping) {