Displaying 3 results from an estimated 3 matches for "fspec".
Did you mean:
spec
2017 May 24
2
memcmp code fragment
...ulian Seward and try to get the change
in a new release of bzip2, and from there we may need to ask the AOSP
folks to update bzip2. AOSP has the last released bzip2 from Sept 2010.
For SPEC benchmarketing, doing the right thing wouldn't help.
Maybe we should put this idiom and others under a -fspec flag ;-)
Sebastian
2003 May 14
0
vnconfig(8), bin/45754
...v,l);
@@ -447,8 +455,10 @@
if (flags & VN_ENABLE) {
if (flags & VN_SWAP) {
rv = swapon(dev);
- if (rv)
+ if (rv) {
+ status--;
warn("swapon");
+ }
else if (verbose)
printf("%s: swapping enabled\n", dev);
}
@@ -459,15 +469,17 @@
args.fspec = dev;
mflags = (flags & VN_MOUNTRO) ? MNT_RDONLY : 0;
rv = mount("ufs", oarg, mflags, &args);
- if (rv)
+ if (rv) {
+ status--;
warn("mount");
+ }
else if (verbose)
printf("%s: mounted on %s\n", dev, oarg);
}
}
/* done: */...
2017 May 19
4
memcmp code fragment
Hi,
Look at the following code:
Look at the following C code seqence:
unsigned char mainGtU ( unsigned int i1,
unsigned int i2,
unsigned char* block)
{
unsigned char c1, c2;
c1 = block[i1]; c2 = block[i2];
if (c1 != c2) return (c1 > c2);
i1++; i2++;
c1 = block[i1]; c2 = block[i2];
if (c1 != c2) return (c1 > c2);
i1++; i2++;
..
..