Changeset dfb2144 in rtems-libbsd
- Timestamp:
- 05/22/23 07:36:46 (4 months ago)
- Branches:
- master
- Children:
- af0fcc3
- Parents:
- 16be3a7
- git-author:
- Christian Mauderer <christian.mauderer@…> (05/22/23 07:36:46)
- git-committer:
- Christian Mauderer <christian.mauderer@…> (05/31/23 06:21:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ipsec-tools/src/racoon/session.c
r16be3a7 rdfb2144 216 216 FD_ZERO(&preset_mask); 217 217 #else /* __rtems__ */ 218 size_t allocated_mask_size = sizeof(fd_set) * 219 howmany(rtems_libio_number_iops, sizeof(fd_set) * 8); 218 220 allocated_preset_mask = calloc(sizeof(fd_set), 219 221 howmany(rtems_libio_number_iops, sizeof(fd_set) * 8)); … … 353 355 /* schedular can change select() mask, so we reset 354 356 * the working copy here */ 357 #ifndef __rtems__ 355 358 active_mask = preset_mask; 359 #else /* __rtems__ */ 360 memcpy(allocated_active_mask, allocated_preset_mask, 361 allocated_mask_size); 362 #endif /* __rtems__ */ 356 363 357 364 error = select(nfds + 1, &active_mask, NULL, NULL, timeout);
Note: See TracChangeset
for help on using the changeset viewer.