10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am seeing varying results about, when realloc() fails in reallocation.
Which one is correct out of the below?
a) realloc() maintains the original pointer (i.e) the original pointer is left unaltered/untouched but relloc() returns the NULL value.
b) original buffer pointer is lost... (3 Replies)
Discussion started by: royalibrahim
3 Replies
2. Shell Programming and Scripting
i have a script like below, i am trying to print "...." until a background process that was executed before is running,, the below does work and teh loop keeps on printing "..", can someone help where i am wrong.
/tmp/test/abc.sh &
until
do
echo "..\c"
done
abc.sh is the scipt... (8 Replies)
Discussion started by: yesmani
8 Replies
3. HP-UX
Hi,
I'm trying to load libjvm.so in Hp-ux IPF using shl_load. But always the function fails saying invalid argument.
Please let me know if anything else has to be done.
Here is a sample that i've used.
#include <stdio.h>
#include <dlfcn.h>
#include <stdlib.h>
#include <dl.h>... (1 Reply)
Discussion started by: d_ccc
1 Replies
4. Programming
Hi,
I have the following code which fails with return value 1.
sprintf(tmp, "rm -rf %s/* 2>/dev/null\n", dest);
rc = system( tmp );
rc is 1
The files exist and the paths are correct. I can do a manual copy but the application fails. All the calls to system() function fail with the same... (6 Replies)
Discussion started by: mspaper
6 Replies
5. UNIX for Advanced & Expert Users
Hi
When im trying to do make --version and make --help in HP-UX
it throws error
Make: Unknown flag argument -. Stop.
a soft link is present in this directory /usr/bin/make
and hard link is in /usr/ccs/bin/make
what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Discussion started by: vasanthan
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have created a package on a 64 bit FreeBSD machine.
when i install this (on another 64 bit FreeBSD machine )i get the following error :
tar: Skipping pathname containing ..
pkg_add: tar extract of /home/vcr/testpackage.tgz failed!
pkg_add: unable to extract '/home/vcr/testpackage.tgz'!... (0 Replies)
Discussion started by: HIMANI
0 Replies
7. Shell Programming and Scripting
Hi all,
I need to transport a number of files from one server to other. I like to ensure the integrity using file checksum values.
The action plan is,
1. create the list of checksum values for all the files using cksum command in source server.
2. Transfer all the files including the file... (5 Replies)
Discussion started by: r_sethu
5 Replies
8. AIX
Hi,
I got a unix script which copies a file from my AIX machine to a file server using SCP command. I am calling this script 3 times in my process after a time interval say 5mins. My issue here is like most of the time its not sending the file at the first time run while other 2 will work fine.... (10 Replies)
Discussion started by: vipinc
10 Replies
9. Programming
My code is at:
http://rafb.net/p/E82U3C73.html
It is a concept sample. I desperately tried to compile it with g++. To my surprise (in vmplayer/ win2k) vc++6 succeeds to compile it.
I'm in very doubt. I used RedHat WS 4 , g++-3.4 and Debian Etch, g++-4.1
Comment this please!!
mihai (4 Replies)
Discussion started by: mihk
4 Replies
10. UNIX for Advanced & Expert Users
hi,
all the user on my machine can't launch at job anymore.
they all got the message "error in message send" each time they launch something using the at command.
i tried to empty the job queue but the error message is still there.
What can I do ?
Thanks (1 Reply)
Discussion started by: a329743
1 Replies