Sponsored Content
Operating Systems Linux Red Hat Patch analysis tool Redhat Enterprise release 4 Post 302534626 by dmsmith32 on Tuesday 28th of June 2011 10:11:17 AM
Old 06-28-2011
MySQL

Hi Mark

Thanks for the reply and sorry for the slow response. Shortly after posting this the company decided to grant internet access.

Thanks anyway Darren.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

linux patch management tool

I have a suse linux 9(SLES 9) I have configured "YOU" (yast online update) and it all working fine, synchronising on a daily base with http://sdb.suse.de/download but I would like to know if they is a tools or scripts that inform you of any patches that has not been applied and notify you via... (0 Replies)
Discussion started by: hassan1
0 Replies

2. Solaris

Storedge Workload Analysis Tool (SWAT)

Does anyone know where I can download this software from , or is it part of a software package that has to be bought. Thanks (0 Replies)
Discussion started by: markdr011
0 Replies

3. UNIX for Advanced & Expert Users

any tool for core analysis on HP-UX?

Hi, I just wanted to know is there any tool avaliable for core analysis on hp-ux. I have heard about q4 utility. But I think it is used for analysis of system crash dump and not for core dump produced by a user process. gdb doesn't give much information unless the binary is debug-build. ... (0 Replies)
Discussion started by: shriashishpatil
0 Replies

4. Linux

Apache in enterprise, patch management

I was wondering how everyone else manages patching/upgrades for apache. Latest doesnt mean greatest, we typically dont install the newest patches for our OS's. We typically run 3-6 months behind, to let fixes get fixed before installing them. Does anyone here have a written detailed plan... (0 Replies)
Discussion started by: Ikon
0 Replies

5. Solaris

Which tool to Patch SOL 9? - 3 tools found

I have found 3 different tools to patch Solaris 9: 1. Patch Check Advanced (PCA) by Martin Paul BigAdmin: Solaris Information Center - Patching Support Patch Check Advanced 2. Update Manager from Sun Sun Connection 3. pkg-get, wget, etc. from Blastwave.org Blastwave.org - How to get... (2 Replies)
Discussion started by: johne1
2 Replies

6. Red Hat

RedHat patch date?

Other than looking at the dates when pkgs were applied in /var/log/yum.log* how can I tell when the last time a RedHat system was patched? My systems don't have regular access to the web. Thanks in advance. ---------- Post updated at 02:37 PM ---------- Previous update was at 02:27 PM... (0 Replies)
Discussion started by: toor13
0 Replies
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)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy