List Info

Thread: win32-file-stat bug




win32-file-stat bug
country flaguser name
United States
2007-09-20 20:07:52
Heya all,

Anyone have any ideas on this one?

http://rubyforge.or
g/tracker/index.php?func=detail&aid=13825&group_id=8
5&atid=411

It's easy enough to rescue, I'd just like to know what MRI
does in this 
case, so we can duplicate it.

Regards,

Dan
_______________________________________________
win32utils-devel mailing list
win32utils-develrubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel


Re: win32-file-stat bug
user name
2007-09-20 21:50:56
Hi,

2007/9/21, Daniel Berger < djberg96gmail.com">djberg96gmail.com>:
Heya all,

Anyone have any ideas on this one?

http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13825&group_id=85&atid=411

It's easy enough to rescue, I'd just like to know what MRI does in this
case, so we can duplicate it.

Regards,

Dan
 
 
st_ctime
  Time of creation of file. Valid on NTFS but not on FAT formatted disk drives.
 
Maybe the Linux Samba version is not up-to-date.
 
In my test with Samba 3.0.22, stat64 st_ctime works fine.
&nbsp;
&nbsp;
Regards,
&nbsp;
Park Heesob
 
Re: win32-file-stat bug
country flaguser name
United States
2007-09-27 21:49:52
Heesob Park wrote:
> Hi,
> 
> 2007/9/21, Daniel Berger <djberg96gmail.com
<mailto:djberg96gmail.com>>:
> 
>     Heya all,
> 
>     Anyone have any ideas on this one?
> 
>     http://rubyforge.or
g/tracker/index.php?func=detail&aid=13825&group_id=8
5&atid=411
>     <http://rubyforg
e.org/tracker/index.php?func=detail&aid=13825&group_
id=85&atid=411>
> 
>     It's easy enough to rescue, I'd just like to know
what MRI does in this
>     case, so we can duplicate it.
> 
>     Regards,
> 
>     Dan
> 
>  
> According to 
> msdn(htt
p://msdn2.microsoft.com/en-us/library/14h5k7ff(VS.71).as
px),
>  
> st_ctime
>   Time of creation of file. Valid on NTFS but not on
FAT formatted disk 
> drives.
>  
> Maybe the Linux Samba version is not up-to-date.
>  
> In my test with Samba 3.0.22, stat64 st_ctime works
fine.

Hm, how do you think we should handle this, though? Set the
times to 
Time.at(0)? Time.now? nil?

I'm guessing that Time.at(0) is what MRI returns.

Regards,

Dan
_______________________________________________
win32utils-devel mailing list
win32utils-develrubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel


Re: win32-file-stat bug
user name
2007-09-27 23:18:13


2007/9/28, Daniel Berger < djberg96gmail.com">djberg96gmail.com>:
Heesob Park wrote:
>; Hi,
>
&gt; 2007/9/21, Daniel Berger < djberg96gmail.com"> djberg96gmail.com <mailto: djberg96gmail.com">djberg96gmail.com>>:
&gt;
>&nbsp; &nbsp;  Heya all,
>
> &nbsp;   Anyone have any ideas on this one?
>
> &nbsp;   http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13825&group_id=85&atid=411
&gt; &nbsp; &nbsp; <http://rubyforge.org/tracker/index.php?func=detail&;aid=13825&amp;group_id=85&atid=411 &gt;
>
>; &nbsp; &nbsp; It's easy enough to rescue, I'd just like to know what MRI does in this
>&nbsp;   ; case, so we can duplicate it.
>
&gt; &nbsp; &nbsp; Regards,
&gt;
>&nbsp; &nbsp;  Dan
>
&gt;
> According to
> msdn(http://msdn2.microsoft.com/en-us/library/14h5k7ff(VS.71).aspx),
>
> st_ctime
&gt; &nbsp; Time of creation of file. Valid on NTFS but not on FAT formatted disk
>; drives.
&gt;
> Maybe the Linux Samba version is not up-to-date.
>
> In my test with Samba 3.0.22, stat64 st_ctime works fine.

Hm, how do you think we should handle this, though? Set the times to
Time.at(0)? Time.now? nil?

I9;m guessing that Time.at(0) is what MRI returns.
 
I think Time.at(0) is a reasonable workaround.
 
Regards,
 
Park Heesob.
 


&nbsp;
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )