bug-cssc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cssc] [bug #33152] get -g -c<date> produced wrong SID output


From: James Youngman
Subject: [Bug-cssc] [bug #33152] get -g -c<date> produced wrong SID output
Date: Sun, 24 Apr 2011 20:42:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

URL:
  <http://savannah.gnu.org/bugs/?33152>

                 Summary: get -g -c<date> produced wrong SID output
                 Project: GNU CSSC
            Submitted by: jay
            Submitted on: Sun 24 Apr 2011 20:42:34 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: jay
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Originally reported by https://sourceforge.net/users/dirkhell/ at 
https://sourceforge.net/tracker/?func=detail&aid=1811617&group_id=8064&atid=108064

CSSC-1.0.1
SuSE SLES9
gcc-3.3.3

I have a valid SCCS file
>>>>>>>>>>>>>
sew:/sew/shell/v52/server/release> head -20 SCCS/s.servport.m4s 
h01819
s 00001/00003/00233
d D 1.8 07/10/10 10:53:23 rl 8 7
c Header angepasst
e
s 00006/00000/00230
d D 1.7 07/10/10 10:49:58 rl 7 6
c SCCS-ID hinzugef\374gt
e
s 00039/00000/00191
d D 1.6 07/10/10 10:40:39 rl 6 5
c sewlin1 hinzugef\374gt
e
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
e
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.
1.8
<<<<<<<<<<<<<<<<<<<<

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.
1.5
<<<<<<<<<<<<<<<<<<<<

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




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 24 Apr 2011 20:42:34 GMT  Name: get_minus_c_bug  Size: 3kB   By: jay

<http://savannah.gnu.org/bugs/download.php?file_id=23297>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33152>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]