On 06/04/2012 08:49 AM, Jan Friesse wrote: > Steven Dake napsal(a): >> Why not use strftime()? >> > > I didn't know that function. But actually, I don't see any benefit in > using that. > Current implementation looks fragile, whereas libc strftime theoretically would be well maintained by people interested in that sort of functionality. Regards -steve >> On 06/04/2012 02:30 AM, Jan Friesse wrote: >>> This should allow easier handling of various blackbox dumps. Original >>> fdata name is now symlink to latest created dump. >>> >>> Signed-off-by: Jan Friesse<jfriesse@xxxxxxxxxx> >>> --- >>> exec/main.c | 28 ++++++++++++++++++++++++---- >>> 1 files changed, 24 insertions(+), 4 deletions(-) >>> >>> diff --git a/exec/main.c b/exec/main.c >>> index 46fab92..d400df7 100644 >>> --- a/exec/main.c >>> +++ b/exec/main.c >>> @@ -188,6 +188,27 @@ void corosync_state_dump (void) > _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss