"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sunpro/Make/lib/makestate/src/ld_file.c" 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.

ld_file.c  (schily-2021-08-14.tar.bz2):ld_file.c  (schily-2021-09-18.tar.bz2)
/* /*
* 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 31 skipping to change at line 33
/* /*
* Copyright 1998 Sun Microsystems, Inc. All rights reserved. * Copyright 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms. * Use is subject to license terms.
*/ */
/* /*
* @(#)ld_file.c 1.7 06/12/12 * @(#)ld_file.c 1.7 06/12/12
*/ */
#pragma ident "@(#)ld_file.c 1.7 06/12/12" #pragma ident "@(#)ld_file.c 1.7 06/12/12"
/* /*
* This file contains modifications Copyright 2017 J. Schilling * Copyright 2017-2021 J. Schilling
* *
* @(#)ld_file.c 1.6 17/04/25 2017 J. Schilling * @(#)ld_file.c 1.8 21/08/19 2017-2021 J. Schilling
*/ */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)ld_file.c 1.6 17/04/25 2017 J. Schilling"; "@(#)ld_file.c 1.8 21/08/19 2017-2021 J. Schilling";
#endif #endif
#pragma init(ld_support_init) #pragma init(ld_support_init)
#if defined(SCHILY_BUILD) || defined(SCHILY_INCLUDES)
#include <schily/stdio.h>
#include <schily/unistd.h>
#include <schily/stdlib.h>
#include <schily/string.h>
#ifdef HAVE_LIBELF_H
#include <libelf.h>
#endif
#include <schily/param.h>
#ifdef HAVE_LINK_H
#include <link.h>
#endif
#else
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef HAVE_LIBELF_H #ifdef HAVE_LIBELF_H
#include <libelf.h> #include <libelf.h>
#endif #endif
#include <sys/param.h> #include <sys/param.h>
#ifdef HAVE_LINK_H #ifdef HAVE_LINK_H
#include <link.h> #include <link.h>
#endif #endif
#endif
#if defined(HAVE_LIBELF_H) && defined(LD_SUP_DERIVED) #if defined(HAVE_LIBELF_H) && defined(LD_SUP_DERIVED)
/* /*
* FreeBSD has libelf.h and link.h but link.h does not * FreeBSD has libelf.h and link.h but link.h does not
* #define LD_SUP_DERIVED. * #define LD_SUP_DERIVED.
*/ */
#define SUNPRO_DEPENDENCIES "SUNPRO_DEPENDENCIES" #define SUNPRO_DEPENDENCIES "SUNPRO_DEPENDENCIES"
/* /*
* Linked list of strings - used to keep lists of names * Linked list of strings - used to keep lists of names
 End of changes. 7 change blocks. 
8 lines changed or deleted 24 lines changed or added

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