Displaying 20 results from an estimated 26 matches for "isgraph".
Did you mean:
dsgraph
2014 Sep 27
2
[PATCH 1/2] Implement realpath()
....o rename.o stat.o \
lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
- readlink.o select.o symlink.o pipe.o \
+ readlink.o realpath.o select.o symlink.o pipe.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 \
--- /dev/null
+++ b/usr/klibc/realpath.c
@@ -0,0 +1,147 @@
+#include <errno.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+static char *__realpath(const char *name, char *resolved_name, in...
2017 Mar 21
4
Clang -O0 performs optimizations that undermine dynamic bug-finding tools
...the invalid access
away (which is legit since it is UB). However, 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...
2012 Aug 02
0
[LLVMdev] Problem to generate an executable file of 403.gcc (SPEC2006)
...believe I must pass some compilation flags to clang, but I do not know
which ones. The errors look like:
/tmp/403-HRnVZ5.o: In function `check_format_info_main':
403.gcc.linked.rbc:(.text+0x2ec94): undefined reference to `ISDIGIT'
403.gcc.linked.rbc:(.text+0x2f642): undefined reference to `ISGRAPH'
403.gcc.linked.rbc:(.text+0x326b8): undefined reference to `ISXDIGIT'
403.gcc.linked.rbc:(.text+0x994c2): undefined reference to `IS_NVSPACE'
403.gcc.linked.rbc:(.text+0x9aad3): undefined reference to `ISIDNUM'
403.gcc.linked.rbc:(.text+0x9ec89): undefined reference to `ISPRINT'...
2003 Nov 24
1
[PATCH] fix off-by-one correction in ctypes
...(__c >= 0) && !(__ctypes[__c+1] & __ctype_print);
+ return (__c >= 0) && !(__ctypes[__c] & __ctype_print);
}
__ctype_inline int isdigit(int __c)
{
- return __ctypes[__c+1] & __ctype_digit;
+ return __ctypes[__c] & __ctype_digit;
}
__ctype_inline int isgraph(int __c)
{
- return __ctypes[__c+1] &
+ return __ctypes[__c] &
(__ctype_upper|__ctype_lower|__ctype_digit|__ctype_punct);
}
__ctype_inline int islower(int __c)
{
- return __ctypes[__c+1] & __ctype_lower;
+ return __ctypes[__c] & __ctype_lower;
}
__ctype_inline int...
2014 Sep 29
0
[PATCH v2 1/2] Implement realpath()
....o rename.o stat.o \
lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
- readlink.o select.o symlink.o pipe.o \
+ readlink.o realpath.o select.o symlink.o pipe.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 \
--- /dev/null
+++ b/usr/klibc/realpath.c
@@ -0,0 +1,45 @@
+#include <fcntl.h>
+#include <limits.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+/*
+ * Note that this requires name to refer to an existing file....
2004 Jan 24
1
get rid of various warnings, errors in io.h
...ype
for `isblank'
/home/mesa/boot/klibc/klibc/include/ctype.h:59: warning: no previous prototype
for `iscntrl'
/home/mesa/boot/klibc/klibc/include/ctype.h:64: warning: no previous prototype
for `isdigit'
/home/mesa/boot/klibc/klibc/include/ctype.h:69: warning: no previous prototype
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'
/ho...
2016 Jan 06
0
[klibc:master] Implement realpath()
....o rename.o stat.o \
lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
- readlink.o select.o symlink.o pipe.o \
+ readlink.o realpath.o select.o symlink.o pipe.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 \
diff --git a/usr/klibc/realpath.c b/usr/klibc/realpath.c
new file mode 100644
index 0000000..1474b1e
--- /dev/null
+++ b/usr/klibc/realpath.c
@@ -0,0 +1,49 @@
+#include <fcntl.h>
+#include <limits.h>
+#include <stdio.h>
+#include <stdlib.h>...
2007 Nov 23
3
[LLVMdev] Getting rid of the DoesntAccessMemoryFns and OnlyReadsMemoryFns tables
...using -ffast-math,
otherwise gcc says that a bunch of math ones are readonly because
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 r...
2007 Sep 03
2
[git patch] minor fixes
...revious prototype for 'isblank'
usr/klibc/../include/ctype.h:129: warning: no previous prototype for 'iscntrl'
usr/klibc/../include/ctype.h:130: warning: no previous prototype for 'isdigit'
usr/klibc/../include/ctype.h:131: warning: no previous 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/../incl...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...8.o mrand48.o nrand48.o srand48.o seed48.o \
- inet/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 asprin...
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and
'mount -o defaults' to work.
The first two patches were previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49
2008 Jan 29
1
"ROracle" Packages is not to be installed (PR#10652)
...-O2 -c RS-Oracle.c
-o RS-Oracle.o
RS-Oracle.c: In function `RS_Ora_prepareStatement':
RS-Oracle.c:2382: warning: implicit declaration of function `isalpha'
RS-Oracle.c:2383: warning: implicit declaration of function `toupper'
RS-Oracle.c:2385: warning: implicit declaration of function `isgraph'
RS-Oracle.c: In function `RS_Ora_setSToOraMappings':
RS-Oracle.c:4673: warning: implicit declaration of function `isdigit'
RS-Oracle.c: In function `RS_Ora_cpyDataFrameToOra':
RS-Oracle.c:4849: warning: assignment discards qualifiers from pointer target
type
RS-Oracle.c: In functio...
2009 Feb 09
0
ROracle - ORA-02005: implicit (-1) length not valid for this bind or define datatype
...e.c -o
RS-Oracle.o
RS-Oracle.c: In function 'RS_Ora_prepareStatement':
RS-Oracle.c:2382: warning: implicit declaration of function 'isalpha'
RS-Oracle.c:2383: warning: implicit declaration of function 'toupper'
RS-Oracle.c:2385: warning: implicit declaration of function 'isgraph'
RS-Oracle.c: In function 'RS_Ora_setSToOraMappings':
RS-Oracle.c:4673: warning: implicit declaration of function 'isdigit'
RS-Oracle.c: In function 'RS_Ora_cpyDataFrameToOra':
RS-Oracle.c:4849: warning: assignment discards qualifiers from pointer
target type
RS-Oracle.c...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...o \
+ access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
+ lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
+ readlink.o select.o symlink.o open64.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 \
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index 4630d14..c2f36e7 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -106,31 +106,31 @@ int swapoff(const char *);
/*
* Inode-related system calls
*/
-int access(const char *,...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...v.o \
+ access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
+ lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
+ readlink.o select.o symlink.o pipe.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 \
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index 55d8e36..12f57ac 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -106,34 +106,34 @@ int swapoff(const char *);
/*
* Inode-related system calls
*/
-int access(const char *,...
2009 Aug 03
1
use gnulib, and begin to pass its "make syntax-check" tests
...EPT) \
+ | grep -E '\.[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; } ||...
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
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello,
Here is V2 of the arm64 support for klibc patch set.
Notable changes since the original series:
* fp regs dropped from setjmp/longjmp
* chmod, lstat and stat re-implemented with *at functions.
* open64 merged into open.
As with the original, this series is to be applied against the latest
klibc, just after
25a66fa README.klibc: update build information
V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello,
This series introduces arm64 support to klibc.
I've rebased the work from Neil Williams and Anil Singhar into the
following three patches. Most of the code changes are due to new
syscall implementations being needed for arm64 as a only a minimal set
of syscalls are defined in the arm64 kernel.
This series is to be applied against the latest klibc, just after
25a66fa README.klibc:
2003 Oct 08
4
OS/390 openssh
.../* This test is true for all EBCDIC character dialects */
+#include "includes.h"
+#endif
+
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
#define isvisible(c) (((u_int)(c) <= UCHAR_MAX && isascii((u_char)(c)) && \
isgraph((u_char)(c))) || \
@@ -109,7 +113,7 @@
goto done;
}
}
- if (((c & 0177) == ' ') || (flag & VIS_OCTAL)) {
+ if (((ASC(c) & 0177) == ASC(' ')) || (flag & VIS_OCTAL)) {
*dst++ = '\\';
*dst++ = ((u_char)c >> 6 & 07) + '0';...