This file contains 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
unsafe fn get_list(p: &Path) -> ~[~str] { | |
use libc::{DIR, dirent_t}; | |
use libc::{opendir, readdir, closedir}; | |
extern mod rustrt { | |
unsafe fn rust_list_dir_val(ptr: *dirent_t) | |
-> *libc::c_char; | |
} | |
let input = p.to_str(); | |
let mut strings = ~[]; | |
let input_ptr = ::cast::transmute(&input[0]); |
This file contains 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
Name: emacs-latest | |
Version: 24.2 | |
Release: 1%{?dist} | |
Summary: GNU Emacs | |
#Group: | |
License: GPL | |
URL: http://www.gnu.org/software/emacs/ | |
Source0: http://ftp.gnu.org/pub/gnu/emacs/emacs-24.2.tar.xz | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |