1
0

patch-gpspipe_c 387 B

1234567891011
  1. --- gpsd-2.39.orig/gpspipe.c 2009-03-03 00:22:49.000000000 +0100
  2. +++ gpsd-2.39/gpspipe.c 2009-06-13 09:14:14.000000000 +0200
  3. @@ -108,7 +108,7 @@ static void open_serial(char* device)
  4. }
  5. /* Clear struct for new port settings. */
  6. - /*@i@*/bzero(&newtio, sizeof(newtio));
  7. + /*@i@*/memset(&newtio, 0, sizeof(newtio));
  8. /* make it raw */
  9. (void)cfmakeraw(&newtio);