08-01-2003
What are the errors? What is the patch level (uname -a)?
Your best bet would be to check on SunSolve for this one if you have an account and to check out the diag tools available.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hii alll
I need a help from u all its regarding sunfire the config is 900*4 processor\8gb ram.
problem :-
3>ERROR: TEST = Quick Block Mem Test
3>H/W under test = CPU3 Bank 0 Dimm 2, J8001 side 1
3>Repair Instructions: Replace items in order listed by 'H/W under test' above.
3>MSG =... (1 Reply)
Discussion started by: solaris8in
1 Replies
2. UNIX Desktop Questions & Answers
hiii
i want to know how to install explorer in sparc e-250 OS solaris 8 iam able to install the software
iam able to install the explorer,i use to run
#./explorer -q -e
other than this what all i should run to get all details.but iam just getting some thing which not related to o/s or h/w... (3 Replies)
Discussion started by: solaris8in
3 Replies
3. Solaris
hii alll
Thanks for all the previous support. I need some clarification, i have client who is having 5 sun workstation ( ultra5 & ultra 10 and 1 ultra60) they orderd for backup device DLT drive , iam going to connect this dlt drive sparc ultra 60 i can configure locally,but my client... (1 Reply)
Discussion started by: solaris8in
1 Replies
4. Solaris
hii alll
i have a problem with my sunblade100. when i switch on, no display comes but if i ping from a remote machine its pinging,but iam not able to telent to that sun server,what can be the problem,how can i sort ot this issue
2 thing in usb iam not able to use STOP N (to clear the... (3 Replies)
Discussion started by: solaris8in
3 Replies
5. Solaris
Hii alll
Thanks for the support, iam facing a problem regarding tanberg sdlt . iam trying to connect tanberg sdlt 160 to sun fire 880 r .As SUN FIRE DOSENT HAVE SCSI CONTROLLER IAM CONNECTING A ULTRA 2 SCSI CONTROLLER IN PCI SLOT AND FROM THERE IAM CONNECTING THE TANBERG SDLT 160.
MY FIRST... (1 Reply)
Discussion started by: solaris8in
1 Replies
6. AIX
Hey Alll
Thanks for the help u give me yesterday,i need a help again from u all guys i have RS 6000 server with AIX 4.3.3 OS and with external storage (multipack) with 12 Hard disk drive which will be connected to RS 6000 scsi controller ,i dont have any raid card. now i have to... (0 Replies)
Discussion started by: solaris8in
0 Replies
7. Linux
Hey All
I have been asked to install Teacup - Helpdesk report management system .Iam trying to insall this software on Redhat 9, iam not that good in linux but i have been asked to instal this software so need ur help regarding this . i have installed redhat 9 .
This is site where u guys can... (0 Replies)
Discussion started by: solaris8in
0 Replies
8. AIX
i read that an application can remain as a 32-bit applicarion and still run on a 64-bit operating system without any code changes.
But some documents also suggest that during porting 32 bit applications need to have code changes especially pointers and int and long and that they should be... (2 Replies)
Discussion started by: TECHRAMESH
2 Replies
9. UNIX for Advanced & Expert Users
Hi,
The B machine is using rcp method to copy a file to A machine.
But it is not getting copied.
Its giving the error as:
remshd: Login incorrect.
On A machine rhosts file has details about the B machine.
Could anyone tell what could be done to make this work?
Any help is appreciated.... (1 Reply)
Discussion started by: nehak
1 Replies
10. AIX
I am new to AIX administration and am trying to upgrade my current TL from 6100-05 to 6100-07 , I had a look at the fix central and I have downloaded one which says TL 6100-07-00-1140 and other which says service pack 6100-07-05-1228. I have two test machines and I have applied directly... (0 Replies)
Discussion started by: nivaspIND
0 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)