Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 Improve "const correctness"

closed
nobody
None
5
2007-07-08
2005-07-03
Markus Elfring
No

Would you like to apply the advices from the article
"http://en.wikipedia.org/wiki/Const_correctness" to
your sources?
I suggest to add the key word "const" to the type
specifiers of parameters like "filename" for the
function "AVI_open_...put_file" and "src" for the
function "update_channel".
-
http://cvs.sourceforge.net/viewcvs.py/xawdecode/xawdecode/src/avilib.h?rev=1.10&view=markup
-
http://cvs.sourceforge.net/viewcvs.py/xawdecode/xawdecode/src/channel.h?rev=1.12&view=markup

Discussion

1 2 > >> (Page 1 of 2)
  • Logged In: NO

    would you like to provide us a patch please?
    thanks by advance.

    Pingus

     
  • Markus Elfring
    Markus Elfring
    2005-08-09

    Logged In: YES
    user_id=572001

    How are the chances for integration of the proposed updates
    into the current sources?

     
  • Markus Elfring
    Markus Elfring
    2005-08-09

    • assigned_to: nobody --> pingus77
     
  • Markus Elfring
    Markus Elfring
    2005-08-09

    differences from 4 changed files

     
    Attachments
  • Logged In: NO

    XdTV need developers. So I will give you a write access to
    the CVS.
    If you are OK about that you can commit your actual work
    and your future work too.
    Please test all your modifies before commiting anything and
    of course don't forget that there are other peoples that have
    the write access on the CVS (but I suppose that you know
    that ;-)

    Bye Pingus

     
  • Sir Pingus
    Sir Pingus
    2005-08-10

    • assigned_to: pingus77 --> elfring
     
  • Sir Pingus
    Sir Pingus
    2006-12-31

    Logged In: YES
    user_id=654886
    Originator: NO

    too old.

    Pingus

     
  • Sir Pingus
    Sir Pingus
    2006-12-31

    • status: open --> closed
     
  • Markus Elfring
    Markus Elfring
    2007-01-02

    • assigned_to: elfring --> pingus77
    • status: closed --> open
     
1 2 > >> (Page 1 of 2)