Displaying 5 results from an estimated 5 matches for "0ec4164".
Did you mean:
024164
2016 Feb 24
2
[PATCH 3/5] installers: MSVC compatibility fixes
More MSVC compatibility fixes, for packed structures.
NB: In case you are aware of the issues that may come with MS vs GCC
packing, so far, I have not seen evidence of detrimental impact from
using ms_struct packing in MSVC (vs gcc_struct, which is explicitly
specified for MinGW), with regards to the sections of code I am using in
Rufus.
-------------- next part --------------
2016 Mar 06
0
[PATCH 3/5] installers: MSVC compatibility fixes
...ubject: [PATCH 3/5] installers: MSVC compatibility fixes
>
> ---
> libinstaller/syslxint.h | 13 ++++++++++++-
> libinstaller/syslxmod.c | 3 ++-
> 2 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
> index 0ec4164..7bf4d91 100644
> --- a/libinstaller/syslxmod.c
> +++ b/libinstaller/syslxmod.c
> @@ -41,7 +41,8 @@ static void generate_extents(struct syslinux_extent _slimg
> *ex, int nptrs,
> unsigned int len;
>
> base = addr;
> - len = lba = 0;
> + len = 0;
> +...
2014 Sep 25
3
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
...uired on glibc 2.x */
#define _BSD_SOURCE
+/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
+#define _DEFAULT_SOURCE 1
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
index cc6e56a..0ec4164 100644
--- a/libinstaller/syslxmod.c
+++ b/libinstaller/syslxmod.c
@@ -17,6 +17,8 @@
#define _XOPEN_SOURCE 500 /* Required on glibc 2.x */
#define _BSD_SOURCE
+/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
+#define _DEFAULT_SOURCE 1
#include <stdio.h>
#include <...
2014 Sep 24
0
[PATCH] remove _BSD_SOURCE definition
On Thu, Sep 18, 2014 at 12:34 AM, Chanho Park <chanho61.park at samsung.com> wrote:
> The _BSD_SOURCE was deprecated since glibc-2.20. _DEFAULT_SOURCE can be
> used instead of _BSD_SOURCE. However, there is no need to include
> _BSD_SOURCE because the sources only have inline functions and calls
> memcmp/cpy functions.
Testing this myself on my build boxes, I see no issue. The
2014 Sep 18
4
[PATCH] remove _BSD_SOURCE definition
The _BSD_SOURCE was deprecated since glibc-2.20. _DEFAULT_SOURCE can be
used instead of _BSD_SOURCE. However, there is no need to include
_BSD_SOURCE because the sources only have inline functions and calls
memcmp/cpy functions.
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
---
dos/getsetsl.c | 1 -
libinstaller/fs.c | 1 -
libinstaller/syslxmod.c | 1 -
3 files