summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some -Wconversion warningsjan.nijtmans2025-04-011-17/+17
|\
| * Fix some -Wconversion warningscore-conversion-warningjan.nijtmans2025-03-301-12/+12
|/
* merge 8.7: avoid unneeded (but expensive) path normalization for several ↵sebres2024-09-171-2/+2
|\ | | | | | | | | file subsystem commands and operations; closes [02d5d65d70adab97] and probably [411f52ed87e313dd49e2]
| * merge 8.6 (fix attempt for [02d5d65d70adab97], however the small bottleneck ↵sebres2024-09-171-2/+2
| |\ | | | | | | | | | is still visible)
| | * even if cwd is non native, but path is not relative we can safely use ↵sebres2024-09-131-2/+2
| | | | | | | | | | | | | | | translated path instead of normalized path; fixes file access regression [02d5d65d70adab97]
* | | Make function definitions have right argument styledkf2024-06-041-2/+3
| | |
* | | merge core-8-branchdkf2024-05-241-6/+2
|\ \ \ | |/ /
| * | merge core-8-6-branchdkf2024-05-241-6/+2
| |\ \ | | |/
| | * Use TclDStringToObj a bit moredkf2024-05-241-6/+2
| | |
* | | Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use ↵jan.nijtmans2024-05-241-10/+6
|\ \ \ | |/ / | | | | | | Tcl_DStringToObj where possible
| * | Merge 8.6jan.nijtmans2024-05-241-13/+7
| |\ \ | | |/
| | * Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use ↵jan.nijtmans2024-05-241-26/+24
| | | | | | | | | | | | TclDStringToObj where possible
| | * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-1/+1
| | | | | | | | | corrections in history.tcl and tcltest.test.
| * | (backport) more spacing/formatting tweaks. For now, macosx/unix/win only.jan.nijtmans2024-03-201-8/+8
| | |
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-37/+23
| | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
* | | Clean up a lot of small whitespace issues dkf2024-05-131-23/+37
| | | | | | | | | This is the dullest commit ever. Sorry.
* | | more spacing/formatting tweaksdkf2024-03-191-2/+2
| | |
* | | Merge 8.7 (Some Tcl_GetStringFromObj -> TclGetStringFromObj internal changes)jan.nijtmans2024-03-191-2/+2
|\ \ \ | |/ /
* | | Rebase to 9.0. Add more filname encoding checksjan.nijtmans2023-07-271-15/+53
|\ \ \
| * \ \ Merge 9.0jan.nijtmans2023-07-191-1/+1
| |\ \ \ | |/ / / |/| | |
| * | | Use "strict" in almost all commands. Only "glob" and environment variables ↵core-tip-657-candidatejan.nijtmans2023-07-141-16/+54
|/ / / | | | | | | | | | are left out. (Experimental)
* | | Merge 8.7jan.nijtmans2023-06-021-2/+5
|\ \ \ | |/ /
| * | silence compiler warningdgp2023-06-021-3/+2
| | |
| * | New (internal) macro TclAttemptInitStringRep()jan.nijtmans2023-06-021-12/+15
| | |
* | | Fix warnings generated on disable8api buildsapnadkarni2023-04-211-2/+2
| | |
* | | Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-1/+1
|\ \ \ | |/ / | | | | | | non-comment corrections in history.tcl and tcltest.test.
| * | Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-1/+1
| | | | | | | | | corrections in history.tcl and tcltest.test.
* | | Merge 9.0jan.nijtmans2023-03-081-10/+10
|\ \ \
| * | | More -Wconversion warning fixesjan.nijtmans2023-03-081-10/+10
| | | |
* | | | Compiles and runs. Tests still to be ported.apnadkarni2023-02-251-9/+9
|/ / /
* | | Merge 8.7jan.nijtmans2022-12-011-3/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2022-12-011-4/+2
| |\ \ | | |/
| | * Backport TIP #402: General Platform UNC Support from 8.7, but only for ↵jan.nijtmans2022-12-011-3/+2
| | | | | | | | | | | | Cygwin and QNX. This was already partially present, but was never completed.
* | | Merge 8.7jan.nijtmans2022-11-201-2/+2
|\ \ \ | |/ /
| * | Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no ↵jan.nijtmans2022-11-201-2/+2
| |\ \ | | |/ | | | | | | NO votes expected)
* | | Merge 8.7jan.nijtmans2022-07-191-14/+14
|\ \ \ | |/ /
| * | Make a start converting -1 -> TCL_INDEX_NONE where appropriatejan.nijtmans2022-07-191-14/+14
| | |
* | | Fix compiler warnings, due to the use of macro'sjan.nijtmans2022-03-211-11/+10
| | |
* | | Merge 8.7jan.nijtmans2021-08-231-2/+2
|\ \ \ | |/ /
| * | Make everything compile warning-free when TCL_THREADS=0jan.nijtmans2021-08-231-2/+2
| |\ \ | | |/
| | * Merge 8.5jan.nijtmans2021-08-231-16/+17
| | |\
| | | * Add FALLTHRU markers, to help GCC emit less false warningsjan.nijtmans2021-08-231-8/+21
| | | |
* | | | Merge 8.7jan.nijtmans2021-06-291-0/+23
|\ \ \ \ | |/ / /
| * | | Use fstat64() in stead of fstat() on platforms which support it.jan.nijtmans2021-06-291-0/+23
| | | |
* | | | Merge 8.7jan.nijtmans2021-02-231-2/+2
|\ \ \ \ | |/ / /
| * | | Merge 8.6. Fix Cygwin compilejan.nijtmans2021-02-231-1/+1
| |\ \ \ | | |/ /
| | * | Merge 8.5jan.nijtmans2021-02-231-3/+3
| | |\ \ | | | |/
| | | * Revise buffer-sizes used in GetModuleFileNameW() calls. Available ↵jan.nijtmans2021-02-231-3/+3
| | | | | | | | | | | | | | | | buffer-size reported to GetModuleFileNameW() was not always accurate
| | | * Clean-up some unnecessary spacing.jan.nijtmans2020-04-171-1/+1
| | | |
| | * | Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-1/+1
| | | | | | | | | | | | | | | | size_t or int