Parent Directory | Revision Log | 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 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |