Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[PATCH] File::Stat#sticky? and FileTest.sticky? missing #79

Closed
cyndis opened this Issue · 1 comment

2 participants

@cyndis
Collaborator

Methods File::Stat#sticky? and FileTest.sticky? don't exist,
which leads to File.sticky? also not working.

Patch + spec.

mspec before patching:

https://gist.github.com/5a71c62be731876352cc
(the single passing spec is a "check spec for completeness" one)

After patching:

cyndis@munemune:~/src/rubinius$ bin/mspec spec/frozen/core/{file,filetest}/sticky_spec.rb
rubinius 0.13.0 (1.8.7 03562759 2009-11-06 JI) [i686-pc-linux-gnu]
.....

Finished in 0.015873 seconds

2 files, 4 examples, 6 expectations, 0 failures, 0 errors

Actual patches:
http://gist.github.com/97f1bc618087e7dc3860

Note: changes platform.rake to add detection for S_ISVTX constant
so a clean rebuild is needed.

@evanphx
Owner

Commited!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.