• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/directfb-examples/0001-remove-bzero.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
1
---
2
 src/df_knuckles/matrix.c |    2 +-
3
 1 file changed, 1 insertion(+), 1 deletion(-)
4
​
5
Index: directfb-examples-1.2.0/src/df_knuckles/matrix.c
6
===================================================================
7
--- directfb-examples-1.2.0.orig/src/df_knuckles/matrix.c
8
+++ directfb-examples-1.2.0/src/df_knuckles/matrix.c
9
@@ -19,7 +19,7 @@
10
 static float Cosine[3600];
11
 static float Sine[3600];
12
 
13
-#define M_CLEAR(m) bzero(m, MATRIX_SIZE)
14
+#define M_CLEAR(m) memset(m, 0, MATRIX_SIZE)
15
 #define M_IDENTITY(m) memcpy(m, IdentityMatrix, MATRIX_SIZE)
16
 
17
 static void MultiplyMatrix(float *A, float *B)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.