The bitmask of attributes to export was repeatedly defined in three different places, and that fix changed only one of them. src/cmd/ksh93/sh/name.c: - Single point of truth: define ATTR_TO_EXPORT macro with the bitmask of all the attributes to export (excluding NV_RDONLY). - attstore(), pushnam(), sh_envgen(): Use the ATTR_TO_EXPORT macro, removing superflous NV_RDONLY handling from the former two. |
||
|---|---|---|
| .. | ||
| cmd | ||
| lib | ||
| Mamfile | ||