Changeset 6454 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jan 22, 2008 4:46:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
r6447 r6454 51 51 { 52 52 /* 53 * Solaris does not accept more than 255 bytes of dataper ioctl request,54 * so split large string into 128 byte chunks to prevent truncation.53 * *BSD does not accept more than 4KB per ioctl request, 54 * so, split it up into 2KB chunks. 55 55 */ 56 #define STEP 128 /** @todo increase to 512 when solaris ioctl code is fixed. (darwin limits us to 1024 IIRC) */56 #define STEP 2048 57 57 int rc = VINF_SUCCESS; 58 58 for (size_t off = 0; off < cb && RT_SUCCESS(rc); off += STEP)
Note:
See TracChangeset
for help on using the changeset viewer.