search for: x7f

Displaying 20 results from an estimated 41 matches for "x7f".

Did you mean: x0f
2015 Jul 01
5
boot... round 2
.../ldlinux/readconfig.c index 381b43f..dcdf91b 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -330,7 +330,7 @@ static char *copy_sysappend_string(char *dst, const char *src) char c; while ((c = *src++)) { - if (c <= ' ' || c == '\x7f') { + if (c <= ' ' && c == '\x7f') { if (!was_space) *dst++ = '_'; was_space = true; diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index 257b042..b7814be 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -299...
2015 Jul 02
4
boot... round 2
...ere is a bootable/isolinux-6.04 image: Rawhide-Live-Xfce-702-604-boot-only.iso, with the "boot-enable" patch - tantamount to: --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -299,7 +299,7 @@ char c; while ((c = *src++)) { - if (c <= ' ' || c == '\x7f') { + if (c <= ' ' && c == '\x7f') { ... And that's it. ;) I thank you for your participation.
2014 Nov 05
0
SYSAPPEND not replacing spaces
...2014-10-06 12:27 :44.000000000 -0400 +++ syslinux-6.03.dmi/com32/elflink/ldlinux/readconfig.c 2014-11-05 10:02 :10.000000000 -0500 @@ -330,7 +330,7 @@ static char *copy_sysappend_string(char char c; while ((c = *src++)) { - if (c <= ' ' && c == '\x7f') { + if (c <= ' ' || c == '\x7f') { if (!was_space) *dst++ = '_'; was_space = true; diff -pruN syslinux-6.03.orig/com32/menu/readconfig.c syslinux-6.03.dmi/com32/me nu/readconfig.c --- syslinux-6.03.orig/com32/menu/readco...
2015 Jul 02
0
boot... round 2
Hi, poma wrote: > - if (c <= ' ' || c == '\x7f') { > + if (c <= ' ' && c == '\x7f') { As Geert Stappers pointed out (and can be verified by a simple test program), the reinstated term (c <= ' ' && c == '\x7f') evaluates always as false, because ('\x7f' <= ' ...
2015 Jul 02
1
boot... round 2
On 02.07.2015 11:10, Thomas Schmitt wrote: > Hi, > > poma wrote: >> - if (c <= ' ' || c == '\x7f') { >> + if (c <= ' ' && c == '\x7f') { > > As Geert Stappers pointed out (and can be verified by a > simple test program), the reinstated term > (c <= ' ' && c == '\x7f') > evaluates always as false, because (...
2015 Jul 02
6
boot... round 2
...y case it seems a good idea to interpret the character more explicitely. To my experience, one signdness change causes a little tree of consequential signedness changes or questionable cast operations. How about the following instead ? if ((c >= 0 && c <= ' ') || c == '\x7f') { Besides code improvement there is the riddle of how gcc 5 can spoil the result. > gcc does have an -funsigned-char option. So question to poma: Can it be that the tested installation of gcc 5 uses this option by default ? I read through the mailing list archive but could not find a...
2015 Jun 30
4
boot... round 2
On Tue, Jun 30, 2015 at 4:29 PM, poma <pomidorabelisima at gmail.com> wrote: > "A real serial port that can reliably operate at 115200 8n1 may be > necessary." > > Gene, is there something special in "A real serial port" usage, compared to emulated? I should restate: A serial port that responds on BIOS IO port 3F8h that can reliably operate at 115200 8n1 may
2006 Oct 26
1
Error: invalid multibyte string
I'm observing the following on different platforms: > parse(text='"\\x7F"') expression("\177") > parse(text='"\\x80"') Error: invalid multibyte string ... > parse(text='"\\xFF"') Error: invalid multibyte string However, cat("\x7F\n\x80\n...\xFF\n") works. Using R --vanilla. SYSTEMS GIVING THE ER...
2015 Jul 03
0
boot... round 2
...interpret the character > more explicitely. To my experience, one signdness change causes > a little tree of consequential signedness changes or questionable > cast operations. > How about the following instead ? > > if ((c >= 0 && c <= ' ') || c == '\x7f') { > - "unsigned char c;" does not solve the problem - "c >= 0 && c <= ' '" solves the problem for the current git --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -299,7 +299,7 @@ char c; while ((c = *src++)) { - if (...
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...inal size 446 bytes> 0 libguestfs: trace: pwrite_device = 446 libguestfs: trace: pread_device "/dev/sda" 2097152 512 libguestfs: trace: pread_device = "R\xe8(\x01t\x08V\xbe3\x81\xe8L\x01^\xbf\xf4\x81f\x8b-\x83}\x08\x00\x0f\x84\xe9\x00\x80|\xff\x00tFf\x8b\x1df\x8bM\x04f1\xc0\xb0\x7f9E\x08\x7f\x03\x8bE\x08)E\x08f\x01\x05f\x83U\x04\x00\xc7\x04\x10\x00\x89D\x02f\x89\\x08f\x89L\x0c\xc7D\x06\x00pP\xc7D\x04\x00\x00\xb4B\xcd\x13\x0f\x82\xbb\x00\xbb\x00p\xebhf\x8bE\x04f\x09\xc0\x0f\x85\xa3\x00f\x8b\x05f1\xd2f\xf74\x88T\x0af1\xd2f\xf7t\x04\x88T\x0b\x89D\x0c;D\x08\x0f\x8d\x83\x00\x8b\x0...
2015 Jul 02
0
boot... round 2
.....dcdf91b 100644 > --- a/com32/elflink/ldlinux/readconfig.c > +++ b/com32/elflink/ldlinux/readconfig.c > @@ -330,7 +330,7 @@ static char *copy_sysappend_string(char *dst, const char *src) > char c; > > while ((c = *src++)) { > - if (c <= ' ' || c == '\x7f') { > + if (c <= ' ' && c == '\x7f') { > if (!was_space) > *dst++ = '_'; > was_space = true; I think I see the problem. "char" should be "unsigned char"... -hpa
2015 Jul 03
0
boot... round 2
...ex bc0182f..b0251e4 100644 --- a/com32/include/menu.h +++ b/com32/include/menu.h @@ -195,7 +195,7 @@ void local_cursor_enable(bool); static inline int my_isspace(char c) { - return (unsigned char)c <= ' '; + return (unsigned char)c <= ' ' || (unsigned char)c == '\x7f'; } int my_isxdigit(char c); diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index b7814be..a433fad 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -299,7 +299,7 @@ static char *copy_sysappend_string(char *dst, const char *src) char c; while...
2015 Jul 03
7
boot... round 2
...dex bc0182f..b0251e4 100644 --- a/com32/include/menu.h +++ b/com32/include/menu.h @@ -195,7 +195,7 @@ void local_cursor_enable(bool); static inline int my_isspace(char c) { - return (unsigned char)c <= ' '; + return (unsigned char)c <= ' ' || (unsigned char)c == '\x7f'; } int my_isxdigit(char c); diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index 257b042..a433fad 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -299,7 +299,7 @@ static char *copy_sysappend_string(char *dst, const char *src) char c; while ((...
2015 Jul 02
0
boot... round 2
...ive-Xfce-702-604-boot-only.iso, > with the "boot-enable" patch - tantamount to: > > --- a/com32/menu/readconfig.c > +++ b/com32/menu/readconfig.c > @@ -299,7 +299,7 @@ > char c; > > while ((c = *src++)) { > - if (c <= ' ' || c == '\x7f') { > + if (c <= ' ' && c == '\x7f') { > ... > > > And that's it. ;) > > I thank you for your participation. As Geert Stappers and Thomas Schmitt pointed out, that is never true. Therefore, there's a bug executed within that codeblo...
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
..."Red Hat VirtIO SCSI controller" in + let provider = "Red Hat, Inc." in - let regedits = [ - controller_path @ [ controller_offset ], - [ "DriverDate", REG_SZ "6-4-2014"; - "DriverDateData", REG_BINARY "\x00\x40\x90\xed\x87\x7f\xcf\x01"; - "DriverDesc", REG_SZ "Red Hat VirtIO SCSI controller"; - "DriverVersion", REG_SZ "62.71.104.8600" (* XXX *); - "InfPath", REG_SZ oem_inf; - "InfSection", REG_SZ "rhelscsi_inst"; -...
2018 Jun 13
1
Samba 4.8 RODC not working
...ver role = active directory domain controller It the only line with "server" in it, i've just checked the smb.conf you posted. Try this, run # backup cp /etc/samba/smb.conf{,-TEST) # This will remove all special characters except the keyboard characters perl -i -pe 's/[^\x20-\x7f]//g' /etc/samba/smb.conf-TEST diff /etc/samba/smb.conf /etc/samba/smb.conf-TEST Check if you see/get differences. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: woensdag...
2012 Dec 07
0
Rsync / ssh high cpu load
...rocess 29297 attached - interrupt to quit --- SIGTTOU (Stopped (tty output)) @ 0 (0) --- rt_sigreturn(0x16) = -1 EINTR (Interrupted system call) ioctl(4, SNDCTL_TMR_CONTINUE or TCSETSF, {c_iflags=0x500, c_oflags=0x5, c_cflags=0xbf, c_lflags=0x8a3b, c_line=0, c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"}) = ? ERESTARTSYS (To be restarted) --- SIGTTOU (Stopped (tty output)) @ 0 (0) --- rt_sigreturn(0x16) = -1 EINTR (Interrupted system call) ioctl(4, SNDCTL_TMR_CONTINUE or TCSETSF, {c_iflags=0x500, c_oflags=0x...
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
...ace: filesize "/var/lib/urandom/random-seed" libguestfs: trace: filesize = 512 libguestfs: trace: truncate "/var/lib/urandom/random-seed" libguestfs: trace: truncate = 0 libguestfs: trace: write_append "/var/lib/urandom/random-seed" "\x87}\x96\x13\xa73\xd6\xc8\x7f\x93\xd0)\x1d\xcd\xf1\xab\xca?`[u\x80\x0b\xd4\xebIwC\xd2\x94\xfcm\xc9!\x0fj\x04\xe9\x92h\xdc\xf5\x07\xc3\xc5\xd4\xae\x1f\xff\xc9\xb0K%\x9f\xad\xff{Y\xbfT\xb2\x92\x0b\x03\xde<\xb2\xfe\xc7\xeb\x01\xb6\xd4!\xdb\xb1\x18\x1d6\xa9\xb9SO#\xae8\xb80\x1b|\xa4\xc3V\xda\x0e%\x81\xc1\x9a\xbfS\xa5\xeb\x94\xb9...
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
.../var/lib/urandom/random-seed" > libguestfs: trace: filesize = 512 > libguestfs: trace: truncate "/var/lib/urandom/random-seed" > libguestfs: trace: truncate = 0 > libguestfs: trace: write_append "/var/lib/urandom/random-seed" "\x87}\x96\x13\xa73\xd6\xc8\x7f\x93\xd0)\x1d\xcd\xf1\xab\xca?`[u\x80\x0b\xd4\xebIwC\xd2\x94\xfcm\xc9!\x0fj\x04\xe9\x92h\xdc\xf5\x07\xc3\xc5\xd4\xae\x1f\xff\xc9\xb0K%\x9f\xad\xff{Y\xbfT\xb2\x92\x0b\x03\xde<\xb2\xfe\xc7\xeb\x01\xb6\xd4!\xdb\xb1\x18\x1d6\xa9\xb9SO#\xae8\xb80\x1b|\xa4\xc3V\xda\x0e%\x81\xc1\x9a\xbfS\xa5\xeb\x94\xb9...
2013 Dec 09
2
How can I find nonstandard or control characters in a large file?
I have a humongous csv file containing census data, far too big to read into RAM. I have been trying to extract individual columns from this file using the colbycol package. This works for certain subsets of the columns, but not for others. I have not yet been able to precisely identify the problem columns, as there are 731 columns and running colbycol on the file on my old slow machine takes