Ingo Rammer wrote:
>
> Hi,
>
> Proposed fixes:
> [btw. I don't really know if those patches are in a suitable format for
> anybody ... it's just what wincvs outputs when I try to "diff" the file ;))
> ... else please tell me about the correct way to produce diffs (on W2K) and
> submit patches... thanks!]
>
> #1 is quite a change ... i don't know if it's supposed this way, or if this
> should be placed somewhere else ....
> #2 is quite straightforward ;)
>
Santiago, since you know the diskcache best, can you review these patches
and commit them ?
> #1
>
> Index: JetspeedDiskCacheEntry.java
> ===================================================================
> RCS file:
> /products/cvs/jetspeed/jetspeed/src/java/org/apache/jetspeed/cache/disk/Jets
> peedDiskCacheEntry.java,v
> retrieving revision 1.22
> diff -w -r1.22 JetspeedDiskCacheEntry.java
> 367c367,377
> < return this.lastModified;
> ---
> > if(DiskCacheUtils.isLocal( this.getURL() ) )
> > {
> > try {
> > String localfile = this.getURL().substring(5); // remove
> the "file:"
> > long recent = new File(localfile).lastModified();
> > this.lastModified = recent;
> > } catch (Exception e)
> > {
> > // not really local file, just return the standard lastmod
> > }
> > }
> 368a379
> > return this.lastModified;
>
> #2
>
> Index: PortletConfig.java
> ===================================================================
> RCS file:
> /products/cvs/jetspeed/jetspeed/src/java/org/apache/jetspeed/portal/PortletC
> onfig.java,v
> retrieving revision 1.38
> diff -w -r1.38 PortletConfig.java
> 201c201
> < if ( url.indexOf("://") < 0 ) {
> ---
> > if ((url.indexOf("://") < 0) && (url.indexOf("file:")!=0) ) {
>
> Bye,
> Ingo
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?: [EMAIL PROTECTED]
--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]