[Bug 524147] Review Request: libnetdevname -Development environment for libnetdevname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=524147





--- Comment #15 from narendra_k@xxxxxxxx  2009-09-29 07:25:06 EDT ---
(In reply to comment #13)
> That still requires the caller allocate the string; having the API return a
> newly-allocated string seems simpler to me. Andy, Matt - other ideas?  

The caller(the apps) allocates the memory and caller(apps) frees the memory is
easier in terms of tracking and freeing the memory allocated than the library
allocating the memory. Also some applications like "ip" have a scenario where
an "input device" and an "output device" have to be specified in the
commandline. I thought such scenarios are easier to handle with this model. 

Any thoughts ?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]