"Fossies" - the Fresh Open Source Software Archive  

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

find_main.c  (schily-2021-08-14.tar.bz2):find_main.c  (schily-2021-09-18.tar.bz2)
/*#define PLUS_DEBUG*/ /*#define PLUS_DEBUG*/
/* @(#)find_main.c 1.74 18/10/29 Copyright 2004-2018 J. Schilling */ /* @(#)find_main.c 1.75 21/08/20 Copyright 2004-2021 J. Schilling */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)find_main.c 1.74 18/10/29 Copyright 2004-2018 J. Schilling"; "@(#)find_main.c 1.75 21/08/20 Copyright 2004-2021 J. Schilling";
#endif #endif
/* /*
* Another find implementation... * Another find implementation...
* *
* Copyright (c) 2004-2018 J. Schilling * Copyright (c) 2004-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
* with the License. * with the License.
* *
* See the file CDDL.Schily.txt in this distribution for details. * See the file CDDL.Schily.txt in this distribution for details.
* A copy of the CDDL is also available via the Internet at * A copy of the CDDL is also available via the Internet at
* http://www.opensource.org/licenses/cddl1.txt * http://www.opensource.org/licenses/cddl1.txt
skipping to change at line 182 skipping to change at line 182
cac--, cav++; cac--, cav++;
getargs(&cac, (char * const **)&cav, "help,version,&", getargs(&cac, (char * const **)&cav, "help,version,&",
&help, &prversion, &help, &prversion,
getflg, (long *)&fa.walkflags); getflg, (long *)&fa.walkflags);
if (help) { if (help) {
find_usage(std[2]); find_usage(std[2]);
goto out; goto out;
} }
if (prversion) { if (prversion) {
fprintf(std[1], fprintf(std[1],
"sfind release %s %s (%s-%s-%s) Copyright (C) 2004-2018 Jörg Schi lling\n", _("sfind release %s %s (%s-%s-%s) Copyright (C) 2004-2021 %s\n"),
find_strvers(), VERSION_DATE, find_strvers(), VERSION_DATE,
HOST_CPU, HOST_VENDOR, HOST_OS); HOST_CPU, HOST_VENDOR, HOST_OS,
_("Jörg Schilling"));
goto out; goto out;
} }
firstpath = cav; /* Remember first file type arg */ firstpath = cav; /* Remember first file type arg */
find_firstprim(&cac, (char *const **)&cav); find_firstprim(&cac, (char *const **)&cav);
firstprim = cav; /* Remember first Primary type arg */ firstprim = cav; /* Remember first Primary type arg */
fa.Argv = cav; fa.Argv = cav;
fa.Argc = cac; fa.Argc = cac;
if (cac) { if (cac) {
 End of changes. 5 change blocks. 
5 lines changed or deleted 6 lines changed or added

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