Changeset 3107 for trunk/src/kmk


Ignore:
Timestamp:
Oct 20, 2017, 6:53:50 PM (8 years ago)
Author:
bird
Message:

hurd workaround

Location:
trunk/src/kmk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin.h

    r3106 r3107  
    3737/* For the GNU/hurd weirdo. */
    3838#if !defined(PATH_MAX) && !defined(_MAX_PATH)
    39 # define PATH_MAX 2048
     39# define PATH_MAX 4096
    4040#endif
    4141
  • trunk/src/kmk/kmkbuiltin/cp_extern.h

    r1309 r3107  
    3131 */
    3232
     33#include "kmkbuiltin.h" /* for PATH_MAX on GNU/hurd */
     34
    3335typedef struct {
    3436        char    *p_end;                 /* pointer to NULL at end of path */
  • trunk/src/kmk/kmkbuiltin/cp_utils.c

    r2546 r3107  
    6969# include <sys/time.h>
    7070#endif
     71#include "kmkbuiltin.h" /* for PATH_MAX on GNU/hurd */
    7172#include "cp_extern.h"
    7273#include "cmp_extern.h"
Note: See TracChangeset for help on using the changeset viewer.