Debian Codegraph @

NEWS

raw
1 NEWS for GNU RCS (Revision Control System)
2 See the end for copying conditions.
3
4
5 - 5.10.1 | 2022-02-02
6
7 - distribution now .tar.lz only
8
9 If you have GNU tar, you can use "tar xf" and it will DTRT.
10 If not, you can use "lzip -dc TARBALL | tar xf -" to unpack it.
11
12 - bug fix: handle unexpected byte in edit script (rlog)
13
14 Previously, a comma-v file w/ an unexpected (non-'a', non-'d')
15 dispatch byte in the edit script would cause rlog to segfault.
16 Now, rlog displays an error message w/ diagnostic and aborts.
17
18 The segfault is a regression brought by RCS 5.8 (2011-08-30).
19 RCS 5.7 (1995-06-16) would abort correctly, but used a different
20 diagnostic message -- "bad diff output line" -- that did not
21 include line number information.
22
23 Thus, because of the new (line number) info, new test t303 fails
24 for RCS 5.7 as well. Test number 3xx is for rlog functionality
25 and not a regression, even though the problem has regression
26 nature, too.
27
28 - portability fix: use ‘SIGSTKSZ’ more gingerly
29
30 Some versions of this <sys/sigstack.h> element cannot be used
31 in the CONDITION portion of a preprocessor-conditional (‘#if’)
32 construct. No problem, we found another way.
33
34 - misc portability tweaks via gnulib
35
36 As usual, GNU gnulib provides the right amount of buffer between
37 the Ideal and the Real worlds. Thanks, gnulib.
38
39 - bootstrap/maintenance tools
40
41 upgraded:
42
43 GNU gnulib 2022-01-27 07:00:41
44 GNU texinfo 6.8
45 GNU Automake 1.16.5
46 GNU Autoconf 2.71
47
48 as before:
49
50 (none)
51
52
53 - 5.10.0 | 2020-10-20
54
55 - bug fixes
56
57 - RCS file search skipped RCS/FILENAME by default
58
59 The default set of candidate filenames for the RCS file is:
60
61 RCS/FILENAME,v
62 RCS/FILENAME
63 FILENAME,v
64
65 RCS 5.8 (released 2011-08-30) introduced a bug which caused the
66 default RCS file search to skip RCS/FILENAME. Regression fixed.
67
68 - ‘rlog -w’ behaved like ‘rlog’ (sans ‘-w’)
69
70 RCS 5.8 (released 2011-08-30) introduced a bug which caused
71 ‘rlog -w’ (without any logins specified) to fail to default to
72 the user login. Instead it behaved as if option ‘-w’ were
73 omitted entirely.
74
75 The cases where logins are specified (e.g., ‘rlog -wjrhacker’)
76 were not affected.
77
78 - missing string in comma-v detected, diagnosed
79
80 Previously, if foo,v contained fragment:
81
82 1.1
83 log
84 text
85 @@
86
87 i.e., there was no string value following the ‘log’ keyword,
88 then rlog (et al) would interpret that as an "empty log message"
89 instead of as a violation of the RCS file format grammar, which
90 stipulates that a string value must follow the keywords ‘desc’,
91 ‘log’ and ‘text’ -- (info "(rcs) comma-v grammar").
92
93 Now, such a situation causes rlog (et al) to abort w/ message
94 "missing string after KEYWORD" (KEYWORD ∈ {desc, log, text}).
95
96 - subsecond resolution maintained for ‘-d’, ‘-T’
97
98 An RCS ‘delta’ includes a ‘date’ component w/ second (whole
99 number) resolution. Previously, on filesystems that support
100 subsecond (fractional) resolution for the file modification time
101 (aka "mtime"), RCS commands given the ‘-d’ and/or ‘-T’ options
102 would disregard, on read, and specify 0 (zero), on write, the
103 fractional mtime.
104
105 Now, RCS preserves subsecond mtime in those cases. More details
106 in new manual section -- (info "(rcs) Stamp resolution").
107
108 - portability fixes
109
110 - now buildable under ‘gcc -std=c11’ (default for GCC 5)
111
112 RCS previously failed to build under ‘-std=c11’, which happens
113 to be the default mode of GCC 5. In particular, ‘-std=c11’ is
114 more strict about function attributes syntax than ‘-std=c99’.
115
116 Now, the offending code has been rectified. (Specifically,
117 attribute ‘_Noreturn’ now is at the start of a func decl.)
118
119 - threads support
120
121 RCS itself is clueless about threads, but it uses gnulib, which
122 may or may not require threads support. This manifests as the
123 configure script options ‘--enable-threads=MODEL’ as well as
124 ‘--disable-threads’.
125
126 Previously, "make" would ignore MODEL (even implicitly), acting
127 as if ‘--disable-threads’ were specified. Now, it takes into
128 account MODEL by propagating makefile var ‘LIBTHREAD’.
129
130 - consult ‘USER’ first if ‘LOGNAME’ read-only
131
132 To determine the user (login) name in the absence of a specific
133 command-line option, RCS normally checks first the env var
134 ‘LOGNAME’ and second, ‘USER’. Alas, this is unworkable under
135 AIX, where ‘LOGNAME’ is read-only. So now, if the configure
136 script finds ‘LOGNAME’ to be read-only, it arranges to build RCS
137 to check ‘USER’ first and then ‘LOGNAME’. See README.
138
139 - configure script avoids ‘date -r’
140
141 Unfortunately ‘date -r’ is not POSIX. This made AIX unhappy.
142
143 - other AIX accomodation
144
145 The AIX compiler complains about the implicit casting that
146 occurs when returning a pointer from a function whose return
147 type is ‘bool’. So, we are now explicit.
148
149 - documentation improvements
150
151 - docfix: add "Log message option" to Detailed Node Listing
152
153 Probably Emacs by now has some automagic way to sync the
154 ‘@detailmenu’ section w/ the text body... hmmm.
155
156 - style change due to ‘-zZONE’ option
157
158 Specifying option ‘-zZONE’ to ‘rcs log’ changes the date output
159 style to use hyphens (ISO) instead of slashes (YYYY/MM/DD).
160
161 - rlog, use with CVS
162
163 Since RCS 5.8 (released 2011-08-30), there have been sporadic
164 reports of rlog (aka "rcs log") failing with CVS files. The
165 manual now addresses this -- (info "(rcs) comma-v particulars").
166
167 - delim-separated list
168
169 GNU RCS has always supported comma to separate items in a list
170 (e.g., ‘rcs frob -o1.1,2.2’ to remove (or "outdate") revisions
171 1.1 and 2.2). But did you know that most places a comma is
172 welcome and you can use other delimiter characters as well?
173 Read all about it -- (info "(rcs) Delim-separated list").
174
175 - (style) pargraphs no longer indented
176
177 This looks nicer (IMHO) for Info and Text output formats.
178
179 - testing improvements
180
181 Many new tests and test cases for existing tests were added, to
182 catch regressions and exercise infrequent code paths. For "make
183 check" (locally), function coverage is 97.3% (considered "high")
184 and line coverage is 84.9% (considered "medium"), per lcov.
185
186 - bootstrap/maintenance tools
187
188 upgraded:
189
190 GNU gnulib 2020-10-19 23:37:09
191 GNU texinfo 6.7
192 GNU Automake 1.16.2
193 GNU Autoconf 2.69c
194
195 as before:
196
197 (none)
198
199
200 - 5.9.4 | 2015-01-22
201
202 - portability fix in "make check" for OSX
203
204 We now avoid ‘head -N’, where N is a number, since that
205 construct is not portable. See:
206 http://lists.gnu.org/archive/html/bug-rcs/2014-11/msg00000.html
207
208 - doc improvements
209
210 - index ‘rcs -o’ better
211
212 It seems the term "outdate" is itself outdated, nowadays (sigh).
213 This command is now indexed under "deleting" and "removing", as
214 well as "outdating".
215
216 - move ‘@cindex’ before ‘@item’ in tables
217
218 The tables of substitution mode options and common options are
219 now indexed such that selecting the indexed item in Emacs leaves
220 point on the item's line and not the one after.
221
222 - new index entries
223
224 For concepts (locking, implicit checkout, branching-related
225 stuff) and keywords.
226
227 - introspective stuff moved into chapter "Hacking"
228
229 These former chapters have been moved into chapter "Hacking":
230 "File format", "Still missing", "Reporting bugs". As a nice
231 side-effect, the table of contents of the PDF now is one page.
232
233 - ‘RCS_MEM_LIMIT’ on manpages updated
234
235 RCS 5.9.2 (released 2013-11-28) changed how ‘RCS_MEM_LIMIT’
236 works. The Texinfo docs were updated but not the manpages.
237
238 - maintenance tools
239
240 upgraded:
241
242 GNU Automake 1.15
243 GNU gnulib 2015-01-20 09:09:03
244 GNU texinfo 5.2
245
246 as before:
247
248 GNU Autoconf 2.69
249
250
251 - 5.9.3 | 2014-09-17
252
253 - compatibility w/ RCS 2.x file format dropped
254
255 This was presaged w/ RCS 5.9.0 (released 2013-05-06), below.
256 Effectively, the configure script no longer supports option
257 ‘--enable-compat2’, and RCS programs will fail, reporting a
258 syntax error, if given a comma-v file in 2.x format.
259
260 - bug fixes
261
262 - crash on co/ci without changes on a branch
263
264 RCS 5.8 (released 2011-08-30) introduced a bug whereby a ci
265 without changes (i.e., reversion) on a branch would crash,
266 leaving a temporary files and corrupted comma-v file as well.
267 This regression is now fixed. See tests/t804, and also:
268 http://lists.gnu.org/archive/html/bug-rcs/2014-01/msg00000.html
269
270 - file corruption using stdio under Cygwin, Darwin
271
272 RCS 5.8 (released 2011-08-30) introduced a bug when using stdio
273 (e.g., with env var ‘RCS_MEM_LIMIT’ set to "0") under Cygwin
274 whereby ci with a sufficiently large working file would silently
275 write a truncated comma-v file. See tests/t805, and also:
276 http://lists.gnu.org/archive/html/bug-rcs/2014-06/msg00000.html
277
278 (Although the bug was initially discovered under Cygwin, the
279 Hydra project reported the same problem for Darwin.)
280
281 - portability fixes
282
283 - don't recurse on ‘main’
284
285 This is for the sake of Cygwin "make check". See:
286 http://lists.gnu.org/archive/html/bug-rcs/2014-08/msg00015.html
287
288 - avoid C99 VLA elems in func decl, sometimes
289
290 This is for the sake of Solaris 10 + GCC 3.4.3. See:
291 http://lists.gnu.org/archive/html/bug-rcs/2014-08/msg00002.html
292
293 - new diff/diff3 cross-compilation support
294
295 The configure script now assigns "optimistic defaults" to some
296 diff/diff3-related vars when cross-compiling and invoked with
297 vars ‘DIFF’ and ‘DIFF3’. See README.
298
299 - maintenance tools updated
300 - automake (GNU automake) 1.14.1
301 - gnulib-tool (GNU gnulib 2014-09-16 19:26:48) 0.1.222-aa0c2
302
303
304 - 5.9.2 | 2013-11-28
305
306 - bugfixes
307
308 - avoid possibly failing command in backticks
309
310 Some versions of Solaris /bin/sh would cause the extract-help
311 build script to exit failurefully when the grep command in the
312 backticks failed (in the presence of "set -e"). Sigh.
313
314 - handle low-memory situations like RCS 5.7 (mostly)
315
316 For reading comma-v files, RCS 5.7 tries mmap(2), in-core
317 snarfing, and stdio access, falling back to slower methods
318 on failure of the faster method. RCS 5.8 maintained the order,
319 but did not fall back; on failure, it gave up immediately.
320 This change was originally viewed as a feature, but lately it
321 seemed more like a bug.
322
323 Now, RCS 5.7 behavior is for the most part restored. The
324 exception is when env var ‘RCS_MEM_LIMIT’ is set; in that case,
325 failure of a fast method does not fall back to the slower one.
326
327 - default for env var ‘RCS_MEM_LIMIT’ relaxed
328
329 This used to be 256 kilobytes, a reasonable value a long time
330 ago, but ridiculously low nowadays. Now, it is "unlimited",
331 which is more in line w/ the GNU philosophy, anyway:
332
333 (info "(standards) Semantics")
334
335 Since the env var is mostly intended for testing RCS, you can
336 normally leave it unset. (Probably it will be removed in a
337 future release.)
338
339 - maintenance tools updated
340 - automake (GNU automake) 1.14
341 - gnulib-tool (GNU gnulib 2013-11-28 08:46:06) 0.1.21-37f8a
342
343
344 - 5.9.1 | 2013-10-04
345
346 - bugfixes
347
348 - specify ‘diff --binary’ consistently for non-POSIX systems
349
350 On non-POSIX systems, in some cases, ‘rcs frob’ used to omit
351 ‘--binary’ from the command-line to the underlying diff(1).
352 Now, that is done in all cases.
353
354 - portability fixes
355
356 - avoid ‘grep -q’
357
358 GNU grep understands ‘grep -q’ but some others do not.
359
360 (info "(autoconf) Limitations of Usual Tools")
361
362 - avoid ‘$<’ in makefile
363
364 GNU make understands ‘$<’ but some others do not.
365
366 (info "(autoconf) $< in Ordinary Make Rules")
367
368 - avoid backslash in backticks
369
370 The /bin/sh scripts used in "make" and "make check" now avoid
371 using a backslash in backticks, which can cause problems for
372 Solaris 9 /bin/sh (and maybe other /bin/sh implementations).
373
374 - ‘PROGRAM --help’ shows home page / "gethelp" info
375
376 This is for compliance w/ the GNU coding standards.
377
378 (info "(standards) --help")
379
380 - maintenance tools updated
381 - automake (GNU automake) 1.13.4
382 - gnulib-tool (GNU gnulib 2013-10-03 04:59:38) 0.0.8036-28df8
383
384
385 - 5.9.0 | 2013-05-06
386
387 - distribution now .tar.lz and .tar.xz
388
389 If you have GNU tar, you can use "tar xf" and it will DTRT.
390 If not, you can use "lzip -dc TARBALL | tar xf -" to unpack
391 the .tar.lz, or "xz -dc TARBALL | tar xf -" for the .tar.xz.
392
393 - planned retirement
394
395 - configure option ‘--enable-compat2’
396
397 This option enables reading of files written by RCS 2.x (before
398 RCS was GNU, even), but the file format became obsolete in 1982.
399 Support for it WILL BE REMOVED in a near future GNU RCS release.
400
401 - common option ‘-V’
402
403 This option is obsoleted by ‘--version’ (since 5.8, 2011-08-30).
404 Support for it WILL BE REMOVED in some future GNU RCS release.
405 Its use now produces a warning to stderr.
406
407 Please note that ‘-VN’ (N ∈ {3,4,5}) is a separate issue.
408
409 - bugs fixed
410
411 - ‘rcsmerge --help’ mentions ‘-A’, ‘-E’, ‘-e’
412
413 These options are accepted and internally passed to diff3(1).
414
415 - ‘ident -VN’ and ‘merge -VN’ now signal error
416
417 For these commands, the argument to ‘-V’ has no meaning.
418 Previously, such invocations would display version info,
419 ignoring the arg. Now they signal a "bad option" error.
420
421 - new features
422
423 - ident(1) recognizes Subversion "fixed-width keyword syntax"
424
425 In addition to the normal keyword pattern, for Subversion 1.2
426 (and later) compatibility, ident(1) also recognizes patterns
427 having one of the forms:
428
429 $KEYWORD:: TEXT $
430 ;; two colons and space after keyword
431 ;; space before ending $
432
433 $KEYWORD:: TEXT#$
434 ;; two colons and space after keyword
435 ;; hash before ending $
436
437 - new co(1) option ‘-S’ for "self-same" mode
438
439 In this mode, the owner of a lock is unimportant, just that it
440 exists. Effectively, this prevents you from checking out the
441 same revision twice.
442
443 $ whoami
444 ttn
445
446 $ co -l -f z
447 RCS/z,v --> z
448 revision 1.1 (locked)
449 done
450
451 $ co -S -l -f z
452 RCS/z,v --> z
453 co: RCS/z,v: Revision 1.1 is already locked by ttn.
454
455 - several RCS commands "internalized" into rcs(1)
456
457 As part of an ongoing effort to modernize the command-line
458 interface of GNU RCS, the previously standalone programs:
459
460 ci, co, rcs, rcsclean, rcsdiff, rcsmerge, rlog
461
462 can now be invoked as "rcs PROGRAM". In this case, we call
463 PROGRAM a "command", and also provide some aliases. E.g., you
464 can type "rcs diff" in addition to "rcs rcsdiff" (and "rcsdiff",
465 of course). We plan to support standalone (w/o "rcs" prefix)
466 invocation from the shell at least through the 5.x series of
467 releases -- not indefinitely, but for a good while, yet.
468
469 The rcs(1) program itself now supports ‘--commands’ to list all
470 the commands, ‘--aliases’ to list their aliases, as well as
471 ‘--help COMAMND’ to show the help for COMMAND.
472
473 Note that programs ident(1) and merge(1) remain standalone.
474
475 Lastly, in the manual, section "Invoking rcs" now describes both
476 "modern" and "legacy" usages. Also, the internalized commands
477 invocations mentions both "rcs COMMAND" and "PROGRAM" styles.
478
479 - ‘--help’ output includes a one-line description
480
481 E.g., "merge --help" says: "Three-way file merge".
482
483 - most long options can be recognized if partially specified
484
485 With the exception of "rcs --help COMMAND", where "--help" must
486 be spelled out in full, all long options can now be recognized
487 even if partially specified. For example, "rcs --al" is
488 recognized as "rcs --aliases".
489
490 - updated portability
491
492 Several more Gnulib (http://www.gnu.org/software/gnulib) modules
493 are now in use.
494
495 - new cross-compilation support
496
497 The configure script now assigns "pessimistic defaults" when
498 cross-compiling. See new section "cross-compilation" in README.
499
500 - effects of ‘-VN’ (N ∈ {3,4,5}) documented
501
502 See (info "(rcs) Misc common options").
503
504 - maintenance tools updated
505 - gnulib-tool (GNU gnulib 2013-05-01 06:14:19) 0.0.7913-5191
506
507
508 - 5.8.2 | 2013-04-04
509
510 - Bugs fixed
511
512 - Wrong symbolic name dereference
513
514 RCS 5.8 introduced a bug whereby commands would incorrectly
515 dereference a symbolic name (into a numerical revision number)
516 in the presence of multiple symbolic names that share a common
517 prefix. See tests/t803.
518
519 - ‘integrity’ value syntax better specified
520
521 The ‘integrity’ value (if present) is a string composed of a
522 system part followed by an optional user part, with formfeed
523 (^L, U+0C) separating the two. Unlike other string values, the
524 ‘integrity’ string (either part) must NOT contain '@' (U+40).
525 If it does, RCS displays a "spurious '@' in `integrity' value"
526 error message and exits failurefully.
527
528 This change restores interop play-space for third-party tools
529 that was stricken w/ the RCS 5.8 top-level grammar freeze. Left
530 unspecified is how such tools should divvy up the user part.
531
532 - New manual chapter: RCS file format
533
534 This documents the RCS file format grammar and particulars,
535 adapted from rcsfile(5).
536
537 - Manpages refer to info documentation
538
539 They now recommend using "info rcs" for full documentation.
540
541 - Script to trim "junk at end of file" posted
542
543 The "junk at end of file" error occurs for some files due to RCS
544 5.8 being more strict about the syntax it accepts. You can use
545 ‘trimrcs’ by Warren Jones:
546
547 http://lists.gnu.org/archive/html/help-rcs/2013-01/msg00006.html
548
549 to remedy such files while we figure out how best to move such
550 functionality into RCS proper.
551
552 - Maintenance tools updated
553 - automake (GNU Automake) 1.13.1
554 - gnulib-tool (GNU gnulib 2013-03-19 16:08:47) 0.0.7899-34f84
555 - makeinfo (GNU Texinfo) 5.1
556
557
558 - 5.8.1 | 2012-06-05
559
560 - Bugs fixed
561
562 - Debug output removed
563
564 Due to an oversight, release 5.8 rlog included code to write
565 debugging output to stderr for invocations using the ‘-d’ option
566 and a date range (e.g., ‘rlog -d 2010<2012’).
567
568 - Criteria for avoiding read-only checks refined
569
570 For "make check", some test cases are inhibited if the user
571 running the test is not effectively blocked from writing a
572 purportedly read-only file, such as when "make check" is run by
573 the super user, or for certain (weird) NFS situations.
574
575 Previously, to determine this condition, we considered only the
576 operating system type, a very crude (and incomplete) proxy.
577 Now, we explicitly check with a shell sequence comprising the
578 umask(1) and test(1) commands, plus output-redirection.
579
580 - Regression in ‘-zLT’ handling
581
582 On a 64-bit x86 system, RCS 5.8 introduced a regression whereby:
583
584 rlog -zLT -d>2011-05-04
585
586 would select the correct entry but display its date always with
587 default (01) month and day, i.e., YYYY-01-01. This is now fixed
588 (see also tests/t320).
589
590 - Regression in ‘ci -d -T’ handling
591
592 RCS 5.8 introduced a regression whereby:
593
594 ci -l -d -T FILE
595
596 would set the mtime of RCS/FILE,v (the comma-v file) to the
597 epoch. This is now fixed (see also tests/t810).
598
599 - Use ‘diff --label’ instead of ‘diff -L’
600
601 Previously, RCS used GNU diff's ‘-L’ option. According to Paul
602 Eggert (a GNU diffutils maintainer):
603
604 That option has been undocumented since diffutils 2.8
605 (released in March 2002) and the option is intended to
606 be replaced sometime soon with a different meaning.
607
608 Now, RCS uses ‘diff --label’, thus immune to the planned change.
609
610 - Miscellaneous changes
611 - Make help extraction noisy (on failure)
612 - Silence some compiler warnings
613 - Increase coverage of "make check"
614
615 - Documentation improvements
616
617 - Manpage rcsintro(1) dropped
618
619 This manpage is redundant, and (arguably) should not have been
620 in section 1 in the first place.
621
622 - Use "Invoking COMMAND" instead of "COMMAND" as node names
623
624 This makes it easier for ‘info --usage COMMAND’ to DTRT, and
625 makes GNU (info "(standards) Manual Structure Details") happy.
626
627 - explicitly UTF-8
628
629 This is to prepare for a (future) GNU Texinfo release that
630 renders @code in a more pretty way when the encoding is UTF-8.
631 If you're reading this (from the future) with such a Texinfo at
632 hand, feel free to regenerate the docs in doc/ prior to install.
633
634 - CVS is not GNU
635
636 Previously, we incorrectly said "GNU CVS", succumbing to a
637 common misunderstanding. Now we know better.
638
639 - TAGS file no longer distributed
640
641 To create, configure normally and do "make TAGS".
642
643 - New configure script option ‘--enable-coverage’
644
645 Specifying ‘--enable-coverage’ causes ‘_Exit’ to be an alias for
646 ‘exit’ and CFLAGS to append ‘--coverage’ if the compiler is GCC.
647 This is needed because the coverage machinery writes the .gcda
648 files only on ‘exit’.
649
650 This option is for maintainers; most people can ignore it.
651
652 - Portability improvements
653 - Use more gnulib modules
654 - Use portable Makefile subst-ref variable syntax
655 - Use portable shell command-output interpolation syntax
656 - Maintenance tools upgraded
657 - GNU Automake 1.12
658 - GNU Autoconf 2.69
659 - gnulib-tool (GNU gnulib 2012-06-03 16:29:00) 0.0.7432-f6c24-modified
660
661
662 - 5.8 | 2011-08-30
663
664 - License now GPLv3+ (see COPYING)
665
666 - Change in terminology: from "path" to "file name" (or "file-name")
667
668 However, if "path" intends "search path", we say so explicitly.
669
670 - Changes to the RCS package
671
672 - New documentation in Info format
673
674 On "make install", rcs.info is installed in $(infodir), with
675 title "GNU RCS <VERSION>" in dircategory "Version control".
676 The doc source is texinfo (released under GNU FDL 1.3), so you
677 can easily create output in HTML, PDF, etc.
678
679 - Dropped configure option: --with-diffutils
680
681 To specify non-GNU diffutils programs diff(1) and diff3(1), name
682 them using variables on the configure command-line. See README.
683
684 - Configuration more strict in some ways, more lax in others.
685
686 Before, part of the configuration was done at compile time.
687 Now, all of it is done by the configure script. Here are the
688 set of conditions which will cause the configure script to fail
689 (with a "could not find..." message):
690
691 - for --enable-mailer=PROG, ‘PROG’ not absolute;
692 - for diff(1), value of env var ‘DIFF’ not absolute;
693 - diff(1) not GNU diffutils compatible;
694 - for diff3(1), value of env var ‘DIFF3’ not absolute;
695 - for ed(1), value of env var ‘ED’ not absolute;
696 - no C99-capable compiler.
697
698 Here, "absolute" means "specified as an absolute filename".
699 On the flip side, configuration no longer checks for some
700 situations such as ‘sigaction’ yes, but ‘SA_SIGINFO’ no.
701
702 Most of the portability duties are now handled by gnulib.
703
704 - New configure option: --enable-suid[=setreuid]
705
706 This builds RCS with setuid support (the default). Optional
707 arg ‘setreuid’ means use setreuid(2) instead of seteuid(2).
708
709 - New configure option: --disable-mmap
710
711 This builds RCS without mmap(2), even if available. See README.
712
713 - New configure option: --enable-mailer=PROG
714
715 The feature whereby ci(1) sends mail when breaking a lock is now
716 disabled by default. To enable, specify ‘--enable-mailer=PROG’
717 to the configure script. See README.
718
719 - New configure option: --enable-compat2
720
721 This preponderantly unlikely to be used option allows RCS
722 commands to read RCS files written by RCS 2. See README.
723
724 - You can "make check" prior to "make install".
725
726 Doing "make check" automatically prepends to the ‘PATH’ env var
727 the value of ‘$(abs_top_builddir)/src’, so that the programs
728 co, rcsdiff, and rcsmerge can find their peers (co and merge).
729
730 Likewise, "make installcheck" prepends ‘$(DESTDIR)$(bindir)’.
731
732 Previously, you had to "make install" first and then arrange
733 for ‘$(DESTDIR)$(bindir)’ to be on ‘PATH’ "manually".
734
735 See tests/README for more info on the test suite.
736
737 - Bug fixes
738
739 - Remove all edit info when removing all revisions.
740
741 Previously, "rcs -o" (outdating) all revisions failed to
742 leave the RCS file in a consistent state; edit info (i.e.,
743 log message + diff(1) output) remained for the deleted revisions.
744
745 For example, this sequence of commands:
746 echo foo > foo
747 ci -q -i -t-desc -mHELLO foo
748 rcs -q -o1.1: foo
749 grep '@H' foo,v
750 used to display "@HELLO" to stdout.
751
752 Now, all revisions are completely removed.
753
754 - Code no longer uses mktemp(3).
755
756 Using mktemp(3) is a security risk. We use mkstemp(3) now.
757 Likewise, rcsfreeze.sh now uses mktemp(1).
758
759 - Misc manpage tweaks / fixes.
760
761 Document ‘rlog -q’; fix small merge.1 omission; add branch
762 labels in rcsfile.5; say "GNU RCS <VERSION>" in footer.
763
764 - Other changes
765
766 - All commands accept ‘--help’ and ‘--version’.
767
768 The help output includes an email address for bug reports.
769 For continuity, option ‘-V’ is now a synonym for ‘--version’.
770
771 Relatedly, commands no longer display usage info if given
772 a bad or malformed option. You can use ‘--help’ for that.
773
774 - A string of all digits is now valid for author, state.
775
776 This means you can set the author or state to, for example,
777 "000000" or "42". Previously, these would have caused a
778 "invalid identifier" or "invalid symbol" error.
779
780 - Env var RCS_MEM_LIMIT controls stdio threshold.
781
782 For speed, RCS uses memory-based routines for files up to
783 256 kilobytes, and stream-based (stdio) routines otherwise.
784 You can change this threshold value by setting the environment
785 variable ‘RCS_MEM_LIMIT’ to a non-negative integer, measured in
786 kilobytes. An empty ‘RCS_MEM_LIMIT’ value is silently ignored.
787
788 - RCS can now work with files larger than 2 gigabytes.
789
790 RCS now uses large file offsets (#define _FILE_OFFSET_BITS 64).
791
792 - Pass-through for RCS file ‘commitid SYMBOL’ now builtin.
793
794 Due to GNU CVS (Concurrent Versions System) using a compatible
795 file format as RCS for the RCS file, you can use RCS commands
796 to view and manipulate its contents. (Note, however, the next
797 NEWS item.)
798
799 This works well enough except for a small annoyance: CVS adds a
800 per-revision field called the "commitid" with an opaque (to RCS)
801 symbolic value. Previously, RCS commands would emit a warning
802 "unrecognized phrases" (unless given ‘-q’ on the command-line).
803
804 RCS commands now automatically support pass-through handling of
805 ‘commitid SYMBOL’ (so ‘-q’ is no longer necessary).
806
807 - RCS file top-level grammar frozen.
808
809 The RCS file top-level grammar is now frozen; RCS no longer
810 supports pass-through operation of unrecognized key/data pairs
811 (called "newphrases" in the RCS 5.7 rcsfile(5) manpage).
812
813 To avoid painting ourselves into a corner, the grammar now
814 includes a new key ‘integrity’ with @-string value, whose
815 sub-grammar is not yet specified. (We intend to keep checksums
816 and other compacted redundancies in this field, for manipulation
817 by the commands in a future RCS 5.x release.) For upward
818 compatibility, the commands in this release do not change this
819 field, although they silently read and write it (pass-through),
820 if present.
821
822 - RCS file syntax-validated earlier, completely.
823
824 Previously, RCS file syntax was validated lazily, and trailing
825 garbage was not detected (see bugfix above). Now, a top-level
826 validation is done on each access.
827
828 - Possible to specify an empty log message with ci -m, rcs -m.
829
830 The commands "ci -m" and "rcs -m" no longer error on an
831 empty log message. Their non-interactive behavior is now
832 consistent with the interactive invocation.
833
834 was: ci -m file < /dev/null # use stdin to avoid error
835 now: ci -m file # works fine, like so
836
837 Note that these commands actually store as the log message
838 the string: "*** empty log message ***".
839
840 - Date option accepts some more date-only formats
841
842 Date format ‘YYYY-DDD’ specifies a year and a day (1-366),
843 while format ‘YYYY-wWW-D’ specifies a year, an ISO week number
844 (0-53, 0 is a GNU RCS extension), and a day number (1-7, for
845 Monday through Sunday).
846
847 - Changes to rcsdiff
848
849 - New handling for option: -U N
850
851 This arranges to output N lines of unified-diff context.
852 Relatedly, the list of possible options passed to the underlying
853 diff(1) appears in both "rcsdiff --help" and in the manual.
854
855 - Refined "same-revision don't call diff" optimization
856
857 Normally, if the two revisions specified are the same, we avoid
858 calling the underlying diff(1) on the theory that it will
859 produce no output. This does not hold generally for ‘-y’
860 (--side-by-side) and ‘-D’ (--ifdef), such as when the revision
861 specified is by different symbolic names, so for those options
862 the optimization is disabled.
863
864
865
866 - 5.7 | 1995-06-16
867
868 Here is a brief summary of user-visible changes since 5.6.
869
870 New options:
871 ‘-kb’ supports binary files.
872 ‘-T’ preserves the modification time of RCS files.
873 ‘-V’ prints the version number.
874 ‘-zLT’ causes RCS to use local time in working files and logs.
875 ‘rcsclean -n’ outputs what rcsclean would do, without actually doing it.
876 ‘rlog -N’ omits symbolic names.
877 There is a new keyword ‘Name’.
878 Inserted log lines now have the same prefix as the preceding ‘$Log’ line.
879
880 Most changes for RCS version 5.7 are to fix bugs and improve portability.
881 RCS now conforms to GNU configuration standards and to Posix 1003.1b-1993.
882
883 Features new to RCS version 5.7, and possibly incompatible
884 in minor ways with previous practice, include:
885
886 - Inserted log lines now have the same prefix as the preceding ‘$Log’
887 line. E.g. if a $Log line starts with ‘// $Log’, log lines are
888 prefixed with ‘// ’. RCS still records the (now obsolescent)
889 comment leader inside RCS files, but it ignores the comment leader
890 unless it is emulating older RCS versions. If you plan to access a
891 file with both old and new versions of RCS, make sure its comment
892 leader matches its ‘$Log’ line prefix. For backwards compatibility
893 with older versions of RCS, if the log prefix is ‘/*’ or ‘(*’
894 surrounded by optional white space, inserted log lines contain ‘ *’
895 instead of ‘/*’ or ‘(*’; however, this usage is obsolescent and
896 should not be relied on.
897
898 - $Log string ‘Revision’ times now use the same format as other times.
899
900 - Log lines are now inserted even if -kk is specified; this simplifies
901 merging.
902
903 - ci's -rR option (with a nonempty R) now just specifies a revision
904 number R. In some beta versions, it also reestablished the default
905 behavior of releasing a lock and removing the working file. Now,
906 only the bare -r option does this.
907
908 - With an empty extension, any appearance of a directory named ‘RCS’
909 in a pathname identifies the pathname as being that of an RCS file.
910 For example, ‘a/RCS/b/c’ is now an RCS file with an empty extension.
911 Formerly, ‘RCS’ had to be the last directory in the pathname.
912
913 - rlog's -d option by default now uses exclusive time ranges.
914 E.g. ‘rlog -d"<T"’ now excludes revisions whose times equal T
915 exactly. Use ‘rlog -d"<=T"’ to get the old behavior.
916
917 - merge now takes up to three -L options, one for each input file.
918 Formerly, it took at most two -L options, for the 1st and 3rd input
919 files.
920
921 - ‘rcs’ now requires at least one option; this is for future expansion.
922
923 Other features new to RCS version 5.7 include:
924
925 - merge and rcsmerge now pass -A, -E, and -e options to the subsidiary
926 diff3.
927
928 - rcs -kb acts like rcs -ko, except it uses binary I/O on working
929 files. This makes no difference under Posix or Unix, but it does
930 matter elsewhere. With -kb in effect, rcsmerge refuses to merge;
931 this avoids common problems with CVS merging.
932
933 - The following is for future use by GNU Emacs 19's version control
934 package:
935
936 - rcs's new -M option causes it to not send mail when you break
937 somebody else's lock. This is not meant for casual use; see
938 rcs(1).
939
940 - ci's new -i option causes an error if the RCS file already exists.
941 Similarly, -j causes an error if the RCS file does not already
942 exist.
943
944 - The new keyword ‘Name’ is supported; its value is the name, if any,
945 used to check out the revision. E.g. ‘co -rN foo’ causes foo's
946 $Name...$ keyword strings to end in ‘: N $’.
947
948 - The new -zZONE option causes RCS to output dates and times using ISO
949 8601 format with ZONE as the time zone, and to use ZONE as the
950 default time zone for input. Its most common use is the -zLT
951 option, which causes RCS to use local time externally. You can also
952 specify foreign time zones; e.g. -z+05:30 causes RCS to use India
953 time (5 hours 30 minutes east of UTC). This option does not affect
954 RCS files themselves, which always use UTC; it affects only output
955 (e.g. rlog output, keyword expansion, diff -c times) and
956 interpretation of options (e.g. the -d option of ci, co, and rlog).
957 Bare -z restores the default behavior of UTC with no time zone
958 indication, and the traditional RCS date separator ‘/’ instead of
959 the ISO 8601 ‘-’. RCSINIT may contain a -z option. ci -k parses
960 UTC offsets.
961
962 - The new -T option of ci, co, rcs, and rcsclean preserves the
963 modification time of the RCS file unless a revision is added or
964 removed. ci -T sets the RCS file's modification time to the new
965 revision's time if the former precedes the latter and there is a new
966 revision; otherwise, it preserves the RCS file's modification time.
967 Use this option with care, as it can confuse ‘make’; see ci(1).
968
969 - The new -N option of rlog omits symbolic names from the output.
970
971 - A revision number that starts with ‘.’ is considered to be relative
972 to the default branch (normally the trunk). A branch number
973 followed by ‘.’ stands for the last revision on that branch.
974
975 - If someone else already holds the lock, rcs -l now asks whether you
976 want to break it, instead of immediately reporting an error.
977
978 - ci now always unlocks a revision like 3.5 if you check in a revision
979 like 3.5.2.1 that is the first of a new branch of that revision.
980 Formerly it was inconsistent.
981
982 - File names may now contain tab, newline, space, and '$'. They are
983 represented in keyword strings with \t, \n, \040, and \044. \ in a
984 file name is now represented by \\ in a keyword string.
985
986 - Identifiers may now start with a digit and (unless they are symbolic
987 names) may contain ‘.’. This permits author names like ‘john.doe’
988 and ‘4tran’.
989
990 - A bare -V option now prints the current version number.
991
992 - rcsdiff outputs more readable context diff headers if diff -L works.
993
994 - rcsdiff -rN -rN now suppresses needless checkout and comparison
995 of identical revisions.
996
997 - Error messages now contain the names of files to which they apply.
998
999 - Mach style memory mapping is now supported.
1000
1001 - The installation procedure now conforms to the GNU coding standards.
1002
1003 - When properly configured, RCS now strictly conforms to Posix 1003.1b-1993.
1004
1005
1006 - 5.6 | 1993-03-25
1007
1008 Features new to RCS version 5.6 include:
1009
1010 - Security holes have been plugged; setgid use is no longer supported.
1011
1012 - co can retrieve old revisions much more efficiently. To generate
1013 the Nth youngest revision on the trunk, the old method used up to N
1014 passes through copies of the working file; the new method uses a
1015 piece table to generate the working file in one pass.
1016
1017 - When ci finds no changes in the working file, it automatically
1018 reverts to the previous revision unless -f is given.
1019
1020 - RCS follows symbolic links to RCS files instead of breaking them,
1021 and warns when it breaks hard links to RCS files.
1022
1023 - ‘$’ stands for the revision number taken from working file keyword
1024 strings. E.g. if F contains an Id keyword string, ‘rcsdiff -r$ F’
1025 compares F to its checked-in revision, and ‘rcs -nL:$ F’ gives the
1026 symbolic name L to F's revision.
1027
1028 - co and ci's new -M option sets the modification time of the working
1029 file to be that of the revision. Without -M, ci now tries to avoid
1030 changing the working file's modification time if its contents are
1031 unchanged.
1032
1033 - rcs's new -m option changes the log message of an old revision.
1034
1035 - RCS is portable to hosts that do not permit ‘,’ in filenames.
1036 (‘,’ is not part of the Posix portable filename character set.)
1037 A new -x option specifies extensions other than ‘,v’ for RCS files.
1038 The Unix default is ‘-x,v/’, so that the working file ‘w’ corresponds
1039 to the first file in the list ‘RCS/w,v’, ‘w,v’, ‘RCS/w’ that works.
1040 The non-Unix default is ‘-x’, so that only ‘RCS/w’ is tried.
1041 Eventually, the Unix default should change to ‘-x/,v’ to encourage
1042 interoperability among all Posix hosts.
1043
1044 - A new RCSINIT environment variable specifies defaults for options
1045 like -x.
1046
1047 - The separator for revision ranges has been changed from ‘-’ to ‘:’,
1048 because the range ‘A-B’ is ambiguous if ‘A’, ‘B’ and ‘A-B’ are all
1049 symbolic names. E.g. the old ‘rlog -r1.5-1.7’ is now ‘rlog
1050 -r1.5:1.7’; ditto for ‘rcs -o’. For a while RCS will still support
1051 (but warn about) the old ‘-’ separator.
1052
1053 - RCS manipulates its lock files using a method that is more reliable
1054 under NFS.
1055
1056
1057 - 5.5 | 1991-01-04
1058
1059 Features new to RCS version 5 include:
1060
1061 - RCS can check in arbitrary files, not just text files, if diff -a
1062 works. RCS can merge lines containing just a single ‘.’ if diff3 -m
1063 works. GNU diff supports the -a and -m options.
1064
1065 - RCS can now be used as a setuid program. See ci(1) for how users
1066 can employ setuid copies of ci, co, and rcsclean. Setuid privileges
1067 yield extra security if the effective user owns RCS files and
1068 directories, and if only the effective user can write RCS
1069 directories. RCS uses the real user for all accesses other than
1070 writing RCS directories. As described in ci(1), there are three
1071 levels of setuid support.
1072
1073 1. Setuid works fully if the seteuid() system call lets any process
1074 switch back and forth between real and effective users, as
1075 specified in Posix 1003.1a Draft 5.
1076
1077 2. On hosts with saved setuids (a Posix 1003.1-1990 option) and
1078 without a modern seteuid(), setuid works unless the real or
1079 effective user is root.
1080
1081 3. On hosts that lack both modern seteuid() and saved setuids,
1082 setuid does not work, and RCS uses the effective user for all
1083 accesses; formerly it was inconsistent.
1084
1085 - New options to co, rcsdiff, and rcsmerge give more flexibility to
1086 keyword substitution.
1087
1088 - -kkv substitutes the default ‘$Keyword: value $’ for keyword
1089 strings. However, a locker's name is inserted only as a file is
1090 being locked, i.e. by ‘ci -l’ and ‘co -l’. This is normally the
1091 default.
1092
1093 - -kkvl acts like -kkv, except that a locker's name is always
1094 inserted if the given revision is currently locked. This was the
1095 default in version 4. It is now the default only with when using
1096 rcsdiff to compare a revision to a working file whose mode is that
1097 of a file checked out for changes.
1098
1099 - -kk substitutes just ‘$Keyword$’, which helps to ignore keyword
1100 values when comparing revisions.
1101
1102 - -ko retrieves the old revision's keyword string, thus bypassing
1103 keyword substitution.
1104
1105 - -kv retrieves just ‘value’. This can ease the use of keyword
1106 values, but it is dangerous because it causes RCS to lose track of
1107 where the keywords are, so for safety the owner write permission
1108 of the working file is turned off when -kv is used; to edit the
1109 file later, check it out again without -kv.
1110
1111 - rcs -ko sets the default keyword substitution to be in the style of
1112 co -ko, and similarly for the other -k options. This can be useful
1113 with file formats that cannot tolerate changing the lengths of
1114 keyword strings. However it also renders a RCS file readable only
1115 by RCS version 5 or later. Use rcs -kkv to restore the usual
1116 default substitution.
1117
1118 - RCS can now be used by development groups that span time zone
1119 boundaries. All times are now displayed in UTC, and UTC is the
1120 default time zone. To use local time with co -d, append ‘ LT’ to
1121 the time. When interchanging RCS files with sites running older
1122 versions of RCS, time stamp discrepancies may prevent checkins; to
1123 work around this, use ‘ci -d’ with a time slightly in the future.
1124
1125 - Dates are now displayed using four-digit years, not two-digit years.
1126 Years given in -d options must now have four digits. This change is
1127 required for RCS to continue to work after 1999/12/31. The form of
1128 dates in version 5 RCS files will not change until 2000/01/01, so in
1129 the meantime RCS files can still be interchanged with sites running
1130 older versions of RCS. To make room for the longer dates, rlog now
1131 outputs ‘lines: +A -D’ instead of ‘lines added/del: A/D’.
1132
1133 - To help prevent diff programs that are broken or have run out of
1134 memory from trashing an RCS file, ci now checks diff output more
1135 carefully.
1136
1137 - ci -k now handles the Log keyword, so that checking in a file with
1138 -k does not normally alter the file's contents.
1139
1140 - RCS no longer outputs white space at the ends of lines unless the
1141 original working file had it. For consistency with other keywords,
1142 a space, not a tab, is now output after ‘$Log:’. Rlog now puts
1143 lockers and symbolic names on separate lines in the output to avoid
1144 generating lines that are too long. A similar fix has been made to
1145 lists in the RCS files themselves.
1146
1147 - RCS no longer outputs the string ‘Locker: ’ when expanding Header or
1148 Id keywords. This saves space and reverts back to version 3
1149 behavior.
1150
1151 - The default branch is not put into the RCS file unless it is
1152 nonempty. Therefore, files generated by RCS version 5 can be read
1153 by RCS version 3 unless they use the default branch feature
1154 introduced in version 4. This fixes a compatibility problem
1155 introduced by version 4.
1156
1157 - RCS can now emulate older versions of RCS; see ‘co -V’. This may be
1158 useful to overcome compatibility problems due to the above changes.
1159
1160 - Programs like Emacs can now interact with RCS commands via a pipe:
1161 the new -I option causes ci, co, and rcs to run interactively, even
1162 if standard input is not a terminal. These commands now accept
1163 multiple inputs from stdin separated by ‘.’ lines.
1164
1165 - ci now silently ignores the -t option if the RCS file already
1166 exists. This simplifies some shell scripts and improves security in
1167 setuid sites.
1168
1169 - Descriptive text may be given directly in an argument of the form
1170 -t-string.
1171
1172 - The character set for symbolic names has been upgraded from ASCII to
1173 ISO 8859.
1174
1175 - rcsdiff now passes through all options used by GNU diff; this is a
1176 longer list than 4.3BSD diff.
1177
1178 - merge's new -L option gives tags for merge's overlap report lines.
1179 This ability used to be present in a different, undocumented form;
1180 the new form is chosen for compatibility with GNU diff3's -L option.
1181
1182 - rcsmerge and merge now have a -q option, just like their siblings.
1183
1184 - rcsclean's new -n option outputs what rcsclean would do, without
1185 actually doing it.
1186
1187 - RCS now attempts to ignore parts of an RCS file that look like they
1188 come from a future version of RCS.
1189
1190 - When properly configured, RCS now strictly conforms with Posix
1191 1003.1-1990. RCS can still be compiled in non-Posix traditional
1192 Unix environments, and can use common BSD and USG extensions to
1193 Posix. RCS is a conforming Standard C program, and also compiles
1194 under traditional C.
1195
1196 - Arbitrary limits on internal table sizes have been removed. The
1197 only limit now is the amount of memory available via malloc().
1198
1199 - File temporaries, lock files, signals, and system call return codes
1200 are now handled more cleanly, portably, and quickly. Some race
1201 conditions have been removed.
1202
1203 - A new compile-time option RCSPREFIX lets administrators avoid
1204 absolute path names for subsidiary programs, trading speed for
1205 flexibility.
1206
1207 - The configuration procedure is now more automatic.
1208
1209 - Snooping has been removed.
1210
1211
1212 - 4.3 | 1989-11-18
1213
1214 Version 4 was the first version distributed by FSF.
1215 Beside bug fixes, features new to RCS version 4 include:
1216
1217 The notion of default branch has been added; see rcs -b.
1218
1219
1220 - 3.x | ????-??-??
1221
1222 Version 3 was included in the 4.3BSD distribution.
1223
1224
1225
1226 Copyright information:
1227
1228 Copyright (C) 2010-2022 Thien-Thi Nguyen
1229 Copyright (C) 1991, 1992, 1993, 1994, 1995 Paul Eggert
1230
1231 Permission is granted to anyone to make or distribute verbatim copies
1232 of this document as received, in any medium, provided that the
1233 copyright notice and this permission notice are preserved,
1234 thus giving the recipient permission to redistribute in turn.
1235
1236 Permission is granted to distribute modified versions
1237 of this document, or of portions of it,
1238 under the above conditions, provided also that they
1239 carry prominent notices stating who last changed them.
1240
1241 ______________________________________________
1242 Local Variables:
1243 mode: outline
1244 outline-regexp: "\\([ ][ ]\\)*- "
1245 End: