Commit Graph

41 Commits

Author SHA1 Message Date
mainzelm 7b13b9bebb + Exit with status 1 in case of an error
+ Display the condition in the top-level scsh handler
2004-03-11 10:17:41 +00:00
mainzelm 622ef7a99f Install handler in CALL-TERMINALLY so scsh with exit with status 1 in case of an error. 2004-03-11 09:54:33 +00:00
mainzelm bcbd16ff0a + Exit with status 0 if an error occurs during exiting.
+ Minor cleanup
2004-03-09 09:20:00 +00:00
mainzelm 69248ecad2 Better error message if $SCSH_LIB_DIRS contains garbage. 2004-03-03 10:33:35 +00:00
mainzelm 90ba284584 Revert last check-in. Reading again through the manual, I now think that it's maybe better to complain if -e was specified without -sfd or -s. 2004-02-20 15:27:29 +00:00
mainzelm 388d2f7b2b Better checking for the inter-switch dependencies.
In particular, the code now complains if -e was used with an
end-option, switches to non-interactive-mode for -e and ensures that
-ds,-dm, and -de always get -s <script> as end-option.

In addition, better diagnostics is provided.
2004-02-20 15:03:45 +00:00
mainzelm e603ebb626 + Preseve quotation of [],? and * while processing braces.
+ Unquote constant patterns before file existence check.
2004-02-09 12:16:02 +00:00
mainzelm bdf5f8e09f Fixed bug in MAKE-STRING-PORT-FILTER: An argument to read-string! was missing 2004-02-04 08:37:43 +00:00
mainzelm 57fbec4ef2 Renamed lib-dir-list to lib-dirs-list. 2004-02-03 12:49:40 +00:00
mainzelm 0a899ac0fd Use strcmp to check for empty arguments. 2004-02-02 17:18:39 +00:00
mainzelm 8fd66025f0 Use /etc instead of /bin in tests that change dirctories. 2004-02-02 15:17:36 +00:00
mainzelm 6582c616a3 Changed the copyright notices concerning David Albertz on behalf of
Dr. Olin Shivers. Quoting Olin: "Forget it. David was a student who
worked for me -- paid money to hack."
2004-01-27 13:50:48 +00:00
mainzelm 11880601dd + Pass prog_name from main to process_args
+ During argument processing, skip empty arguments inserted by the
meta-argument expander
2004-01-27 13:39:34 +00:00
sperber 33fe47abca Fix the various SELECT-like procedures for 0 timeouts. 2004-01-16 21:42:17 +00:00
mainzelm 03ab628c93 Moved the library directories facility to its own module. 2004-01-13 13:21:20 +00:00
mainzelm af976ddde2 Removed accidentally committed expansion of paths in SCSH_LIB_DIR. 2004-01-13 11:56:00 +00:00
mainzelm da53963d82 Fixed a bug in the parser of "-" sre forms. 2004-01-09 22:51:07 +00:00
mainzelm 065d686d21 Minor enhancement for the configure module: Return machine, vendor and os. 2004-01-09 14:55:33 +00:00
mainzelm 1fa4ea33ac -> 0.6.6 CVS 2004-01-09 13:53:42 +00:00
mainzelm 8df6b631e1 Changed the copyright notice on behalf of Dr. Olin Shivers.
Quoting Olin: "What do you all want the copyright to be? What are the
issues that drive the copyright needs? You Germans have been out there
using this code in the Real World, so I'm happy to just make things be
whatever your experience has shown to be needed."
2004-01-09 13:09:26 +00:00
mainzelm 9742102f34 Changed the copyright notices concerning David Albertz on behalf of
Dr. Olin Shivers. Quoting Olin: "Forget it. David was a student who
worked for me -- paid money to hack."
2004-01-09 13:01:39 +00:00
mainzelm dfa05a0c5c Added structure CONFIGURE to access values from ./configure. 2003-12-19 14:08:58 +00:00
mainzelm 6b5e75bd3f Let PATH-LIST->FILE-NAME return "/" for '("").
'("") is the value returned by (split-file-name "/") and
PATH-LIST->FILE-NAME is supposed to be the inverse of SPLIT-FILE-NAME.
2003-12-19 08:27:34 +00:00
mainzelm 2aac5914d6 Fix:
FIELD-READER did return (values EOF #()) instead of (values EOF '()) on an empty port.
2003-12-17 10:08:17 +00:00
mainzelm 8dfdf2c868 Added -lel switch. There is currently no way to deal with relative
file names in the exec scripts so this might just get removed again.
2003-11-13 14:44:40 +00:00
mainzelm 9b29fff8e1 Ensure and document that SEEK works on unbuffered ports only. 2003-11-12 11:07:29 +00:00
mainzelm ed3cc365b0 Fix for
> (regexp-search? (posix-string->regexp "$") "test")
 Error: exception
	 wrong-type-argument
	 (checked-record-ref '#{Unspecific} '#{Record-type 46 cre} 1)

by Peter Wang
2003-10-23 15:58:08 +00:00
mainzelm acb0c8265f Fix for (rx (|)) by Peter Wang 2003-10-23 15:55:55 +00:00
mainzelm e60e77997f First step towards 0.6.5. 2003-10-23 15:20:49 +00:00
mainzelm 9d206dae0c Set DEFAULT-LIB-DIRS to a useful default 2003-10-15 08:00:58 +00:00
mainzelm 3198c650f8 Avoid calling SOCKET-OPTION twice in case of an error: the first call
will already clear the error status.
2003-10-15 07:59:51 +00:00
mainzelm 1f1081b8bf Fix memory leak in format_date. 2003-10-13 09:52:30 +00:00
mainzelm 1521521116 Fixed memory leak in scheme_cwd: a temporary buffer was not freed
after entering the value in the scheme heap.
2003-10-13 09:50:30 +00:00
mainzelm 37b31fc65a Better error message for socket-connect 2003-10-09 16:51:10 +00:00
mainzelm ca97d21195 Make the default library directories configurable by
--with-lib-dirs-list and let it default to $prefix/lib/scsh/modules.
2003-10-09 13:43:54 +00:00
mainzelm 9d93d5a61e After fork/pipe, make the ports returned by the pipe the
current-in/output-ports. This corresponds to the intended semantics of
side-effecting the standard ports and tells the GC that the ports are
alive.
2003-07-21 12:02:55 +00:00
mainzelm c350288e41 OS specific definitions for GNU Hurd by Andreas Voegele. 2003-06-25 08:34:31 +00:00
mainzelm 3c92196d13 Use s48_enter_integer instead of s48_enter_fixnum for errno to please GNU Hurd.
(Patch from Andreas Voegele)
2003-06-25 08:26:06 +00:00
mainzelm 1f31b70242 Specify "%s" as format string for syslog to prevent the message from
being interpreted as a format string (Patch by Peter Wang).

This fixes #745444.
2003-06-16 16:52:48 +00:00
mainzelm 29258b6adc Removed message argument form errno-error. 2003-05-12 12:52:13 +00:00
mainzelm 3e397f65c5 GC_PROTECT some variables. 2003-05-01 10:21:33 +00:00