Commit a206f796 authored by Claes Sjofors's avatar Claes Sjofors

Rt shm remove naming bugfix for section 10

parent 26371a7c
...@@ -328,7 +328,7 @@ unlinkPool( ...@@ -328,7 +328,7 @@ unlinkPool(
#endif #endif
for (i = 1; TRUE; i++) { for (i = 1; TRUE; i++) {
sprintf(segname, "%.11s%04d_%.3s", name, i, busid); sprintf(segname, "%.11s%4.4x_%.3s", name, i, busid);
#if defined OS_LYNX #if defined OS_LYNX
fd = shm_open(segname, flags, mode); fd = shm_open(segname, flags, mode);
#else #else
...@@ -1196,4 +1196,4 @@ gdb_UnlockObject ( ...@@ -1196,4 +1196,4 @@ gdb_UnlockObject (
gdb_RemoveObject(sts, op); gdb_RemoveObject(sts, op);
return YES; return YES;
} }
\ No newline at end of file
...@@ -798,7 +798,7 @@ unlinkPool( ...@@ -798,7 +798,7 @@ unlinkPool(
#endif #endif
for (i = 1; TRUE; i++) { for (i = 1; TRUE; i++) {
sprintf(segname, "%.11s%04d_%.3s", name, i, busid); sprintf(segname, "%.11s%4.4x_%.3s", name, i, busid);
#if defined OS_LYNX #if defined OS_LYNX
fd = shm_open(segname, flags, mode); fd = shm_open(segname, flags, mode);
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment