XDIFF_FILE_BDIFF_SIZE(3) 1 XDIFF_FILE_BDIFF_SIZE(3)xdiff_file_bdiff_size - Read a size of file created by applying a binary diffSYNOPSIS
int xdiff_file_bdiff_size (string $file)
DESCRIPTION
Returns a size of a result file that would be created after applying binary patch from file $file to the original file.
PARAMETERS
o $file
- The path to the binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function.
RETURN VALUES
Returns the size of file that would be created.
EXAMPLES
Example #1
xdiff_file_bdiff_size(3) example
The following code applies reads a size of file that would be created after applying a binary diff.
<?php
$length = xdiff_string_bdiff_size('file.bdiff');
echo "Resulting file will be $length bytes long";
?>
SEE ALSO xdiff_file_bdiff(3), xdiff_file_rabdiff(3), xdiff_file_bpatch(3).
PHP Documentation Group XDIFF_FILE_BDIFF_SIZE(3)
Check Out this Related Man Page
XDIFF_STRING_BDIFF_SIZE(3) 1 XDIFF_STRING_BDIFF_SIZE(3)xdiff_string_bdiff_size - Read a size of file created by applying a binary diffSYNOPSIS
int xdiff_string_bdiff_size (string $patch)
DESCRIPTION
Returns a size of a result file that would be created after applying binary $patch to the original file.
PARAMETERS
o $patch
- The binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function.
RETURN VALUES
Returns the size of file that would be created.
EXAMPLES
Example #1
xdiff_string_bdiff_size(3) example
The following code applies reads a size of file that would be created after applying a binary diff.
<?php
$binary_patch = file_get_contents('file.bdiff');
$length = xdiff_string_bdiff_size($binary_patch);
echo "Resulting file will be $length bytes long";
?>
SEE ALSO xdiff_string_bdiff(3), xdiff_string_rabdiff(3), xdiff_string_bpatch(3).
PHP Documentation Group XDIFF_STRING_BDIFF_SIZE(3)
Hi,
As in the solaris material i know that the patch is added through the command "patchadd <patch no.>".
But i need to know, what are all the steps we have to follow while applying a patch in a production server. My friend says that we have to detach mirror before applying patch and not... (6 Replies)
Hi Admins,
Basically i am HPUX guy.HP will release patch bundles every three months and the same we are applying on servers as proactive steps. Please let me know how it happens with AIX.
My servers are AIX 5.3 with TL 10 and some are TL 7.
These servers are installed 2 years back and... (1 Reply)