On Fri, 2003-10-17 at 02:36, Roland Scheidegger wrote:
> Keith Whitwell wrote:
> > Alex Deucher wrote:
> > 
> >> As I recall KDE preloads libGL for some reason.  that might have 
> >> something to do with it.
> > 
> > If you make sure that the old driver.so file is removed, not 
> > overwritten, there shouldn't be any problem, as existing open 
> > filehandles won't then see any changes.
> Yes! That did it. 

[...]

> Well, I've never tried to install the whole XFree86 when it's running,
> but I'm often lazy and just compile the mesa/src/drv/r200 if only small
> changes happen and copy the r200_dri.so manually. But as you suggested,
> if I'll delete the installed r200_dri.so before copying the new one,
> then no crashes happen - the running kde happily keeps its references to 
> the old deleted dri driver and new apps will use the new dri driver.

cp --remove-destination will do that. I'm a bit surprised cp doesn't
always unlink the destination before replacing it though; is there any
reason why this shouldn't be considered a bug? (Seems to me the only
difference should be whether it follows symlinks or not) I can't think
of an example where overwriting the existing file would be useful, but
that may well be just me, any clues appreciated. :)


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to