patchGNU Octave - Patches: patch #9910, fix bug #57867: strrep: unexpected...

 
 

patch #9910: fix bug #57867: strrep: unexpected substitution behavior on a char array

Submitter:  Abdelrhman_Adel_Moawad <abdelrhman_adel>
Submitted:  Sat 21 Mar 2020 04:32:13 AM UTC
   
 
Category:  None Priority:  9 - Immediate
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 21 Mar 2020 09:46:33 PM UTC, comment #3: 

I am sorry for any mistakes ...I make a patch file by the source code with changes I had made for strrep function
the link on git-hub :
https://github.com/abdelrhman323/gittest/blob/master/patch.txt
and the file of the patch also will be attached
please, tell me if there are any mistakes
Thanks in advance

(file #48636)

Abdelrhman_Adel_Moawad <abdelrhman_adel>
Sat 21 Mar 2020 07:55:11 PM UTC, comment #2: 

I will upload the file in a comment on the bug discussion
I can't get the fie.m to be edited What should I do?

Abdelrhman_Adel_Moawad <abdelrhman_adel>
Sat 21 Mar 2020 07:46:43 PM UTC, comment #1: 

You don't need to open a patch item to submit a patch for a bug, just comment and attach a patch to the bug report.

The attached file is also not a patch, so we can't use this at all as written.

Mike Miller <mtmiller>
Group Member
Sat 21 Mar 2020 04:32:13 AM UTC, original submission:  

Fix the unexpected substitution of 2d char array as it merges the arrays in one large confused array
so I make a re-distribution of the 2d characters arrays into to two string then add them to a large one then we make the replacement
all that as a result of wrong sorting of the 2d characters array [...;...] despite its correctness using cell array {...;...}

Abdelrhman_Adel_Moawad <abdelrhman_adel>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48636:  patch.txt added by abdelrhman_adel (16KiB - text/plain)
file #48632:  strrep_advanced.cc added by abdelrhman_adel (15KiB - text/plain - using the source code of strrep function and modified it )

 

Carbon-Copy List
  • -email is unavailable- added by abdelrhman_adel (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-23 mtmiller Dependencies- patch #9912 is dependent
    2020-03-21 abdelrhman_adel Attached File- Added patch.txt, #48636
    2020-03-21 mtmiller Dependencies- Depends on bugs #57867
    2020-03-21 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
    2020-03-21 abdelrhman_adel Attached File- Added strrep_advanced.cc, #48632

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code