/usr/share/doc/cssc/cssc.html/The-Good-News.html is in cssc 1.4.0-5.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
This file documents the GNU cssc package for working with
SCCS files.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License". -->
<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
<head>
<title>CSSC: Compatibly Stupid Source Control: The Good News</title>
<meta name="description" content="CSSC: Compatibly Stupid Source Control: The Good News">
<meta name="keywords" content="CSSC: Compatibly Stupid Source Control: The Good News">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="Concept-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Year-2000-Issues.html#Year-2000-Issues" rel="up" title="Year 2000 Issues">
<link href="The-Bad-News.html#The-Bad-News" rel="next" title="The Bad News">
<link href="Year-2000-Issues.html#Year-2000-Issues" rel="prev" title="Year 2000 Issues">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space: nowrap}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: serif; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<a name="The-Good-News"></a>
<div class="header">
<p>
Next: <a href="The-Bad-News.html#The-Bad-News" accesskey="n" rel="next">The Bad News</a>, Previous: <a href="Year-2000-Issues.html#Year-2000-Issues" accesskey="p" rel="prev">Year 2000 Issues</a>, Up: <a href="Year-2000-Issues.html#Year-2000-Issues" accesskey="u" rel="up">Year 2000 Issues</a> [<a href="Concept-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="The-Good-News-1"></a>
<h3 class="section">9.1 The Good News</h3>
<p>Two-digit years are a problem in two places: firstly, within the actual
<small>SCCS</small> files, and secondly within command-line options. The
two-digit year fields in the <small>SCCS</small> files are correctly dealt with
according to the strategy mandated by X/Open. The command-line options
are also dealt with similarly.
</p>
<a name="index-Extensions-1"></a>
<p><small>CSSC</small> provides an additional feature for your convenience. If the
argument to the <samp>-c</samp> option of <code>get</code>, <code>prt</code>, or
<code>prs</code> contains more than twelve digits, the first two are
understood to be the century part of the year. For example,
‘<samp>971120193000</samp>’ and ‘<samp>19971120193000</samp>’ both represent exactly the
same time (7:30 p.m. on November 20, 1997). The fields of a date can be
separated with other (non-digit) characters, and so
‘<samp>1997/11/20-19:30:00</samp>’ also denotes the same time (but
‘<samp>1997/11/20</samp>’ is an error because there are fewer than twelve
digits).
</p>
<p>Some versions of SCCS are not year 2000 compliant and write incorrect
timestamps into SCCS files. <small>CSSC</small> correctly understands the
intended date, and will fix this problem when re-writing the file
(see <a href="Bug_002dfor_002dBug.html#Bug_002dfor_002dBug">Bug-for-Bug Compatibility</a>).
</p>
<p><small>CSSC</small> represents dates internally in a way that works for
Gregorian dates up to at least the year 32767 AD on all systems. Some
countries didn’t recognise the Gregorian calendar system until the
early twentieth century but this of course is not really a problem
now. The useful life of <small>SCCS</small> is from 1969 until 2068. Years are
stored in two-digit form in <small>SCCS</small> files and so although <small>CSSC</small>
has no such limits internally, it’s not possible to indicate a year
outside this range in an <small>SCCS</small> file if you want to retain
compatibility with other implementations of <small>SCCS</small>. All the
<small>CSSC</small> programs will successfully work with any date in this range,
all the way up to 2068, on all systems.
</p>
<p>In this future, years after 2068 may be represented as four-digit
fields, but <small>CSSC</small> doesn’t do this yet.
</p>
<p>The <small>CSSC</small> test suite (see <a href="Testing.html#Testing">The Test Suite</a>) contains
some test files which may be useful in determining the date range with
which your usual <small>SCCS</small> implementation will cope. These are in the
directory <samp>tests/year-2000</samp>.
</p>
<hr>
<div class="header">
<p>
Next: <a href="The-Bad-News.html#The-Bad-News" accesskey="n" rel="next">The Bad News</a>, Previous: <a href="Year-2000-Issues.html#Year-2000-Issues" accesskey="p" rel="prev">Year 2000 Issues</a>, Up: <a href="Year-2000-Issues.html#Year-2000-Issues" accesskey="u" rel="up">Year 2000 Issues</a> [<a href="Concept-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|