Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
luatex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeXLive
luatex
Commits
d84e97d4
Commit
d84e97d4
authored
8 years ago
by
Luigi Scarso
Browse files
Options
Downloads
Patches
Plain Diff
further w32 patch for luainit.w (A.Kakuto)
parent
b10ea13a
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/texk/web2c/luatexdir/lua/luainit.w
+0
-10
0 additions, 10 deletions
source/texk/web2c/luatexdir/lua/luainit.w
with
0 additions
and
10 deletions
source/texk/web2c/luatexdir/lua/luainit.w
+
0
−
10
View file @
d84e97d4
...
@@ -480,21 +480,11 @@ static void parse_options(int ac, char **av)
...
@@ -480,21 +480,11 @@ static void parse_options(int ac, char **av)
if (sargv[sargc-1][0] == '&')
if (sargv[sargc-1][0] == '&')
dump_name = xstrdup(sargv[sargc-1] + 1);
dump_name = xstrdup(sargv[sargc-1] + 1);
else {
else {
char *p;
if (sargv[sargc-1][0] == '*')
if (sargv[sargc-1][0] == '*')
input_name = xstrdup(sargv[sargc-1] + 1);
input_name = xstrdup(sargv[sargc-1] + 1);
else
else
input_name = xstrdup(sargv[sargc-1]);
input_name = xstrdup(sargv[sargc-1]);
sargv[sargc-1] = normalize_quotes(input_name, "argument");
sargv[sargc-1] = normalize_quotes(input_name, "argument");
/* Same as
input_name = (char *)xbasename(input_name);
but without cast const => non-const. */
input_name += xbasename(input_name) - input_name;
p = strrchr(input_name, '.');
if (p != NULL && strcasecmp(p, ".tex") == 0)
*p = '\0';
if (!c_job_name)
c_job_name = normalize_quotes(input_name, "jobname");
}
}
if (safer_option) /* --safer implies --nosocket */
if (safer_option) /* --safer implies --nosocket */
nosocket_option = 1;
nosocket_option = 1;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment