[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kdm/backend
From:       Adriaan de Groot <groot () kde ! org>
Date:       2005-02-15 17:12:26
Message-ID: 20050215171226.2E32A1CFE2 () office ! kde ! org
[Download RAW message or body]

CVS commit by adridg: 

C (of the gcc 2.95 compatible variety on 4-stable) does variable declarations at the \
beginning of the function


  M +2 -1      dm.c   1.115


--- kdebase/kdm/backend/dm.c  #1.114:1.115
@@ -350,4 +350,5 @@ CheckUtmp( void )
         static time_t modtim;
         time_t nck;
+        time_t ends;
         struct utmps *utp, **utpp;
         struct stat st;
@@ -424,5 +425,5 @@ CheckUtmp( void )
                         if (utp->state == UtDead) /* shouldn't happen ... */
                                 utp->time = 0;
-                        time_t ends = utp->time + (utp->hadSess ? TIME_RELOG : \
TIME_LOG); +                        ends = utp->time + (utp->hadSess ? TIME_RELOG : \
TIME_LOG);  if (ends <= now) {
 #ifdef HAVE_VTS


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic