···5757 tm->tm_mday = buf[4];
5858 tm->tm_mon = buf[5] - 1;
59596060-#ifdef IRIVER_H300_SERIES
6060+#ifdef IRIVER_H300_SERIES
6161 /* Special kludge to coexist with the iriver firmware. The iriver firmware
6262 stores the date as 1965+nn, and allows a range of 1980..2064. We use
6363 1964+nn here to make leap years work correctly, so the date will be one
···158158159159 if (run_before) {
160160 rc = alarm_state;
161161- alarm_state &= ~release_alarm;
161161+ alarm_state &= !release_alarm;
162162 } else {
163163 char rt[3], at[3];
164164 /* The Ipod bootloader seems to read (and thus clear) the PCF interrupt