summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2018-05-231-3/+3
|\
| * merge 8.6jan.nijtmans2018-05-111-1/+1
| |\
| | * merge 8.5jan.nijtmans2018-05-111-1/+1
| | |\
| | | * Rename Tcl_Dir to TclDIR, making it clear that this macro is not part of the ↵jan.nijtmans2018-05-111-1/+1
| | | | | | | | | | | | | | | | public API
| * | | merge 8.6dgp2018-05-091-1/+1
| |\ \ \ | | |/ /
| | * | merge 8.5sebres2018-05-091-1/+1
| | |\ \ | | | |/
| | | * amend to [85bcf84100]: replaces DIR with Tcl_Dir (DIR/DIR64 regarding ↵sebres2018-05-091-1/+1
| | | | | | | | | | | | | | | | HAVE_STRUCT_DIRENT64)
| * | | merge 8.6dgp2018-05-081-2/+2
| |\ \ \ | | |/ /
| | * | merge fix for [92564326a98b5510] from 8.5sebres2018-05-081-2/+2
| | |\ \ | | | |/
| | | * fixes [92564326a98b5510]: wrong x64-aligned handle from readdir64 by ↵sebres2018-05-081-2/+2
| | | | | | | | | | | | | | | | opendir/rewinddir/closedir, if HAVE_STRUCT_DIRENT64 used.
* | | | merge novemjan.nijtmans2016-12-231-3/+1
|\ \ \ \ | |/ / /
| * | | more internal use of size_t in stead of int.jan.nijtmans2016-12-201-7/+8
| | | |
* | | | merge novemjan.nijtmans2016-11-181-3/+3
|\ \ \ \ | |/ / /
| * | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+3
| |/ / | | | | | | | | | in many places where possible.
* | | rebase with novemjan.nijtmans2015-09-291-7/+10
|\ \ \ | |/ / |/| |
| * | merge novemjan.nijtmans2014-05-021-0/+6
| |\ \
| * | | macros for Tcl_GetString and Tcl_GetStringFromObjjan.nijtmans2013-01-261-7/+10
| | | |
| * | | merge trunkjan.nijtmans2013-01-191-3/+4
| |\ \ \
* | \ \ \ Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵jan.nijtmans2015-08-251-2/+5
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
| * | | Fix [0df7a1ec2674a76a]: unix/tclUnixFile.c: return value of call to ↵jan.nijtmans2015-08-251-2/+5
| | | | | | | | | | | | | | | | TclpGetCwd in TclpFindExecutable is not checked, variable cwd is used uninitialized.
| * | | Fix [3118489]: NUL in filenames. (On Windows, protect against invalid use of ↵jan.nijtmans2014-05-151-0/+6
| | | | | | | | | | | | | | | | ':' in filenames as well)
* | | | Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. jan.nijtmans2014-04-111-0/+6
| | | | | | | | | | | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended.
* | | | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| | |
* | | [Bug 3598300]: unix: tcl.h does not include sys/stat.h.jan.nijtmans2013-01-181-2/+4
|\ \ \ | |/ / | | / | |/ |/| (with an exception for OSX, for now)
| * ... and fix cygwin buildjan.nijtmans2013-01-181-2/+4
| |
* | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
|\ \ | |/ | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
| | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | Minor changes to improve style (C89 declarations, consistent indentation,dkf2012-08-071-21/+30
| | | | | | | | clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.)
* | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-7/+6
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-6/+5
| |
* | mergejan.nijtmans2012-06-271-3/+3
|\ \ | |/
| * mergejan.nijtmans2012-06-271-3/+3
| |\
| | * fix bug in cygwin's [info nameofexecutable]jan.nijtmans2012-06-271-1/+1
| | | | | | | | | install dde and registry dll for cygwin
* | | use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-4/+3
|\ \ \ | |/ /
| * | use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-4/+3
| |\ \ | | |/
| | * use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-4/+3
| | |
* | | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-8/+0
|\ \ \ | |/ /
| * | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-8/+0
| |\ \ | | |/
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-8/+0
| | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows
* | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-5/+6
|\ \ \ | |/ /
| * | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-14/+12
| | |
* | | Repair more build breakage.dgp2012-04-261-7/+5
| | |
* | | fix Linux build ;-(jan.nijtmans2012-04-261-4/+3
|\ \ \ | |/ /
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-18/+4
| | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
| | |
| \ \
| \ \
| \ \
*---. \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-1/+29
|\ \ \ \ \ | | | |/ / | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | | * | gcc warningsjan.nijtmans2012-04-241-2/+1
| | |/ /
| | * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-2/+31
| | |\ \ | |/ / / | | | _ | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-5/+33
| | |\ | | | | | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | | * tclpGetPid signature change (stub entry only, not for macro),jan.nijtmans2012-04-061-0/+0
| | | | | | | | | | | | | | | | for win64 compatibility with future cygwin64 correctly use win32 as default when cross-compiling under cygwin