[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31702 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31702 - gnunet/src/util |
Date: |
Mon, 23 Dec 2013 12:14:37 +0100 |
Author: LRN
Date: 2013-12-23 12:14:37 +0100 (Mon, 23 Dec 2013)
New Revision: 31702
Modified:
gnunet/src/util/winproc.c
Log:
Don't hardcode stat sizes
Modified: gnunet/src/util/winproc.c
===================================================================
--- gnunet/src/util/winproc.c 2013-12-23 11:13:36 UTC (rev 31701)
+++ gnunet/src/util/winproc.c 2013-12-23 11:14:37 UTC (rev 31702)
@@ -147,8 +147,8 @@
plibc_initialized ();
plibc_set_panic_proc (plibc_panic);
ret = plibc_init_utf8 ("GNU", PACKAGE, 1);
- plibc_set_stat_size_size (8);
- plibc_set_stat_time_size (4);
+ plibc_set_stat_size_size (sizeof (((struct stat *) 0)->st_size));
+ plibc_set_stat_time_size (sizeof (((struct stat *) 0)->st_mtime));
/* don't load other DLLs twice */
if (hNTDLL)
return ret;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31702 - gnunet/src/util,
gnunet <=