"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "smake/readfile.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.

readfile.c  (schily-2021-08-14.tar.bz2):readfile.c  (schily-2021-09-18.tar.bz2)
/* @(#)readfile.c 1.67 21/03/11 Copyright 1985-2021 J. Schilling */ /* @(#)readfile.c 1.68 21/09/05 Copyright 1985-2021 J. Schilling */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)readfile.c 1.67 21/03/11 Copyright 1985-2021 J. Schilling"; "@(#)readfile.c 1.68 21/09/05 Copyright 1985-2021 J. Schilling";
#endif #endif
/* /*
* Make program * Make program
* File/string reading routines * File/string reading routines
* *
* Copyright (c) 1985-2021 by J. Schilling * Copyright (c) 1985-2021 by J. Schilling
*/ */
/* /*
* The contents of this file are subject to the terms of the * The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only * Common Development and Distribution License, Version 1.0 only
skipping to change at line 401 skipping to change at line 401
o->o_date = newtime; /* Force to be out of date */ o->o_date = newtime; /* Force to be out of date */
l.l_next = (list_t *)0; /* Only one element: */ l.l_next = (list_t *)0; /* Only one element: */
l.l_obj = o; /* The file to be included */ l.l_obj = o; /* The file to be included */
IncludeFailed->o_list = &l; /* Make it $^ */ IncludeFailed->o_list = &l; /* Make it $^ */
IncludeFailed->o_date = (date_t)0; IncludeFailed->o_date = (date_t)0;
omake(IncludeFailed, FALSE); /* Try to apply rules */ omake(IncludeFailed, FALSE); /* Try to apply rules */
o->o_date = gftime(name); /* Check if file is present */ o->o_date = gftime(name); /* Check if file is present */
} }
/* /*
* If "name" exists of could be made my a specific rule or the * If "name" exists or could be made by a specific rule or the
* fall back rule .INCLUDE_FAILED:, parse the content of the file * fall back rule .INCLUDE_FAILED:, parse the content of the file
* to be included. * to be included.
*/ */
if (must_exist || o->o_date != 0) { if (must_exist || o->o_date != 0) {
char includename[TYPICAL_NAMEMAX]; char includename[TYPICAL_NAMEMAX];
char *iname; char *iname;
if (Prdep) if (Prdep)
error("Reading file '%s' from '%s'\n", name, mfname); error("Reading file '%s' from '%s'\n", name, mfname);
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

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