diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-15 02:13:30 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-15 02:13:30 -0400 |
commit | 43ea138f243d0cc3b64fe81dc96298f64e1be4c5 (patch) | |
tree | 714c58995e34eac6227518a0d56338f38a210256 /gpsdecode.c | |
parent | 53a3cfe51a059166c49540857eb3a8f00f2e6f66 (diff) | |
download | gpsd-43ea138f243d0cc3b64fe81dc96298f64e1be4c5.tar.gz |
Bug fixed, all regression tests now pass with PASSTHROUGH_ENABLED.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r-- | gpsdecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsdecode.c b/gpsdecode.c index d3d68169..13f66eb5 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -392,8 +392,8 @@ static void decode(FILE *fpin, FILE*fpout) struct policy_t policy; char buf[GPS_JSON_RESPONSE_MAX * 4]; - (void)strlcpy(session.gpsdata.dev.path, - "stdin", sizeof(session.gpsdata.dev.path)); + //This looks like a good idea, but it breaks regression tests + //(void)strlcpy(session.gpsdata.dev.path, "stdin", sizeof(session.gpsdata.dev.path)); memset(&policy, '\0', sizeof(policy)); policy.json = json; |