Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90324 Details for
Bug 138290
Jagged Alliance 2 ebuild ( ja2 )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/jaggedalliance2-fix.c
jaggedalliance2-fix.c (text/plain), 811 bytes, created by
Larry Kopenkoskey
on 2006-06-27 20:12:26 UTC
(
hide
)
Description:
files/jaggedalliance2-fix.c
Filename:
MIME Type:
Creator:
Larry Kopenkoskey
Created:
2006-06-27 20:12:26 UTC
Size:
811 bytes
patch
obsolete
>#include "sys/types.h" >#include "sys/stat.h" >#include "unistd.h" >#include "fcntl.h" >#include "stdio.h" > >int main(void) >{ >char buf[6]; >int fd, i; > >for ( i = 0; i < 6; i++ ) >buf[i] = 0x90; > >fd = open("ja2", O_WRONLY); > >lseek(fd, 0x828a, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x82ab, SEEK_SET); >write(fd, buf, 6); > >lseek(fd, 0x82eb, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x82fb, SEEK_SET); >write(fd, buf, 6); > >lseek(fd, 0x8329, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x8339, SEEK_SET); >write(fd, buf, 6); > >lseek(fd, 0x8367, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x8377, SEEK_SET); >write(fd, buf, 6); > >lseek(fd, 0x83a5, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x83b5, SEEK_SET); >write(fd, buf, 6); > >lseek(fd, 0x83e3, SEEK_SET); >write(fd, buf, 6); >lseek(fd, 0x83f3, SEEK_SET); >write(fd, buf, 6); > >return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138290
:
90323
| 90324