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

Collapse All | Expand All

(-)mpack-1.6-orig/unixos.c (-2 / +2 lines)
Lines 39-45 Link Here
39
#endif
39
#endif
40
40
41
extern int errno;
41
extern int errno;
42
extern char *malloc();
42
extern void *malloc();
43
extern char *getenv();
43
extern char *getenv();
44
44
45
int overwrite_files = 0;
45
int overwrite_files = 0;
Lines 90-96 Link Here
90
	strcpy(buf, getenv("TMPDIR"));
90
	strcpy(buf, getenv("TMPDIR"));
91
    }
91
    }
92
    else {
92
    else {
93
	strcpy(buf, "/usr/tmp");
93
	strcpy(buf, "/var/tmp");
94
    }
94
    }
95
    strcat(buf, "/m-prts-");
95
    strcat(buf, "/m-prts-");
96
    p = getenv("USER");
96
    p = getenv("USER");
(-)mpack-1.6-orig/unixpk.man (-1 / +1 lines)
Lines 136-142 Link Here
136
.SH ENVIRONMENT
136
.SH ENVIRONMENT
137
.TP
137
.TP
138
.B TMPDIR
138
.B TMPDIR
139
Directory to store temporary files.  Default is /usr/tmp.
139
Directory to store temporary files.  Default is /var/tmp.
140
.TP
140
.TP
141
.B SPLITSIZE
141
.B SPLITSIZE
142
Default value of the -m switch.
142
Default value of the -m switch.
(-)mpack-1.6-orig/unixunpk.man (-1 / +1 lines)
Lines 107-113 Link Here
107
.SH ENVIRONMENT
107
.SH ENVIRONMENT
108
.TP
108
.TP
109
.B TMPDIR
109
.B TMPDIR
110
Directory to store temporary files.  Default is /usr/tmp.
110
Directory to store temporary files.  Default is /var/tmp.
111
.SH FILES
111
.SH FILES
112
.TP
112
.TP
113
.B $TMPDIR/m-prts-$USER/
113
.B $TMPDIR/m-prts-$USER/
(-)mpack-1.6-orig/xmalloc.c (-1 / +1 lines)
Lines 24-30 Link Here
24
 */
24
 */
25
#include <stdio.h>
25
#include <stdio.h>
26
#include <string.h>
26
#include <string.h>
27
extern char *malloc(), *realloc();
27
extern void *malloc(), *realloc();
28
28
29
char *xmalloc (int size)
29
char *xmalloc (int size)
30
{
30
{

Return to bug 171075