texlive[67859] Build/source/texk/web2c/cwebdir: [CTWILL] Compare
commits+ascherer at tug.org
commits+ascherer at tug.org
Wed Aug 9 14:46:32 CEST 2023
Revision: 67859
http://tug.org/svn/texlive?view=revision&revision=67859
Author: ascherer
Date: 2023-08-09 14:46:32 +0200 (Wed, 09 Aug 2023)
Log Message:
-----------
[CTWILL] Compare sections 248 and 296.
That's CWEAVE section 231.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch
trunk/Build/source/texk/web2c/cwebdir/cweave.w
Modified: trunk/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch 2023-08-09 12:06:05 UTC (rev 67858)
+++ trunk/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch 2023-08-09 12:46:32 UTC (rev 67859)
@@ -1530,7 +1530,6 @@
name_pointer p)
{
struct perm_meaning *q=get_meaning(p);
- ms_mode=false;
if (q->stamp!=section_count) {
if (*(ministring_ptr-1)==' ') ministring_ptr--;
if (ministring_ptr>=ministring_buf_end)
@@ -1556,7 +1555,8 @@
name_pointer p=id_lookup(first,loc-1,normal);
sixteen_bits t=title_lookup();
if (*(loc-1)=='}')
- while (xisdigit(*loc)) n=10*n+(*loc++)-'0';
+ while (xisdigit(*loc))@^system dependencies@>
+ if (n < INT_MAX / 10) n=10*n+(*loc++)-'0';
if (*loc++!=' ')
err_print(_("! Location in meaning should be followed by space"));
else @<Digest the meaning of |p|, |t|, |n|@>@;
@@ -1782,6 +1782,7 @@
@q Section 31->293. @>
@ @<Write the new meaning to the \.{.aux} file@>=
{@+int n=q->perm.prog_no;
+ ms_mode=false;@/
fprintf(aux_file,"@@$%.*s %.*s",@|
(int)length(p),p->byte_start,@|
(int)length(title_code[n]),title_code[n]->byte_start);
Modified: trunk/Build/source/texk/web2c/cwebdir/cweave.w
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/cweave.w 2023-08-09 12:06:05 UTC (rev 67858)
+++ trunk/Build/source/texk/web2c/cwebdir/cweave.w 2023-08-09 12:46:32 UTC (rev 67859)
@@ -4241,8 +4241,8 @@
loc++;
}
else {
- for (sec_depth=0; xisdigit(*loc);loc++)@^system dependencies@>
- if (sec_depth < INT_MAX / 10) sec_depth = sec_depth*10 + (*loc) -'0';
+ sec_depth=0; while (xisdigit(*loc))@^system dependencies@>
+ if (sec_depth < INT_MAX / 10) sec_depth = sec_depth*10 + (*loc++) -'0';
}
while (*loc == ' ') loc++; /* remove spaces before group title */
group_found=true;
More information about the tex-live-commits
mailing list.