| 148 | */ |
| 149 | |
| 150 | void timestamp_from_path( timestamp * const time, OBJECT * const path ) |
| 151 | { |
| 152 | PROFILE_ENTER( timestamp ); |
| 153 | |
| 154 | PATHNAME f1; |
| 155 | PATHNAME f2; |
| 156 | int found; |
| 157 | BINDING * b; |
| 158 | string buf[ 1 ]; |
| 159 | |
| 160 | |
| 161 | if ( file_time( path, time ) < 0 ) |
| 162 | timestamp_clear( time ); |
| 163 | |
| 164 | PROFILE_EXIT( timestamp ); |
| 165 | } |
| 166 | |
| 167 | |
| 168 | void timestamp_init( timestamp * const time, time_t const secs, int const nsecs |
no test coverage detected