patch-gpspipe_c 389 B

1234567891011
  1. --- gpsd-2.95.orig/gpspipe.c 2010-06-11 11:21:42.000000000 +0200
  2. +++ gpsd-2.95/gpspipe.c 2010-07-30 12:54:08.000000000 +0200
  3. @@ -120,7 +120,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);