Skip to content

Commit 26dd318

Browse files
devdocs: correct some function names and locations (#48289)
1 parent 62c1137 commit 26dd318

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/devdocs/eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The 10,000 foot view of the whole process is as follows:
2525
1. The user starts `julia`.
2626
2. The C function `main()` from `cli/loader_exe.c` gets called. This function processes the command line
2727
arguments, filling in the `jl_options` struct and setting the variable `ARGS`. It then initializes
28-
Julia (by calling [`julia_init` in `task.c`](https://github.com/JuliaLang/julia/blob/master/src/task.c),
28+
Julia (by calling [`julia_init` in `init.c`](https://github.com/JuliaLang/julia/blob/master/src/init.c),
2929
which may load a previously compiled [sysimg](@ref dev-sysimg)). Finally, it passes off control to Julia
3030
by calling [`Base._start()`](https://github.com/JuliaLang/julia/blob/master/base/client.jl).
3131
3. When `_start()` takes over control, the subsequent sequence of commands depends on the command

doc/src/devdocs/init.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ How does the Julia runtime execute `julia -e 'println("Hello World!")'` ?
66

77
Execution starts at [`main()` in `cli/loader_exe.c`](https://github.com/JuliaLang/julia/blob/master/cli/loader_exe.c),
88
which calls `jl_load_repl()` in [`cli/loader_lib.c`](https://github.com/JuliaLang/julia/blob/master/cli/loader_lib.c)
9-
which loads a few libraries, eventually calling [`repl_entrypoint()` in `src/jlapi.c`](https://github.com/JuliaLang/julia/blob/master/src/jlapi.c).
9+
which loads a few libraries, eventually calling [`jl_repl_entrypoint()` in `src/jlapi.c`](https://github.com/JuliaLang/julia/blob/master/src/jlapi.c).
1010

11-
`repl_entrypoint()` calls [`libsupport_init()`](https://github.com/JuliaLang/julia/blob/master/src/support/libsupportinit.c)
11+
`jl_repl_entrypoint()` calls [`libsupport_init()`](https://github.com/JuliaLang/julia/blob/master/src/support/libsupportinit.c)
1212
to set the C library locale and to initialize the "ios" library (see [`ios_init_stdstreams()`](https://github.com/JuliaLang/julia/blob/master/src/support/ios.c)
1313
and [Legacy `ios.c` library](@ref Legacy-ios.c-library)).
1414

@@ -20,7 +20,7 @@ or early initialization. Other options are handled later by [`exec_options()` in
2020

2121
## `julia_init()`
2222

23-
[`julia_init()` in `task.c`](https://github.com/JuliaLang/julia/blob/master/src/task.c) is called
23+
[`julia_init()` in `init.c`](https://github.com/JuliaLang/julia/blob/master/src/init.c) is called
2424
by `main()` and calls [`_julia_init()` in `init.c`](https://github.com/JuliaLang/julia/blob/master/src/init.c).
2525

2626
`_julia_init()` begins by calling `libsupport_init()` again (it does nothing the second time).

0 commit comments

Comments
 (0)