diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-02-14 10:41:19 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-02-14 10:41:19 +0000 |
commit | ce5da22b7076167a515a6a0b602b22b67022e5ff (patch) | |
tree | 2de75577a4acfc9897ffb9ed4f14f84b6bf1ef54 /sysutils/mkisofs-devel/files/patch-ac | |
parent | Yipes, committed the wrong one. This is the INDEX file for 3.1R. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_1_0'.release/3.1.0
Diffstat (limited to 'sysutils/mkisofs-devel/files/patch-ac')
-rw-r--r-- | sysutils/mkisofs-devel/files/patch-ac | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sysutils/mkisofs-devel/files/patch-ac b/sysutils/mkisofs-devel/files/patch-ac deleted file mode 100644 index b0ca127e41a8..000000000000 --- a/sysutils/mkisofs-devel/files/patch-ac +++ /dev/null @@ -1,31 +0,0 @@ ---- name.c.orig Sat Mar 15 04:02:46 1997 -+++ name.c Mon Apr 28 11:50:47 1997 -@@ -57,6 +57,7 @@ - const char * pnt; - int priority = 32767; - char * result; -+ char * copy; - int seen_dot = 0; - int seen_semic = 0; - int tildes = 0; -@@ -104,12 +105,17 @@ - last_dot = strrchr (pnt,'.'); - if( (last_dot != NULL) - && ( (last_dot[1] == '~') -- || (last_dot[1] == '\0') - || (last_dot[1] == '\0')) ) - { -+ /* -+ * We gotta copy the string first, to work around its constness. -+ */ -+ copy = alloca (strlen(name) + 1); -+ memcpy (copy, name, strlen(name) + 1); -+ pnt = copy; -+ last_dot = strrchr (pnt,'.'); - c = last_dot; - *c = '\0'; - last_dot = strrchr (pnt,'.'); -- *c = '.'; - } - - while(*pnt) |