blob: 1ee2542885bc296f07e9a0afab7d8a9d74fa2092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* $Id$
* =============================================================================
*
* = LIBRARY
* pace
*
* = FILENAME
* pace/win32/utime.c
*
* = AUTHOR
* Luther Baker
*
* ============================================================================= */
#include "pace/utime.h"
#if !defined (PACE_HAS_INLINE)
# include "pace/win32/utime.inl"
#endif /* ! PACE_HAS_INLINE */
#if (PACE_HAS_POSIX_FS_UOF)
int
win32_utime (const char * path, const pace_utimbuf * times)
{
PACE_ERRNO_NO_SUPPORT_RETURN (-1);
/* Not yet working
char * path2 = (char*) malloc (sizeof (path));
pace_strcpy (path2, path);
pace_utimbuf * times2 = (pace_utimbuf*) malloc (sizeof (pace_utimbuf);
memcpy (times2, times, sizeof times);
return _utime (path2, times2);
*/
}
#endif /* PACE_HAS_POSIX_FS_UOF */
|