[PATCH] Fix argument inversion in call to sh_makepath() from sh_realpath()

2013-05-27 Thread Julien Thomas
In function sh_realpath() defined in lib/sh/pathphys.c, the arguments passed to sh_makepath() are inverted. This makes the sh_realpath() fail when is not an absolute path because the expected concatenation is /, not the reverse. This problem does not look to be critical, at least in Bash 4.1, bec

Patch for examples/loadables/ln.c: support for -n option

2013-05-27 Thread Julien Thomas
Hi, We use the ln builtin in a project in order to avoid several forks made by calling the coreutils ln executable. Attached is a patch to implement the -n option to the ln builtin, making calls like ln -snf ... doable as with the coreutils version. Feel free to add this patch to the sources