*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
\n\
For updates, online manual, and FAQ, please see the web page:\n\
\n\
\n\
For updates, online manual, and FAQ, please see the web page:\n\
\n\
- time_t now = time ((time_t *) 0);
- char *str = (char *) ctime (&now);
- char *nl = (char *) strchr (str, '\n');
+ char *str, *nl;
+ if (! when) when = time ((time_t *) 0);
+ str = (char *) ctime (&when);
+ nl = (char *) strchr (str, '\n');
int n = strlen(progname);
if (n > 100) n = 99;
strncpy(buf, progname, n);
int n = strlen(progname);
if (n > 100) n = 99;
strncpy(buf, progname, n);
" won't work. A \"log.txt\" file will also be written. Please *do*\n"
" include the complete \"log.txt\" file with your bug report.\n"
"\n"
" won't work. A \"log.txt\" file will also be written. Please *do*\n"
" include the complete \"log.txt\" file with your bug report.\n"
"\n"
" the most useful bug reports, and how to examine core files.\n"
"\n"
" The more information you can provide, the better. But please\n"
" the most useful bug reports, and how to examine core files.\n"
"\n"
" The more information you can provide, the better. But please\n"
You control a running xscreensaver process by sending it messages\n\
with `xscreensaver-demo' or `xscreensaver-command'.\n\
. See the man pages for details, or check the web page:\n\
You control a running xscreensaver process by sending it messages\n\
with `xscreensaver-demo' or `xscreensaver-command'.\n\
. See the man pages for details, or check the web page:\n\
fprintf (stderr, "\n"
"*************************************"
"**************************************\n"
"%s: Warning: this version of xscreensaver is VERY OLD!\n"
fprintf (stderr, "\n"
"*************************************"
"**************************************\n"
"%s: Warning: this version of xscreensaver is VERY OLD!\n"
{
if (si->demoing_p)
fprintf (stderr, "%s: demoing %d at %s.\n", blurb(),
{
if (si->demoing_p)
fprintf (stderr, "%s: demoing %d at %s.\n", blurb(),
else
fprintf (stderr, "%s: blanking screen at %s.\n", blurb(),
else
fprintf (stderr, "%s: blanking screen at %s.\n", blurb(),
/* Go around the loop and wait for the next bout of idleness,
or for the init file to change, or for a remote command to
/* Go around the loop and wait for the next bout of idleness,
or for the init file to change, or for a remote command to
/* Kill before unblanking, to stop drawing as soon as possible. */
for (i = 0; i < si->nscreens; i++)
/* Kill before unblanking, to stop drawing as soon as possible. */
for (i = 0; i < si->nscreens; i++)