/[gcl]/gcl/h/bsd.h
ViewVC logotype

Diff of /gcl/h/bsd.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by camm, Fri Jun 10 15:20:22 2005 UTC revision 1.8 by camm, Thu Oct 6 20:30:08 2005 UTC
# Line 42  extern char etext; Line 42  extern char etext;
42                                  extern char etext; \                                  extern char etext; \
43                               real_maxpage = MAXPAGE ; \                               real_maxpage = MAXPAGE ; \
44          getrlimit(RLIMIT_DATA, &data_rlimit); \          getrlimit(RLIMIT_DATA, &data_rlimit); \
45          real_maxpage = ((unsigned int)&etext/PAGESIZE + data_rlimit.rlim_cur/PAGESIZE); \          real_maxpage = ((unsigned long)&etext/PAGESIZE + data_rlimit.rlim_cur/PAGESIZE); \
46          if (real_maxpage > MAXPAGE) \          if (real_maxpage > MAXPAGE) \
47                  real_maxpage = MAXPAGE ; } while(0)                  real_maxpage = MAXPAGE ; } while(0)
48            

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26