dyn_LOCKDIR should be const because it's never modified directly --