cvs: phpdoc /en/reference/sockets/functions socket-create-pair.xml
| From: | Jakub Vrana | Date: | Fri, 27 May 2005 09:19:27 +0000 |
| Subject: | cvs: phpdoc /en/reference/sockets/functions socket-create-pair.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368345@lists.php.net to get a copy of this message | ||
vrana Fri May 27 05:19:27 2005 EDT
Modified files:
/phpdoc/en/reference/sockets/functions socket-create-pair.xml
Log:
Meaningless uniqid (bug #33161)
http://cvs.php.net/diff.php/phpdoc/en/reference/sockets/functions/socket-create-pair.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/sockets/functions/socket-create-pair.xml
diff -u phpdoc/en/reference/sockets/functions/socket-create-pair.xml:1.11
phpdoc/en/reference/sockets/functions/socket-create-pair.xml:1.12
--- phpdoc/en/reference/sockets/functions/socket-create-pair.xml:1.11 Sun Feb 13 09:19:01 2005
+++ phpdoc/en/reference/sockets/functions/socket-create-pair.xml Fri May 27 05:19:25 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/sockets.xml, last change in rev 1.27 -->
<refentry id="function.socket-create-pair">
<refnamediv>
@@ -173,10 +173,6 @@
<![CDATA[
<?php
$sockets = array();
-$uniqid = uniqid('');
-if (file_exists("/tmp/$uniqid.sock")) {
- die('Temporary socket already exists.');
-}
/* Setup socket pair */
if (!socket_create_pair(AF_UNIX, SOCK_STREAM, 0, $sockets)) {
echo socket_strerror(socket_last_error());