diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 10:57:51 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 10:57:51 -0400 |
commit | d004b6a55f36506cbc5977d817bd4ce3c3903c6f (patch) | |
tree | e8d5af24676888fd628887721ce6e3e0b6c98f5d /shmexport.c | |
parent | 81670f70953c4f99730c51bd17fb0c8a65972fe1 (diff) | |
download | gpsd-d004b6a55f36506cbc5977d817bd4ce3c3903c6f.tar.gz |
Re-identify most *_IS flags with corresponding *_SET flags.
Required so clients looking at flag masks in data exported via the shared-memory
interface will see the right thing.
These were separated originally in order to avoid pushing the reqyuired width
of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5
API change, so that constraint went away.
All regression tests pass.
Diffstat (limited to 'shmexport.c')
-rw-r--r-- | shmexport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shmexport.c b/shmexport.c index d881417b..d9aad54c 100644 --- a/shmexport.c +++ b/shmexport.c @@ -70,7 +70,7 @@ void shm_update(struct gps_context_t *context, struct gps_data_t *gpsdata) * havoc will ensue. asm volatile("sfence") is a GCCism intended * to prevent reordering. * - * This is a simple optimistic-concurrency tachnique. We write + * This is a simple optimistic-concurrency technique. We write * the second bookend first, then the data, then the first bookend. * Reader copies what it sees in normal order; that way, if we * start to write the segment during the read, the second bookend will |