APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Craig Markwardt <craigm@pcasun3.gsfc.nasa.gov>
  To  : Avery Pennarun <apenwarr@worldvisions.ca>
<apmd-list@worldvisions.ca> Date: Tue, 15 Jun 1999 21:02:05 -0400 (EDT)

apmd 3.0beta8 is released

Avery Pennarun writes:
 > 
 > Hi all,
 > 
 > Due almost exclusively to the work of other people (thanks, other people)
 > especially David Brownell (thanks, Dave), apmd 3.0beta8 is now out, just a
 > week and a half after 3.0beta7.
 > 

Agggh!  Too soon.  :-) There is another buglet in the system logging,
and patch to fix it is below.  The problem with the original is that
msg could contain unprotected "%" symbols.

Craig


diff -u -r apmd-3.0beta8/apmd.c apmd-3.0beta8cm1/apmd.c
--- apmd-3.0beta8/apmd.c        Tue Jun 15 20:59:19 1999
+++ apmd-3.0beta8cm1/apmd.c     Tue Jun 15 20:59:22 1999
@@ -240,7 +240,7 @@
        return;
 
     /* Success.  Log it. */
-    syslog(LOG_INFO, msg);
+    syslog(LOG_INFO, "%s", msg);
 }



Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca