Overview
| Comment: | Use an unsigned type for the maximum seed |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1db766b249ecaee8ea3ae8005012038b |
| User & Date: | rkeene on 2018-11-19 19:41:56.151 |
| Other Links: | manifest | tags |
Context
|
2018-11-19
| ||
| 19:42 | Use mandoc from AppFS to generate wiki HTML page check-in: d296d2695e user: rkeene tags: trunk | |
| 19:41 | Use an unsigned type for the maximum seed check-in: 1db766b249 user: rkeene tags: trunk | |
| 19:41 | Updated upstream copies of autoconf macros check-in: 60e7dd63f7 user: rkeene tags: trunk | |
Changes
Modified nano.c
from [6efa7f3405]
to [6d823f4967].
| ︙ | ︙ | |||
108 109 110 111 112 113 114 |
}
tglfo_ret = Tcl_GetLongFromObj(interp, objv[2], &seed_index);
if (tglfo_ret != TCL_OK) {
return(tglfo_ret);
}
| | | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
}
tglfo_ret = Tcl_GetLongFromObj(interp, objv[2], &seed_index);
if (tglfo_ret != TCL_OK) {
return(tglfo_ret);
}
if (seed_index > 0xffffffffULL) {
Tcl_SetResult(interp, "Seed exceed maximum value", NULL);
return(TCL_ERROR);
}
buffer_length = sizeof(buffer_s);
buffer = buffer_s;
|
| ︙ | ︙ |