This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libc_fn!(unsafe gethostent() -> Result<*const hostent> { | |
| if hostdb == 0 { | |
| hostdb = syscall::open("/etc/hosts", syscall::O_RDONLY).unwrap(); | |
| } | |
| let mut line = RawLineBuffer::new(hostdb); | |
| let mut host_aliases: [*const u8; MAXALIASES] = [0 as *const u8; MAXALIASES]; | |
| let hostaddr: [usize; (MAXADDRS+mem::size_of::<u64>()-1)/mem::size_of::<u64>()] = [0; (MAXADDRS+mem::size_of::<u64>()-1)/mem::size_of::<u64>()]; | |
| let mut host_addrs: [*mut libc::c_char;2] = [0 as *mut libc::c_char; 2]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate libc; | |
| extern crate core; | |
| use core::mem; | |
| use core::ptr; | |
| use core::ptr::null_mut; | |
| use core::str; | |
| /// Implements an `Iterator` which returns on either newline or EOF. | |
| pub struct RawLineBuffer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use ::{c_int, c_char}; | |
| extern crate libc; | |
| extern crate core; | |
| use syscall::{self, O_CLOEXEC, O_RDONLY, O_DIRECTORY, Stat}; | |
| use core::ptr::null; | |
| use core::ptr; | |
| use core::default::Default; | |
| use core::mem::swap; | |
| use alloc::boxed::Box; | |
| use ::file::PATH_MAX; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let mut stb = syscall::Stat; | |
| if syscall::call::fstat(*dirp.fd, &stb).unwrap() < 0 { | |
| do_something(); | |
| } | |
| /*| if syscall::call::fstat(*dirp.fd, &stb).unwrap() < 0 { | |
| | ^^^^ types differ in mutability | |
| | | |
| = note: expected type `&mut syscall::Stat` | |
| found type `&syscall::Stat`*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate core; | |
| extern crate libc; | |
| #[repr(C)] | |
| pub struct dirent { | |
| pub d_ino: libc::c_ulong, | |
| pub d_off: libc::c_long, | |
| pub d_reclen: libc::c_ushort, | |
| pub d_type: libc::c_uchar, | |
| pub d_name: [libc::c_char; 4096], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sh | |
| # Build configuration script | |
| # | |
| # See http://www.mozilla.org/build/unix.html for build instructions. | |
| # | |
| CROSS_COMPILE=1 | |
| BASE=/opt/gcc-7.2.0-rbp/bin | |
| SYSROOT=/opt/gcc-7.2.0-rbp/arm-linux-gnueabihf | |
| TARGET=arm-linux-gnueabihf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "/home/paul/ff-src/firefox-57.0b4/obj-armv7-unknown-linux-gnueabihf/dist/include", "-I", "/home/paul/ff-src/firefox-57.0b4/obj-armv7-unknown-linux-gnueabihf/dist/include/nspr", "-include", "/home/paul/ff-src/firefox-57.0b4/obj-armv7-unknown-linux-gnueabihf/dist/include/mozilla-config.h", "-x", "c++", "-std=c++14", "-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1", "-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DMOZ_STYLO", "-DOS_POSIX=1", "-DOS_LINUX=1", "-L/home/paul/raspbian-sdk/sysroot/usr/include/nspr4"]', /home/paul/ff-src/firefox-57.0b4/servo/components/style/build_gecko.rs:291:16 | |
| 0:40.43 stack backtrace: | |
| 0:40.43 0: 0x55ecb41db683 - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::hf734c46164147063 | |
| 0:40.43 at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
| 0:40.43 1: 0x55ecb41d7980 - std::sys_common::backtrace::_print::h8c066612b89231ae | |
| 0:40.43 at /checkout/src/libstd/sys_common/backtrace.rs:71 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /home/paul/ff-src/firefox-57.0b4/servo/components/style/build_gecko.rs:291:16 | |
| 4:57.07 stack backtrace: | |
| 4:57.07 0: 0x561cc7c52013 - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::hcdf51e4c9dc54357 | |
| 4:57.07 at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
| 4:57.07 1: 0x561cc7c4e6c4 - std::sys_common::backtrace::_print::h9da91fd31a37d0f1 | |
| 4:57.07 at /checkout/src/libstd/sys_common/backtrace.rs:71 | |
| 4:57.07 2: 0x561cc7c57733 - std::panicking::default_hook::{{closure}}::h46820a72bf0cb624 | |
| 4:57.07 at /checkout/src/libstd/sys_common/backtrace.rs:60 | |
| 4:57.07 at /checkout/src/libstd/panicking.rs:380 | |
| 4:57.07 3: 0x561cc7c574a2 - std::panicking::default_hook::h4c1ef1cc83189c8e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0:10.97 stack backtrace: | |
| 0:10.97 0: 0x55b94522d013 - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::hcdf51e4c9dc54357 | |
| 0:10.97 at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
| 0:10.97 1: 0x55b9452296c4 - std::sys_common::backtrace::_print::h9da91fd31a37d0f1 | |
| 0:10.97 at /checkout/src/libstd/sys_common/backtrace.rs:71 | |
| 0:10.97 2: 0x55b945232733 - std::panicking::default_hook::{{closure}}::h46820a72bf0cb624 | |
| 0:10.97 at /checkout/src/libstd/sys_common/backtrace.rs:60 | |
| 0:10.98 at /checkout/src/libstd/panicking.rs:380 | |
| 0:10.98 3: 0x55b9452324a2 - std::panicking::default_hook::h4c1ef1cc83189c8e | |
| 0:10.98 at /checkout/src/libstd/panicking.rs:396 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [paul@alarmpi ~]$ retroarch --verbose | |
| [INFO] RetroArch 1.6.7 (Git d6b385d0b) | |
| [INFO] === Build ======================================= | |
| Capabilities: NEON VFPv3 VFPv4 | |
| Built: Sep 29 2017 | |
| [INFO] Version: 1.6.7 | |
| [INFO] Git: d6b385d0b | |
| [INFO] ================================================= | |
| [INFO] [Config]: Loading default config. | |
| [INFO] [Config]: loading config from: (null). |