Commits
branch-1.4.0
Name already in use
Commits on Dec 5, 2018
-
unit tests: fix non-void functions returning void
This causes compiler warnings which are considered fatal by rpmlint.
-
testutils/yes: don't ignore SIGPIPE
In rpm build environments, the inherited signal settings may be such that SIGPIPE is ignored. That would cause the "yes" tool to never terminate.
-
".om" is not defined in groff. I haven't found it anywhere in the docs.I believe this is a typo.
-
sccs: comply with POSIX POS36-C rule
POS36-C compliance requires that setgid() is called before setuid(), and both called after relinquishing extra groups with setgroups(). See https://wiki.sei.cmu.edu/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
-
configure.ac: check for setgroups()
This is required for the follow-up patch.
-
mylist.h: fix non-void functions returning void
This causes compiler warnings which are considered fatal by rpmlint.
Commits on Jul 11, 2014
-
* configure.ac (AC_INIT): Update the version number. * NEWS: Describe the new release.
Commits on Jun 30, 2014
-
* configure.ac: Change version number to 1.3.2. * NEWS: Update the version number of the first section.
-
Update googletest unit test framework from r424 to r690.
* gl/lib/.gitignore: Add the files generated by the pthread module (since we now depend on that). * bootstrap.conf (bootstrap_epilogue): Upgrade from r424 to r690 of the googletest test framework. (buildreq): Update tool versions to the ones I'm actually using now, since these are really the only tools I test with routinely. (gnulib_modules): Depend on the pthread module. Download googletest before we run gnulib-tool (instead of in the epilogue), so that the googletest/m4 directory is available to autoconf. * configure.ac: Include the googletest m4 library, unit-tests/googletest/m4. Turn on the Automake option 'tar-ustar' which switches the dist file format from v7 Unix to the selects the ustar format defined by POSIX 1003.1-1988. We need to do this since the distribution now contains path names longer than 99 characters and the v7 format (or its consumers) cannot reliably deal with this. Also make explicit some of the options which in any case are implied by the "gnits" option, since we would want to keep them even if turning off gnits. Add configure tests required by the googletest framework. * NEWS: Point out the change of tar file format used for the distribution file. Also mention the recent updates to googletest and gnulib. * unit-tests/Makefile.am: Update the build rules used to build the googletest unit test framework. Don't build the samples. Build libgtest by compiling individual source files, instead of only libgtest-all.cc (this fixes a problem in which "make distcheck" would otherwise fail due to dependency rule files being left around. Also, don't compile the sample programs. Remove the rules for fusing the sources. We don't use them, and the rules themselves are still available in googletest/Makefile.am. * Makefile.am (ACLOCAL_AMFLAGS): Include the googletest m4 library. (distcheck-hook): Call build-aux/check-googletest-files.sh (this is described below). * build-aux/check-googletest-files.sh: New script; verifies that all the files for the "googletest" C++ Unit test framework are included in the distribution. This script is called from distcheck-hook. * .gitignore: Don't ignore build-aux
-
* bootstrap: Update from current gnulib. * bootstrap.conf: Remove second (and wrong) --tests-base argument. Don't munge include paths in gl/tests/Makefile.am (since now, doing that breaks the build and whatever made it necessary before no longer does). * src/canonify.cc: Include <config.h> before (gnulib's replacement of) <unistd.h>.
Commits on Jun 22, 2014
Commits on Apr 20, 2013
-
* COPYING.bsd: Fix typo 'modifiactions'.
Commits on Nov 19, 2011
-
Fix Savannah bug #33633 (coredump in prs -d:GB:)
* src/sf-prs.cc (sccs_file::get): pass in the correct delta information for keyword expansion instead of a blank (that is, invalid) delta. This fixes Savannah bug #33633. * tests/prs/sv33633.sh: New file, test for this bug. * tests/prs/s.sv33633.txt: Test input for the new test. * NEWS: Mention this bug fix.
Commits on May 22, 2011
-
Add unit test for cssc_linebuf.
* unit-tests/Makefile.am (unit_tests): Add test_linebuf. (test_linebuf_SOURCES): Build test_linebuf. * unit-tests/test_linebuf.cc: New unit test file.
Commits on May 21, 2011
-
* tests/common/test-common (docommand): Print the test directory and the test script as part of the label of each test, for additional clarity and because many of them are actually not unique. * tests/get/sf111140.sh (label_prefix): Print qualified labels (as for docommand).
-
Source the command-names script only once per test script.
* tests/common/real-thing: Instead of sourcing the command-names script unconditionally, just complain if it was not already sourced. * tests/common/command-names: Error out if the command-names script is sourced twice. * tests/common/config-data: Don't source the command-names script more than once. * tests/common/need-prt: Likewise.
-
Indicate the full path of each test script.
* tests/Makefile.am (test-*): Indicate the full path of each test script.
-
* tests/year-2000/ext.sh: Set $TZ to GMT in order to make it possible for implementations which convert SCCS file dates to time_t values (but which otherwise have no bugs) to pass the tests. * tests/year-2000/prs-y2k.sh: Likewise.
-
-
Remove spurious space in definition of admin.
* tests/common/command-names (admin): remove spurious space.
-
-
* configure.ac: Update version number to 1.3.2-git, to indicate that compiled versions of this code are no longer identical to the 1.3.1 release. * NEWS: Likewise.
Commits on May 14, 2011
Commits on May 10, 2011
-
* NEWS: Update version number to 1.3.1. * configure.ac: Likewise.
-
Modify "prs -d :DI:" to print ignored deltas.
* tests/prs/delta_ixg.sh: New test script for "prs -d :DI:". * tests/prs/s.delta_ixg: New test input file for delta_ixg.sh. * src/sf-prs.cc (print_delta): For :DI:, also print ignored deltas. Follow the conventions of OpenSolaris 2009.06 on the question of how many slashes to produce. * docs/cssc.texi (Data Keywords): Describe in more detail just how the keyword :DI: is expanded. (SCCS Version Differences): Explain how the expansion of :DI: varies across implementations. * NEWS: Mention this change.
-
Accept entirely empty comment lines (lacking the initial space).
* src/sccsfile.cc (read_delta): Accept comment lines containing nothing at all (not even a space after the 'c'). Some historis versions of SCCS seem to have produced these, and later versions tolerate it.
-
Check we distributed all the tests. Remove redundant Makefile.am files.
* auxfiles/check-testfiles.sh: New script (copied from GNU findutils e66802375963941b3b54a0e038d18eccde449e14 with some adaptations for CSSC) for checking that we installed all the test scripts in "make dist". * tests/Makefile.am (dist-hook): Invoke the auxfiles/check-testfiles.sh script. * tests/common/Makefile.am: remove unreferenced file; tests/Makefile.am does not recurse. * tests/delta/Makefile.am, tests/prs/Makefile.am: Likewise. * tests/prt/Makefile.am, tests/sact/Makefile.am: Likewise. * tests/admin/Makefile.am, tests/unget/Makefile.am: Likewise. * tests/val/Makefile.am, tests/what/Makefile.am: Likewise.
Commits on Apr 30, 2011
-
Change output order in "sccs unedit" to match OpenSolaris.
* tests/bsd-sccs/driver-basic.sh (h1): Modify the ordering of the expected ouput to match OpenSolaris 2009.06. * src/sccs.c (command): For the UNEDIT case, flush stdout before invoking 'get' in order to pass the changed test. * NEWS: Mention this change.
-
Allow an empty MR list to be passed to admin.
* tests/admin/init-mr.sh: Don't expect "admin -m" to interpret a plain "-m" as meaning an empty MR list. Distinguishing the absence of an argument to -m requires a traditional SCCS argument processor, and this behaviour is incompatible with modern implementations of SCCS (for example OpenSolaris). * tests/admin/flags.sh: Likewise. * src/admin.cc (main): Allow an empty list of MRs to be specified to admin, for example "admin -fv -m' '". OpenSolaris allows this, and we can no longer use the previous method which was to omit the optional argument. Elminiate doubled space in error message. * docs/cssc.texi (admin): document this clearly. * NEWS: mention this change. Remove duplicate space in "MR number(s) must be supplied." * src/admin.cc (main): elminiate doubled space in error message.
-
Fix delta summary; when it goes to stdout, send other to stderr.
* tests/get/delta-summary.sh: OpenSolaris get emits the delta summary (produced by get -L) to stdout and the SID of the gotten delta and the number of body lines to stderr. Expect this behaviour. * tests/get/delta-summary.sh (L2e): Check that the "new delta" message also goes to stderr when we are using "get -e -L" (since the delta summary goes to stdout). * src/get.cc (print_id_list): New parameter, fp: the file handle to print the IDs to. (main): rename use_stdout to send_body_to_stdout (being a more accurate description). (main): add variable commentary, the file descriptor on which we announce which delta we're getting and so forth. This is usually stdout, but if stdout needs to be used for something else (for example the delta summary), commentary can be set to stderr. * src/sf-get2.cc (get): Correct the spacing before the items in the delta summary. Add a trailing newline. * NEWS: Mention this change.
-
Update sccsdiff to work like sccsdiff on OpenSolaris.
* tests/sccsdiff/rap.sh: Update the tests to match the results we actually get from sccsdiff on OpenSolaris. * src/sccsdiff.sh.in: Update to pass the modified tests. Specifically, use a different header for the case where -p is specified and when it's not. * NEWS: Mention this change.
-
Fix Savannah bug #33153: "prs" includes "AUTO NULL DELTA"s.
* src/prs.cc (main): Change type of all_deltas from int to bool. (main): Move detection of errors writing to stdout to here, instead of sccs_file::prs(). Likewise diagnosis of the fact that no deltas were matched. * src/sf-prs.cc (prs): Add an output parameter, "matched", which is set if any delta was matched (and printed). (prs): Rewrite this method to evaluate the earlier/later cutoff in terms of SIDs where this is necessary. That is, avoid the assumption that different SIDs have different timestamps. * src/sccsfile.h (sccs_file::prs): Modify the declaration of sccs_file::prs() to add the output parameter, "matched". * tests/prs/sv33153.sh: New test for this bug. * tests/prs/s.sv33153: New test input file. * NEWS: Mention this bugfix.
Commits on Apr 29, 2011
-
mogrify.awk: Preserve comment lines that have no space character.
* testutils/mogrify.awk: Preserve comment lines which have no space (that is, \001Ac\n).
Commits on Apr 26, 2011
-
Fix some minor issues identified by 'make syntax-check'.
* testutils/uu_decode.c: avoid including unnecessary header <stddef.h>. * src/sf-delta.cc (add_delta): Remove doubled word in a comment. * docs/cssc.texi (Other Variables): Remove doubled word. (Year 2000 Summary): Likewise. * cfg.mk: Modify spelling of a comment in order not to have a false positive from the sc_makefile_at_at_check syntax check. * tests/year-2000/ext.sh: Remove blank line at the end of the file. * tests/year-2000/prs-y2k.sh: Likewise. * .x-sc_unmarked_diagnostics: Likewise. * unit-tests/testwrapper.sh.in: Add final newline. * README-hacking: Remove space-tab combinations.
-
Update hacking instructions to explain the git submodule.
* README-hacking: Update instructions detailing how to collect gnulib (since we now use it as a submodule).