Re: Linux 2.6.20-rc2

2006-12-24 Thread Andreas Schwab
Linus Torvalds <[EMAIL PROTECTED]> writes: > Yu Luming (1): > ACPI: video: Add dev argument for backlight_device_register Fix compilation of via-pmu-backlight. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- drivers/macintosh/via-pmu-backlight.c |2 +-

Re: Mark bitrevX() functions as const

2006-12-11 Thread Andreas Schwab
Jeff Garzik <[EMAIL PROTECTED]> writes: > * another annotation to consider is C99 keyword 'restrict'. This is useless as long as we compile with -fno-strict-aliasing (and I don't think this will ever change). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: Linux should define ENOTSUP

2006-12-07 Thread Andreas Schwab
Theodore Tso <[EMAIL PROTECTED]> writes: > On Thu, Dec 07, 2006 at 02:59:48PM +0100, Andreas Schwab wrote: >> Theodore Tso <[EMAIL PROTECTED]> writes: >> >> > Can you please quote chapter and verse (in POSIX) where it states that >> > ENOTSUP

Re: Linux should define ENOTSUP

2006-12-07 Thread Andreas Schwab
e except as noted below." (And there is no exception for ENOTSUP/EOPNOTSUP yet.) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now f

Re: Subtleties of __attribute__((packed))

2006-12-07 Thread Andreas Schwab
an the maximum alignment of the containing members. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Andreas Schwab
Jan Blunck <[EMAIL PROTECTED]> writes: > Well, right ... and where do you see a structure of packed members? Read <http://sourceware.org/ml/binutils/2006-12/msg00039.html>. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5,

Re: Subtleties of __attribute__((packed))

2006-12-06 Thread Andreas Schwab
Jan Blunck <[EMAIL PROTECTED]> writes: > Maybe the arm backend is somehow broken. A packed structure is something quite different than a structure of packed members. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Ge

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Andreas Schwab
"Leisner, Martin" <[EMAIL PROTECTED]> writes: > hmmm...I looked at that -- that's extract and passthrough, but not create... No, it's copy-out and copy-pass. It does not make sense for copy-in. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux P

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Andreas Schwab
all files created to the specified USER and/or GROUP Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for

Re: why can't I remove a kernel module (or: what uses a given module)?

2006-12-03 Thread Andreas Schwab
Tomasz Chmielewski <[EMAIL PROTECTED]> writes: > What was using the module in the first scenario (I couldn't remove the > module)? Check lsmod for modules depending on this one. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße

Re: [patch 2.6.19-rc6] Stop gcc 4.1.0 optimizing wait_hpet_tick away

2006-12-01 Thread Andreas Schwab
"David Schwartz" <[EMAIL PROTECTED]> writes: > The problem is that '*(volatile unsigned int *)' results in a 'volatile > unsigned int'. No, it doesn't. Values don't have qualifiers, only objects have. Qualifiers on rvalues are meaningle

Re: [patch 1/3] mm: pagecache write deadlocks zerolength fix

2006-11-30 Thread Andreas Schwab
Nick Piggin <[EMAIL PROTECTED]> writes: > On Thu, Nov 30, 2006 at 11:15:39AM +0100, Andreas Schwab wrote: >> Nick Piggin <[EMAIL PROTECTED]> writes: >> >> > writev with a zero-length segment is a noop, and we shouldn't return >> > EFAULT. >&

Re: [patch 1/3] mm: pagecache write deadlocks zerolength fix

2006-11-30 Thread Andreas Schwab
Nick Piggin <[EMAIL PROTECTED]> writes: > writev with a zero-length segment is a noop, and we shouldn't return EFAULT. AFAICS the callers of these functions never pass a zero length. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfelds

Re: [PATCH] bogus cast in bio.c

2005-09-09 Thread Andreas Schwab
[EMAIL PROTECTED] writes: > void * is not the same as void *... IMHO it should. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And

Re: [PATCH] quiet non-x86 option ROM warnings

2005-09-04 Thread Andreas Schwab
quot;, pci_name(rinfo->pdev), BIOS_IN16(0)); While you are at it you could also add the missing space. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4

2.6.13-rc7-git2 crashes on iBook

2005-08-28 Thread Andreas Schwab
. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from this list: send the line "unsubscribe l

Re: 2.6.13-rc7 compile failures (was: Re: Fix up mmap of /dev/kmem)

2005-08-24 Thread Andreas Schwab
integer of different size > | linux-m68k-2.6.13-rc7/drivers/char/mem.c:267: invalid operands to binary << Try this: Add parens around macro parameters. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- include/asm-m68k/page.h.~1.14.~ 2004-05-26 20:10:15.0 +0200 +++ inc

Re: Undefined behaviour with get_cpu_vendor

2005-08-17 Thread Andreas Schwab
u32 h, l, features; > - extern void get_cpu_vendor(struct cpuinfo_x86*); > + extern void get_cpu_vendor(struct cpuinfo_x86*, int); Move the declaration to a header and include that here. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstr

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-16 Thread Andreas Schwab
vamsi krishna <[EMAIL PROTECTED]> writes: > example /lib/libc-2.2.4.so size 6094859got mapped 3 times with > permissions 'r-xp' , '---p' and 'rw-p' from the bottom. Note the file offset. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]

