add release date and fix linux dir warnings

pull/1/head
toddouska 2011-09-28 14:07:01 -07:00
parent 27d35d50cc
commit d7cf75748a
2 changed files with 7 additions and 3 deletions

2
README
View File

@ -34,7 +34,7 @@ before calling SSL_new(); Though it's not recommended.
*** end Note ***
CyaSSL Release 2.0.0rc3 (x/x/2011)
CyaSSL Release 2.0.0rc3 (9/28/2011)
Release 2.0.0rc3 for CyaSSL has bug fixes and a few new features including:
- updated autoconf support

View File

@ -649,7 +649,8 @@ static INLINE void ChangeDirBack(int x)
else
strncpy(path, "./", MAX_PATH);
chdir(path);
if (chdir(path) < 0)
printf("chdir to %s failed\n", path);
}
/* does current dir contain str */
@ -657,7 +658,10 @@ static INLINE int CurrentDir(const char* str)
{
char path[MAX_PATH];
getcwd(path, sizeof(path));
if (getcwd(path, sizeof(path)) == NULL) {
printf("no current dir?\n");
return 0;
}
if (strstr(path, str))
return 1;