summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | * implement TclpGetPid for Cygwinjan.nijtmans2012-04-041-5/+33
| | |/
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-1/+43
| | | | | | | | | (backported from Tcl 8.5)
* | | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-151-0/+34
|\ \ \ | |/ /
| * | xjan.nijtmans2012-03-151-0/+34
| | |
* | | More isspace() callers.dgp2011-04-281-1/+1
|\ \ \ | |/ /
| * | More isspace() callers.dgp2011-04-281-1/+1
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-2/+2
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * ensure translated path is freedvincentdarley2003-10-311-1/+2
| | |
| | * backporting of filesystem tests, docsvincentdarley2003-10-031-4/+9
| | |
| * | Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-021-4/+2
| | |
* | | Eliminate various unnecessary type casts, use function typedefs whenever ↵nijtmans2010-06-211-4/+4
| | | | | | | | | | | | possible
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-5/+5
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | Fix gcc warning: ignoring return value of ‘write’,nijtmans2009-12-161-2/+2
| | | | | | | | | | | | | | | | | | declared with attribute warn_unused_result CONSTify functions TclpGetUserHome and TclSetPreInitScript (TIP #27)
* | | Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-021-4/+2
| | |
* | | - eliminate some unnessary type castsnijtmans2009-02-031-3/+4
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-147/+160
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | coverity id 100das2007-09-171-4/+4
| |
* | fixed [ 1548263 ] NULL return from Tcl_FSGetNormalizedPath segvcoldstore2006-08-291-1/+4
| |
* | added check for NULL return value of Tcl_FSGetTranslatedPath(), coverity bug 39das2006-03-251-1/+4
| |
* | * generic/tclInt.decls: implement globbing for HFS creator & typedas2006-03-211-11/+80
| | | | | | | | | | | | | | | | | | * macosx/tclMacOSXFCmd.c: codes and 'hidden' flag, as documented in * tests/macOSXFCmd.test: glob.n; objectified OSType handling in [glob] * unix/tclUnixFile.c: and [file attributes]; fix globbing for hidden files with pattern==NULL arg. [Bug 823329] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* | More bits of ANSIfyingdkf2005-11-111-56/+59
| |
* | allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-311-5/+7
| |
* | Getting more systematic about styledkf2005-07-201-224/+274
| |
* | * generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() todgp2004-12-011-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format. * unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes. * generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form. * unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.