magic/utils
Tim Edwards 0c36365db8 Revised the file opening routine with respect to the search paths.
Previously, a file path beginning with "/", "./", or "../" would be
searched for verbatim and no searching would be done over paths.
This behavior now occurs for a leading "/" only.  File paths with
"./" or "../" will search for the file with the path verbatim, then
proceed to search for the file with each search path prepended to
the filename as usual.  This solves a problem for reusable, non- PDK
IP blocks, where the IP block may have an abstract view pointing to
a GDS file which is specified as being located at "../gds/<file>".
This file would not be found if the IP block was included into
another project.  Now it can be done if the path to the IP is given
by "addpath".
2024-08-16 17:45:10 -04:00
..
LIBdbio.c Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00
LIBmain.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
LIBtextio.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
Makefile Moved new work on magic-8.4 (experimental merging of micromagic bplane structure 2019-03-22 19:58:47 -04:00
args.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
child.c A handful of changes after applying pull request #191 from 2022-10-29 09:57:41 -04:00
displays.proto Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
dqueue.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
dqueue.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
finddisp.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
flock.c Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00
flsbuf.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
fraction.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
geofast.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
geometry.c Added two new features: (1) Default substrate name: Added an 2020-06-01 16:49:59 -04:00
geometry.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
getrect.c Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00
hash.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
hash.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
heap.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
heap.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
ihash.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
ihash.h This corrects the issue raised in pull request #75 that breaks the 2021-06-12 20:29:09 -04:00
list.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
list.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
lookup.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
lookupany.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
lookupfull.c Add missing includes 2022-01-10 14:01:36 -05:00
macros.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
macros.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
magic.h Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00
magsgtty.h quick and dirty emscripten port 2023-07-12 00:31:37 +09:00
main.c Inadvertently introduced a segfault on exit on the last commit, 2024-01-01 15:36:05 -05:00
main.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
malloc.c quick and dirty emscripten port 2023-07-12 00:31:37 +09:00
malloc.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
match.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
maxrect.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
maxrect.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
netlist.c quick and dirty emscripten port 2023-07-12 00:31:37 +09:00
netlist.h Updated the version to go along with the merge of pull request 2023-03-10 11:14:23 -05:00
niceabort.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
parser.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
parsetest.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
path.c Revised the file opening routine with respect to the search paths. 2024-08-16 17:45:10 -04:00
paths.h Use proper path for more(1) on OpenBSD / NetBSD and DragonFly 2022-08-05 22:44:29 -04:00
pathvisit.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
pathvisit.h C99 code compat when configured with no TCL support 2022-10-29 06:07:46 +02:00
port.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
printstuff.c Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
runstats.c Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00
runstats.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
set.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
show.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
signals.c configure: add asmjs-unknown-emscripten target 2023-07-12 04:44:37 +09:00
signals.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
stack.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
stack.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
strdup.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
styles.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
tech.c Added an experimental option for the cifoutput tech file section to 2023-01-13 17:21:37 -05:00
tech.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
touchingtypes.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
touchtypes.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
undo.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
undo.h Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
utils.h Added the ability to read compressed .mag files (writing is not yet 2022-11-02 17:12:46 -04:00