* small cleanups (macos)

This commit is contained in:
djcb
2013-08-25 20:05:57 +03:00
parent 8da4ff383a
commit c30ffeea72
2 changed files with 18 additions and 10 deletions

View File

@ -70,10 +70,14 @@ do_wordexp (const char *path)
/* strangely, below seems to lead to a crash on MacOS (BSD);
so we have to allow for a tiny leak here on that
platform... maybe instead of __APPLE__ it should be
__BSD__?*/
#ifndef __APPLE__
__BSD__?
Hmmm., cannot reproduce that crash anymore, so commenting
it out for now...
*/
/* #ifndef __APPLE__ */
wordfree (&wexp);
#endif /*__APPLE__*/
/* #endif /\*__APPLE__*\/ */
return dir;
# else /*!HAVE_WORDEXP_H*/