[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (failed) packages



>>>>> "MB" == Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:

    MB> On Sat, Jun 30, 2001 at 04:24:29AM +0100, Paul Emsley wrote:
    >> I took a look at this list and it seems to me that about 80% of
    >> the "fail"s are the MAXPATHLEN, MAX_PATH, MAXHOSTNAMELEN and
    >> sys_errlist problems.  These have been mentioned before here.
    >> 
    >> It may be a good idea to post a "before" and "after" example of
    >> how to fix these problems in the Approved Fashion.  It may also
    >> be of use for pointing package maintainers at.

    MB> There have been many examples in the past.  There is no
    MB> standard approach, you have to look at how they are used.

        OK then, does one conditionalise on (e.g.) MAXHOSTNAMELEN:

#ifdef MAXHOSTNAMELEN
        /* do it the traditional way */
#else
        /* do it the Hurd way, typically using realloc() */
#endif

        for each occurance of MAXHOSTNAMELEN (or whatever)?
 
    MB> [snip explanation of turtle]

        Thanks, 

        Paul.


-- 
Paul.Emsley@chem.gla.ac.uk   
 http://www.chem.gla.ac.uk/~paule



Reply to: