[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Several patchs from Debian packaging
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Several patchs from Debian packaging |
Date: |
Tue, 20 Apr 2010 21:16:52 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
RoboTux wrote:
I also changed the load/save_buffer_state horrible hack into a dynarray
approach. Take a look at the code, I'm sure you'll be happy with it.
Yes, happy!
I guess these 6 lines:
file_name = tcc_malloc(sizeof(char) * (strlen(filename) + 1));
strcpy(file_name, filename);
dynarray_add((void ***) &libs, &nblibs, file_name);
lib_name = tcc_malloc(sizeof(char) * (strlen(libname) + 1));
strcpy(lib_name, libname);
dynarray_add((void ***) &libs, &nblibs, lib_name);
are logically equal to these 2 lines:
dynarray_add((void ***) &libs, &nblibs, tcc_strdup(filename));
dynarray_add((void ***) &libs, &nblibs, tcc_strdup(libname));
But then again I'm a perfectionist ;)
--- grischka
- [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/17
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/17
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/20
- Re: [Tinycc-devel] Several patchs from Debian packaging,
grischka <=
- Re: [Tinycc-devel] Several patchs from Debian packaging, RoboTux, 2010/04/20
- Re: [Tinycc-devel] Several patchs from Debian packaging, grischka, 2010/04/20
- [Tinycc-devel] Cleaning mob [Was Several patchs from Debian packaging], RoboTux, 2010/04/20
- [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debian packaging], grischka, 2010/04/21
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], Timo VJ Lähde, 2010/04/21
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], RoboTux, 2010/04/21
- Re: [Tinycc-devel] Re: Cleaning mob [Was Several patchs from Debianpackaging], grischka, 2010/04/21
- Re: [Tinycc-devel] Several patchs from Debian packaging, Rob, 2010/04/18
- Re: [Tinycc-devel] Several patchs from Debian packaging, Thomas Preud'homme, 2010/04/18