Changeset 587 for trunk/src/sh_tiger0.c
- Timestamp:
- Oct 20, 2025, 10:42:43 PM (21 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_tiger0.c
r541 r587 134 134 135 135 sh_byte * buffer = SH_ALLOC(PRIV_MAX + 72); 136 137 unsigned long pages_read;138 136 uid_t euid; 139 137 … … 142 140 143 141 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 142 unsigned long pages_read; 144 143 /*@-nestedextern@*/ 145 144 extern long IO_Limit; … … 219 218 #endif 220 219 220 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 221 221 pages_read = 0; 222 #endif 222 223 223 224 while (1) … … 228 229 count = sl_read (fd, buffer, PRIV_MAX); 229 230 231 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 230 232 ++pages_read; 233 #endif 231 234 232 235 if (SL_ISERROR (count)) … … 873 876 sh_string * content; 874 877 878 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 875 879 unsigned long pages_read; 876 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 880 877 881 /*@-nestedextern@*/ 878 882 extern long IO_Limit; … … 896 900 } 897 901 902 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 898 903 pages_read = 0; 899 904 #endif 905 900 906 content = sl_get_content(fd); 901 907 … … 967 973 && n != 0); 968 974 975 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 969 976 ++pages_read; 977 #endif 970 978 971 979 /* If end of file is reached, end the loop. */ … … 1417 1425 sh_string * content; 1418 1426 1427 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 1419 1428 unsigned long pages_read; 1420 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 1429 1421 1430 /*@-nestedextern@*/ 1422 1431 extern long IO_Limit; … … 1445 1454 /* Iterate over full file contents. */ 1446 1455 1456 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 1447 1457 pages_read = 0; 1448 1458 #endif 1459 1449 1460 content = sl_get_content(fd); 1450 1461 … … 1515 1526 && n != 0); 1516 1527 1528 #if defined (SH_WITH_CLIENT) || defined (SH_STANDALONE) 1517 1529 ++pages_read; 1518 1530 #endif 1531 1519 1532 /* If end of file is reached, end the loop. */ 1520 1533 if (n == 0)
Note:
See TracChangeset
for help on using the changeset viewer.