"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sunpro/Make/include/mksh/defs.h" between
schily-2021-08-14.tar.bz2 and schily-2021-09-18.tar.bz2

About: Schily Tools are a collection of programs like cdrecord, cdda2wav, mkisofs, star and much more. In memoriam of the author Jörg Schilling, who passed away in October 2021.

defs.h  (schily-2021-08-14.tar.bz2):defs.h  (schily-2021-09-18.tar.bz2)
#ifndef _MKSH_DEFS_H #ifndef _MKSH_DEFS_H
#define _MKSH_DEFS_H #define _MKSH_DEFS_H
/* /*
* CDDL HEADER START * CDDL HEADER START
* *
* The contents of this file are subject to the terms of the * This file and its contents are supplied under the terms of the
* Common Development and Distribution License (the "License"). * Common Development and Distribution License ("CDDL"), version 1.0.
* You may not use this file except in compliance with the License. * You may use this file only in accordance with the terms of version
* 1.0 of the CDDL.
* *
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * A full copy of the text of the CDDL should have accompanied this
* or http://www.opensolaris.org/os/licensing. * source. A copy of the CDDL is also available via the Internet at
* http://www.opensource.org/licenses/cddl1.txt
* See the License for the specific language governing permissions * See the License for the specific language governing permissions
* and limitations under the License. * and limitations under the License.
* *
* When distributing Covered Code, include this CDDL HEADER in each * When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE. * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the * If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying * fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner] * information: Portions Copyright [yyyy] [name of copyright owner]
* *
* CDDL HEADER END * CDDL HEADER END
skipping to change at line 36 skipping to change at line 38
*/ */
/* /*
* @(#)defs.h 1.35 06/12/12 * @(#)defs.h 1.35 06/12/12
*/ */
#pragma ident "@(#)defs.h 1.35 06/12/12" #pragma ident "@(#)defs.h 1.35 06/12/12"
/* /*
* Copyright 2017-2021 J. Schilling * Copyright 2017-2021 J. Schilling
* *
* @(#)defs.h 1.31 21/08/10 2017-2021 J. Schilling * @(#)defs.h 1.35 21/09/06 2017-2021 J. Schilling
*/ */
#if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) #if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES)
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef HAVE_SEMAPHORE_H #ifndef HAVE_SEMAPHORE_H
#undef PMAKE #undef PMAKE
#endif #endif
#ifdef NO_PMAKE #ifdef NO_PMAKE
#undef PMAKE #undef PMAKE
#endif #endif
#endif #endif
skipping to change at line 78 skipping to change at line 80
#include <schily/stat.h> /* stat_ansecs() */ #include <schily/stat.h> /* stat_ansecs() */
#include <schily/maxpath.h> /* MAXNAMELEN */ #include <schily/maxpath.h> /* MAXNAMELEN */
#include <schily/getcwd.h> #include <schily/getcwd.h>
/* /*
* Some Linux versions come with an incompatible prototype for bsd_signal() * Some Linux versions come with an incompatible prototype for bsd_signal()
*/ */
#define bsd_signal no_bsd_signal #define bsd_signal no_bsd_signal
#include <schily/signal.h> #include <schily/signal.h>
#undef bsd_signal #undef bsd_signal
#include <schily/dirent.h> /* opendir() */ #include <schily/dirent.h> /* opendir() */
#if defined(HAVE__BIN_SH) && !defined(HAVE_SYMLINK__BIN)
#define SHELL_PATH NOCATGETS("/bin/sh") /* older UNIX */
#else
#if defined(HAVE__USR_BIN_SH)
#define SHELL_PATH NOCATGETS("/usr/bin/sh") /* modern UNIX *
/
#else #else
#define SHELL_PATH NOCATGETS("/bin/sh") /* last resort gu
ess */
#endif
#endif
#else /* defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) */
#include <limits.h> /* MB_LEN_MAX */ #include <limits.h> /* MB_LEN_MAX */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> /* wchar_t */ #include <stdlib.h> /* wchar_t */
#include <unistd.h> #include <unistd.h>
#include <string.h> /* strcmp() */ #include <string.h> /* strcmp() */
#include <libintl.h> /* gettext() */ #include <libintl.h> /* gettext() */
#include <sys/param.h> /* MAXPATHLEN */ #include <sys/param.h> /* MAXPATHLEN */
#include <sys/types.h> /* time_t, caddr_t */ #include <sys/types.h> /* time_t, caddr_t */
#include <sys/fcntl.h> /* open() */ #include <sys/fcntl.h> /* open() */
#include <sys/time.h> /* timestruc_t */ #include <sys/time.h> /* timestruc_t */
#include <errno.h> /* errno */ #include <errno.h> /* errno */
#include <sys/stat.h> #include <sys/stat.h>
#include <signal.h> #include <signal.h>
#if defined(SUN5_0) || defined(HP_UX) #if defined(SUN5_0) || defined(HP_UX)
#include <dirent.h> /* opendir() */ #include <dirent.h> /* opendir() */
#define SHELL_PATH NOCATGETS("/usr/bin/sh")
#else #else
#include <sys/dir.h> /* opendir() */ #include <sys/dir.h> /* opendir() */
#define SHELL_PATH NOCATGETS("/bin/sh")
#endif #endif
#endif #endif /* defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) */
#include <vroot/vroot.h> /* pathpt */ #include <vroot/vroot.h> /* pathpt */
#if defined (HP_UX) || defined (linux)
#define RW_NO_OVERLOAD_WCHAR 1 /* Rogue Wave, belongs in <rw/compiler.h> */
#endif
/* /*
* Definition of wchar functions. * Definition of wchar functions.
*/ */
#if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) #if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES)
#include <schily/wctype.h> #include <schily/wctype.h>
#include <schily/wchar.h> #include <schily/wchar.h>
#include <schily/libport.h> #include <schily/libport.h>
/* /*
* In order to support Ultrix, we need to supply missing prototypes that would * In order to support Ultrix, we need to supply missing prototypes that would
* otherwise terminate a C++ compilation. * otherwise terminate a C++ compilation.
skipping to change at line 137 skipping to change at line 148
extern ssize_t readlink __PR((const char *, char *, size_t)); extern ssize_t readlink __PR((const char *, char *, size_t));
extern int getopt __PR((int, char *const *, const char *)); extern int getopt __PR((int, char *const *, const char *));
#ifdef IPC_CREAT #ifdef IPC_CREAT
extern key_t ftok __PR((const char *, int)); extern key_t ftok __PR((const char *, int));
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* ultrix */ #endif /* ultrix */
#else #else /* defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) */
#ifdef HAVE_WCTYPE_H /* HP-UX-10.x does not have it */ #ifdef HAVE_WCTYPE_H /* HP-UX-10.x does not have it */
#include <wctype.h> #include <wctype.h>
#endif #endif
#include <wchar.h> #include <wchar.h>
#endif #endif /* defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES) */
/* /*
* A type and some utilities for boolean values * A type and some utilities for boolean values
*/ */
#define false BOOLEAN_false #define false BOOLEAN_false
#define true BOOLEAN_true #define true BOOLEAN_true
typedef enum { typedef enum {
false = 0, false = 0,
skipping to change at line 444 skipping to change at line 455
typedef enum { typedef enum {
no_special, no_special,
built_last_make_run_special, built_last_make_run_special,
default_special, default_special,
#ifdef NSE #ifdef NSE
derived_src_special, derived_src_special,
#endif #endif
get_posix_special, get_posix_special,
get_special, get_special,
ignore_special, ignore_special,
#ifdef DO_INCLUDE_FAILED
include_failed_special,
#endif
keep_state_file_special, keep_state_file_special,
keep_state_special, keep_state_special,
make_version_special, make_version_special,
no_parallel_special, no_parallel_special,
notparallel_special, notparallel_special,
parallel_special, parallel_special,
posix_special, posix_special,
phony_special, phony_special,
precious_special, precious_special,
sccs_get_posix_special, sccs_get_posix_special,
 End of changes. 12 change blocks. 
13 lines changed or deleted 29 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)