author | Junio C Hamano <junkio@cox.net> | |
Thu, 10 Aug 2006 05:47:25 +0000 (22:47 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 10 Aug 2006 05:47:25 +0000 (22:47 -0700) | ||
commit | 2c71810b90d122abdcc57fc3cb62174d16e77b58 | |
tree | 79225a991410e83220007dcc04389cf0ecbfe304 | tree | snapshot |
parent | 943d5b73e2adf3cd0d3f72c9a06c75681a4ea3ca | commit | diff |
git-apply: applying a patch to make a symlink shorter.
The internal representation of the result is counted string
(i.e. char *buf and ulong size), which is fine for writing out
to regular file, but throwing the buf at symlink(2) was a
no-no.
Reported by Willy Tarreau.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The internal representation of the result is counted string
(i.e. char *buf and ulong size), which is fine for writing out
to regular file, but throwing the buf at symlink(2) was a
no-no.
Reported by Willy Tarreau.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c | diff | blob | history | |
t/t4115-apply-symlink.sh | [new file with mode: 0755] | blob |