Raymond Toy pushed to branch issue-386-generate-def-unix-error at cmucl / cmucl
Commits:
-
7e2d05db
by Raymond Toy at 2025-03-30T21:16:32+00:00
-
fea9f546
by Raymond Toy at 2025-03-30T21:16:32+00:00
-
e90fa5af
by Raymond Toy at 2025-03-30T20:10:38-07:00
-
b16dee63
by Raymond Toy at 2025-04-29T07:46:39-07:00
-
a216e5b1
by Raymond Toy at 2025-04-30T07:07:57-07:00
4 changed files:
Changes:
... | ... | @@ -157,8 +157,9 @@ buildit () |
157 | 157 | fi
|
158 | 158 | }
|
159 | 159 | |
160 | -# Create the errno file containing all the def-unix-error forms. Exit
|
|
161 | -# if there's an error in creating the errno file.
|
|
160 | +# Create the errno file containing all the def-unix-error forms. No
|
|
161 | +# options mean we use the existing OS-specific template. Exit if
|
|
162 | +# there's an error in creating the errno file.
|
|
162 | 163 | bin/create-errno.sh || exit 1
|
163 | 164 | |
164 | 165 | BUILDWORLD="$TOOLDIR/build-world.sh"
|
... | ... | @@ -13,11 +13,24 @@ create-erno.sh [-h?DS] |
13 | 13 | -? This help
|
14 | 14 | -U Update the errno file
|
15 | 15 | -D Do not auto-generate; use default
|
16 | - |
|
17 | 16 | -S Show the resulting generated file; the file is still created.
|
18 | 17 | |
19 | 18 | Auto-generates, if possible, the file src/code/errno.lisp that
|
20 | 19 | contains the def-unix-error forms.
|
20 | + |
|
21 | +If no options are given (the usual case), src/code/errno.lisp is
|
|
22 | +updated with the OS-specific values in
|
|
23 | +bin/errno-{lisp,darwin,solaris}.lisp. For other OSes a default value
|
|
24 | +in bin/errno-default.lisp is used. For supported OSes, we also
|
|
25 | +regenerate the def-unix-error forms from the system header files and
|
|
26 | +display a diff between this and the existing files.
|
|
27 | + |
|
28 | +If -U is given, the existing OS-specific file is updated with the
|
|
29 | +generated values. Use this to update the file if the OS has added or
|
|
30 | +modified errno values.
|
|
31 | + |
|
32 | +If -D is given, default values are used. The defaults are the
|
|
33 | +original def-unix-error values from an older version of unix.lisp.
|
|
21 | 34 | EOF
|
22 | 35 | exit 0
|
23 | 36 | }
|
... | ... | @@ -269,7 +269,7 @@ |
269 | 269 | |
270 | 270 | #+darwin
|
271 | 271 | (defvar *enable-darwin-path-normalization* nil
|
272 | - "When non-NIL, pathnames are on Darwin are normalized when created.
|
|
272 | + _N"When non-NIL, pathnames are on Darwin are normalized when created.
|
|
273 | 273 | Otherwise, the pathnames are unchanged.
|
274 | 274 | |
275 | 275 | This must be NIL during bootstrapping because Unicode is not yet
|
... | ... | @@ -9667,6 +9667,15 @@ msgid "" |
9667 | 9667 | " an otherwise undefined logical host."
|
9668 | 9668 | msgstr ""
|
9669 | 9669 | |
9670 | +#: src/code/pathname.lisp
|
|
9671 | +msgid ""
|
|
9672 | +"When non-NIL, pathnames are on Darwin are normalized when created.\n"
|
|
9673 | +" Otherwise, the pathnames are unchanged.\n"
|
|
9674 | +"\n"
|
|
9675 | +" This must be NIL during bootstrapping because Unicode is not yet\n"
|
|
9676 | +" available."
|
|
9677 | +msgstr ""
|
|
9678 | + |
|
9670 | 9679 | #: src/code/pathname.lisp
|
9671 | 9680 | msgid "A path specification, either a string, file-stream or pathname."
|
9672 | 9681 | msgstr ""
|