[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] HTML output in Mozilla
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] HTML output in Mozilla |
Date: |
Wed, 11 Apr 2001 09:36:57 +0200 (CEST) |
> here are some patches which fix some of the outstanding bugs.
Thanks, but I think you have to redo the following:
> +static void removeTempFiles (void)
> +{
> +#if !defined(DEBUGGING)
> + char buffer[8192];
> +
> + sprintf(buffer,
> + "/bin/rm -f %s* %s* \n",
> + psFileName, regionFileName);
> + system(buffer);
> +#endif
> +}
This will work on UNIX boxes only. Remember that DOS, for example,
has a very limited length of the command line (240 characters or so).
Additionally, `*' might accidentally remove files not related to
grohtml (this is very unlikely, I know, but possible). May I ask that
you implement a solution which uses libc functions only, keeping track
of the files created so that they can be deleted without `*'?
I won't apply your patches right now (except you tell me that you have
absolutely no time currently to fix it).
Werner