wok view xscreensaver/stuff/xscreensaver.no.expiration.date.diff @ rev 25629

Fix xscreensaver and up to 5.45 (thanks Pat)
author Stanislas Leduc <shann@slitaz.org>
date Tue Dec 19 20:23:40 2023 +0100 (7 months ago)
parents
children
line source
1 --- ./driver/prefs.c.orig 2018-04-09 20:21:20.000000000 -0500
2 +++ ./driver/prefs.c 2018-04-13 13:38:47.859002138 -0500
3 @@ -1734,6 +1734,17 @@
4 shipping the last version with the old license and then never
5 upgrading it again -- which would be the worst possible outcome for
6 everyone involved, most especially the users.
7 +
8 + ---
9 +
10 + NOTE: This feature is disabled by Slackware... we do not ship multi-year
11 + old versions, nor do we think it is a good idea to include nag screens
12 + that activate when an expiration date is reached. In this case, the
13 + nag screen was activated after only one year, which practically insures
14 + that this will be seen before the next stable Slackware release.
15 + If there's a problem that needs fixing, we'll issue a fix.
16 + No nag screens please. Thanks for possibly reconsidering this!
17 +
18 */
20 time_t now = time ((time_t *) 0); /* d */
21 @@ -1766,5 +1777,8 @@
22 mrnths = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) - /* h */
23 (y * 12 + m)); /* h */
24 /* p */
25 - return (mrnths >= 17); /* . */
26 + /* Disable date checking for Slackware: */ /* \■/ */
27 + /* return (mrnths >= 17); */ /* . */
28 + return ( 0 );
29 +
30 }