kydlo / ios-toolchain-based-on-clang-for-linux

Automatically exported from code.google.com/p/ios-toolchain-based-on-clang-for-linux
0 stars 0 forks source link

ar seg fault fix #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
arm-apple-darwin11-ar cr 3.a 1.o 2.o

Bug in emulated.c:
readlink does not append null.

Fix:
diff ./emulated.c ../../Patch/cctools-836/libstuff/emulated.c
24d23
<         path[ret_size]=0;

SVN code should work but malloc is not necessary.

Original issue reported on code.google.com by titan....@gmail.com on 5 Jan 2013 at 2:35

Attachments:

GoogleCodeExporter commented 8 years ago
thanks, commited.
Will ship it with next release.

Original comment by cjac...@gmail.com on 6 Jan 2013 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by cjac...@gmail.com on 23 Sep 2013 at 6:48