With Pike 7.6 CVS:
object file = Stdio.File("/tmp/toto"); file->stat()->size; (2) Result: 17592186044416
file->stat()->size;
(3) Result: 17592186044416
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(4) Result: 17592186044416
With Pike 7.6.13 "official":
object file = Stdio.File("/tmp/toto"); file->stat();
(1) Result: Stat(drwxr-xr-x 1024b)
file->stat()->size;
(2) Result: 1024
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(3) Result: 980004
OS is Linux.
/ David
What is 7.6.13 official? There is no dist after 7.6.6.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-16 18:39: Subject: Bug in FileStat
With Pike 7.6 CVS:
object file = Stdio.File("/tmp/toto"); file->stat()->size; (2) Result: 17592186044416
file->stat()->size;
(3) Result: 17592186044416
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(4) Result: 17592186044416
With Pike 7.6.13 "official":
object file = Stdio.File("/tmp/toto"); file->stat();
(1) Result: Stat(drwxr-xr-x 1024b)
file->stat()->size;
(2) Result: 1024
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(3) Result: 980004
OS is Linux.
/ David
/ Brevbäraren
I was meaning the bug is in current CVS while a month ago CVS doesn't have it.
And that doesn't change the bug is here.
/ David
Martin Nilsson (DivX Networks) @ Pike (-) developers forum wrote:
What is 7.6.13 official? There is no dist after 7.6.6.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-16 18:39: Subject: Bug in FileStat
With Pike 7.6 CVS:
object file = Stdio.File("/tmp/toto"); file->stat()->size; (2) Result: 17592186044416
file->stat()->size;
(3) Result: 17592186044416
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(4) Result: 17592186044416
With Pike 7.6.13 "official":
object file = Stdio.File("/tmp/toto"); file->stat();
(1) Result: Stat(drwxr-xr-x 1024b)
file->stat()->size;
(2) Result: 1024
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(3) Result: 980004
OS is Linux.
/ David
/ Brevbäraren
To be frank, that wasn't obvious from your initial post. To solve bugs, it is important to state versions correctly. If you know something is broken in CVS-current but wasn't a month ago, say that instead of inventing versions that doesn't exist.
Back to the problem: What does file->stat() result in 7.6 CVS-current?
/ Marcus Agehall (PacketFront)
Previous text:
2004-09-17 12:00: Subject: Re: Bug in FileStat
I was meaning the bug is in current CVS while a month ago CVS doesn't have it.
And that doesn't change the bug is here.
/ David
Martin Nilsson (DivX Networks) @ Pike (-) developers forum wrote:
What is 7.6.13 official? There is no dist after 7.6.6.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-16 18:39: Subject: Bug in FileStat
With Pike 7.6 CVS:
object file = Stdio.File("/tmp/toto"); file->stat()->size; (2) Result: 17592186044416
file->stat()->size;
(3) Result: 17592186044416
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(4) Result: 17592186044416
With Pike 7.6.13 "official":
object file = Stdio.File("/tmp/toto"); file->stat();
(1) Result: Stat(drwxr-xr-x 1024b)
file->stat()->size;
(2) Result: 1024
object file = Stdio.File("/tmp/mysqldump.sql"); file->stat()->size;
(3) Result: 980004
OS is Linux.
/ David
/ Brevbäraren
/ Brevbäraren
Marcus Agehall (PacketFront) @ Pike (-) developers forum wrote:
To be frank, that wasn't obvious from your initial post. To solve bugs, it is important to state versions correctly. If you know something is broken in CVS-current but wasn't a month ago, say that instead of inventing versions that doesn't exist.
Yes.
Back to the problem: What does file->stat() result in 7.6 CVS-current?
object file = Stdio.File("/tmp/toto"); file->stat()->size;
(1) Result: 17592186044416
file->stat();
(2) Result: Stat(drwxr-xr-x 17592186044416b)
/ David
Well, I can't reproduce it.
mkdir("/tmp/toto");
(1) Result: 1
file_stat("/tmp/toto");
(2) Result: Stat(drwxrwxr-x 4096b)
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-17 12:30: Subject: Re: Bug in FileStat
Marcus Agehall (PacketFront) @ Pike (-) developers forum wrote:
To be frank, that wasn't obvious from your initial post. To solve bugs, it is important to state versions correctly. If you know something is broken in CVS-current but wasn't a month ago, say that instead of inventing versions that doesn't exist.
Yes.
Back to the problem: What does file->stat() result in 7.6 CVS-current?
object file = Stdio.File("/tmp/toto"); file->stat()->size;
(1) Result: 17592186044416
file->stat();
(2) Result: Stat(drwxr-xr-x 17592186044416b)
/ David
/ Brevbäraren
It's propably my system. I recompile the same pike from another system the same way and copy it to the buggy one and now the bug disappeared.
Thanks for the help anyway
/ David
Martin Nilsson (DivX Networks) @ Pike (-) developers forum wrote:
Well, I can't reproduce it.
mkdir("/tmp/toto");
(1) Result: 1
file_stat("/tmp/toto");
(2) Result: Stat(drwxrwxr-x 4096b)
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-17 12:30: Subject: Re: Bug in FileStat
Marcus Agehall (PacketFront) @ Pike (-) developers forum wrote:
To be frank, that wasn't obvious from your initial post. To solve bugs, it is important to state versions correctly. If you know something is broken in CVS-current but wasn't a month ago, say that instead of inventing versions that doesn't exist.
Yes.
Back to the problem: What does file->stat() result in 7.6 CVS-current?
object file = Stdio.File("/tmp/toto"); file->stat()->size;
(1) Result: 17592186044416
file->stat();
(2) Result: Stat(drwxr-xr-x 17592186044416b)
/ David
/ Brevbäraren
What is 7.6.13 official? There is no dist after 7.6.6.
Vida meant the 7.6.13 unofficial version available on Caudium's FTP (exported Aug 18 i guess)
Since Caudium 1.4 requires Pike > 7.6.12, we can't use real official releases for now :)
Never release Pike versions with odd build numbers unless you call it beta, especially not the tip of the CVS. If anyone says 7.6.13 there is no way of knowing what source it was built from, hence e.g. bug reports for 7.6.13 is more likely to be ignored. Use 7.6.14 instead.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-17 12:37: Subject: Re: Bug in FileStat
What is 7.6.13 official? There is no dist after 7.6.6.
Vida meant the 7.6.13 unofficial version available on Caudium's FTP (exported Aug 18 i guess)
Since Caudium 1.4 requires Pike > 7.6.12, we can't use real official releases for now :)
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren
I've said this before: Do NOT export and store CVS as dists unless they are clearly labled as beta with big neon sigs.
/ Peter Bortas
Previous text:
2004-09-17 12:37: Subject: Re: Bug in FileStat
What is 7.6.13 official? There is no dist after 7.6.6.
Vida meant the 7.6.13 unofficial version available on Caudium's FTP (exported Aug 18 i guess)
Since Caudium 1.4 requires Pike > 7.6.12, we can't use real official releases for now :)
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren
i guess the labeling could do with some improvement: ftp://ftp.caudium.net/pike/
there is a directory "official_releases" but i'd put the rest into something like "cvs-snapshots"
greetings, martin.
I would still like everyone to do "make export" from an account that has write priviliges in the repository whenever they do a dist, cvs snapshot or not.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-19 20:56: Subject: Re: Bug in FileStat
i guess the labeling could do with some improvement: ftp://ftp.caudium.net/pike/
there is a directory "official_releases" but i'd put the rest into something like "cvs-snapshots"
greetings, martin.
/ Brevbäraren
hmm? why writeprivileges? do you mean you like people to make cvs export only from the original repository directly, and not via roxens anonymous access?
why would that make a difference?
greetings, martin.
When you do make export version.h will be updated, the repository tagged, and then version.h will be updated again. Hence the version number will actually mean a specific set of files, not just an aproximation.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-19 21:12: Subject: Re: Bug in FileStat
hmm? why writeprivileges? do you mean you like people to make cvs export only from the original repository directly, and not via roxens anonymous access?
why would that make a difference?
greetings, martin.
looking for a job doing pike programming, sTeam/caudium/pike/roxen training, sTeam/caudium/roxen and/or unix system administration anywhere in the world. -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (stuts|black.linux-m68k).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/
/ Brevbäraren
ahh, i can see the use of that. do the xenofarm exports do that?
though wouldn't that create havoc in the version numbers if everyone did that at random?
i am not sure, but i believe the exports on the caudium site are based on the tags that come with any version bump in cvs (or are those versions not tagged?)
greetings, martin.
Dists are made from CVS-trees with even build numbers. Xenofarm does not increase the build number.
/ Martin Nilsson (DivX Networks)
Previous text:
2004-09-19 21:59: Subject: Re: Bug in FileStat
ahh, i can see the use of that. do the xenofarm exports do that?
though wouldn't that create havoc in the version numbers if everyone did that at random?
i am not sure, but i believe the exports on the caudium site are based on the tags that come with any version bump in cvs (or are those versions not tagged?)
greetings, martin.
/ Brevbäraren
CVS snapshots on ftp.caudium.net/pike are made directly from pikefarm.
I have tryed to "make export" several times but it always fails because obscur error (autoconf / pike / whatever).
BTW the README FILE there is *really* self explaining itself... :
ftp> cd pike 250-Welcome to Pike repository at oav.net / caudium.net 250- 250-This place is : 250- 250-- ftp://pike.ida.liu.se/ mirror 250- -> go to pike.ida.liu.se/ 250- 250-- Pike 7.5, 7.4 CVS snapshots repository. 250- Made from xenofarm and CVS. 250- -> go to 7.4/ for pike 7.4 snapshots. 250- -> go to 7.5/ for pike 7.5 snapshots (on the edge !!!). 250- -> go to 7.6/ for pike 7.6 snapshots. 250- -> go to 7.7/ for pike 7.7 snapshots (on the edge !!!). 250- 250-- Pike 7.0 and 7.2 CVS snapshots repository (DEPRECATED place) 250- No more make from CVS, but 7.0 and 7.2 are not handled by IDA, and 250- depends to mutch on old automake. So no more updated. 250- -> go to 7.0/ for pike 7.0 (old snapshots) 250- -> go to 7.2/ for pike 7.2 (old snapshots) 250- 250-- Binary pike packages, 250- -> go to pkg/ or official_releases/ 250- 250-Pike information : http://pike.ida.liu.se/ 250- 250 OK. Current directory is /pike
/Xavier
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
pike-devel@lists.lysator.liu.se