[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: FW: Tidy verbose output bug.
From: |
Larson, Ryan B |
Subject: |
RE: FW: Tidy verbose output bug. |
Date: |
Mon, 22 Nov 2004 13:38:41 -0600 |
Using 2.1.11 on Solaris 8 compiled with gcc 3.4.0, berkleydb-4.2.52, and
openssl-0.9.7d.
Ryan Larson
Unix Administrator
Office 312.362.3311
Cell 312.446.1773
FOC - A Goldman Sachs Company
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Monday, November 22, 2004 12:24 PM
To: Larson, Ryan B
Cc: address@hidden
Subject: Re: FW: Tidy verbose output bug.
I have tested this in 2.1.11 and it works fine. WHat version/platform are
you using?
M
On 22 Nov, Larson, Ryan B wrote:
>
>
>
>
> Ryan Larson
> Unix Administrator
> Office 312.362.3311
> Cell 312.446.1773
> FOC - A Goldman Sachs Company
>
> -----Original Message-----
> From: Larson, Ryan B
> Sent: Monday, November 22, 2004 11:49 AM
> To: address@hidden
> Subject: Tidy verbose output bug.
>
>
>
> There is a bug in the tidy.c that is triggered when you set the
> verbose flag.
>
> I setup a rule to delete anything older than 1 day in the /tmp/test
> directory.
>
> Here is the contents before the run as seen by ls -la
>
> total 1056
> drwxr-xr-x 2 root root 178 Nov 22 11:43 ./
> drwxrwxrwt 16 root sys 6768 Nov 22 11:43 ../
> -r-xr-xr-x 1 root bin 516392 Jan 5 2000 bash*
>
>
> Here is the cfengine output with the -v flag.
>
> ---------------------------------------------------------------------
> Tidying by directory
> ---------------------------------------------------------------------
>
> cfengine:: Deleting file /tmp/test/bash
> cfengine:: Size=0 bytes, (-age=97 days
>
> Now, it doesn't seem to matter what timestamp or size, any file will
> report Size=0 and {wacky character}-age=97 days.
>
> I don't know c well enough to track this down, but I would guess that
> a pointer is being overwritten.
>
> Ryan Larson
> Unix Administrator
> Office 312.362.3311
> Cell 312.446.1773
> FOC - A Goldman Sachs Company
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~