Re: [PATCH] PPC64: Fix UP kernel build

2005-08-04 Thread Andreas Schwab
2.6/arch/ppc64/kernel/machine_kexec.c 2005-08-03 20:39:49.0 > -0500 > @@ -243,13 +243,17 @@ static void kexec_prepare_cpus(void) > > static void kexec_prepare_cpus(void) > { > + extern void smp_release_cpus(void); Please put this in a header. Andreas. -- Andreas Schwab,

Re: Linus's git tree broken?

2005-07-17 Thread Andreas Schwab
You need to use the rsync method, http does not work with Linus' tree. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something

Re: [PATCH] ppc64: improve g5 sound headphone mute

2005-04-16 Thread Andreas Schwab
. There's still a minor problem: when booting with line-out plugged (didn't try headphone yet) the initial volume settings are still not right. Unplugging and plugging again fixes this. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5,

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
rking, but unfortunately on the line-out I get nearly no output. I have pushed both the master and pcm control to the maximum and still barely hear anything. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerpr

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
send me a tarball of your device-tree ? Will do. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&q

Re: [PATCH] ppc64: very basic desktop g5 sound support (#2)

2005-04-12 Thread Andreas Schwab
und a bit longer until you are ready with the rewrite. Keep up the good work! Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for so

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-09 Thread Andreas Schwab
0 into 1x mode agpgart: Putting AGP V2 device at :00:10.0 into 1x mode radeonfb_setcolreg: INPLL radeonfb_setcolreg: OUTPLL radeonfb_setcolreg: OUTPLL ... last three lines repeated 63 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-08 Thread Andreas Schwab
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > On Fri, 2005-04-08 at 01:58 +0200, Andreas Schwab wrote: >> Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: >> >> > Yes, that's very extreme, I suspect somebody is banging on set_par or >> &

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
adeonfb_setcolreg: radeon_pll_errata_after_data last message repeated 191 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
.0 into 1x mode kernel: agpgart: Putting AGP V2 device at :00:10.0 into 1x mode kernel: radeon_pll_errata_after_data last message repeated 191 times Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-07 Thread Andreas Schwab
he other way. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from th

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-06 Thread Andreas Schwab
does. Without the sleep, switching is as fast as before. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely diffe

Re: [PATCH] radeonfb: (#2) Implement proper workarounds for PLL accesses

2005-04-05 Thread Andreas Schwab
(iBook G3). It makes mode switching to take an extraordinary amount of time, ie. when switching away from X it takes about 2-3 seconds until the console is restored. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fi

Re: Use of C99 int types

2005-04-03 Thread Andreas Schwab
32 u32 > #endif How about using just unsigned long instead? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completel

Re: Squashfs without ./..

2005-03-24 Thread Andreas Schwab
;First, file systems are not required to implement ".." (only "." is >>magical, ".." is a courtesy). > > Heh, what would happen if .. disappeared? "." and ".." are handled in the VFS. No filesystem code ever sees them during lo

Re: [PATCH 1/6] freepgt: free_pgtables use vma list

2005-03-23 Thread Andreas Schwab
m68k > and sparc32 come to mind, though I might be mistaken. On m68k we don't allow addresses above 0xF000. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D

Re: [2.6 patch] drivers/cdrom/gscd.c: kill dead code

2005-03-22 Thread Andreas Schwab
if (result != 6) { > - cmd_end(); > - return; > - } I'd rather guess that (result != 6 || result == 0x0E) is borken, since it's equivalent to (result != 6). Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE L

Re: [RFC][PATCH] new timeofday core subsystem (v. A3)

2005-03-12 Thread Andreas Schwab
FUNCTION, >> +.read_fnct = jiffies_read, >> +.mask = (cycle_t)~0, > > Not sure this is right. The type of 0 is 'int' and the ~ will happen > before the cast to a potentially longer type. If you want an all-one value for any unsigned type then (type)-1 is the mos

Re: ptrace and setuid problem

2005-03-06 Thread Andreas Schwab
Tom Horsley <[EMAIL PROTECTED]> writes: > If I exec a setuid program under ptrace, I can read the image via > PEEKDATA requests. Only CAP_SYS_PTRACE capable processes get suid/sgid semantics under ptrace, or can attach to a privileged processes. Andreas. -- Andreas Schwab, SuSE

Re: x86_64: 32bit emulation problems

2005-03-01 Thread Andreas Schwab
4bit kernels. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - To unsubscribe from this list: send

Re: x86_64: 32bit emulation problems

2005-03-01 Thread Andreas Schwab
is different between struct stat and struct stat64) overflows ino_t. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely

Re: x86_64: 32bit emulation problems

2005-03-01 Thread Andreas Schwab
Andi Kleen <[EMAIL PROTECTED]> writes: > On Tue, Mar 01, 2005 at 11:10:38PM +0100, Andreas Schwab wrote: >> That's because there are some values in the stat64 buffer delivered by the >> kernel which cannot be packed into the stat buffer that you pass to stat. >> Us

Re: x86_64: 32bit emulation problems

2005-03-01 Thread Andreas Schwab
only for nfs-mount points? Hmm, I >> will tomorrow compare the tcp-packges sent by the server. > > So I still think thats a kernel bug. This has nothing to do with the kernel. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nü

raid6altivec does not compile on ppc32

2005-02-24 Thread Andreas Schwab
On ppc32 cur_cpu_spec is an array of pointers, not just a pointer like on ppc64. drivers/md/raid6altivec1.c: In function `raid6_have_altivec': drivers/md/raid6altivec1.c:111: error: request for member `cpu_features' in something not a structure or union Andreas. -- Andreas Schwab,

Re: Pty is losing bytes

2005-02-15 Thread Andreas Schwab
Linus Torvalds <[EMAIL PROTECTED]> writes: > That's clearly not the case, and I haven't looked into exactly what > termios settings "forkpty()" uses If no termios is passed then the defaults are unchanged. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PRO

Re: Pty is losing bytes

2005-02-15 Thread Andreas Schwab
ty_write) from 4096 to 2048? Yes, that helps. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different.&quo

