bug-findutils
[Top][All Lists]
Advanced

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

[bug #4831] FNM_CASEFOLD problem for crays


From: nobody
Subject: [bug #4831] FNM_CASEFOLD problem for crays
Date: Mon, 18 Aug 2003 17:34:22 -0400
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

=================== BUG #4831: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4831&group_id=61

Submitted by: wendyp                  Project: findutils                    
Submitted on: Mon 08/18/2003 at 21:34
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Originator Name:                      
Originator Email:                     Status:  Open                         
Release:  None                        Fixed Release:  None                  

Summary:  FNM_CASEFOLD problem for crays

Original Submission:  the fnmatch.h file on all crays does not include a 
definition for FNM_CASEFOLD.   the following patches are needed to compile on 
any cray architecture:

$ diff -c ./find/pred.c.orig ./find/pred.c     
*** ./find/pred.c.orig  Mon Aug 18 16:16:53 2003
--- ./find/pred.c       Mon Aug 18 16:20:48 2003
***************
*** 21,26 ****
--- 21,29 ----
  #include "defs.h"
  
  #include <fnmatch.h>
+ #ifdef _CRAY
+ #define FNM_CASEFOLD 0x08
+ #endif /*_CRAY */
  #include <signal.h>
  #include <pwd.h>
  #include <grp.h>

$ diff -c ./locate/locate.c.orig ./locate/locate.c     
*** ./locate/locate.c.orig      Mon Aug 18 16:21:10 2003
--- ./locate/locate.c   Mon Aug 18 16:29:34 2003
***************
*** 64,69 ****
--- 64,72 ----
  #include <sys/stat.h>
  #include <time.h>
  #include <fnmatch.h>
+ #ifdef _CRAY
+ #define FNM_CASEFOLD 0x08
+ #endif /*_CRAY */
  #include <getopt.h>




No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4831&group_id=61

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]