unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count
@ 2011-01-26  5:05 Mark H Weaver
  0 siblings, 0 replies; only message in thread
From: Mark H Weaver @ 2011-01-26  5:05 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 44 bytes --]

This is a small and obvious fix.

    Mark


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Patch to Fix incorrect FUNC_NAME for scm_current_processor_count --]
[-- Type: text/x-diff, Size: 1398 bytes --]

From 004fa8237d60d234eb91b97d022458014c1eb978 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Tue, 25 Jan 2011 18:29:47 -0500
Subject: [PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count

* libguile/posix.c (scm_current_processor_count):
  Fix incorrect FUNC_NAME (was s_scm_total_processor_count)
---
 libguile/posix.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/posix.c b/libguile/posix.c
index 95beb6e..939e248 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
  * 
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -2015,7 +2015,7 @@ SCM_DEFINE (scm_current_processor_count, "current-processor-count", 0, 0, 0,
 	    "processors available to the current process.  See\n"
 	    "@code{setaffinity} and @code{getaffinity} for more\n"
 	    "information.\n")
-#define FUNC_NAME s_scm_total_processor_count
+#define FUNC_NAME s_scm_current_processor_count
 {
   return scm_from_ulong (num_processors (NPROC_CURRENT));
 }
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-26  5:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-26  5:05 [PATCH] Fix incorrect FUNC_NAME for scm_current_processor_count Mark H Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).