From 43ea138f243d0cc3b64fe81dc96298f64e1be4c5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 15 Jun 2011 02:13:30 -0400 Subject: Bug fixed, all regression tests now pass with PASSTHROUGH_ENABLED. --- gpsdecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gpsdecode.c') 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; -- cgit v1.2.1