mirror of
https://github.com/file/file.git
synced 2024-11-23 18:05:31 +08:00
Revert previous
This commit is contained in:
parent
8b8b843ad0
commit
13818e87b3
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -30,11 +28,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: magic_fuzzer.c,v 1.3 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: magic_fuzzer.c,v 1.2 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: apprentice.c,v 1.333 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: apprentice.c,v 1.332 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adapted from: apptype.c, Written by Eberhard Mattes and put into the
|
* Adapted from: apptype.c, Written by Eberhard Mattes and put into the
|
||||||
* public domain
|
* public domain
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: apptype.c,v 1.16 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: apptype.c,v 1.15 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -37,11 +35,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: ascmagic.c,v 1.112 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: ascmagic.c,v 1.111 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
/* $NetBSD$ */
|
/* $File: asctime_r.c,v 1.3 2022/09/24 20:30:13 christos Exp $ */
|
||||||
|
|
||||||
/* $File: asctime_r.c,v 1.2 2022/09/24 20:22:21 christos Exp $ */
|
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: asctime_r.c,v 1.3 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: asctime_r.c,v 1.2 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -31,11 +29,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: asprintf.c,v 1.7 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: asprintf.c,v 1.6 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int asprintf(char **ptr, const char *fmt, ...)
|
int asprintf(char **ptr, const char *fmt, ...)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2017.
|
* Copyright (c) Christos Zoulas 2017.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: buffer.c,v 1.10 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: buffer.c,v 1.9 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 Christos Zoulas
|
* Copyright (c) 2008 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -37,11 +35,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: cdf.c,v 1.123 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: cdf.c,v 1.122 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 Christos Zoulas
|
* Copyright (c) 2008 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 Christos Zoulas
|
* Copyright (c) 2008 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: cdf_time.c,v 1.23 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: cdf_time.c,v 1.22 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -37,11 +35,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: compress.c,v 1.149 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: compress.c,v 1.148 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
/* $NetBSD$ */
|
/* $File: ctime_r.c,v 1.3 2022/09/24 20:30:13 christos Exp $ */
|
||||||
|
|
||||||
/* $File: ctime_r.c,v 1.2 2022/09/24 20:22:21 christos Exp $ */
|
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: ctime_r.c,v 1.3 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: ctime_r.c,v 1.2 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016 Christos Zoulas
|
* Copyright (c) 2016 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -37,11 +35,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: der.c,v 1.27 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: der.c,v 1.26 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define SIZE_T_FORMAT "z"
|
#define SIZE_T_FORMAT "z"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2016 Christos Zoulas
|
* Copyright (c) 2016 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -30,11 +28,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: dprintf.c,v 1.4 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: dprintf.c,v 1.3 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2008.
|
* Copyright (c) Christos Zoulas 2008.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -37,11 +35,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: encoding.c,v 1.41 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: encoding.c,v 1.40 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: file.c,v 1.207 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: file.c,v 1.206 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -29,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* file.h - definitions for file(1) program
|
* file.h - definitions for file(1) program
|
||||||
* @(#)$File: file.h,v 1.238 2022/09/24 20:22:21 christos Exp $
|
* @(#)$File: file.h,v 1.239 2022/09/24 20:30:13 christos Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __file_h__
|
#ifndef __file_h__
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Table of command-line options
|
* Table of command-line options
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
/* $NetBSD$ */
|
/* $NetBSD: fmtcheck.c,v 1.8 2008/04/28 20:22:59 martin Exp $ */
|
||||||
|
|
||||||
/* NetBSD: fmtcheck.c,v 1.8 2008/04/28 20:22:59 martin Exp */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -32,11 +30,7 @@
|
|||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: fmtcheck.c,v 1.6 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: fmtcheck.c,v 1.5 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: fsmagic.c,v 1.84 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: fsmagic.c,v 1.83 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2003.
|
* Copyright (c) Christos Zoulas 2003.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: funcs.c,v 1.134 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: funcs.c,v 1.133 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
/* $NetBSD$ */
|
/* $NetBSD: getline.c,v 1.2 2014/09/16 17:23:50 christos Exp $ */
|
||||||
|
|
||||||
/* NetBSD: getline.c,v 1.2 2014/09/16 17:23:50 christos Exp */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
/* $NetBSD$ */
|
/* $NetBSD: getopt_long.c,v 1.21.4.1 2008/01/09 01:34:14 matt Exp $ */
|
||||||
|
|
||||||
/* NetBSD: getopt_long.c,v 1.21.4.1 2008/01/09 01:34:14 matt Exp */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: getopt_long.c,v 1.9 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: getopt_long.c,v 1.8 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
/* $NetBSD$ */
|
/* $File: gmtime_r.c,v 1.4 2022/09/24 20:30:13 christos Exp $ */
|
||||||
|
|
||||||
/* $File: gmtime_r.c,v 1.3 2022/09/24 20:22:21 christos Exp $ */
|
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: gmtime_r.c,v 1.4 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: gmtime_r.c,v 1.3 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2019 Christos Zoulas
|
* Copyright (c) 2019 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: is_csv.c,v 1.10 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: is_csv.c,v 1.9 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2018 Christos Zoulas
|
* Copyright (c) 2018 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: is_json.c,v 1.29 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: is_json.c,v 1.28 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -42,11 +40,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: is_tar.c,v 1.49 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: is_tar.c,v 1.48 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
/* $NetBSD$ */
|
/* $File: localtime_r.c,v 1.4 2022/09/24 20:30:13 christos Exp $ */
|
||||||
|
|
||||||
/* $File: localtime_r.c,v 1.3 2022/09/24 20:22:21 christos Exp $ */
|
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: localtime_r.c,v 1.4 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: localtime_r.c,v 1.3 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2003.
|
* Copyright (c) Christos Zoulas 2003.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
@ -35,11 +33,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: magic.c,v 1.119 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: magic.c,v 1.118 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2021.
|
* Copyright (c) Christos Zoulas 2021.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: memtest.c,v 1.6 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: memtest.c,v 1.5 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
/* $NetBSD$ */
|
/* $NetBSD: getopt.h,v 1.8 2007/11/06 19:21:18 christos Exp $ */
|
||||||
|
|
||||||
/* NetBSD: getopt.h,v 1.8 2007/11/06 19:21:18 christos Exp */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: pread.c,v 1.5 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: pread.c,v 1.4 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: print.c,v 1.95 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: print.c,v 1.94 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008, 2016 Christos Zoulas
|
* Copyright (c) 2008, 2016 Christos Zoulas
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -28,11 +26,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: readcdf.c,v 1.78 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: readcdf.c,v 1.77 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2003.
|
* Copyright (c) Christos Zoulas 2003.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: readelf.c,v 1.186 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: readelf.c,v 1.185 2022/09/24 20:22:21 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BUILTIN_ELF
|
#ifdef BUILTIN_ELF
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2003.
|
* Copyright (c) Christos Zoulas 2003.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -29,11 +27,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: seccomp.c,v 1.24 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: seccomp.c,v 1.23 2022/09/24 20:22:22 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#if HAVE_LIBSECCOMP
|
#if HAVE_LIBSECCOMP
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,11 +32,7 @@
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: softmagic.c,v 1.331 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: softmagic.c,v 1.330 2022/09/24 20:22:22 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
/* $NetBSD$ */
|
/* $NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp $ */
|
||||||
|
|
||||||
/* NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp */
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
@ -35,8 +33,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
__RCSID("NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp ");
|
__RCSID("$NetBSD: strcasestr.c,v 1.3 2005/11/29 03:12:00 christos Exp $");
|
||||||
__RCSID("NetBSD: strncasecmp.c,v 1.2 2007/06/04 18:19:27 christos Exp ");
|
__RCSID("$NetBSD: strncasecmp.c,v 1.2 2007/06/04 18:19:27 christos Exp $");
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */
|
/* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -21,11 +19,7 @@
|
|||||||
/* OPENBSD ORIGINAL: lib/libc/string/strlcat.c */
|
/* OPENBSD ORIGINAL: lib/libc/string/strlcat.c */
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: strlcat.c,v 1.5 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: strlcat.c,v 1.4 2022/09/24 20:22:22 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/* $OpenBSD: strlcpy.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */
|
/* $OpenBSD: strlcpy.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -21,11 +19,7 @@
|
|||||||
/* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */
|
/* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: strlcpy.c,v 1.5 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: strlcpy.c,v 1.4 2022/09/24 20:22:22 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -34,7 +32,7 @@
|
|||||||
*
|
*
|
||||||
* Created 25 August 1985 by John Gilmore, ihnp4!hoptoad!gnu.
|
* Created 25 August 1985 by John Gilmore, ihnp4!hoptoad!gnu.
|
||||||
*
|
*
|
||||||
* $File: tar.h,v 1.14 2022/09/24 20:22:22 christos Exp $ # checkin only
|
* $File: tar.h,v 1.15 2022/09/24 20:30:13 christos Exp $ # checkin only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Ian F. Darwin 1986-1995.
|
* Copyright (c) Ian F. Darwin 1986-1995.
|
||||||
* Software written by Ian F. Darwin and others;
|
* Software written by Ian F. Darwin and others;
|
||||||
@ -110,11 +108,7 @@ you use strange formats.
|
|||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#if 0
|
FILE_RCSID("@(#)$File: vasprintf.c,v 1.23 2022/09/24 20:30:13 christos Exp $")
|
||||||
FILE_RCSID("@(#)$File: vasprintf.c,v 1.22 2022/09/24 20:22:22 christos Exp $")
|
|
||||||
#else
|
|
||||||
__RCSID("$NetBSD$");
|
|
||||||
#endif
|
|
||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/* $NetBSD$ */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Christos Zoulas 2003.
|
* Copyright (c) Christos Zoulas 2003.
|
||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
|
Loading…
Reference in New Issue
Block a user