~ubuntu-branches/ubuntu/gutsy/st/gutsy

« back to all changes in this revision

Viewing changes to stk.c

  • Committer: Bazaar Package Importer
  • Author(s): Wesley W. Terpstra (Debian)
  • Date: 2007-01-14 21:36:45 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070114213645-34cpn8xpl92dp1lc
Tags: 1.7-1
* New upstream release (closes: #406394)
* Increased standards-version; no changes necessary
* Moved from DH_COMPAT level 2 to 5; no changes necessary
* Added linker options to indicate that an executable stack is not needed
* Downgraded optimization to -O2

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
#endif
95
95
 
96
96
  if (extra) {
97
 
    long offset = (random() % extra) & ~0x7;
 
97
    long offset = (random() % extra) & ~0xf;
98
98
 
99
99
    ts->stk_bottom += offset;
100
100
    ts->stk_top += offset;