Ticket #17876: patch-TMPDIR.diff

File patch-TMPDIR.diff, 1.7 KB (added by rbubley, 16 years ago)

Patch to change /usr/tmp to /tmp

  • README.unix

    old new  
    188188
    189189     TMPDIR
    190190          Root of directory to store partial messages awaiting
    191           reassembly.  Default is "/usr/tmp".   Partial messages
     191          reassembly.  Default is "/tmp".   Partial messages
    192192          are stored in subdirectories of $TMPDIR/m-prts-$USER/
    193193
    194194
  • mkreadme.pl

    old new  
    413413=unix
    414414     TMPDIR
    415415          Root of directory to store partial messages awaiting
    416           reassembly.  Default is "/usr/tmp".   Partial messages
     416          reassembly.  Default is "/tmp".   Partial messages
    417417          are stored in subdirectories of $TMPDIR/m-prts-$USER/
    418418
    419419=pc os2
  • unixos.c

    old new  
    9090        strcpy(buf, getenv("TMPDIR"));
    9191    }
    9292    else {
    93         strcpy(buf, "/usr/tmp");
     93        strcpy(buf, "/tmp");
    9494    }
    9595    strcat(buf, "/m-prts-");
    9696    p = getenv("USER");
  • unixpk.c

    old new  
    164164            strcpy(fnamebuf, getenv("TMPDIR"));
    165165        }
    166166        else {
    167             strcpy(fnamebuf, "/usr/tmp");
     167            strcpy(fnamebuf, "/tmp");
    168168        }
    169169        strcat(fnamebuf, "/mpackXXXXXX");
    170170        mktemp(fnamebuf);
  • unixpk.man

    old new  
    136136.SH ENVIRONMENT
    137137.TP
    138138.B TMPDIR
    139 Directory to store temporary files.  Default is /usr/tmp.
     139Directory to store temporary files.  Default is /tmp.
    140140.TP
    141141.B SPLITSIZE
    142142Default value of the -m switch.