aboutsummaryrefslogtreecommitdiffstats
path: root/cad/chipmunk/files
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-06-28 17:07:31 +0800
committered <ed@FreeBSD.org>2010-06-28 17:07:31 +0800
commitf6574bd9a47108785601fff9a97b5d8ac90799f3 (patch)
tree0eb39f4312ba51b896108e16b0dfdadc4abbc0f4 /cad/chipmunk/files
parent4683b72009504fdceb42b1929346a84acaaa4254 (diff)
downloadfreebsd-ports-gnome-f6574bd9a47108785601fff9a97b5d8ac90799f3.tar.gz
freebsd-ports-gnome-f6574bd9a47108785601fff9a97b5d8ac90799f3.tar.zst
freebsd-ports-gnome-f6574bd9a47108785601fff9a97b5d8ac90799f3.zip
Remove a piece of dead code from chipmunk.
This seems to be the only piece of code in the entire ports tree which uses getpw(3) and it seems to be dead code anyway. Approved by: beat Feature safe: yes
Diffstat (limited to 'cad/chipmunk/files')
-rw-r--r--cad/chipmunk/files/patch-netcmp-main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-netcmp-main.c b/cad/chipmunk/files/patch-netcmp-main.c
new file mode 100644
index 000000000000..cb7c66aa3875
--- /dev/null
+++ b/cad/chipmunk/files/patch-netcmp-main.c
@@ -0,0 +1,19 @@
+--- netcmp/main.c
++++ netcmp/main.c
+@@ -122,16 +122,6 @@
+
+ outfyle = NULL;
+ while (outfyle == NULL) {
+- char username[100];
+- char *tmp;
+-
+-#if defined(freebsd)
+- getpwuid(getuid(), username);
+-#else
+- getpw(getuid(), username);
+-#endif
+- tmp = strchr(username,':');
+- if (tmp != NULL) *tmp = '\0';
+ printf(" Enter output file name [info]: ");
+ fgets(command, 81, stdin);
+ TEMP = strchr(command, '\n');
colspan='5'> | * Fill blockchain tests.Adrian Sutton2018-11-182-0/+204 | * Add test for EXTCODEHASH of account created in same transaction.Adrian Sutton2018-11-182-0/+135 |/ * Merge pull request #542 from hugo-dc/extcodehash-hdcwinsvega2018-11-1532-0/+3202 |\ | * fill blockchain testsJose Hugo De la cruz Romero2018-11-1524-0/+2418 | * refill tests using create2 branch of aleth, fix extCodeHashPrecompiles json o...Jose Hugo De la cruz Romero2018-11-154-29/+6 | * fix precompiles codehash test, refill using latest aleth/testethJose Hugo De la cruz Romero2018-11-155-193/+238 | * EXTCODEHASH testsJose Hugo De la cruz Romero2018-11-158-0/+762 |/ * Merge pull request #545 from ethereum/moresstorewinsvega2018-11-1410380-0/+1814091 |\ | * fill as blockchain sstore combinationsmoresstoreDimitry2018-11-1310374-0/+1756380 | * sstore combinations change testsDimitry2018-11-136-0/+57711 * | Merge pull request #544 from ajsutton/extcodehashv6.0.0-beta.2winsvega2018-11-1320-0/+2237 |\ \ | * | Fill blockchain tests.Adrian Sutton2018-11-1314-0/+1673 | * | Use '>=Constantinople' instead of '>Byzantium' to be a bit more readable that...Adrian Sutton2018-11-136-83/+10 | * | Add more dynamic argument test cases to cover non-existent accounts, precompi...Adrian Sutton2018-11-132-60/+135 | * | Add test case for a contract executing EXTCODEHASH of the account being creat...Adrian Sutton2018-11-122-0/+138 | * | Add test case for a contract executing EXTCODEHASH with a dynamic argument.Adrian Sutton2018-11-122-0/+219 | * | Add test case for a contract executing EXTCODEHASH on itself.Adrian Sutton2018-11-122-0/+205 * | | Merge pull request #546 from ajsutton/gitignore-ideaMartin Holst Swende2018-11-131-1/+2 |\ \ \ | |/ / |/| | | * | Add .idea to .gitignore.Adrian Sutton2018-11-131-1/+2 |/ / * | Merge pull request #538 from ajsutton/memory-write-testswinsvega2018-11-0916-0/+4033 |\ \ | * | Add blockchain version of new tests.Adrian Sutton2018-11-098-12/+2430 | * | Revert "Add blockchain version of stPreCompiledContracts2 tests." (to make re...Adrian Sutton2018-11-096-2406/+0 | * | Add comment to new tests explaining what they're covering.Adrian Sutton2018-11-098-30/+42 | * | Add blockchain version of stCodeCopy tests.Adrian Sutton2018-11-062-0/+872 | * | Add blockchain version of stPreCompiledContracts2 tests.Adrian Sutton2018-11-066-0/+2406 | * | Refill new test.Adrian Sutton2018-11-061-1/+1 | * | Add tests to cover cases where data is copied to a memory range longer than t...Adrian Sutton2018-11-038-0/+731 * | | Merge pull request #484 from ethereum/extcodehashwinsvega2018-11-0922-0/+6229 |\ \ \ | |_|/ |/| | | * | fill initial stExtCodeHash testsextcodehashDimitry2018-11-0918-4/+5221 | * | stExtCodeHash WIPDimitry2018-10-118-0/+1012 * | | Merge pull request #539 from ethereum/integrate-test-generation-docswinsvega2018-11-095-27/+408 |\ \ \ | |_|/ |/| | | * | Move test creation docs to testing documentationholgerd772018-11-095-27/+408 |/ / * | Merge pull request #535 from ethereum/moresstorewinsvega2018-11-0346-0/+5235 |\ \ | * | InitCollision testDimitry2018-10-259-0/+995 | * | sstore collision overwrite sstoreDimitry2018-10-2538-0/+4240 * | | Merge pull request #537 from ethereum/add-using-clients-to-docswinsvega2018-11-031-0/+12 |\ \ \ | * | | Added clients using the tests library to the READMEholgerd772018-11-021-0/+12 |/ / / * | | Merge pull request #533 from ethereum/blockchain-test-format-doc-updatesv6.0.0-beta.1winsvega2018-10-253-25/+33 |\ \ \ | |/ / |/| | | * | Some updates to test generation doc sectionholgerd772018-10-231-1/+5 | * | Added sealEngine related infos to README and blockchain test format docsholgerd772018-10-232-24/+28 |/ / * | Merge pull request #527 from ansermino/david/setupHolger Drewes2018-10-193-0/+13 |\ \ | * | Fixed namingDavid Ansermino2018-10-181-1/+1 | * | Specified dependency version ranges, added .env3 to gitignoreDavid Ansermino2018-10-182-3/+4 | * | Added requirements and setup instructionsDavid Ansermino2018-10-162-0/+12 * | | Merge pull request #529 from ethereum/moresstorewinsvega2018-10-18714-1104/+83270 |\ \ \ | * | | fill as blockchain testsDimitry2018-10-18697-829/+80569 | * | | sstore xxx testsDimitry2018-10-1817-275/+2701 |/ / / * | | Merge pull request #528 from ethereum/moresstorewinsvega2018-10-17246-397/+28122 |\ \ \ | * | | fill as blockchainDimitry2018-10-17232-315/+26508 | * | | more test scenarios around test casesDimitry2018-10-1714-82/+1614 |/ / / * | | Merge pull request #526 from ethereum/moresstorewinsvega2018-10-1628-0/+2895 |\ \ \ | |/ / |/| | | * | fill as blockchain testsDimitry2018-10-1624-74/+2158 | * | sstore refund bugDimitry2018-10-152-0/+131 | * | more sstore testsDimitry2018-10-158-0/+680 |/ / * | Merge pull request #525 from ethereum/disableEipwinsvega2018-10-13217-5313/+4815 |\ \ | * | update tests without EIP210Dimitry2018-10-12217-5313/+4815 |/ / * | Merge pull request #516 from feliam/patch-2winsvega2018-10-121-4/+4 |\ \ | * | Update vm_tests.rstfeliam2018-10-041-4/+4 * | | Merge pull request #514 from feliam/patch-1winsvega2018-10-121-1/+1 |\ \ \ | * | | Update README.mdfeliam2018-10-021-1/+1 | |/ / * | | Merge pull request #522 from ethereum/remLegacywinsvega2018-10-1228-2705/+0 |\ \ \ | * | | remove artifact testsDimitry2018-10-1128-2705/+0 |/ / / * | | Merge pull request #520 from ethereum/fixgaslimitwinsvega2018-10-1159-15842/+15842 |\ \ \ | |_|/ |/| | | * | refill wallet testsDimitry2018-10-117-8345/+8345 | * | fix wrong difficulty tests on NoProofDimitry2018-10-1152-7497/+7497 |/ / * | Merge pull request #518 from ethereum/refill2winsvega2018-10-102-9016/+29305 |\ \ | * | create difficultyConstantinople autogenerated testsDimitry2018-10-091-0/+20289 | * | regenerate difficultyTests on RopstenDimitry2018-10-091-9016/+9016 |/ / * | Merge pull request #517 from ethereum/refill2winsvega2018-10-09137-989/+989 |\ \ | * | refill badOpcodesDimitry2018-10-09123-378/+378 | * | fix wrong timestamp in testsDimitry2018-10-0914-611/+611 |/ / * | Merge pull request #511 from ethereum/refillwinsvega2018-10-05