Skip to content

Commit

Permalink
make code more safe
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/winflexbison/code/trunk@34 da3578c4-ce5d-4d2c-aa0c-bbd0a991affc
  • Loading branch information
lexxmark committed Dec 24, 2012
1 parent 94c8f25 commit d26374e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/Release/README.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
version 2.1
--------------
fixed crash when execute win_bison.exe under WindowsXP (argv[0] don't have full application path)

version 2.0
--------------
upgrade win_bison to version 2.7 and win_flex to version 2.5.37
Expand Down
Binary file modified bin/Release/win_bison.exe
Binary file not shown.
Binary file modified bin/Release/win_flex.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion bison/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ char* get_local_pkgdatadir()
}

if (!last_divider)
return 0;
return PKGDATADIR;

++last_divider;

Expand Down

0 comments on commit d26374e

Please sign in to comment.