Tiny C Compiler(ktcc):
- Fixed "segmentation fault" when using debug flag:" -g "in Linux version git-svn-id: svn://kolibrios.org@8677 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0c0895f9a0
commit
b84cfc1204
Binary file not shown.
@ -319,7 +319,7 @@ int tcc_output_me(TCCState* s1,const char *filename)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) && !defined(TCC_TARGET_MEOS_LINUX)
|
||||
|
||||
static inline int get_current_folder(char* buf, int bufsize){
|
||||
register int val;
|
||||
@ -327,7 +327,6 @@ static inline int get_current_folder(char* buf, int bufsize){
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
char *getcwd(char *buf, size_t size)
|
||||
{
|
||||
int rc = get_current_folder(buf, size);
|
||||
|
Loading…
Reference in New Issue
Block a user