[Ace-users] [ace-users] How to set timestamp of a file in ACE 5.5.8

Chad Elliott elliott_c at ociweb.com
Mon Dec 10 08:00:43 CST 2007


Douglas C. Schmidt wrote:
> Hi Sam,
>
>   
>> We are stuck with following 2 problems in ACE 5.5.8.
>>     
>
> To ensure that we have proper version/platform/compiler information,
> please make sure you fill out the appropriate problem report form
> (PRF), which is in
>
> $ACE_ROOT/PROBLEM-REPORT-FORM
> $TAO_ROOT/PROBLEM-REPORT-FORM
>
> or in
>
> $ACE_ROOT/BUG-REPORT-FORM
> $TAO_ROOT/BUG-REPORT-FORM
>
> in older versions of ACE+TAO.  Make sure to include this information
> when asking any questions about ACE+TAO since otherwise we have to
> "guess" what version/platform/compiler/options you've using, which is
> very error-prone and slows down our responsiveness.  If you don't use
> the PRF, therefore, it is less likely that someone from the core
> ACE+TAO developer team will be able to answer your question.
> Naturally, we encourage and appreciate other members of the ACE+TAO
> user community who can respond to questions that they have the answers
> to.
>
>   
>> (i) How can we set the modification / creation time of a file
>>     
>
> How would you do this on your OS platform if you weren't using ACE?
>   

You would use utime(2) on UNIX.  However, you can not change the 
creation time; only the access and modification times.

It doesn't appear that there is a wrapper for this in ACE.

Chad




More information about the Ace-users mailing list