Skip to Content.
Sympa Menu

freetds - Re: [freetds] Patch proposal

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: christos AT zoulas.com (Christos Zoulas)
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Patch proposal
  • Date: Thu, 16 Jun 2011 09:30:53 -0400

On Jun 16, 9:32am, freddy77 AT gmail.com (Frediano Ziglio) wrote:
-- Subject: [freetds] Patch proposal

| Hi,
| I would like to include this patch (and follows). It define some
| macro to merge allocation and casting.

Please do not cast malloc. We are not in the 80's anymore and casting
malloc() hides bugs. For example on an _LP64 bit machine casting malloc()
will hide the warning of integer to pointer conversion when there is no
prototype in scope.

christos




Archive powered by MHonArc 2.6.24.

Top of Page