Re: Pty is losing bytes

2005-02-15 Thread Andreas Schwab
Alex Davis <[EMAIL PROTECTED]> writes: > Problem does not exist on 2.6.8.1. Yes, it is a pretty recent regression, reproducable since 2.6.10. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint =

Pty is losing bytes

2005-02-14 Thread Andreas Schwab
gt; 0) bytes_read -= bytes_written, p += bytes_written; } exit (0); } Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now

Re: [PROPOSAL/PATCH] Remove PT_GNU_STACK support before 2.6.11

2005-02-06 Thread Andreas Schwab
Andi Kleen <[EMAIL PROTECTED]> writes: > They worked fine forever - and suddenly you define them as buggy. Working fine does not imply non-buggy, never has, never will. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg

Re: Joe User DOS kills Linux-2.6.10

2005-02-02 Thread Andreas Schwab
linux-os <[EMAIL PROTECTED]> writes: > When I compile and run the following program: > > #include > int main(int x, char **y) > { > pause(); > } > ... as: > > ./xxx `yes` This is roughly equivalent to this: #include int main(void) { while (1) malloc

Re: [PATCH] Resume from initramfs

2005-01-31 Thread Andreas Schwab
look in Documentation/power/swsusp.txt >*/ > > +#define DEBUG > + > #include > #include > #include Another leftovers? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58C

