Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : ARLIB.C

 
Output of file : ARLIB.C contained in archive : DMAKE38B.ZIP
/* RCS -- $Header: /u2/dvadura/src/generic/dmake/src/msdos/arlib.c,v 1.1 1992/01/24 03:27:23 dvadura Exp $
-- SYNOPSIS -- Library access code.
--
-- DESCRIPTION
-- This implementation uses the library timestamp inplace of the
-- library member timestamp.
--
-- AUTHOR
-- Dennis Vadura, [email protected]
-- CS DEPT, University of Waterloo, Waterloo, Ont., Canada
--
-- COPYRIGHT
-- Copyright (c) 1990 by Dennis Vadura. All rights reserved.
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- (version 1), as published by the Free Software Foundation, and
-- found in the file 'LICENSE' included with this distribution.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warrant 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., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
-- $Log: arlib.c,v $
* Revision 1.1 1992/01/24 03:27:23 dvadura
* dmake Version 3.8, Initial revision
*
*/

#include "extern.h"

PUBLIC time_t
seek_arch(name, lib)
char* name;
char* lib;
{
static int warned = FALSE;

if (!warned && !(Glob_attr&A_SILENT))
warned = TRUE,
Warning("Can't extract library member timestamp;\n\
using library timestamp instead.");
return (Do_stat(lib, NULL, NULL));
}

PUBLIC int
touch_arch(name, lib)
char* name;
char* lib;
{
static int warned = FALSE;

if (!warned && !(Glob_attr&A_SILENT))
warned = TRUE,
Warning("Can't update library member timestamp;\n\
touching library instead.");
return (Do_touch(lib, NULL, NULL));
}



  3 Responses to “Category : C Source Code
Archive   : DMAKE38B.ZIP
Filename : ARLIB.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/