]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- updated
authorgrzegol <grzegol@pld-linux.org>
Tue, 29 Jul 2003 21:09:51 +0000 (21:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntp-vsnprintf.patch -> 1.2

ntp-vsnprintf.patch

index 06bd8f7cf036c17d5c9eca49afbc8d2d129cddee..c8e9dcf339e65e8011db2e2fa18b0288abcf18ef 100644 (file)
@@ -1,11 +1,9 @@
 --- ntp-4.0.99j/libntp/msyslog.c.vsnprintf     Wed Aug 23 13:04:18 2000
 +++ ntp-4.0.99j/libntp/msyslog.c       Wed Aug 23 13:06:05 2000
-@@ -126,7 +126,8 @@
-           *n++ = '\n';
+@@ -126,6 +126,7 @@
        *n = '\0';
  
--      vsprintf(buf, nfmt, ap);
-+      vsnprintf(buf, sizeof(buf), nfmt, ap);
+       vsnprintf(buf, sizeof(buf), nfmt, ap);
 +      buf[sizeof(buf)-1] = '\0';
  #if !defined(VMS) && !defined (SYS_VXWORKS)
        if (syslogit)
This page took 0.492045 seconds and 4 git commands to generate.