Thread: RE: [Dev-C++] why do we have to rename free() ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Khalid El-K. <kha...@ho...> - 2003-04-03 13:13:26
|
> > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Khalid El-Kary > > Sent: Thursday, April 03, 2003 5:57 AM > > To: Dev...@li... > > Subject: [Dev-C++] why do we have to rename free() ? > > > > > > hi fellows, > > > > when i checked a lot of big project's source codes, I have found them > > replacing basic funtion names with new function names, and > > sometimes with a > > new way of functioning for example: > > > > free() -> OPENSSL_free() > > malloc() -> gnew(type, number of blocks) > > > > how can this be useful ?, does it have a thing to do with > > portability ?, and > > if not what's the difference in functionality ? > > >Additional, non-portable functionality. I thought GNU, Apache, PHP, OPENSSL try to make there code as portable as possible ? > > > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL: http://run.to/noicys _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Khalid El-K. <kha...@ho...> - 2003-04-03 15:53:40
|
> > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Khalid El-Kary > > Sent: Thursday, April 03, 2003 4:13 PM > > To: Dev...@li... > > Subject: RE: [Dev-C++] why do we have to rename free() ? > > > > > > I thought GNU, Apache, PHP, OPENSSL try to make there code as > > portable as > > possible ? > > > >Portable is only the standard language. If there is a standard named >OPENSSL, it means that code for it would be portable to every system >implementing it. Do not confuse Open Source with standards. Standards come >from standards committees. But the Open Source movement usually uses the >standards. :) so why does PHP source code compile similary on both windows and linux fellow ? :D > > > > > > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL: http://run.to/noicys > > >Anti-racism movement: http://www.positive-youthfoundation.org >Iraq Peace Pledge: http://www.peacepledge.org > > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail |
|
From: Ioannis V. <iv...@em...> - 2003-04-03 16:31:52
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Khalid El-Kary > Sent: Thursday, April 03, 2003 6:53 PM > To: Dev...@li... > Subject: RE: [Dev-C++] why do we have to rename free() ? >=20 >=20 > so why does PHP source code compile similary on both windows=20 > and linux=20 > fellow ? :D Because it is very new and the development happens from a central team. = Once it became mainstream and hundrends of companies provided their own implementations with extensions uncompatible among them, the need for an official standard will occur. Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Ioannis V. <iv...@em...> - 2003-04-03 16:35:56
|
> -----Original Message----- > From: Ioannis Vranos [mailto:iv...@em...] > Sent: Thursday, April 03, 2003 7:32 PM > To: 'Dev...@li...' > Subject: RE: [Dev-C++] why do we have to rename free() ? > > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Khalid El-Kary > > Sent: Thursday, April 03, 2003 6:53 PM > > To: Dev...@li... > > Subject: RE: [Dev-C++] why do we have to rename free() ? > > > > > > so why does PHP source code compile similary on both windows > > and linux > > fellow ? :D > > > > Because it is very new and the development happens from a > central team. Once it became mainstream and hundrends of > companies provided their own implementations with extensions > uncompatible among them, the need for an official standard will occur. And if the creator wishes to leave his copyright so as other companies to implement their own PHP implementations and a standard to emerge. GNU licenses provide copyright protection. Noone can "steal" the product.... Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: Ioannis V. <iv...@em...> - 2003-04-03 13:53:04
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Khalid El-Kary > Sent: Thursday, April 03, 2003 4:13 PM > To: Dev...@li... > Subject: RE: [Dev-C++] why do we have to rename free() ? > > > I thought GNU, Apache, PHP, OPENSSL try to make there code as > portable as > possible ? Portable is only the standard language. If there is a standard named OPENSSL, it means that code for it would be portable to every system implementing it. Do not confuse Open Source with standards. Standards come from standards committees. But the Open Source movement usually uses the standards. :) Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |