Fix for setatr in clifile.c
Satwik Hebbar
satwikh at calsoftinc.com
Thu Jun 2 05:46:16 GMT 2005
Sorry folks, this accidentally got sent out, i dunno how actually. Please
do ignore this mail as I have already sent a mail on this issue and got it
resolved with Derrell. I think my mail client had this in its outbox for a
long time as i remember it failing once before. sorry again!
Satwik.
On Thu, 02 Jun 2005 10:50:01 +0530, Satwik Hebbar <satwikh at calsoftinc.com>
wrote:
>
> Hey,
>
> I was using the cli_setatr function of the smbclient for setting file
> attributes on a file and the cli_setattrE function for setting timestats
> on the file. Both the functions were converting times to the dos format
> before putting them onto the wire. While this works fine for setattrE,
> setatr, which accepts a time_t value for the last write time for the
> file, sets the incorrect last write value on the file. This is because
> setatr expects times in the unix format and when I made that change to
> the code, it started setting the proper last write time value.
>
> How do I submit the patch for this one? And how does it get verified?
>
> Satwik.
--
------------------------------------------------------------
If you're free you'll never see the walls
If you're head is clear you'll never freefall
If you're out right you never fear the wrong
If you're head is high you never fear at all
------------------------------------------------------------
More information about the samba-technical
mailing list