Re: sizeof problem in kernel modules

2001-06-25 Thread Andreas Schwab
ture object the compiler can actually put the parts of it anywhere it likes, because you couldn't notice the difference. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PR

Re: pivot_root from non-interactive script

2001-06-19 Thread Andreas Schwab
Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PROTECTED] SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4E

Re: pivot_root from non-interactive script

2001-06-18 Thread Andreas Schwab
Perhaps the shell didn't close the filedescriptor on the script. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PROTECTED] SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnbe

Re: SMP races in proc with thread_struct

2001-05-04 Thread Andreas Schwab
died memory for its task_struct was released. |> >This is ungood. |> |> Wrap the reference to the parent task structure with exception table |> recovery code, like copy_from_user(). Exception tables only protect accesses to user virtual memory. Kernel memory referen

Re: [CHECKER] copy_*_user length bugs?

2001-04-18 Thread Andreas Schwab
s not a problem, since kernel and user address space are strictly distinct, even in the kernel. The luser will get an EFAULT eventually. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different.&q

Re: "uname -p" prints unknown for Athlon K7 optimized kernel?

2001-04-15 Thread Andreas Schwab
|> I get the same on my Sun Ultra 1, and various x86 boxes. I'm sure this is |> normal, I'm just not sure how you would change that label. I know gcc |> compiles everything with a target of gcc-linux-unkown on my machines, so |> the uknown may be coming from

Re: patch for PLIP and slow, interrupt-less computers

2001-04-14 Thread Andreas Schwab
|> MODULE_PARM(timid, "1i"); |> +MODULE_PARM(trigger_wait, "i"); |> +MODULE_PARM(nibble_wait, "i"); ^^^ The types don't match. Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: asm/unistd.h

2001-04-05 Thread Andreas Schwab
watch your compiler complaining: #define foo() { } #define bar() do { } while (0) void mumble () { if (1) foo(); else bar(); if (2) bar(); else foo(); } Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: unistd.h and 'extern's and 'syscall' "standard(?)"

2001-04-01 Thread Andreas Schwab
call. |> This implies that you can't do system calls directly w/o some |> support library. Don't use kernel headers in user programs. Just use syscall(3). Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
ernel should treat \r |> as just another whitespace character: it's what most shells do Do they? Bourne shells don't, tcsh doesn't, zsh doesn't. Andreas. -- Andreas Schwab "And now for something SuSE Labs

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
Jesse Pollard <[EMAIL PROTECTED]> writes: |> Andreas Schwab <[EMAIL PROTECTED]>:Andreas Schwab <[EMAIL PROTECTED]>Andreas Schwab |<[EMAIL PROTECTED]> |> > Paul Flinders <[EMAIL PROTECTED]> writes: |> > |> > |> Andreas Schwab wrot

Re: binfmt_script and ^M

2001-03-06 Thread Andreas Schwab
Paul Flinders <[EMAIL PROTECTED]> writes: |> Andreas Schwab wrote: |> |> > This [isspace('\r') == 1] has no significance here. The right thing to |> |> > look at is $IFS, which does not contain \r by default. The shell only splits |> |> > words

Re: binfmt_script and ^M

2001-03-05 Thread Andreas Schwab
/bin/sh. |> |> POSIX disagrees with you (accd to the manual page) |> |> $ man isspace This has no significance here. The right thing to look at is $IFS, which does not contain \r by default. The shell only splits words by "IFS whitespace", and the kernel should be consisten

