Changeset 3182


Ignore:
Timestamp:
Apr 22, 2007, 9:44:20 AM (18 years ago)
Author:
bird
Message:

Don't use _SC_ARG_MAX, it's too low.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/findutils/lib/buildcmd.c

    r3170 r3182  
    368368  assert( (~(size_t)0) >= LONG_MAX);
    369369
     370#ifndef __EMX__ /* our _SC_ARG_MAX value is too low for the env logic to work. */
    370371#ifdef _SC_ARG_MAX 
    371372  val = sysconf(_SC_ARG_MAX);
     
    376377  if (val > 0)
    377378    return val;
     379#endif  /* !__EMX__ */
    378380
    379381  /* either _SC_ARG_MAX was not available or
Note: See TracChangeset for help on using the changeset viewer.