diff options
Diffstat (limited to 'source/xap/xscreensaver/xscreensaver.no.expiration.date.diff')
-rw-r--r-- | source/xap/xscreensaver/xscreensaver.no.expiration.date.diff | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff b/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff index bdbcbe1d..ed20ff6c 100644 --- a/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff +++ b/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff @@ -1,5 +1,5 @@ ---- ./driver/prefs.c.orig 2016-05-23 22:08:27.000000000 -0500 -+++ ./driver/prefs.c 2016-05-30 15:29:36.446721679 -0500 +--- ./driver/prefs.c.orig 2018-04-09 20:21:20.000000000 -0500 ++++ ./driver/prefs.c 2018-04-13 13:38:47.859002138 -0500 @@ -1734,6 +1734,17 @@ shipping the last version with the old license and then never upgrading it again -- which would be the worst possible outcome for @@ -17,13 +17,14 @@ + */ - time_t now = time ((time_t *) 0); /* */ -@@ -1766,5 +1777,7 @@ - months = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) - /* h */ - (y * 12 + m)); /* p */ - /* . */ -- return (months >= 17); /* */ -+ /* Disable date checking for Slackware: */ /* \ö/ */ -+ /* return (months >= 17); */ /* */ + time_t now = time ((time_t *) 0); /* d */ +@@ -1766,5 +1777,8 @@ + mrnths = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) - /* h */ + (y * 12 + m)); /* h */ + /* p */ +- return (mrnths >= 17); /* . */ ++ /* Disable date checking for Slackware: */ /* \â– / */ ++ /* return (mrnths >= 17); */ /* . */ + return ( 0 ); ++ } |