[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog src/preproc/refer/ref.cpp
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ChangeLog src/preproc/refer/ref.cpp |
Date: |
Thu, 09 Oct 2008 05:35:45 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 08/10/09 05:35:45
Modified files:
. : ChangeLog
src/preproc/refer: ref.cpp
Log message:
* src/preproc/ref/ref.cpp (reference::compute_sort_key): Do
not insert SORT_SEP before the first field, so that sort_key
has the same format as before the patch of 2003-08-23.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1153&r2=1.1154
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/refer/ref.cpp?cvsroot=groff&r1=1.4&r2=1.5
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1153
retrieving revision 1.1154
diff -u -b -r1.1153 -r1.1154
--- ChangeLog 4 Oct 2008 21:24:37 -0000 1.1153
+++ ChangeLog 9 Oct 2008 05:35:44 -0000 1.1154
@@ -1,3 +1,9 @@
+2008-10-05 Stephen Gildea <http://www.gildea.com/stephen/>
+
+ * src/preproc/ref/ref.cpp (reference::compute_sort_key): Do
+ not insert SORT_SEP before the first field, so that sort_key
+ has the same format as before the patch of 2003-08-23.
+
2008-10-04 Werner LEMBERG <address@hidden>
* tmac/doc-common (doc-operating-system-*): Update releases.
Index: src/preproc/refer/ref.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/refer/ref.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- src/preproc/refer/ref.cpp 26 May 2005 21:02:01 -0000 1.4
+++ src/preproc/refer/ref.cpp 9 Oct 2008 05:35:44 -0000 1.5
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2003
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2003, 2008
Free Software Foundation, Inc.
Written by James Clark (address@hidden)
@@ -420,8 +420,11 @@
return;
sort_fields += '\0';
const char *sf = sort_fields.contents();
+ int first_time = 1;
while (*sf != '\0') {
+ if (!first_time)
sort_key += SORT_SEP;
+ first_time = 0;
char f = *sf++;
int n = 1;
if (*sf == '+') {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog src/preproc/refer/ref.cpp,
Werner LEMBERG <=