summaryrefslogblamecommitdiffstats
path: root/source/xap/xscreensaver/xscreensaver.no.expiration.date.diff
blob: ed20ff6ce154e495a0aad116824464ff931dd9d9 (plain) (tree)
1
2

                                                                   
















                                                                                







                                                                             
                
 
  
--- ./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
      everyone involved, most especially the users.
+
+     ---
+
+     NOTE:  This feature is disabled by Slackware...  we do not ship multi-year
+     old versions, nor do we think it is a good idea to include nag screens
+     that activate when an expiration date is reached.  In this case, the
+     nag screen was activated after only one year, which practically insures
+     that this will be seen before the next stable Slackware release.
+     If there's a problem that needs fixing, we'll issue a fix.
+     No nag screens please.  Thanks for possibly reconsidering this!
+
   */
 
   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 );
+
 }