[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kdoc
Subject:    Re: Bug in order of writeDoc parameters
From:       Marcin Kasperski <Marcin.Kasperski () softax ! com ! pl>
Date:       1999-04-16 5:20:40
[Download RAW message or body]

Sirtaj Singh Kang wrote:
> 
> On Thu, 15 Apr 1999, Marcin Kasperski wrote:
> [snip]
> > (I'm just merging my patches made against 2.0a5 with 2.0a7)
> >
> > I already reported bug in order of parameters in call to
> > kdocLib::writeDoc. This code fragment has been changed but the bug is
> > still present:
> >
> > In kdoc file
> > - instead of:
> >
> >       kdocLib::writeDoc( $libname, $node, $lang, $libdir,
> >                       $outputdir, $options{url},
> >                       exists $options{compress} ? 1 : 0 );
> >
> > - one should say
> >
> >       kdocLib::writeDoc( $libname, $node, $lang, $outputdir,
> >                       $libdir, $options{url},
> >                       exists $options{compress} ? 1 : 0 );
> >
> > (the parameters $outputdir and $libdir are replaced one with another).
> 
> This may look like a bug, but it's not. To understand this, look at it
> this way:
> 
> Normal output modules write their output to outputdir. But kdocLib writes
> its output to libdir since this is where index files are stored. outputdir
> and url are used only to decide what base url to write in the index file.
> 
> Or am I missing something?
> 

OK. As I prefer kdoc to keep index file together with HTML files and
search the directory lsit for those files (I offered a patch sometime
ago), it caused problem.

-- Marcin Kasperski     Marcin.Kasperski<at>softax.com.pl
--                      marckasp<at>friko6.onet.pl
-- Moje poglądy są moimi poglądami, nikogo poza mną nie reprezentują.
-- (My opinions are just my opinions.)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic