Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 52347
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ralf Schmelter <ralf.schmelter@t-online.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52347 depends on: Show dependency tree
Bug 52347 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-29 06:43 0000
Please add "~amd64" to the KEYWORDS for app-arch/advancecomp-1.10.

There is a remaining not critical problem with handling filenames on probably all 64bit platforms, which can be fixed with the patch below.
diff -ruNd advancecomp-1.10.orig/utility.cc advancecomp-1.10/utility.cc
--- advancecomp-1.10.orig/utility.cc	2004-04-06 20:02:25.000000000 +0200
+++ advancecomp-1.10/utility.cc	2004-05-29 17:33:00.098153880 +0200
@@ -416,7 +416,7 @@
 {
 	ostringstream os;
 
-	unsigned pos = path.rfind('.');
+	string::size_type pos = path.rfind('.');
 
 	if (pos == string::npos) 
 		os << path << ".";
@@ -433,7 +433,7 @@
  */
 string file_dir(const string& path) throw ()
 {
-	unsigned pos = path.rfind('/');
+	string::size_type pos = path.rfind('/');
 	if (pos == string::npos) {
 		return "";
 	} else {
@@ -446,7 +446,7 @@
  */
 string file_name(const string& path) throw ()
 {
-	unsigned pos = path.rfind('/');
+	string::size_type pos = path.rfind('/');
 	if (pos == string::npos) {
 		return path;
 	} else {
@@ -459,7 +459,7 @@
  */
 string file_basepath(const string& path) throw ()
 {
-	unsigned dot = path.rfind('.');
+	string::size_type dot = path.rfind('.');
 	if (dot == string::npos)
 		return path;
 	else
@@ -472,7 +472,7 @@
 string file_basename(const string& path) throw ()
 { 
 	string name = file_name(path);
-	unsigned dot = name.rfind('.');
+	string::size_type dot = name.rfind('.');
 	if (dot == string::npos)
 		return name;
 	else
@@ -485,7 +485,7 @@
 string file_ext(const string& path) throw ()
 { 
 	string name = file_name(path);
-	unsigned dot = name.rfind('.');
+	string::size_type dot = name.rfind('.');
 	if (dot == string::npos)
 		return "";
 	else

------- Comment #1 From Danny van Dyk (RETIRED) 2004-05-29 17:57:12 0000 -------
In CVS now, thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug