Summary: | net-wireless/aircrack-ng-1.0_rc1 O_CREAT in second argument needs 3 arguments | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christohper Harrington <ironiridis> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crypto+disabled, gibgibon, johannes |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 259417 | ||
Attachments: | fix typo in wesside-ng.c |
Description
Christohper Harrington
2009-01-30 16:15:57 UTC
Even as I was tasked with the simple job of distinguishing -O0 and -O1 in my description, I wasn't clear. Let's try this again: Compiling with optimizations DISABLED inhibits this error: # CFLAGS="-O0" emerge aircrack-ng But even -O1 causes the compile to fail: # CFLAGS="-O1" emerge aircrack-ng Created attachment 180296 [details, diff]
fix typo in wesside-ng.c
wesside-ng.c contains this line:
fd = open(KEY_FILE, O_WRONLY | O_CREAT | 0644);
This is clearly a typo, when the author meant the second pipe to be a comma. This patch uses the S_I[RWX](USR|GRP|OTH) convention, along with a comma, to be consistent with the rest of the source.
This seems to have been fixed on rc2, see http://trac.aircrack-ng.org/ticket/454 . Since _rc2 is in tree and fixed this bug can be closed. |