- **status**: accepted --> review
- **Milestone**: 4.6.FC --> 4.4.2
---
** [tickets:#1129] LOG: Incorrect syslog if fail to close files when closing
log stream**
**Status:** review
**Milestone:** 4.4.2
**Created:** Tue Sep 23, 2014 11:02 AM UTC by elunlen
**Last Updated:** Mon Nov 17, 2014 01:29 PM UTC
**Owner:** elunlen
In lgs_stream.c:
/* Close the log file */
rc = fileclose_h(*stream->p_fd);
*stream->p_fd = -1;
if (rc == -1) {
LOG_ER("Could not close log files: %s",
strerror(errno));
goto done_files;
}
This syslog incorrectly logs strerror(errno) which is wrong since errno is
irrelevant if fileclose_h() fails because of timeout or busy.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets