search for: ispunct

Displaying 19 results from an estimated 19 matches for "ispunct".

2006 May 15
20
[PATCH 0/3] xenoprof fixes
These patches address issues in the kernel part of xenoprof: * Ill-advised use of on_each_cpu() can lead to sleep with interrupts disabled. * Race conditions in active_domains code. * Cleanup of active_domains code. Comments welcome. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2017 Mar 21
4
Clang -O0 performs optimizations that undermine dynamic bug-finding tools
...note that that cases exist where no warning is printed. For example, consider the following program: #include <ctype.h> int main() { isalnum(1000000); isalpha(1000000); iscntrl(1000000); isdigit(1000000); isgraph(1000000); islower(1000000); isprint(1000000); ispunct(1000000); isspace(1000000); isupper(1000000); isxdigit(1000000); } The glibc (on my system) implements the macros by calling __ctype_b_loc() which returns a lookup array that can be indexed by values between -128 and 255. Thus, I expected that, when compiling with -O0, the calls above...
2003 Nov 24
1
[PATCH] fix off-by-one correction in ctypes
...} __ctype_inline int islower(int __c) { - return __ctypes[__c+1] & __ctype_lower; + return __ctypes[__c] & __ctype_lower; } __ctype_inline int isprint(int __c) { - return __ctypes[__c+1] & __ctype_print; + return __ctypes[__c] & __ctype_print; } __ctype_inline int ispunct(int __c) { - return __ctypes[__c+1] & __ctype_punct; + return __ctypes[__c] & __ctype_punct; } __ctype_inline int isspace(int __c) { - return __ctypes[__c+1] & __ctype_space; + return __ctypes[__c] & __ctype_space; } __ctype_inline int isupper(int __c) { - return __c...
2004 Jan 24
1
get rid of various warnings, errors in io.h
...ype for `isgraph' /home/mesa/boot/klibc/klibc/include/ctype.h:75: warning: no previous prototype for `islower' /home/mesa/boot/klibc/klibc/include/ctype.h:80: warning: no previous prototype for `isprint' /home/mesa/boot/klibc/klibc/include/ctype.h:85: warning: no previous prototype for `ispunct' /home/mesa/boot/klibc/klibc/include/ctype.h:90: warning: no previous prototype for `isspace' /home/mesa/boot/klibc/klibc/include/ctype.h:95: warning: no previous prototype for `isupper' /home/mesa/boot/klibc/klibc/include/ctype.h:100: warning: no previous prototype for `isxdigit' /...
2007 Nov 23
3
[LLVMdev] Getting rid of the DoesntAccessMemoryFns and OnlyReadsMemoryFns tables
...use they depend on the floating point mode; I think gcc is correct to say this): function LLVM says gcc says -------- --------- -------- isalnum readnone readonly isalpha readnone readonly iscntrl readnone readonly isgraph readnone readonly islower readnone readonly isprint readnone readonly ispunct readnone readonly isspace readnone readonly isupper readnone readonly tolower readnone readonly toupper readnone readonly iswalnum readnone readonly iswalpha readnone readonly iswcntrl readnone readonly iswdigit readnone readonly iswgraph readnone readonly iswlower readnone readonly iswprint r...
2016 Jan 02
3
ssh-keygen: sanitize ANSI escape sequences in key comment
Hi, Today I fiddled around a bit with my OpenSSH public key files, and I noticed that ssh-keygen prints most non-printable characters in the comment as-is when showing the fingerprint of a key. This can lead to confusing output on the terminal when the comment contains ANSI escape characters which are interpreted by the terminal. The attached public key file serves as an example, which, when
2007 Sep 03
2
[git patch] minor fixes
...revious prototype for 'isgraph' usr/klibc/../include/ctype.h:132: warning: no previous prototype for 'islower' usr/klibc/../include/ctype.h:133: warning: no previous prototype for 'isprint' usr/klibc/../include/ctype.h:134: warning: no previous prototype for 'ispunct' usr/klibc/../include/ctype.h:135: warning: no previous prototype for 'isspace' usr/klibc/../include/ctype.h:136: warning: no previous prototype for 'isupper' usr/klibc/../include/ctype.h:137: warning: no previous prototype for 'isxdigit' usr/klibc/../inc...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \ - inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \ - send.o recv.o \ - ctype/isalnum.o ctype/isalpha.o ctype/isascii.o \ - ctype/isblank.o ctype/iscntrl.o ctype/isdigit.o \ - ctype/isgraph.o ctype/islower.o ctype/isprint.o \ - ctype/ispunct.o ctype/isspace.o ctype/isupper.o \ - ctype/isxdigit.o ctype/tolower.o ctype/toupper.o \ - userdb/getgrgid.o userdb/getgrnam.o userdb/getpwnam.o \ - userdb/getpwuid.o userdb/root_group.o userdb/root_user.o +klib-y := abort.o alarm.o asprintf.o assert.o \ + atexit.o atoi.o atoll.o atol.o brk...
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...(const char *, const char *); + +extern int endmntent(FILE *fp); + +#endif /* mntent.h */ diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index c8eabf9..9edc57f 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -55,7 +55,8 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ ctype/ispunct.o ctype/isspace.o ctype/isupper.o \ ctype/isxdigit.o ctype/tolower.o ctype/toupper.o \ userdb/getgrgid.o userdb/getgrnam.o userdb/getpwnam.o \ - userdb/getpwuid.o userdb/root_group.o userdb/root_user.o + userdb/getpwuid.o userdb/root_group.o userdb/root_user.o \ + setmntent.o endmnten...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...(const char *, const char *); + +extern int endmntent(FILE *fp); + +#endif /* mntent.h */ diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index eb04267..842a79f 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -56,7 +56,8 @@ klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ ctype/ispunct.o ctype/isspace.o ctype/isupper.o \ ctype/isxdigit.o ctype/tolower.o ctype/toupper.o \ userdb/getgrgid.o userdb/getgrnam.o userdb/getpwnam.o \ - userdb/getpwuid.o userdb/root_group.o userdb/root_user.o + userdb/getpwuid.o userdb/root_group.o userdb/root_user.o \ + setmntent.o endmnten...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...klibc-build := y -libc-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ +klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ asprintf.o vasprintf.o \ vsscanf.o sscanf.o ctypes.o \ strntoumax.o strntoimax.o \ @@ -52,19 +52,15 @@ libc-y := vsnprintf.o snprintf.o vsprint ctype/ispunct.o ctype/isspace.o ctype/isupper.o \ ctype/isxdigit.o ctype/tolower.o ctype/toupper.o -libc-$(CONFIG_KLIBC_ERRLIST) += errlist.o +klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o ifeq ($(CONFIG_KLIBC_ERRLIST),y) KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST endif -libc-$(CONFIG_KLIBC_ZLIB) += \...
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
...9;\.[ch](\.in)?$$' \ + | grep -v '^gnulib/') && \ + { echo '$(ME): found TAB(s) used for indentation in C sources;'\ + 'use spaces' 1>&2; exit 1; } || : + +ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\ +|isprint|ispunct|isspace|isupper|isxdigit|tolower|toupper + +sc_avoid_ctype_macros: + @grep -E '\b($(ctype_re)) *\(' /dev/null \ + $$($(VC_LIST_EXCEPT)) && \ + { echo "$(ME): don't use ctype macros (use c-ctype.h)" \ + 1>&2; exit 1; } || : + +sc_prohibit_virBufferA...
2010 Aug 09
8
Call for testing: OpenSSH-5.6
Hi, OpenSSH 5.6 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a moderately large release, with a number of new features and bug fixes. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH
2011 Nov 29
18
[PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
The following is a revised patch series to add support for a VM generation ID virtual device for HVM guests. The basic requirements of this device are as follows: - It must be exposed somewhere in ACPI namespace with a _CID of "VM_Gen_Counter". - It must also include a _DDN of "VM_Gen_Counter". - It must contain a _HID object but no particular value is required. - It must
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...r//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/ctype/isprint.o usr/klibc/ctype/isprint.c ppc-linux-gcc -Wp,-MD,usr/klibc/ctype/.ispunct.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/trunk/...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...< (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; extern __const unsigned short int **__ctype_b_loc (void) __attribute__ ((__const)); extern __const __int32_t **__ct...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: