Created
November 28, 2011 21:44
-
-
Save FrankGrimm/1402220 to your computer and use it in GitHub Desktop.
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
// lutimes | |
var constants = require("constants") | |
if (!fs.lutimes) fs.lutimes = function (path, at, mt, cb) { | |
constants.O_SYMLINK = 0x200000; | |
fs.open(path, constants.O_SYMLINK, function (er, fd) { | |
cb = cb || noop | |
if (er) return cb(er) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment