Final analysis - which worked:
L58
   String      command = SORT_PROG;
    // String   tmpdir = getenv("TMPDIR");
    String      tmpdir = "/usr/tmp";
    if (tmpdir.length())
    {
        command << " -T " << tmpdir;

    }

worked like a charm.

Thanks!!!!!!!!


> -----Original Message-----
> From: Gilles Detillieux [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 2:41 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htdig] Htmerge and out of space
> 
> 
> According to Wayne Spivak:
> > Your talking about this:
> > 
> > words.cc
> > 
> > L62
> >   command << " -T " << tmpdir;
> > 
> > to
> > 
> > command << tmpdir;
> 
> Yes, that's right.  It won't solve the problem of running out 
> of space in
> /tmp, unless your sort program handles the TMPDIR environment variable
> directly, but it will prevent conflicts with the BSD sort -T 
> option, which
> does something else (and can fail if you use it in this way).
> 
> Does your manual page for sort(1) have anything to say about 
> how one might
> specify an alternate temporary directory?
> 
> > also, looked at www.gnu.org, no "sort" program listed.
> 
> It's part of the GNU textutils package, if that helps.  I've never had
> to find it myself, as it comes standard with Red Hat Linux.
> 
> -- 
> Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
> Spinal Cord Research Centre       WWW:    
http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to