]> git.saurik.com Git - apple/syslog.git/commitdiff
syslog-148.8.tar.gz mac-os-x-1082 mac-os-x-1083 mac-os-x-1084 mac-os-x-1085 v148.8
authorApple <opensource@apple.com>
Wed, 15 Aug 2012 20:21:31 +0000 (20:21 +0000)
committerApple <opensource@apple.com>
Wed, 15 Aug 2012 20:21:31 +0000 (20:21 +0000)
syslogd.tproj/asl_action.c

index 2848271154d14250b5bed503fc8bea1fc71c4378..64715c8e3b3981779124da1ba1490a2fa5ae49d2 100644 (file)
@@ -592,6 +592,7 @@ _act_store_dir_setup(struct store_data *sd, time_t tick)
        if ((sd->p_year == ctm.tm_year) && (sd->p_month == ctm.tm_mon) && (sd->p_day == ctm.tm_mday) && (sd->path != NULL)) return ASL_STATUS_OK;
 
        if (sd->store != NULL) asl_file_close(sd->store);
+       sd->store = NULL;
 
        sd->p_year = 0;
        sd->p_month = 0;