Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 104473
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +11 lines)
Line  Link Here
0
-- apachetop-0.12.5.orig/src/apachetop.cc
0
++ apachetop-0.12.5/src/apachetop.cc
Lines 1105-1111 Link Here
1105
       FILE *d;
1105
       FILE *d;
1106
        va_list args;
1106
        va_list args;
1107
1107
1108
       if (cf.debug && (d = fopen(DEBUG_OUTPUT, "a")))
1108
       static char fileName[1024] = {'\0'};
1109
1110
       if ( !strlen( fileName ) )
1111
       {
1112
         strcpy( fileName, "/tmp/atop.XXXXXX" );
1113
         mkdtemp( fileName );
1114
         strncat( fileName, "/debug", sizeof(fileName ) );
1115
       }
1116
1117
       if (cf.debug && (d = fopen(fileName, "a")))
1109
       {
1118
       {
1110
               va_start(args, fmt);
1119
               va_start(args, fmt);
1111
               vfprintf(d, fmt, args);
1120
               vfprintf(d, fmt, args);

Return to bug 104473