|
List Info
Thread: win32-file-stat bug
|
|
| win32-file-stat bug |
  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-devel rubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel
|
|
| Re: win32-file-stat bug |

|
2007-09-20 21:50:56 |
|
Hi,
2007/9/21, Daniel Berger < djberg96 gmail.com">djberg96 gmail.com>:
Heya all,
Anyone have any ideas on this one?
http://rubyforge.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
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.
Regards,
Park Heesob
|
| Re: win32-file-stat bug |
  United States |
2007-09-27 21:49:52 |
Heesob Park wrote:
> Hi,
>
> 2007/9/21, Daniel Berger <djberg96 gmail.com
<mailto:djberg96 gmail.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-devel rubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel
|
|
| Re: win32-file-stat bug |

|
2007-09-27 23:18:13 |
|
2007/9/28, Daniel Berger < djberg96 gmail.com">djberg96 gmail.com>:
Heesob Park wrote: > Hi, > > 2007/9/21, Daniel Berger < djberg96 gmail.com">
djberg96 gmail.com <mailto: djberg96 gmail.com">djberg96 gmail.com>>: > > Heya all, > > Anyone have any ideas on this one? > >
http://rubyforge.org/tracker/index.php?func=detail&aid=13825&group_id=85&atid=411 > <http://rubyforge.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(http://msdn2.microsoft.com/en-us/library/14h5k7ff(VS.71).aspx), > > 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?
I9;m guessing that Time.at(0) is what MRI returns.
I think Time.at(0) is a reasonable workaround.
Regards,
Park Heesob.
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|