Cleaning up findSharedMemory usage, fixing error checks on the returned...
Compare changes
Files
5+ 34
− 60
@@ -18,8 +18,8 @@
@@ -27,71 +27,45 @@ volatile unsigned char *addr = 0;
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
Cleaning up findSharedMemory usage, fixing error checks on the returned pointer, consolidating code for findSharedMemory() and findSharedMemorySize() so we don't have duplicate, removing unused sprintf in both functions, removing the use of the global addr
variable.
Would like to test this code in a more complete fashion before marking the MR as ready.