| 1321 |
|
|
| 1322 |
study->size = sizeof(pcre_study_data); |
study->size = sizeof(pcre_study_data); |
| 1323 |
study->flags = 0; |
study->flags = 0; |
| 1324 |
|
|
| 1325 |
/* Set the start bits always, to avoid unset memory errors if the |
/* Set the start bits always, to avoid unset memory errors if the |
| 1326 |
study data is written to a file, but set the flag only if any of the bits |
study data is written to a file, but set the flag only if any of the bits |
| 1327 |
are set, to save time looking when none are. */ |
are set, to save time looking when none are. */ |
| 1328 |
|
|
| 1329 |
if (bits_set) |
if (bits_set) |
| 1330 |
{ |
{ |
| 1331 |
study->flags |= PCRE_STUDY_MAPPED; |
study->flags |= PCRE_STUDY_MAPPED; |
| 1332 |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |
memcpy(study->start_bits, start_bits, sizeof(start_bits)); |