| delorie.com/archives/browse.cgi | search |
| From: | Eric Backus <ericb AT lsid DOT hp DOT com> |
| Subject: | closedir() return value |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) |
| Date: | Wed, 8 Jul 92 11:21:07 PDT |
| Mailer: | Elm [revision: 66.25] |
In /djgpp/libsrc/c/dos/dir.c, the closedir() function does not set its return value. This means the return value is something random, and this causes problems if a program examines the return value of this function. I think we need to add "return 0;" at the end of this function. -- Eric Backus ericb%hplsla AT hplabs DOT hp DOT com (206) 335-2495
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |