diff options
author | Eduardo Chappa <chappa@washington.edu> | 2016-06-17 16:55:13 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2016-06-17 16:55:13 -0600 |
commit | 9e9a32078793384868c49979ba08273836931807 (patch) | |
tree | 2b8d390831b16aeca9781e7d28910df718534807 /pith/help.c | |
parent | 64a7802b19fd8f5fdab33fe687ffedbe3a8e9906 (diff) | |
download | alpine-9e9a32078793384868c49979ba08273836931807.tar.xz |
* Work in progress: Alpine calls non-safe functions while handling a
signal. An attempt is being made to correct this in the future. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825772.
Diffstat (limited to 'pith/help.c')
-rw-r--r-- | pith/help.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pith/help.c b/pith/help.c index ff8881df..af972fcd 100644 --- a/pith/help.c +++ b/pith/help.c @@ -318,7 +318,7 @@ add_review_message(char *message, int level) strncpy(rmjoarray[rmjolast].message, p, MIN(q-p,RMMSGLEN)); #ifdef DEBUG memset(rmjoarray[rmjolast].timestamp, 0, (RMTIMLEN+1)*sizeof(char)); - strncpy(rmjoarray[rmjolast].timestamp, debug_time(0,1), RMTIMLEN); + strncpy(rmjoarray[rmjolast].timestamp, debug_time(0,1,ps_global->signal_in_progress), RMTIMLEN); #endif } else if(level <= 4){ @@ -339,7 +339,7 @@ add_review_message(char *message, int level) strncpy(rmloarray[rmlolast].message, p, MIN(q-p,RMMSGLEN)); #ifdef DEBUG memset(rmloarray[rmlolast].timestamp, 0, (RMTIMLEN+1)*sizeof(char)); - strncpy(rmloarray[rmlolast].timestamp, debug_time(0,1), RMTIMLEN); + strncpy(rmloarray[rmlolast].timestamp, debug_time(0,1,ps_global->signal_in_progress), RMTIMLEN); #endif } else{ @@ -360,7 +360,7 @@ add_review_message(char *message, int level) strncpy(rmhiarray[rmhilast].message, p, MIN(q-p,RMMSGLEN)); #ifdef DEBUG memset(rmhiarray[rmhilast].timestamp, 0, (RMTIMLEN+1)*sizeof(char)); - strncpy(rmhiarray[rmhilast].timestamp, debug_time(0,1), RMTIMLEN); + strncpy(rmhiarray[rmhilast].timestamp, debug_time(0,1,ps_global->signal_in_progress), RMTIMLEN); #endif } } |