Raymond Toy pushed to branch issue-446-use-cc-to-get-errno at cmucl / cmucl
Commits:
-
03e93d4e
by Raymond Toy at 2025-11-03T13:42:21-08:00
1 changed file:
Changes:
| ... | ... | @@ -94,17 +94,17 @@ find_errno () |
| 94 | 94 | awk "BEGIN {
|
| 95 | 95 | max = 0
|
| 96 | 96 | }
|
| 97 | -/* Pattern is '#define Efoo number' */
|
|
| 97 | +# Pattern is '#define Efoo number'
|
|
| 98 | 98 | /^#define[ \t]+(E[A-Z0-9]+)[ \t]+([0-9]+)/ {
|
| 99 | 99 | errno[\$3] = \$2
|
| 100 | 100 | max = (\$3 > max) ? \$3 : max
|
| 101 | 101 | }
|
| 102 | -/* Pattern is '#define Efoo Ealias' */
|
|
| 102 | +# Pattern is '#define Efoo Ealias'
|
|
| 103 | 103 | /^#define[ \t]+(E[A-Z0-9]+)[ \t]+(E[A-Z0-9]+)/ {
|
| 104 | 104 | alias[\$3] = \$2
|
| 105 | 105 | }
|
| 106 | 106 | END {
|
| 107 | - /* Print out each errno and print the alias right after the actual value */
|
|
| 107 | + # Print out each errno and print the alias right after the actual value
|
|
| 108 | 108 | for (i = 0; i <= max; i++) {
|
| 109 | 109 | if (i in errno) {
|
| 110 | 110 | printf \"(defconstant %s %d)\n\", errno[i], i
|