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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/dateandtime
From:       Hasso Tepper <hasso () kde ! org>
Date:       2007-04-18 18:36:14
Message-ID: 1176921374.767583.8624.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 655551 by hasso:

DragonFlyBSD behaves like any other BSD in this regard.


 M  +2 -2      dtime.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/dateandtime/dtime.cpp #655550:655551
@@ -334,7 +334,7 @@
     K3Process c_proc;
 
   // BSD systems reverse year compared to Susv3
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
     BufS.sprintf("%04d%02d%02d%02d%02d.%02d",
                date.year(),
                date.month(), date.day(),
@@ -352,7 +352,7 @@
     c_proc.start( K3Process::Block );
     int result = c_proc.exitStatus();
     if (result != 0
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
   	  && result != 2	// can only set local date, which is okay
 #endif
       ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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