Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262174 | Differences between
and this patch

Collapse All | Expand All

(-)src/builtins.c (-1 / +4 lines)
Lines 4-9 Link Here
4
 * This file is part of Jam - see jam.c for Copyright information.
4
 * This file is part of Jam - see jam.c for Copyright information.
5
 */
5
 */
6
6
7
# include <ctype.h>
8
7
# include "jam.h"
9
# include "jam.h"
8
# include "debug.h"
10
# include "debug.h"
9
11
Lines 24-30 Link Here
24
# include "compile.h"
26
# include "compile.h"
25
# include "native.h"
27
# include "native.h"
26
# include "variable.h"
28
# include "variable.h"
27
# include <ctype.h>
29
# include "timestamp.h"
30
# include "modules/modules.h"
28
31
29
/*
32
/*
30
 * builtins.c - builtin jam rules
33
 * builtins.c - builtin jam rules
(-)src/builtins.h (+2 lines)
Lines 51-54 Link Here
51
51
52
void backtrace( FRAME *frame );
52
void backtrace( FRAME *frame );
53
53
54
void lol_build( LOL* lol, char** elements );
55
54
#endif
56
#endif
(-)src/compile.c (-1 / +1 lines)
Lines 1319-1325 Link Here
1319
debug_compile( int which, char *s, FRAME* frame )
1319
debug_compile( int which, char *s, FRAME* frame )
1320
{
1320
{
1321
    static int level = 0;
1321
    static int level = 0;
1322
    static char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|";
1322
    static const char indent[36] = ">>>>|>>>>|>>>>|>>>>|>>>>|>>>>|>>>>|";
1323
1323
1324
    if ( which >= 0 )
1324
    if ( which >= 0 )
1325
    {
1325
    {
(-)src/debug.c (-2 / +2 lines)
Lines 107-114 Link Here
107
        profile_total.memory += p->memory;
107
        profile_total.memory += p->memory;
108
    }
108
    }
109
    printf("%10d %10d %10d %12.6f %10d %10d %s\n",
109
    printf("%10d %10d %10d %12.6f %10d %10d %s\n",
110
        p->num_entries, p->cumulative, p->net, q,
110
        (int) p->num_entries, (int) p->cumulative, (int) p->net, q,
111
        p->memory, mem_each,
111
        (int) p->memory, (int) mem_each,
112
        p->name);
112
        p->name);
113
}
113
}
114
114
(-)src/expand.c (-1 / +1 lines)
Lines 86-92 Link Here
86
    int depth;
86
    int depth;
87
87
88
    if( DEBUG_VAREXP )
88
    if( DEBUG_VAREXP )
89
        printf( "expand '%.*s'\n", end - in, in );
89
        printf( "expand '%.*s'\n", (int)(end - in), in );
90
90
91
    /* This gets alot of cases: $(<) and $(>) */
91
    /* This gets alot of cases: $(<) and $(>) */
92
92
(-)src/hash.c (-1 / +1 lines)
Lines 366-371 Link Here
366
		hp->items.nel,
366
		hp->items.nel,
367
		hp->tab.nel,
367
		hp->tab.nel,
368
		hp->items.nel * hp->items.size / 1024,
368
		hp->items.nel * hp->items.size / 1024,
369
		hp->tab.nel * sizeof( ITEM ** ) / 1024,
369
		hp->tab.nel * (int)sizeof( ITEM ** ) / 1024,
370
		(float)count / (float)sets );
370
		(float)count / (float)sets );
371
}
371
}
(-)src/make1.c (-1 / +4 lines)
Lines 61-66 Link Here
61
# include "command.h"
61
# include "command.h"
62
# include "execcmd.h"
62
# include "execcmd.h"
63
63
64
# include "debug.h"
65
# include "compile.h"
66
64
# include <stdlib.h>
67
# include <stdlib.h>
65
68
66
#if defined(sun) || defined(__sun)
69
#if defined(sun) || defined(__sun)
Lines 960-966 Link Here
960
			list_sublist( ns, start, chunk ),
963
			list_sublist( ns, start, chunk ),
961
			list_new( L0, newstr( "%" ) ) );
964
			list_new( L0, newstr( "%" ) ) );
962
965
963
                    printf( cmd->buf );
966
                    printf( "%s", cmd->buf );
964
                
967
                
965
		    exit( EXITBAD );
968
		    exit( EXITBAD );
966
		}
969
		}
(-)src/native.c (+1 lines)
Lines 3-8 Link Here
3
/* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
3
/* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */
4
4
5
#include "native.h"
5
#include "native.h"
6
#include "builtins.h"
6
#include "hash.h"
7
#include "hash.h"
7
8
8
# define P0 (PARSE *)0
9
# define P0 (PARSE *)0
(-)src/newstr.c (-2 / +4 lines)
Lines 4-15 Link Here
4
 * This file is part of Jam - see jam.c for Copyright information.
4
 * This file is part of Jam - see jam.c for Copyright information.
5
 */
5
 */
6
6
7
# include <stddef.h>
8
# include <stdlib.h>
9
7
# include "jam.h"
10
# include "jam.h"
8
# include "newstr.h"
11
# include "newstr.h"
9
# include "hash.h"
12
# include "hash.h"
10
# include "compile.h"
13
# include "compile.h"
11
# include <stddef.h>
14
# include "debug.h"
12
# include <stdlib.h>
13
15
14
/*
16
/*
15
 * newstr.c - string manipulation routines
17
 * newstr.c - string manipulation routines
(-)src/timestamp.h (+2 lines)
Lines 8-12 Link Here
8
 * timestamp.h - get the timestamp of a file or archive member
8
 * timestamp.h - get the timestamp of a file or archive member
9
 */
9
 */
10
10
11
#include <time.h>
12
11
void timestamp( char *target, time_t *time );
13
void timestamp( char *target, time_t *time );
12
void donestamps();
14
void donestamps();

Return to bug 262174