bugmake - Bugs: bug #65777, add const misc global RO arrays

 
 

bug #65777: add const misc global RO arrays

Submitter:  Dan D <bulk88>
Submitted:  Thu 23 May 2024 12:24:17 AM UTC
   
 
Severity:  1 - Wish Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  psmith Open/Closed:  Open
Component Version:  SCM Operating System:  None
Fixed Release:  None Triage Status:  Medium Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 May 2024 06:28:43 AM UTC, comment #3: 

Thanks.

These are basically cleanups.  I'm not sure we should make significant changes in complicated code just to improve memory efficiency by a tiny bit.  I'll let Paul make the decision, but my tendency is not to install these patches.

Eli Zaretskii <eliz>
Group Member
Thu 23 May 2024 02:00:48 AM UTC, comment #2: 

putting up rev 3, save/commit mistakes by me

(file #56090)

Dan D <bulk88>
Thu 23 May 2024 12:59:47 AM UTC, comment #1: 

1st patch "job.c read.c: add const to global arrays of strings" didn't compile, attached new version of "job.c read.c: add const to global arrays of strings"

(file #56089)

Dan D <bulk88>
Thu 23 May 2024 12:24:17 AM UTC, original submission:  

see 2 patches, the array of "array of pointers to strings" can be const/stored in RO mem

Dan D <bulk88>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eliz (Posted a comment)
  • -email is unavailable- added by bulk88 (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-23 eliz Triage StatusNone Medium Effort
    2024-05-23 eliz Severity3 - Normal 1 - Wish
        Assigned toNone psmith
        Component VersionNone SCM
    2024-05-23 bulk88 Attached File- Added 0001-job.c-read.c-add-const-to-global-arrays-of-strings-r.patch, #56090
    2024-05-23 bulk88 Attached File- Added 0001-job.c-read.c-add-const-to-global-arrays-of-strings.patch, #56089
    2024-05-23 bulk88 Attached File- Added 0001-add-const-misc-global-RO-arrays-part-1.patch, #56087
        Attached File- Added 0002-job.c-read.c-add-const-to-global-arrays-of-strings.patch, #56088

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code