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

List:       gpsd-commit-watch
Subject:    [Gpsd-commit-watch] r4814 - trunk
From:       ckuethe () mail ! berlios ! de
Date:       2008-10-16 4:45:49
Message-ID: 200810160445.m9G4jn1i024358 () sheep ! berlios ! de
[Download RAW message or body]

Author: ckuethe
Date: 2008-10-16 06:45:32 +0200 (Thu, 16 Oct 2008)
New Revision: 4814

Modified:
   trunk/gpsd.c
   trunk/gpsd.xml
Log:
inverting the behaviour of a flag is bad... no cookie for me. instead,
make the "-n" behaviour the One True Way. The rest of the "-n" code can
be cleaned later.


Modified: trunk/gpsd.c
===================================================================
--- trunk/gpsd.c	2008-10-15 19:47:20 UTC (rev 4813)
+++ trunk/gpsd.c	2008-10-16 04:45:32 UTC (rev 4814)
@@ -1301,7 +1301,7 @@
 	    gpsd_service = optarg;
 	    break;
 	case 'n':
-	    nowait = false;
+	    nowait = true;
 	    break;
 	case 'P':
 	    pid_file = optarg;

Modified: trunk/gpsd.xml
===================================================================
--- trunk/gpsd.xml	2008-10-15 19:47:20 UTC (rev 4813)
+++ trunk/gpsd.xml	2008-10-16 04:45:32 UTC (rev 4814)
@@ -117,11 +117,13 @@
 </varlistentry>
 <varlistentry>
 <term>-n</term>
-<listitem><para>Wait for a client to connect before polling whatever
-GPS is associated with it. Some GPSes go to a standby mode (drawing
-less power) before the host machine asserts DTR, so waiting for the
-first actual request can save valuable battery power on portable
-equipment.</para>
+<listitem><para>Don't wait for a client to connect before polling
+whatever GPS is associated with it. It is thought that some GPSes
+go to a standby mode (drawing less power) before the host machine
+asserts DTR, so waiting for the first actual request might save
+battery power on portable equipment. This option is deprecated as
+it was found to be confusing; gpsd will now always remain connected
+to the configured receivers.</para>
 </listitem>
 </varlistentry>
 <varlistentry>

_______________________________________________
Gpsd-commit-watch mailing list
Gpsd-commit-watch@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch
[prev in list] [next in list] [prev in thread] [next in thread] 

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