8 Commits

Author SHA1 Message Date
Paul Koning
db9cb5a9ee Add default extensions to .include, .library 2022-06-26 13:13:03 -04:00
Olaf Seibert
5098927591 Fix a memory leak in my_searchenv2(). 2021-11-14 18:47:56 +01:00
Olaf Seibert
e46f8ee2c7 Add a simple file name parser to my_searchenv(),
to try to find the requested file without device, directory and/or in
lower case.
2015-05-31 22:00:04 +02:00
Olaf Seibert
d38f4009c4 Crank up the warning levels, and adjust the code to silence ...
several compilers:
- gcc version 4.5.3 (NetBSD nb2 20110806)
- gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
- Ubuntu clang version 3.6.0-2ubuntu1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)

The warnings were mostly about local variables shadowing others,
unused function parameters, and C++ style comments. Some variables were
indeed used before set.

Note that on Linux, using -std=c99 does stupid things like *remove* the
declaration of strdup() from <string.h>. Therefore I've reluctantly used
-std=gnu99.
2015-05-27 21:51:26 +02:00
Olaf Seibert
1e9e8023b3 Fix my_searchenv(). 2015-05-12 22:42:39 +02:00
Olaf Seibert
749b0a5d73 Add the .LIBRARY /string/ directive.
If no -p options or MCALL environment variable are given, pretend the
search path is the current directory ".".
2015-05-12 21:32:01 +02:00
Sergey Svishchev
6a2afc3fa7 Import J Hoppe's 20090427 release from http://retrocmp.com/tools/macro-11-on-windows 2013-02-15 23:50:38 +04:00
Sergey Svishchev
3b8e141917 Initial import of 2001 code from http://www.dbit.com/pub/linux/macro11/ 2013-02-15 23:44:59 +04:00