This file is indexed.

/usr/include/crystalspace-2.0/csver.h is in libcrystalspace-dev 2.0+dfsg-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/* ATTENTION: This file is generated from csver.h.template,
   make changes _there_ instead */
/*
    Copyright (C) 1998-2007 by Jorrit Tyberghein

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#ifndef __CS_CSVER_H__
#define __CS_CSVER_H__

/**\file
 * Crystal Space Version Information
 */

// *** NOTE ***
// Also update CS/configure.ac, CS/docs/texinfo/version.txi, and
// CS/mk/autoconf/crystal.m4 when updating the version number.

/*
 * Set if this is an unstable (development) CS version.
 * Also affects the version number - unstable versions have the RCS revision
 *  as the 'build' version component.
 */
//#define CS_VERSION_UNSTABLE

/**
 * Build version based off SVN revision.
 * This is not the straight SVN revision - instead it's the difference between
 * the "last changed" SVN revision and the revision of csver.h.template.
 * This is done to keep the number in a relatively small range (e.g. Win32
 * version number components usually only hold 16 bit numbers).
 * When a version bump happens, csver.h.template is edited to reflect the new
 * major and minor versions. This will also 'reset' the relative SVN revision
 * number.
 *
 * However, in case csver.h.template is edited for a reason other than a
 * version bump, CS_RCSREV_OFFSET is provided to allow adjustment
 * of the relative SVN revision to avoid having it go backwards.
 * Set the offset to the value reported by `rcsrev print` (BEFORE committing).
 *
 * CS_RCSREV_OFFSET should be set to 0 again when bumping the version.
 *
 * The relative SVN revision is computed by the script `rcsrev`.
 */
//CS_RCSREV_OFFSET 0
#ifndef CS_VERSION_RCSREV
#define CS_VERSION_RCSREV	0
#endif

/**\name Version number definitions (numeric)
 * @{ */
/// Major version
#define CS_VERSION_NUM_MAJOR  	2
/// Minor version (even are stable versions, odd are development versions)
#define CS_VERSION_NUM_MINOR  	0
/// Maintenance release
#define CS_VERSION_NUM_RELEASE	0
/**
 * Build number.
 * (Actually, a version number dependent on the SVN revision this version was
 * built off.)
 */
#define CS_VERSION_NUM_BUILD	CS_VERSION_RCSREV

/// Encode a version into a single number comparable using <, > etc.
#define CS_VERSION_NUM_COMPARABLE(Major,Minor,Release,Build)  \
  ((Major)*10000000 + (Minor)*100000 + (Release)*1000 + (Build))
/// Current version, encode into a single number comparable using <, > etc.
#define CS_VERSION_NUM_COMPARABLE_CURRENT         			\
  CS_VERSION_NUM_COMPARABLE(CS_VERSION_NUM_MAJOR, CS_VERSION_NUM_MINOR, \
    CS_VERSION_NUM_RELEASE, CS_VERSION_NUM_BUILD)
/** @} */

/**\name Version number definitions (strings)
 * @{ */
/// Major version
#define CS_VERSION_MAJOR 	CS_VER_QUOTE(CS_VERSION_NUM_MAJOR)
/// Minor version (even are stable versions, odd are development versions)
#define CS_VERSION_MINOR 	CS_VER_QUOTE(CS_VERSION_NUM_MINOR)
/// Maintenance release
#define CS_VERSION_RELEASE	CS_VER_QUOTE(CS_VERSION_NUM_RELEASE)
/// Build number
#define CS_VERSION_BUILD	CS_VER_QUOTE(CS_VERSION_NUM_BUILD)
/// Date of release
#define CS_RELEASE_DATE		CS_VER_QUOTE_(Tue 03-July-2012)
/** @} */

#define CS_VER_QUOTE_(X) #X
#define CS_VER_QUOTE(X) CS_VER_QUOTE_(X)

#if !defined(CS_PLATFORM_NAME)
/// Name of the platform CS is compiled for (i.e. Win32)
#  define CS_PLATFORM_NAME "MysteryPlatform"
#  if defined(CS_COMPILER_GCC)
#  warning Unable to identify platform name using CS_PLATFORM_NAME.
#  elif defined(CS_COMPILER_MSVC)
#  pragma message("Unable to identify platform name using CS_PLATFORM_NAME.")
#  endif
#endif
#if !defined(CS_PROCESSOR_NAME)
/// Name of the processor CS is compiled for (i.e. X86)
#  define CS_PROCESSOR_NAME "MysteryProcessor"
#  if defined(CS_COMPILER_GCC)
#  warning Unable to identify processor name using CS_PROCESSOR_NAME.
#  elif defined(CS_COMPILER_MSVC)
#  pragma message("Unable to identify processor name using CS_PROCESSOR_NAME.")
#  endif
#endif
#if !defined(CS_COMPILER_NAME)
/// Name of the compiler CS is compiled with (i.e. GCC)
#  define CS_COMPILER_NAME "MysteryCompiler"
#  if defined(CS_COMPILER_GCC)
#  warning Unable to identify compiler name using CS_COMPILER_NAME.
#  elif defined(CS_COMPILER_MSVC)
#  pragma message("Unable to identify compiler name using CS_COMPILER_NAME.")
#  endif
#endif

/// A complete version number
#define CS_VERSION_NUMBER CS_VERSION_MAJOR "." CS_VERSION_MINOR "." \
  CS_VERSION_RELEASE "." CS_VERSION_BUILD
/**
 * A string identifying mutually (binarily) compatible versions.
 * Stable versions with the same major and minor version are binary compatible
 * between each other.
 * Unstable versions are generally not binary compatible, hence builds from
 * different SVN revisions are treated as incompatible.
 */
#ifdef CS_VERSION_UNSTABLE
  #define CS_VERSION_NUMBER_COMPATIBLE	CS_VERSION_NUMBER
#else
  #define CS_VERSION_NUMBER_COMPATIBLE	CS_VERSION_MAJOR "." CS_VERSION_MINOR
#endif

/// A complete version string, including platform, processor and compiler
#define CS_VERSION CS_VERSION_NUMBER \
  " [" CS_PLATFORM_NAME "-" \
  CS_PROCESSOR_NAME "(" CS_VER_QUOTE(CS_PROCESSOR_SIZE) ")-" \
  CS_COMPILER_NAME "]"

#endif // __CS_CSVER_H__