bugGNU Astronomy Utilities - Bugs: bug #48453, A copy-paste error in the function...


You are not allowed to post comments on this tracker with your current authentication level.

bug #48453: A copy-paste error in the function dilate0_erode1_8con inside binary.c

Submitted by:  Vladimir Markelov <vvm>
Submitted on:  Sat 09 Jul 2016 11:18:27 PM UTC  
Category:  NoiseChisel Severity:  2 - Minor
Item Group:  Source code Status:  Fixed
Privacy:  Public Assigned to:  Vladimir Markelov <vvm>
Open/Closed:  Closed

Sat 23 Jul 2016 04:49:47 PM UTC, comment #3: 

(This reply is similar for bug #48453, bug #48516 and bug #48603)

Thanks a lot for these very accurate fixes! They certainly required a high-level of attention to detail. All three have now been merged with master and pushed to the main repository. After syncing your repository you can delete the branches in your online repository (so my next fetch from your fork will also remove the branches from my personal repository ;-)).

I would just be most grateful if future commits could apply these notes to make the Gnuastro version controlled history more uniform:

  • Start the commit message title with a capital letter.
  • Do not include the bug number in the title. It is included in some merge commit titles since they are just a merge and no change in the files has actually been done.
  • In one case (commit 70e7da4) the title was a little too long. Try to keep the titles within 50 characters ;-).
  • Try to be very descriptive in the commit body (even more than here on Savannah when reporting or fixing the bug). This is very important for others to be able to understand your work later (and also for the developers). For example I had to compare the code changes to the webpage/email to understand it. If you elaborate in the commit message, a "git log -p" will be enough for any developer to understand much more easier.
  • Add a "This fixed bug #XXXXX." or "This finishes task #ID." after the commit message body.

I also had a comment about the patches. Now that you have made a fork or Gnuastro, they might not be necessary for you any more, but I am just noting this for others who might read this.

If the patches are sent to us with Git's format-patch tool, you can directly send us commits (including your identification, date and a message):


This will make your work fully registered in the version controlled history. The raw patches do not contain thi us information and it will thus be very hard for us to acknowledge your great contributions in the AUTHORS file and/or the PDF manual where all contributors arelisted.

Mohammad Akhlaghi <makhlaghi>
Project Administrator
Sun 10 Jul 2016 06:03:12 PM UTC, comment #2: 

This bug #48453 and support ticket sr #109074 (https://savannah.gnu.org/support/?109074) are the same.
I'm sorry for confusion. I thought that every support bug should have corresponding bug ticket and have created this the bug.

Vladimir Markelov <vvm>
Project MemberIn charge of this item.
Sat 09 Jul 2016 11:22:25 PM UTC, comment #1: 

I've pushed patch to my repository:


The bug number of branch name is not the same as real bug number because I used my support bug number.

Vladimir Markelov <vvm>
Project MemberIn charge of this item.
Sat 09 Jul 2016 11:18:27 PM UTC, original submission:  

In the last 'if' one condition is check twice but another one is checked never.
Please see, my patch attached

Vladimir Markelov <vvm>
Project MemberIn charge of this item.


Attached Files
file #37790:  chiesel_body.patch added by vvm (525B - application/octet-stream - The fix is already in my fork.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by vvm (Submitted the item)

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-23 makhlaghi StatusIn Progress => Fixed
    2016-07-23 makhlaghi Open/ClosedOpen => Closed
    2016-07-10 vvm StatusFixed => In Progress
    2016-07-09 vvm StatusNone => Fixed
    2016-07-09 vvm Attached File- => Added chiesel_body.patch, #37790

    Back to the top

    Powered by Savane 3.5