Re: [PATCH] Remove isys/str.c, replace calls with glib.h or string.h calls.

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

 



Hi,


On 03/22/2010 10:07 PM, David Cantrell wrote:
str.c was from a time when loader was still a statically linked binary.
Times have changed.  Removed str.c and replaced calls with either
string.h or glib.h functions.

For g_ascii_strup() and g_ascii_strdown(), those functions dup the
passed in string, change it, and return that.
---
-    } else if (strcount(str, ':')>  1) {
+    } else if (strstr(str, ":")) {

Or even strchr(str, ':') ?



Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux