293 Commits

Author SHA256 Message Date
Dr. Werner Fink
19b36d8eab .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=133
2012-12-20 14:03:59 +00:00
Stephan Kulow
253d0202f9 Accepting request 139565 from shells
- add explicit buildrequire on grof for man pages (forwarded request 139463 from coolo)

OBS-URL: https://build.opensuse.org/request/show/139565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=84
2012-11-02 15:40:43 +00:00
Dr. Werner Fink
efcc79ddda Accepting request 139463 from home:coolo:branches:openSUSE:Factory
- add explicit buildrequire on grof for man pages

OBS-URL: https://build.opensuse.org/request/show/139463
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=131
2012-10-27 15:03:41 +00:00
Stephan Kulow
43057cde52 Accepting request 139271 from shells
- Make last patch smart that is use /dev/shm for temporary file
  descriptors

- Add a workaround for filled /tmp file systems (bnc#786134)
- Check for subshell if tmp file can be used otherwise use a
  a pipe (bnc#786134)
- Restore shell variables before any outpur will be placed in
  a temp file or buffer (bnc#786134)

- Be able to export justified and zerofilled variables (bnc#785360)
- This requires that variables with this attributes should be really
  cleared if unset

OBS-URL: https://build.opensuse.org/request/show/139271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=83
2012-10-26 15:11:32 +00:00
Dr. Werner Fink
3a2e68bbd5 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=129
2012-10-25 12:12:07 +00:00
Dr. Werner Fink
d282bb808d .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=128
2012-10-23 16:04:15 +00:00
Dr. Werner Fink
8f37f5f00b .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=127
2012-10-19 15:22:56 +00:00
Stephan Kulow
e81429effe Accepting request 138476 from shells
- Do not chrash if the value of an environment variable is NULL (bnc#785266)

OBS-URL: https://build.opensuse.org/request/show/138476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=82
2012-10-19 11:32:05 +00:00
Dr. Werner Fink
01ccc63b32 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=125
2012-10-17 09:34:22 +00:00
Stephan Kulow
1ea6045023 Accepting request 134897 from shells
- Add polling builtin patch (bnc #779888)

OBS-URL: https://build.opensuse.org/request/show/134897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=81
2012-09-23 19:06:29 +00:00
Dr. Werner Fink
8d8ec94126 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=123
2012-09-18 14:19:10 +00:00
Dr. Werner Fink
af06ff8784 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=122
2012-09-18 14:18:04 +00:00
Stephan Kulow
2058936b2a Accepting request 128902 from shells
- Fix qemu-user build by not evaluating ps output that doesn't reflect
  what the virtual processes see (forwarded request 128876 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/128902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=80
2012-07-30 18:31:28 +00:00
Dr. Werner Fink
e7ef0f5fce Accepting request 128876 from openSUSE:Factory:ARM
- Fix qemu-user build by not evaluating ps output that doesn't reflect
  what the virtual processes see

OBS-URL: https://build.opensuse.org/request/show/128876
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=120
2012-07-25 07:13:53 +00:00
Stephan Kulow
e338e0626e Accepting request 123805 from shells
- Do not ignore backslashes/escapes for read builtin (bnc#765171)

OBS-URL: https://build.opensuse.org/request/show/123805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=78
2012-06-06 16:02:29 +00:00
Dr. Werner Fink
4c4cff2503 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=118
2012-06-06 12:18:05 +00:00
Stephan Kulow
6fe0120ac8 Accepting request 121907 from shells
- Better check on update for postun scriptlet and error correct with
  an posttrans scriptlet, that is do not remove /etc/ksh.kshrc on
  an update of an older ksh version (bnc#759730)

OBS-URL: https://build.opensuse.org/request/show/121907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=77
2012-05-26 11:09:18 +00:00
Dr. Werner Fink
24a61ecb21 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=116
2012-05-23 10:35:27 +00:00
Stephan Kulow
ceab268a2c Accepting request 109966 from shells
- Port and readd memory leak patch to put_ifs() of sh/init.c
- Make sigexec more smart to help the pty helper binary to work as
  this helper is used in the test suite

- Update to 2012-02-29 of ksh93u+ for final version
  12-02-29 A bug which could lead to a core dump when more that four shared
	   libraries were added with the builtin command has been fixed.
  12-02-29 Fixed a few bugs which caused SIGCHLD to be blocked preventing
	   background jobs from being reaped until a foreground job was run.
  12-02-27 A bug in which sh -c for a simple command caused a fork() has been
	   fixed.
  12-02-27 A timing bug on systems such as AIX that doesn't support vfork()
	   that could cause the exist status to get lost has been fixed.
  12-02-22 A private file descriptor that was not close-on-exec for a command
	   substitution and has been fixed.
  pty:
  12-02-28 pty.c: change --verbose[=level] to --debug=level
  libast:
  12-03-10 misc/optget.c: HELP_index for "PLUGIN" too
  12-02-29 include/shcmd.h: PLUGIN_VERSION 20111111 for cdt disc/meth change
  12-02-29 comp/spawnveg.c: fix sigcritical() to include waitpid() for internal child
  12-02-29 malloc.c: make __malloc_hook initialization thread safe
  12-02-24 comp/iconv.c: fix winix UTF-8 vs UCS-2 over-conversion
  12-02-24 astsa/*.h: clean up header guards
  12-02-24 astsa/astsa.omk: clean up standalone old make makefile interactions
  12-02-21 misc/cmdarg.c: fix bug that set argv[0]
  libcoshell:
  12-02-22 coinit.c: handle non-identifier export var names
  libpp:
  12-02-29 pp.probe: handle predefined function-like macro definitions

OBS-URL: https://build.opensuse.org/request/show/109966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=76
2012-03-26 12:01:22 +00:00
Dr. Werner Fink
6cd06caeb9 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=114
2012-03-15 12:44:41 +00:00
Stephan Kulow
a9ce6b12ce Accepting request 108335 from shells
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/108335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=75
2012-03-07 19:09:31 +00:00
Dr. Werner Fink
8e1c3925e3 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=112
2012-02-27 15:25:48 +00:00
Stephan Kulow
4cde68ba44 Accepting request 106791 from shells
- Remove check-build.sh as the memory leaks are fixed now

- Avoid possible problems pointed out by a gcc warning about overflow
  in arraysubscript, that is use full size of structure Namval as
  well as access this area at position 0 

- Update to 2012-02-14 of ksh93u+ which includes the real fix for
  the IFS crash, the ulimit, and the mem leaks (bnc#743244, bnc#744355,
  bnc#744589, and bnc#744992) as well as other fixes like:
  12-02-14 A bug in which ^Z did not stop a pipeline when the last component
           was a shell built-in has been fixed.
  12-02-14 getconf("PATH") used to initialize ed(1) path.
  12-02-13 +In earlier version read from standard input would fail when called
           from the KEYBD trap.  Now read options -N, -n, and -t should work
           when called from a KEYBD trap.
  12-02-13 If FCEDIT is not set and fc is invoked without the -e option,
           ed will be invoked if found instead of /bin/ed. 
  12-02-10 Another bug in the saving and restoring of IFS in a subshell
           that caused a core dump has been fixed.
  12-02-08 A bug in which .sh.fun disciplines could be cleared after a
           function completes has been fixed.
  12-02-08 A bug in job control in which the foregroup process group was not
           set correctly after restarting a stopped pipeline has been fixed.
  12-02-07 A bug in which numbers with leading zeros could be treated as
           octal constants outside of ((...)) has been fixed.
  12-02-06 A bug in arithmetic with compound variables containing multiple
           array elements has been fixed.
  libast:
  12-02-10 sfvprintf.c: fix 1 byte too long buffer access
  12-02-07 malloc.c/features/vmalloc: add gnu __malloc_hook tests

OBS-URL: https://build.opensuse.org/request/show/106791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=74
2012-02-25 06:30:19 +00:00
Dr. Werner Fink
0b9966db63 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=110
2012-02-24 11:41:47 +00:00
Dr. Werner Fink
8e9cd0f8b9 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=109
2012-02-21 18:06:19 +00:00
Dr. Werner Fink
674977cbdf .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=108
2012-02-21 13:53:32 +00:00
Dr. Werner Fink
b4455b8398 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=107
2012-02-21 12:46:30 +00:00
Dr. Werner Fink
e1cc91a962 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=106
2012-02-21 10:48:33 +00:00
Dr. Werner Fink
9d37123a18 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=105
2012-02-20 15:42:00 +00:00
Dr. Werner Fink
157122ac31 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=104
2012-02-20 14:35:23 +00:00
Dr. Werner Fink
3b6efa7b50 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=103
2012-02-17 16:47:59 +00:00
Dr. Werner Fink
ddd0342b79 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=102
2012-02-17 13:53:53 +00:00
Dr. Werner Fink
9ce3d74d0a .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=101
2012-02-17 13:29:02 +00:00
Dr. Werner Fink
e5c3a5f7ff .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=100
2012-02-17 13:25:26 +00:00
Dr. Werner Fink
797b3ca110 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=99
2012-02-17 10:11:52 +00:00
Dr. Werner Fink
e79ee0613e .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=98
2012-02-16 17:31:07 +00:00
Dr. Werner Fink
5b6d55b93b .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=97
2012-02-16 13:19:50 +00:00
Dr. Werner Fink
d35793240d .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=96
2012-02-13 14:18:04 +00:00
Dr. Werner Fink
c082b4710e .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=95
2012-02-10 17:12:19 +00:00
Dr. Werner Fink
25b1a98498 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=94
2012-02-10 16:47:32 +00:00
Dr. Werner Fink
202eda382f .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=93
2012-02-09 14:17:14 +00:00
Dr. Werner Fink
0bbff2ba96 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=92
2012-02-09 09:56:55 +00:00
Stephan Kulow
191a01e930 Accepting request 102927 from shells
- Update to 2012-02-02 of ksh93u+ which includes some of our patches
  and fixes for the observerd memory leaks
  12-02-02  A bug in the ulimit option table was fixed.
  12-01-26  A bug in which a set command that did not change monitor could
            effect the behavior of the monitor when monitor mode is on is fixed.
  12-01-21 +You can now test whether the shell implements a math function using
            typeset -f .sh.math.name, where name is the name of the function.
  12-01-21  A bug in which typeset -L and typeset -R did not handle multibyte
            characters correctly has been fixed.
  12-01-20  A bug that could cause the shell to hang waiting for an incorrect
            job pid has been fixed.
  12-01-19  A memory leak which occured for a nested command subtiution has been
            fixed.
  12-01-17  A bug in which typeset -u PS1 could enable the uppercase attribute
            for some other variables, for exampe, HISTFILE has been fixed.
  12-01-16  A bug in which .sh.match was not correct after a substring match when
            the replacement string contained a substring match has been fixed.
  12-01-12 +Files that are sourced from profile files are now read and executed
            one command at a time so that alias definitions take effect as they
            do for profile files.
  12-01-12  A bug in which whence -p would find a function if one existed and
            there was no command of that name on PATH.
  12-01-11  Change b_* prototype (int, char**, void*) => (int, char**, Shbltin_t*).
  12-01-05  A bug in which read was not terminating for a signal that had a trap
            set has been fixed.
  libast:
  12-01-31 spawnveg.c: fix transient bug that made invalid setpgid() call
  12-01-27 pathpath.c: fix buffer size math when internal allocation requested
  12-01-24 malloc.c: fix _vmkeep() bug that did not return previous state
  12-01-23 malloc.c: add VMALLOC_OPTIONS=break to try sbrk() block allocator first

OBS-URL: https://build.opensuse.org/request/show/102927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=73
2012-02-07 21:12:55 +00:00
Dr. Werner Fink
e2bd345208 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=89
2012-02-06 12:36:57 +00:00
Dr. Werner Fink
283d94fd2b .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=88
2012-02-03 10:50:49 +00:00
Dr. Werner Fink
b5fa098b38 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=87
2012-02-03 10:32:06 +00:00
Dr. Werner Fink
5cf9be4e55 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=86
2012-02-03 09:46:17 +00:00
Dr. Werner Fink
bc3d72c166 .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=85
2012-02-02 12:07:46 +00:00
Stephan Kulow
3a3c23b9c3 Accepting request 101404 from shells
- Make ex really work that is vim is required for build otherwise
  libpp API does not work correct

- Make sigexec using a contolling terminal

- Avoid compiler optimizers which may cause asynchrony behaviour

- Update to 2012-01-01 of ksh93u+ which includes some of our patches
  12-01-01 A timing problem with >; has been fixed.
  12-01-01 A macro expansion memory leak has been fixed.
  11-12-26 A bug in array assignments of the form arr=( $arr[i] ...) in which
           arr was not unset before the assignment has been fixed. 
  11-12-20 A number of code changes were made based on the results of errors
           indicated by static code analysis.
  11-12-13 In vi edit mode a lteral <TAB> can now be entered by preceding it
           with a backshash.
  11-12-13 When tab is entered for completion after a ' or ", the ' and "
           characters are no longer deleted.
  11-12-07 A bug in which a program in the current direcotry with a . in the
           name could fail to execute when both PATH and FPATH end with :. has
           been fixed.
  11-12-07 I fixed a bug in which a variable expansion in a large here-document
           could be expanded to a null string.
  11-12-06 An optimization to read was added in the case the the read command
           was redirected from a file.
  11-12-06 Changes were made to make the line limit for read unlimited by
           default.
  11-12-05 A bug in which unsetting an array variable did not completely clear
           the variable in some cases has been fixed.
  11-12-02 +The printf alternative character # when applied to the %q format will

OBS-URL: https://build.opensuse.org/request/show/101404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=72
2012-01-25 14:01:59 +00:00
Dr. Werner Fink
fcd1020dfe .
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=82
2012-01-24 18:43:43 +00:00