On Mon, 27.10.14 08:42, Daniele Medri (dme...@gmail.com) wrote:
Hmm? Why would we want to drop the backwards compatibility here? We
juste added it a few days ago!
> ---
> src/shared/calendarspec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
> index fae7dfd..8e6c871 100644
> --- a/src/shared/calendarspec.c
> +++ b/src/shared/calendarspec.c
> @@ -885,8 +885,7 @@ int calendar_spec_from_string(const char *p, CalendarSpec
> **spec) {
> if (r < 0)
> goto fail;
>
> -} else if (strcaseeq(p, "annually") || strcaseeq(p, "yearly")
> - || strcaseeq(p, "anually") /* backwards compatibility */
> ) {
> +} else if (strcaseeq(p, "annually") || strcaseeq(p, "yearly")) {
> r = const_chain(1, &c->month);
> if (r < 0)
> goto fail;
> --
> 1.9.3
>
> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Lennart
--
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel