~ubuntu-branches/ubuntu/karmic/allegro4.2/karmic

« back to all changes in this revision

Viewing changes to src/dos/wat.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2008-03-03 11:28:56 UTC
  • mfrom: (1.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080303112856-4ds441er7nkn9th7
Tags: 2:4.2.2-2
* debian/control:
  + Add ${shlibs:Depends} to the liballegro4.2-dev dependencies.
  + Set policy to 3.7.3.

* debian/rules:
  + Ensure that packages built with liballegro 4.2.2 depend on liballegro
    >= 4.2.2 (Closes: #468081).

* debian/create_allegro-examples.pl:
  + Fix a "read without variable" bashism (Closes: #465134).

* debian/patches/005_no_unsharable.diff:
  + Remove extraneous libraries from allegro-config --libs output. Patch
    courtesy of Peter De Wachter (Closes: #462679).

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
   }
93
93
 
94
94
   for (c=0; c<IRQ_STACKS; c++) {
95
 
      irq_stack[c] = malloc(STACK_SIZE);
 
95
      irq_stack[c] = _AL_MALLOC(STACK_SIZE);
96
96
      if (irq_stack[c]) {
97
97
         LOCK_DATA(irq_stack[c], STACK_SIZE);
98
98
         irq_stack[c] += STACK_SIZE - 32;
99
99
      }
100
100
   }
101
101
 
102
 
   rmcb_stack = malloc(STACK_SIZE);
 
102
   rmcb_stack = _AL_MALLOC(STACK_SIZE);
103
103
   if (rmcb_stack) {
104
104
      LOCK_DATA(rmcb_stack, STACK_SIZE);
105
105
      rmcb_stack += STACK_SIZE - 32;
130
130
   for (c=0; c<IRQ_STACKS; c++) {
131
131
      if (irq_stack[c]) {
132
132
         irq_stack[c] -= STACK_SIZE - 32;
133
 
         free(irq_stack[c]);
 
133
         _AL_FREE(irq_stack[c]);
134
134
         irq_stack[c] = NULL;
135
135
      }
136
136
   }
137
137
 
138
138
   if (rmcb_stack) {
139
139
      rmcb_stack -= STACK_SIZE - 32;
140
 
      free(rmcb_stack);
 
140
      _AL_FREE(rmcb_stack);
141
141
      rmcb_stack = NULL;
142
142
   }
143
143