#1140: config/gen/platform/generic/env.c unsetenv() out of sync
-----------------------+----------------------------------------------------
Reporter: doughera | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: configure | Version: 1.7.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------+----------------------------------------------------
Revision r41961 fixed an unsetenv() bug on Windows (see TT #1093)
but it turns out the exact same error is also present in the "generic"
version of this file in config/gen/platform/generic/env.c.
I started to work up a patch to make the parallel change to the generic
file, but then I realized that those two files are almost identical in
effect, but have drifted apart. Is there a good reason for this code
duplication, or should both files be combined, perhaps with a few
judicious Win32 #ifdef statements. Would a patch to re-combine the two be
welcome, or is the preference to keep them separate?
Along a similar vein, I wonder how many of the differences between the
platform/openbsd/ and platform/netbsd/ files are truly significant.
Carrying the current arrangement further, I wonder why there's no freebsd
or dragonflybsd directory. I seek to avoid pointless duplication.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1140>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets