Created on 2005-12-06.03:50:47 by chak, last changed 2009-08-27.14:03:45 by admin.
File name |
Uploaded |
Type |
Edit |
Remove |
unnamed
|
chak,
2005-12-06.03:50:47
|
message/rfc822 |
|
|
msg176 (view) |
Author: chak |
Date: 2005-12-06.03:50:47 |
|
There seems to be an issue with `darcs apply' when the long comment of a
`darcs send'^H^Ht' patch contains special characters.
I am using
JustTesting chak 17 (.../src/c2hs): darcs --version
1.0.4 (unknown)
When attempting to apply the attached patch, I get the appended error
message. The patch itself must be ok, as `darcs pull'ing the same patch
works without problems.
Manuel
PS: I had a quick look at the bug tracker, but didn't see anything
similar yet.
-=- error message follows -=-
darcs: Error parsing patchinfo:
""
""
"[Only match in `checkForOneCUName' if there are no indirections"
"Jelmer Vernooij <jelmer@samba.org>**20051205172623"
""
" Without this patch, the following code:"
""
" #c"
" struct foostruct { char x; };"
" void bar2(struct foostruct **a);"
" #endc"
""
" {#pointer *foostruct as Foo newtype#}"
" test2 = {#call bar2#}"
""
" would give"
""
" foreign import ccall safe \"test-pp.h bar2\""
" bar2 :: ((Foo) -> (IO ()))"
""
" with this patch, it generates:"
""
" foreign import ccall safe \"test-pp.h bar2\""
" bar2 :: ((Pt"
Attachments
|
msg2074 (view) |
Author: kowey |
Date: 2007-08-16.09:29:58 |
|
The patch seems to apply if you remove the part between the scissors
===============================8<===============================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDlHjjPa9Uoh7vUnYRAqWcAJ4yRohtKKIIS1hAK1iXyyjz6rIpcgCeNCmM
YL6J8iHouVKhdhcjgGhfFb0=
=rHPj
-----END PGP SIGNATURE-----
--=_--
.
===============================8<===============================
Is this related to issue26 (MIME stuff) at all?
|
msg2075 (view) |
Author: kowey |
Date: 2007-08-16.09:33:17 |
|
I forgot to mention, that stuff immediately follows the patch bundle hash, so it
could just be our bundle-parsing code not expecting trailing characters. No
comment on whether or not it is reasonable to do so.
|
msg2935 (view) |
Author: droundy |
Date: 2008-01-30.22:09:06 |
|
I've (belatedly) found this bug. We were just calling error instead of
returning Nothing in the PatchInfo parser. Duh, we're foolish. A simple grep
for the error message showed the problem!
|
|
Date |
User |
Action |
Args |
2005-12-06 03:50:47 | chak | create | |
2005-12-07 14:35:36 | droundy | set | nosy:
droundy, tommy, chak, jelmer |
2006-03-26 00:10:23 | jch | set | nosy:
droundy, tommy, chak, jelmer title: darcs patch: Support mapping struct and union names t... (and 2 more)] -> Problem parsing patch names with special characters. |
2007-08-16 09:30:00 | kowey | set | status: unread -> unknown nosy:
+ kowey, beschmi messages:
+ msg2074 |
2007-08-16 09:33:18 | kowey | set | messages:
+ msg2075 |
2008-01-30 22:09:07 | droundy | set | status: unknown -> resolved-in-unstable nosy:
droundy, tommy, beschmi, kowey, chak, jelmer messages:
+ msg2935 |
2008-09-04 21:27:49 | admin | set | status: resolved-in-unstable -> resolved nosy:
+ dagit |
2009-08-06 17:47:38 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, chak, jelmer |
2009-08-06 20:43:26 | admin | set | nosy:
- beschmi |
2009-08-10 22:04:48 | admin | set | nosy:
+ chak, jelmer, - markstos, darcs-devel, zooko, jast, Serware, mornfall |
2009-08-11 00:00:59 | admin | set | nosy:
- dagit |
2009-08-25 17:59:23 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 14:03:45 | admin | set | nosy:
tommy, kowey, darcs-devel, chak, jelmer, thorkilnaur, dmitry.kurochkin |
|