Re: binfmt_script and ^M

2001-03-05 Thread Andreas Schwab
^ |> + char buf[80]; |> + char *interpreter = extract_hash_bang_interpreter (pathname, buf); |> + |> + internal_error ("%s: command not found: `%s'", pathname, |> + interpreter); |> +

Re: [ANNONCE] Kernel Autoconfiguration utility v.0.9.1.2

2001-02-15 Thread Andreas Schwab
-if [ "${!conf}" != "y" ]; then |> +if [ "${conf}" != "y" ]; then |> define $1 y |> else |> debug "$1=y" This is plain wrong. ${!conf} and ${conf} are completely different things. Andreas. -- Andreas Schwa

Re: rlim_t and DNS?

2001-02-02 Thread Andreas Schwab
Peter Samuelson <[EMAIL PROTECTED]> writes: |> [Admin Mailing Lists] |> > i have no bits directory |> |> Really? What version of libc, and on what Linux distro? I thought all |> versions of glibc2 had /usr/include/bits/. No, it was introduced in glibc 2.0.5. Andr

Re: Documenting stat(2)

2001-01-19 Thread Andreas Schwab
e details of the symlink |> whereas lstat should return the details of the symlink target. Nope, check the facts. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PRO

Re: [PATCH] no RLIMIT_NPROC for root, please

2000-11-28 Thread Andreas Schwab
g patch is the right thing. AFAICS, _all_ resource limits are equally applied to root processes. Why should NPROC be different? Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely differen

Re: [PATCH] removal of "static foo = 0"

2000-11-28 Thread Andreas Schwab
Andrea Arcangeli <[EMAIL PROTECTED]> writes: |> On Tue, Nov 28, 2000 at 10:55:06AM +0100, Andreas Schwab wrote: |> > Alexander Viro <[EMAIL PROTECTED]> writes: |> > |> > |> On Tue, 28 Nov 2000, Andrea Arcangeli wrote: |> > |> |> > |> > O

Re: [PATCH] removal of "static foo = 0"

2000-11-28 Thread Andreas Schwab
> > > test2.c: |> > > int a,c; |> > > |> > > Which is _stronger_? |> > |> > Those won't link together as they aren't declared static. |> |> Try it. They _will_ link together. Not if you compile with -fno-common, which should actuall

Re: linux-2.2.18-pre19 asm/delay.h problem?

2000-11-22 Thread Andreas Schwab
Igmar Palsenberg <[EMAIL PROTECTED]> writes: |> > > #define __bad_udelay() panic("Udelay called with too large a constant") |> |> Can't we change that to : |> #error "Udelay..." No. Andreas. -- Andreas Schwab

Re: [OT] Re: Possible C++ safe header project - Re:[Criticism] On the discussion about C++ modules

2000-10-24 Thread Andreas Schwab
ace not not_eq or or_eq private protected public reinterpret_cast static_cast template this throw true try typeid typename using wchar_t xor xor_eq Andreas. -- Andreas Schwab "And now for something SuSE Labscompletel

Re: __bad_udelay in 2.2.18pre15

2000-10-11 Thread Andreas Schwab
trap |> |> Wouldn't it be better to use an #error directive? There is no way to test the condition in the preprocessor. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different."

Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Andreas Schwab
"$$BASH" ]; then echo $$BASH; \ elif [ -x /bin/bash ]; then echo /bin/bash; \ else echo sh; fi) Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [

Re: __ucmpdi2

2000-09-19 Thread Andreas Schwab
since it already does it in all other places. Perhaps some problem with the patterns in the machine description. Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PR

Re: [PATCH] 2.2: /proc/config.gz

2000-09-06 Thread Andreas Schwab
return get_proc_config(page, start, offset, length); +#endif + } return -EBADF; } Andreas. -- Andreas Schwab "And now for something SuSE Labscompletely different." [EMAIL PROTECTED] Su

<    1   2   3   4   5   6