Displaying 1 result from an estimated 1 matches for "dm_event_max".
2006 Oct 29
1
dmapi doesn't work on aix; possible fix included
...("retrying dm_path_to_handle(%s): %s\n",
***************
*** 269,276 ****
--- 277,293 ----
}
}
+ #ifdef AIX
+ become_root();
+ #endif
+
err = dm_get_eventlist(dmapi_session, dm_handle, dm_handle_len,
DM_NO_TOKEN, DM_EVENT_MAX, &events, &nevents);
+
+ #ifdef AIX
+ unbecome_root();
+ #endif
+
if (err < 0) {
DEBUG(DMAPI_TRACE, ("dm_get_eventlist(%s): %s\n",
path, strerror(errno)));