summaryrefslogtreecommitdiffhomepage
path: root/src/file.c
AgeCommit message (Collapse)Author
2015-12-08Fix for windows(mingw)takahashim
* File.expand_path: support drive letter and ALT_SEPARATOR * File.dirname: support ALT_SEPARATOR * File.basename: ditto. * IO.popen: raise NotImplementedError * IO.pipe: ditto. * `cmd`: ditto. * File#flock: ditto. * FileTest.pipe?: ditto. * FileTest.symlink?: ditto. * FileTest.socket?: ditto.
2015-12-04fix file separatortakahashim
* File::SEPARATOR should be "/" * File::ALT_SEPARATOR should be "\\" or nil.
2015-11-24symlink(2) returns -1 when it fails.Tomoyuki Sahara
2015-11-24arguments can be shared strings.Tomoyuki Sahara
2015-11-22add File.symlinktakahashim
2015-08-20Made FILE_SEPERATOR platform dependentJoe Kutner
2015-08-02define PATH_SEPARATORTerence Lee
2015-04-17Removing redundant platform checkJared Breeden
2015-04-17Correct File::NULL for WindowsJared Breeden
2014-11-22Fix broken build for Visual C++sdottaka
2014-11-16Implement FileTest.sizeksss
- File.size delegate to FileTest.size - File.size more faster by reading i-node value
2014-07-22remove extra ';'.Tomoyuki Sahara
2014-07-19Fix type of argument passed to mrb_get_args.take_cheeze
2014-05-07compatible 32 bit windowswindwiny
2014-04-28raise an error for flock on solarisJulien Ammous
2014-04-21fix mrb_raisef usage.Tomoyuki Sahara
2014-04-17file.c depends on mruby/ext/io.h now.Tomoyuki Sahara
2014-04-17function declarations should be in a header file.Tomoyuki Sahara
2014-04-17file.c does not depend on mruby/ext/io.h.Tomoyuki Sahara
2014-04-10solaris does not have flockJulien Ammous
2014-03-03Merge branch 'master' of https://github.com/iij/mruby-io into testPaolo Bosetti
Conflicts: src/io.c
2014-02-22compatibility support (mruby/mruby, iij/mruby and 1.0.0)Akira Yumiyama
- refs https://github.com/mruby/mruby/commit/36e234aa377d50d8ee425c7868e0651cf78e85cf
2014-01-13Now the drive letter is returned as leading path element by File#dirname on ↵Paolo Bosetti
Windows
2013-12-10Made compatible with VisualStudioPaolo Bosetti
2013-12-02Fix for compilation under Win/MinGWPaolo Bosetti
2013-10-03fix RSTRING_PTR usage.Tomoyuki Sahara
2013-09-30add File#flock.Tomoyuki Sahara
2013-09-26suppress a warning and fix a possible segv.Tomoyuki Sahara
2013-05-12bufix of mrb_file__gethome()Akira Yumiyama
2013-05-12add return value check of fseekAkira Yumiyama
2013-05-12add null checkAkira Yumiyama
2013-05-12Use strncpy instead of strcpy.Akira Yumiyama
2013-05-02rename mrb_class_obj_get -> mrb_class_getAkira Yumiyama
2013-04-27put MRB_ prefix before ARGS_XXX macrosAkira Yumiyama
2013-04-01initial commitAkira Yumiyama