#
acdbdd14 |
| 02-Aug-2018 |
Andrew Jeffery <andrew@aj.id.au> |
Unfork phosphor-mboxd from mboxbridge Change-Id: I1b3b9d7fd47719594c1de027389959a5a9a3ea7a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
#
4fe996c2 |
| 26-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
misc: Replace license blurb with kernel-style SPDX markers This was roughly achieved by the following shell script: $ git ls-files | grep '\.[ch]p*$' | while
misc: Replace license blurb with kernel-style SPDX markers This was roughly achieved by the following shell script: $ git ls-files | grep '\.[ch]p*$' | while read F; do EXT=${F##*.}; cat spdx.$EXT <(sed '/^\/\*$/,/^ \*\/$/d' $F) > ${F}.tmp; mv ${F}.tmp $F; done With the following context: $ cat spdx.c // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2018 IBM Corp. $ cat spdx.h /* SPDX-License-Identifier: Apache-2.0 */ /* Copyright (C) 2018 IBM Corp. */ $ ls -l spdx.* -rw-r--r-- 1 andrew andrew 71 Feb 27 12:02 spdx.c lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.cpp -> spdx.c -rw-r--r-- 1 andrew andrew 77 Feb 27 12:02 spdx.h lrwxrwxrwx 1 andrew andrew 6 Feb 27 12:02 spdx.hpp -> spdx.h The `sed` invocation catches a lot of function documentation, so the hunks were manually added to avoid removing information that we want to keep. Change-Id: I63e49ca2593aa0db0568c7a63bfdead388642e76 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
#
c3144042 |
| 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: Update tmpf to store data in /tmp, reformat names Cleans up residuals from failed tests in the source tree by moving them to /tmp. Some were annoying to remove with prefixes like '
test: Update tmpf to store data in /tmp, reformat names Cleans up residuals from failed tests in the source tree by moving them to /tmp. Some were annoying to remove with prefixes like 'mbox', so change the pattern as well to include '-store'. Change-Id: I674664a372e7e15ec4c3cd93d33318c4135f33ba Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
#
90b92fe4 |
| 05-May-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
Make the code compatible with c++ compiler if we write "int i;" in header file, c compiler treats as a tentative definition while c++ compiler treats as a definition. so when two
Make the code compatible with c++ compiler if we write "int i;" in header file, c compiler treats as a tentative definition while c++ compiler treats as a definition. so when two cpp file includes the same header file then during linking time compiler says that there are multiple definitions. so to overcome this problem we are declaring it as extern and defining it in the corresponding c file. Change-Id: I91378c4c587414edf35f8313f2497268be36e2f4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
#
45cfc384 |
| 11-Apr-2017 |
Andrew Jeffery <andrew@aj.id.au> |
test: Add temporary file helper Change-Id: Ib102d87232f897ef4c5e7267a56892d22f368f7f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|