07-04-2008
03 is newer then 01. so if you've problems that can be fixed with a newer version of the patch you have to add the new one...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Does anyone know how can I verify if the DST update on a SCO Unixware system has been installed successfully? UNIXWARE 7.1.4 MP3
Looking forward to some help, please....
Thanks (8 Replies)
Discussion started by: Yorgy
8 Replies
2. Solaris
Hi All,
I need to update my solaris with a particular patch. When reading the instruction on the sun web site, I got this:
Installation Requirements:
Reboot immediately after installing this patch on an active boot environment to bring the system to a consistent state. An alternative may... (8 Replies)
Discussion started by: itik
8 Replies
3. Solaris
Hi All,
How do you know if you need to break the mirror on solaris 8 patch update?
Here's the patch example, 117350-54. On the site, it's just a low type update and not a medium or critical.
Is breaking a mirror a best practice only or really a requirement to some patch?
Thanks,
itik (1 Reply)
Discussion started by: itik
1 Replies
4. Solaris
Hi All,
How do I execute patch update on a single user mode?
Please give me the steps by step procedures?
Is single user mode the same as run level 1?
Thanks. (2 Replies)
Discussion started by: itik
2 Replies
5. Linux
Hi All,
I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm.
When I run this
# rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does... (2 Replies)
Discussion started by: itik
2 Replies
6. High Performance Computing
hi all,
can someone please share their process on how to kernel patch a red hat ent 4 with veritas cluster 5? it's compose of a primary and backup node. the resources are db, disk, nic.
it doesn't need to be detail, just give me the steps like:
login to the backup node and update the... (0 Replies)
Discussion started by: itik
0 Replies
7. Solaris
Hi, I was troubleshooting H/W issue on a Ultra 5 workstation, whereby the system kept rebooting. In the course of isolating the issue, I patched the system with the latest Recommended cluster patch for solaris 7. SInce then, sendmail is not working and am getting the following errors. Kindly check... (6 Replies)
Discussion started by: incredible
6 Replies
8. Solaris
Hi All
I had update the solaris version, and now wish to update the patch.
but when i check my patch version, i cant find any version for that.
any idea?
root@leo # showrev
Hostname: leo
Hostid: 839b58a3
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc... (8 Replies)
Discussion started by: SmartAntz
8 Replies
9. Solaris
Solaris 10 10/09 (Update 8) Patch upgrade can be done in single user mode? any suggestions.. thanks (2 Replies)
Discussion started by: chandravadrevu
2 Replies
LEARN ABOUT PHP
xdiff_file_patch
XDIFF_FILE_PATCH(3) 1 XDIFF_FILE_PATCH(3)
xdiff_file_patch - Patch a file with an unified diff
SYNOPSIS
mixed xdiff_file_patch (string $file, string $patch, string $dest, [int $flags = DIFF_PATCH_NORMAL])
DESCRIPTION
Patches a $file with a $patch and stores the result in a file. $patch has to be an unified diff created by
xdiff_file_diff(3)/xdiff_string_diff(3) function. An optional $flags parameter specifies mode of operation.
PARAMETERS
o $file
- The original file.
o $patch
- The unified patch file. It has to be created using xdiff_string_diff(3), xdiff_file_diff(3) functions or compatible tools.
o $dest
- Path of the resulting file.
o $flags
- Can be either XDIFF_PATCH_NORMAL (default mode, normal patch) or XDIFF_PATCH_REVERSE (reversed patch). Starting from version
1.5.0, you can also use binary OR to enable XDIFF_PATCH_IGNORESPACE flag.
RETURN VALUES
Returns FALSE if an internal error happened, string with rejected chunks if patch couldn't be applied or TRUE if patch has been success-
fully applied.
EXAMPLES
Example #1
xdiff_file_patch(3) example
The following code applies unified diff to a file.
<?php
$old_version = 'my_script-1.0.php';
$patch = 'my_script.patch';
$errors = xdiff_file_patch($old_version, $patch, 'my_script-1.1.php');
if (is_string($errors)) {
echo "Rejects:
";
echo $errors;
}
?>
Example #2
Patch reversing example
The following code reverses a patch.
<?php
$new_version = 'my_script-1.1.php';
$patch = 'my_script.patch';
$errors = xdiff_file_patch($new_version, $patch, 'my_script-1.0.php', XDIFF_PATCH_REVERSE);
if (is_string($errors)) {
echo "Rejects:
";
echo $errors;
}
?>
SEE ALSO
xdiff_file_diff(3).
PHP Documentation Group XDIFF_FILE_PATCH(3)