"Fossies" - the Fresh Open Source Software Archive  

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

copy.c  (schily-2021-08-14.tar.bz2):copy.c  (schily-2021-09-18.tar.bz2)
/* @(#)copy.c 1.53 21/07/22 Copyright 1984, 86-90, 95-97, 99, 2000-2021 J. Schi lling */ /* @(#)copy.c 1.54 21/08/20 Copyright 1984, 86-90, 95-97, 99, 2000-2021 J. Schi lling */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)copy.c 1.53 21/07/22 Copyright 1984, 86-90, 95-97, 99, 2000-2021 J. Schilling"; "@(#)copy.c 1.54 21/08/20 Copyright 1984, 86-90, 95-97, 99, 2000-2021 J. Schilling";
#endif #endif
/* /*
* copy files ... * copy files ...
* *
* Copyright (c) 1984, 86-90, 95-97, 99, 2000-2021 J. Schilling * Copyright (c) 1984, 86-90, 95-97, 99, 2000-2021 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
* (the "License"). You may not use this file except in compliance * (the "License"). You may not use this file except in compliance
skipping to change at line 58 skipping to change at line 58
#include <schily/utypes.h> #include <schily/utypes.h>
#include <schily/varargs.h> #include <schily/varargs.h>
#include <schily/errno.h> #include <schily/errno.h>
#include <schily/param.h> /* DEV_BSIZE */ #include <schily/param.h> /* DEV_BSIZE */
#include <schily/stat.h> #include <schily/stat.h>
#include <schily/time.h> #include <schily/time.h>
#include <schily/fcntl.h> #include <schily/fcntl.h>
#include <schily/string.h> #include <schily/string.h>
#include <schily/maxpath.h> #include <schily/maxpath.h>
#include <schily/libport.h> #include <schily/libport.h>
#include <schily/nlsdefs.h> #define GT_COMERR /* #define comerr gtcomerr */
#define GT_ERROR /* #define error gterror */
#include <schily/schily.h> #include <schily/schily.h>
#include <schily/nlsdefs.h>
/* Probably only needed for Mark Williams C */ /* Probably only needed for Mark Williams C */
#ifndef EEXIST #ifndef EEXIST
#define EEXIST -1 /* XXX ??? */ #define EEXIST -1 /* XXX ??? */
#endif #endif
#define is_dir(sp) S_ISDIR((sp)->st_mode) #define is_dir(sp) S_ISDIR((sp)->st_mode)
#define is_link(sp) S_ISLNK((sp)->st_mode) #define is_link(sp) S_ISLNK((sp)->st_mode)
#ifndef S_IFLNK #ifndef S_IFLNK
#define lstat stat #define lstat stat
#endif #endif
skipping to change at line 304 skipping to change at line 306
&is_recurse, &is_recurse,
&sparseflag, &force_hole, &sparseflag, &force_hole,
&help, &help, &prversion) < 0) { &help, &help, &prversion) < 0) {
errmsgno(EX_BAD, _("Bad flag: '%s'.\n"), cav[0]); errmsgno(EX_BAD, _("Bad flag: '%s'.\n"), cav[0]);
usage(EX_BAD); usage(EX_BAD);
} }
if (help) if (help)
usage(0); usage(0);
if (prversion) { if (prversion) {
/* CSTYLED */ /* CSTYLED */
printf(_("Copy release %s %s (%s-%s-%s) Copyright (C) 1984, 86-90 gtprintf("Copy release %s %s (%s-%s-%s) Copyright (C) 1984, 86-90
, 95-97, 99, 2000-2021 %s\n"), , 95-97, 99, 2000-2021 %s\n",
"1.53", "2021/07/22", "1.54", "2021/08/20",
HOST_CPU, HOST_VENDOR, HOST_OS, HOST_CPU, HOST_VENDOR, HOST_OS,
_("Joerg Schilling")); _("Joerg Schilling"));
exit(0); exit(0);
} }
if (Recurse) if (Recurse)
recurse = TRUE; recurse = TRUE;
if (setperm) { setall = TRUE; olddate = TRUE; }; if (setperm) { setall = TRUE; olddate = TRUE; };
if (setall) { setown = TRUE; setgrp = TRUE; }; if (setall) { setown = TRUE; setgrp = TRUE; };
 End of changes. 5 change blocks. 
6 lines changed or deleted 8 lines changed or added

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