"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sunpro/Make/lib/vroot/src/mkdir.cc" 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.

mkdir.cc  (schily-2021-08-14.tar.bz2):mkdir.cc  (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 32 skipping to change at line 34
* Copyright 1993 Sun Microsystems, Inc. All rights reserved. * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms. * Use is subject to license terms.
*/ */
/* /*
* @(#)mkdir.cc 1.4 06/12/12 * @(#)mkdir.cc 1.4 06/12/12
*/ */
#pragma ident "@(#)mkdir.cc 1.4 06/12/12" #pragma ident "@(#)mkdir.cc 1.4 06/12/12"
/* /*
* This file contains modifications Copyright 2017 J. Schilling * Copyright 2017 J. Schilling
* *
* @(#)mkdir.cc 1.2 17/05/01 2017 J. Schilling * @(#)mkdir.cc 1.3 21/08/16 2017 J. Schilling
*/ */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)mkdir.cc 1.2 17/05/01 2017 J. Schilling"; "@(#)mkdir.cc 1.3 21/08/16 2017 J. Schilling";
#endif #endif
#include <vroot/vroot.h> #include <vroot/vroot.h>
#include <vroot/args.h> #include <vroot/args.h>
extern int mkdir(const char *path, mode_t mode); extern int mkdir(const char *path, mode_t mode);
static int mkdir_thunk(char *path) static int mkdir_thunk(char *path)
{ {
vroot_result= mkdir(path, vroot_args.mkdir.mode); vroot_result= mkdir(path, vroot_args.mkdir.mode);
 End of changes. 5 change blocks. 
8 lines changed or deleted 10 lines changed or added

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