commit 8a44a1f312b59e729d2312b5d111b98a49f38a63
parent 9d0884fc86c57010975615616ecc572a1f847e1e
Author: Byron Torres <b@torresjrjr.com>
Date: Sun, 9 Jan 2022 18:04:01 +0000
rename olsen -> olson
Signed-off-by: Byron Torres <b@torresjrjr.com>
Diffstat:
5 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
@@ -1195,10 +1195,10 @@ time_chrono() {
gen_ssa time::chrono time
}
-time_olsen() {
- gen_srcs time::olsen \
- olsen.ha
- gen_ssa time::olsen time time::chrono datetime
+time_olson() {
+ gen_srcs time::olson \
+ olson.ha
+ gen_ssa time::olson time time::chrono datetime
}
types() {
@@ -1369,7 +1369,7 @@ strio
temp linux freebsd
time linux freebsd
time::chrono
-time::olsen
+time::olson
types
unix linux freebsd
unix::hosts
diff --git a/stdlib.mk b/stdlib.mk
@@ -622,11 +622,11 @@ stdlib_deps_any+=$(stdlib_time_chrono_any)
stdlib_time_chrono_linux=$(stdlib_time_chrono_any)
stdlib_time_chrono_freebsd=$(stdlib_time_chrono_any)
-# gen_lib time::olsen (any)
-stdlib_time_olsen_any=$(HARECACHE)/time/olsen/time_olsen-any.o
-stdlib_deps_any+=$(stdlib_time_olsen_any)
-stdlib_time_olsen_linux=$(stdlib_time_olsen_any)
-stdlib_time_olsen_freebsd=$(stdlib_time_olsen_any)
+# gen_lib time::olson (any)
+stdlib_time_olson_any=$(HARECACHE)/time/olson/time_olson-any.o
+stdlib_deps_any+=$(stdlib_time_olson_any)
+stdlib_time_olson_linux=$(stdlib_time_olson_any)
+stdlib_time_olson_freebsd=$(stdlib_time_olson_any)
# gen_lib types (any)
stdlib_types_any=$(HARECACHE)/types/types-any.o
@@ -1806,15 +1806,15 @@ $(HARECACHE)/time/chrono/time_chrono-any.ssa: $(stdlib_time_chrono_any_srcs) $(s
@HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Ntime::chrono \
-t$(HARECACHE)/time/chrono/time_chrono.td $(stdlib_time_chrono_any_srcs)
-# time::olsen (+any)
-stdlib_time_olsen_any_srcs= \
- $(STDLIB)/time/olsen/olsen.ha
+# time::olson (+any)
+stdlib_time_olson_any_srcs= \
+ $(STDLIB)/time/olson/olson.ha
-$(HARECACHE)/time/olsen/time_olsen-any.ssa: $(stdlib_time_olsen_any_srcs) $(stdlib_rt) $(stdlib_time_$(PLATFORM)) $(stdlib_time_chrono_$(PLATFORM)) $(stdlib_datetime_$(PLATFORM))
+$(HARECACHE)/time/olson/time_olson-any.ssa: $(stdlib_time_olson_any_srcs) $(stdlib_rt) $(stdlib_time_$(PLATFORM)) $(stdlib_time_chrono_$(PLATFORM)) $(stdlib_datetime_$(PLATFORM))
@printf 'HAREC \t$@\n'
- @mkdir -p $(HARECACHE)/time/olsen
- @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Ntime::olsen \
- -t$(HARECACHE)/time/olsen/time_olsen.td $(stdlib_time_olsen_any_srcs)
+ @mkdir -p $(HARECACHE)/time/olson
+ @HARECACHE=$(HARECACHE) $(HAREC) $(HAREFLAGS) -o $@ -Ntime::olson \
+ -t$(HARECACHE)/time/olson/time_olson.td $(stdlib_time_olson_any_srcs)
# types (+any)
stdlib_types_any_srcs= \
@@ -2585,11 +2585,11 @@ testlib_deps_any+=$(testlib_time_chrono_any)
testlib_time_chrono_linux=$(testlib_time_chrono_any)
testlib_time_chrono_freebsd=$(testlib_time_chrono_any)
-# gen_lib time::olsen (any)
-testlib_time_olsen_any=$(TESTCACHE)/time/olsen/time_olsen-any.o
-testlib_deps_any+=$(testlib_time_olsen_any)
-testlib_time_olsen_linux=$(testlib_time_olsen_any)
-testlib_time_olsen_freebsd=$(testlib_time_olsen_any)
+# gen_lib time::olson (any)
+testlib_time_olson_any=$(TESTCACHE)/time/olson/time_olson-any.o
+testlib_deps_any+=$(testlib_time_olson_any)
+testlib_time_olson_linux=$(testlib_time_olson_any)
+testlib_time_olson_freebsd=$(testlib_time_olson_any)
# gen_lib types (any)
testlib_types_any=$(TESTCACHE)/types/types-any.o
@@ -3814,15 +3814,15 @@ $(TESTCACHE)/time/chrono/time_chrono-any.ssa: $(testlib_time_chrono_any_srcs) $(
@HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Ntime::chrono \
-t$(TESTCACHE)/time/chrono/time_chrono.td $(testlib_time_chrono_any_srcs)
-# time::olsen (+any)
-testlib_time_olsen_any_srcs= \
- $(STDLIB)/time/olsen/olsen.ha
+# time::olson (+any)
+testlib_time_olson_any_srcs= \
+ $(STDLIB)/time/olson/olson.ha
-$(TESTCACHE)/time/olsen/time_olsen-any.ssa: $(testlib_time_olsen_any_srcs) $(testlib_rt) $(testlib_time_$(PLATFORM)) $(testlib_time_chrono_$(PLATFORM)) $(testlib_datetime_$(PLATFORM))
+$(TESTCACHE)/time/olson/time_olson-any.ssa: $(testlib_time_olson_any_srcs) $(testlib_rt) $(testlib_time_$(PLATFORM)) $(testlib_time_chrono_$(PLATFORM)) $(testlib_datetime_$(PLATFORM))
@printf 'HAREC \t$@\n'
- @mkdir -p $(TESTCACHE)/time/olsen
- @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Ntime::olsen \
- -t$(TESTCACHE)/time/olsen/time_olsen.td $(testlib_time_olsen_any_srcs)
+ @mkdir -p $(TESTCACHE)/time/olson
+ @HARECACHE=$(TESTCACHE) $(HAREC) $(TESTHAREFLAGS) -o $@ -Ntime::olson \
+ -t$(TESTCACHE)/time/olson/time_olson.td $(testlib_time_olson_any_srcs)
# types (+any)
testlib_types_any_srcs= \
diff --git a/time/olsen/README b/time/olsen/README
@@ -1,5 +0,0 @@
-The time::olsen module provides access to the IANA Time Zone Database.
-This module parses the timezone data normally installed on your system.
-The database is also known as zoneinfo, tzdata, or the Olsen database.
-
-See https://www.iana.org/time-zones
diff --git a/time/olson/README b/time/olson/README
@@ -0,0 +1,5 @@
+The time::olson module provides access to the IANA Time Zone Database.
+This module parses the timezone data normally installed on your system.
+The database is also known as zoneinfo, tzdata, or the Olson database.
+
+See https://www.iana.org/time-zones
diff --git a/time/olsen/olsen.ha b/time/olson/olson.ha