Skip to content

Releases: StefanoBelli/sysh

v0.3.10

01 Aug 13:13
Compare
Choose a tag to compare

got some envs

31 Mar 22:27
Compare
Choose a tag to compare
  • smalloc is a libc-independent memory allocator, using mmap (may be used freely in other projects, I reccomend fun projects only. It is a very very basic algorithm and may cause high fragmentation and poor performance overall. However, we're only having some fun huh?)

  • smalloc is used to fully implement a "sysh" environment support

  • new "syntax" allows to set variables (already set and new ones, no unset)

$ % CC = gcc
$ %
<number of set env vars>
$ % new = var_set
$ envctl unset new

to unset a variable use the long envctl unset, using % VAR = will lead to segv

  • Executable size:
> ldd sysh
	not a dynamic executable
> ls -lah sysh
-rwxr-xr-x 1 ssynx ssynx 16K  1 apr 00.20 sysh*
> strip sysh
> ls -lah sysh
-rwxr-xr-x 1 ssynx ssynx 8,6K  1 apr 00.20 sysh*

Minor but important bugfix

28 Jan 16:19
Compare
Choose a tag to compare
  • sysh_getstatus now provides exit status for whatever program you run
  • previously, could not detect correctly a segmentation fault (fixed)
  • "sysh version 0.3.1-emma" banner

Still dedicated to her, we do it for every 0.3.z release ;)

v0.3.0-emma

26 Jan 20:06
Compare
Choose a tag to compare
  • Provided implementation for execvp
  • sysh_getstatus command to get return code on internal builtins and/or segfaults (no process exit code)
    NOTE:
    • using sysh_getstatus command won't alter current status
    • launching programs won't alter current status
      In general, all those program that won't change the last operation status.

dedicated to Emma :*