hi,
i'm having some problems when using the rename library function, when
i try to rename a file thru a link, ie. the destination directory in
pointed to by a link. The rename function seems to work ok for
links within the same partition / device - but fails with a return
code of -1 when the link points to a directory on another device!
Is there a workaround - or is this a 'feature'
thanks for any helpfull hints!
--
John Horton DBA Cognito (Informix on Linux)
[EMAIL PROTECTED]
sysadmin and mahjongg player
use
Tk;$s="";@l=(121,101,116,95,97,110,111,116,104,101,114,95,112,101,114,108,95,104,97,99,107,101,114,33);$ll=24;for($a=0;$a<$ll;$a++){$s=$s.chr($l[$a]);}$mw=tkinit;$t=$s;$a=0;$c=$mw->Canvas(-width=>155,-height=>15);$c->create('text',80,9,-text=>$t);$c->pack();$c->CanvasBind(''=>sub{my($x,$y)=($Tk::event->x,$Tk::event->y);$x=int(rand($mw->screenheight));$y=int(rand($mw->screenwidth));$mw->geometry("+$x+$y");$a++;if($a==5){exit;}});MainLoop;
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list