Commit 54301a0e authored by gerd's avatar gerd

fix: shorter names for semaphore containers (OS X)


git-svn-id: https://gps.dynxs.de/private/svn/app-plasma/trunk@622 55289a75-7b90-4627-9e07-ffb4263930b2
parent 251eae63
......@@ -5,7 +5,7 @@ translate_kmg() {
# $2: value
# returns bytes in stdout
kmg="$(echo "$2" | sed -e 's/^[0-9][0-9]*[KMG]\?$//')"
kmg="$(echo "$2" | sed -e 's/^[0-9][0-9]*[KMG]\{0,1\}$//')"
if [ -n "$kmg" ]; then
echo "Error: $1 must be a number, optionally followed by K, M, G" >&2
exit 2
......
......@@ -341,7 +341,7 @@ let client() : blockmap_client_t =
let () =
init() in
let rbox, rbox_id =
Netmcore_camlbox.create_camlbox "plasma_nn_bmapc" 2 box_size in
Netmcore_camlbox.create_camlbox "plasmann_bc" 2 box_size in
let () =
Pfs_pmanage.register_shm (Netmcore.get_shm rbox_id) in
let () =
......@@ -477,7 +477,7 @@ let serve () =
let () =
init() in
let rbox, rbox_id =
Netmcore_camlbox.create_camlbox "plasma_nn_bmaps" 8 box_size in
Netmcore_camlbox.create_camlbox "plasmann_bs" 8 box_size in
let () =
Pfs_pmanage.register_shm (Netmcore.get_shm rbox_id) in
let () =
......
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