projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e72bbdb
)
ctime_r() is not available everywhere.
author
Pierre Ossman
<ossman@cendio.se>
Thu, 5 Jan 2006 22:27:14 +0000
(22:27 +0000)
committer
Pierre Ossman
<ossman@cendio.se>
Thu, 5 Jan 2006 22:27:14 +0000
(22:27 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@413
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
polyp/cli-command.c
patch
|
blob
|
history
diff --git
a/polyp/cli-command.c
b/polyp/cli-command.c
index
0e8e09a
..
1244787
100644
(file)
--- a/
polyp/cli-command.c
+++ b/
polyp/cli-command.c
@@
-641,7
+641,11
@@
static int pa_cli_command_dump(struct pa_core *c, struct pa_tokenizer *t, struct
time(&now);
+#ifdef HAVE_CTIME_R
pa_strbuf_printf(buf, "### Configuration dump generated at %s\n", ctime_r(&now, txt));
+#else
+ pa_strbuf_printf(buf, "### Configuration dump generated at %s\n", ctime(&now));
+#endif
for (m = pa_idxset_first(c->modules, &index); m; m = pa_idxset_next(c->modules, &index)) {