creat.cc (schily-2021-08-14.tar.bz2) | : | creat.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. | |||
*/ | */ | |||
/* | /* | |||
* @(#)creat.cc 1.4 06/12/12 | * @(#)creat.cc 1.4 06/12/12 | |||
*/ | */ | |||
#pragma ident "@(#)creat.cc 1.4 06/12/12" | #pragma ident "@(#)creat.cc 1.4 06/12/12" | |||
/* | /* | |||
* This file contains modifications Copyright 2017 J. Schilling | * Copyright 2017 J. Schilling | |||
* | * | |||
* @(#)creat.cc 1.2 17/04/23 2017 J. Schilling | * @(#)creat.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[] = | |||
"@(#)creat.cc 1.2 17/04/23 2017 J. Schilling"; | "@(#)creat.cc 1.3 21/08/16 2017 J. Schilling"; | |||
#endif | #endif | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#include <fcntl.h> | #include <fcntl.h> | |||
extern int creat(const char *path, mode_t mode); | extern int creat(const char *path, mode_t mode); | |||
#include <vroot/vroot.h> | #include <vroot/vroot.h> | |||
#include <vroot/args.h> | #include <vroot/args.h> | |||
End of changes. 5 change blocks. | ||||
8 lines changed or deleted | 10 lines changed or added |