Bug #1225: fclose() may not really close

From: Date: Thu, 11 Mar 1999 21:36:19 +0000
Subject: Bug #1225: fclose() may not really close
Groups: php.dev 
Request: Send a blank email to php-dev+get-4578@lists.php.net to get a copy of this message
From: lemming@k332.feld.cvut.cz Operating system: Linux 2.2.1 PHP version: 3.0.6 PHP Bug Type: Misbehaving function Bug description: fclose() may not really close I have played with UNIX sockets. I discovered sockets stood open even when I explicitly closed them with fclose(). So I looked into the source code - I was unable to find where the actual close (on OS level) is - it seemed there is none. So I inserted fclose(fp); at the bottom of the php3_fclose(), recompiled PHP and tried again - the sockets where not staying open anymore... -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4578) next »