summaryrefslogtreecommitdiff
path: root/converters/mpack/files/patch-ab
blob: 81754bad4eda016865fc54c8f2f0440f84034819 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
*** unixos.c.bak	Fri Feb 17 00:39:50 1995
--- unixos.c	Mon Nov 11 10:19:28 1996
***************
*** 89,95 ****
--- 89,99 ----
  	strcpy(buf, getenv("TMPDIR"));
      }
      else {
+ #ifdef __FreeBSD__
+ 	strcpy(buf, "/var/tmp");
+ #else
  	strcpy(buf, "/usr/tmp");
+ #endif
      }
      strcat(buf, "/m-prts-");
      p = getenv("USER");
*** unixpk.man.bak	Fri Feb 17 00:39:50 1995
--- unixpk.man	Mon Nov 11 10:19:46 1996
***************
*** 136,142 ****
  .SH ENVIRONMENT
  .TP
  .B TMPDIR
! Directory to store temporary files.  Default is /usr/tmp.
  .TP
  .B SPLITSIZE
  Default value of the -m switch.
--- 136,142 ----
  .SH ENVIRONMENT
  .TP
  .B TMPDIR
! Directory to store temporary files.  Default is /var/tmp.
  .TP
  .B SPLITSIZE
  Default value of the -m switch.
*** unixunpk.man.bak	Fri Feb 17 00:39:50 1995
--- unixunpk.man	Mon Nov 11 10:19:59 1996
***************
*** 107,113 ****
  .SH ENVIRONMENT
  .TP
  .B TMPDIR
! Directory to store temporary files.  Default is /usr/tmp.
  .SH FILES
  .TP
  .B $TMPDIR/m-prts-$USER/
--- 107,113 ----
  .SH ENVIRONMENT
  .TP
  .B TMPDIR
! Directory to store temporary files.  Default is /var/tmp.
  .SH FILES
  .TP
  .B $TMPDIR/m-prts-$USER/