bugGNU CSSC - Bugs: bug #33152, get -g -c<date> produced...


bug #33152: get -g -c<date> produced wrong SID output

Submitted by:  James Youngman <jay>
Submitted on:  Sun Apr 24 20:42:34 2011  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: James Youngman <jay>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Apr 24 20:42:34 2011, original submission:

Originally reported by https://sourceforge.net/users/dirkhell/ at


I have a valid SCCS file


sew:/sew/shell/v52/server/release> head -20 SCCS/s.servport.m4s
s 00001/00003/00233
d D 1.8 07/10/10 10:53:23 rl 8 7
c Header angepasst
s 00006/00000/00230
d D 1.7 07/10/10 10:49:58 rl 7 6
c SCCS-ID hinzugef\374gt
s 00039/00000/00191
d D 1.6 07/10/10 10:40:39 rl 6 5
c sewlin1 hinzugef\374gt
s 00004/00004/00187
d D 1.5 07/09/10 11:36:52 rl 5 4
c CAFinanz f\374r sewlin7 auf eigenen Port
s 00002/00002/00189
d D 1.4 07/09/10 11:33:03 rl 4 3
c CAFinanz f\374r sewlin7 auf eigenen Port

I use the "get -c" to catch the version from a specific datetime. I don't want to see the file itself, i just need to now the current sid of this datetime. So i use the switch "-g"
The output is:


sew:/sew/shell/v52/server/release> get -g -c071010060000 SCCS/s.servport.m4s
get: warning: SCCS/s.servport.m4s: No id keywords.

And SID "1.8" is wrong! I checked without using the -g and see that the correct fileversion (1.5) is given but always the highest SID was printed. The output must be


sew:/sew/shell/v52/server/release> get -g -c071010060000 SCCS/s.servport.m4s
get: warning: SCCS/s.servport.m4s: No id keywords.

I attached my change (diff -c) to the code to solve this bug.

James Youngman <jay>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jay (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Apr 24 20:42:34 2011jayAttached File-=>Added get_minus_c_bug, #23297

    Back to the top

    Powered by Savane 3.1-cleanup1