Bug 36413 - Precedence problems when setting debconf-communicate environment
Summary: Precedence problems when setting debconf-communicate environment
Status: RESOLVED FIXED
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 01:54 UTC by Jonny Lamb
Modified: 2011-04-20 23:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
client: fix precedence when assigning strings to a *GStrv (2.47 KB, patch)
2011-04-20 01:54 UTC, Jonny Lamb
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonny Lamb 2011-04-20 01:54:22 UTC
Created attachment 45847 [details] [review]
client: fix precedence when assigning strings to a *GStrv

(I can't find a packagekit-glib2 component?)

Given a ***gchar envp like this:

  *envp = g_new0 (gchar *, 8);

these two are not the same:

  *envp[i]
  (*envp)[i]

The former acts like *(envp[i]).

See the attached patch.
Comment 1 Richard Hughes 2011-04-20 23:28:49 UTC
Applied to master, thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.