summaryrefslogtreecommitdiff
path: root/hurd/porting/guidelines.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/porting/guidelines.mdwn')
-rw-r--r--hurd/porting/guidelines.mdwn8
1 files changed, 2 insertions, 6 deletions
diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn
index 5fd66292..bcfc8dd5 100644
--- a/hurd/porting/guidelines.mdwn
+++ b/hurd/porting/guidelines.mdwn
@@ -149,10 +149,6 @@ by
error_t err = error_t(EINTR);
-## <a name="Filenames_ending_in_a_slash_"> Filenames ending in a slash \`/' </a>
-
-Those are evil if they don't exist and you want to name a directory this way. For example, `mkdir foobar/` will not work on GNU. This is POSIX compatible. POSIX says that the path of a directory may have slashes appended to it. But the directory does not exist yet, so the path does not refer to a directory, and hence trailing slashes are not guaranteed to work. Just drop the slashes, and you're fine.
-
## <a name="Missing_termio_h_tt_"> Missing `termio.h` </a>
Change it to use `termios.h` (check for it properly with autoconf `HAVE_TERMIOS_H` or the `__GLIBC__` macro)
@@ -233,6 +229,6 @@ Not implemented, will always fail. Use `sem_init()` instead if possible.
Not implemented, not POSIX. Try to disable the feature in the package.
-## <a name="broken_libc6_dependency"> broken libc6 dependency </a>
+## <a name="parport"> <linux/parport.h> <linux/ppdev.h> </a>
-Some packages use an erroneous dependency on `libc6-dev`. This is incorrect because `libc6` is specific to GNU/Linux. The corresponding package for GNU is `libc0.3-dev` but other OSes will have different ones. You can locate the problem in the `debian/control` file of the source tree. Typical solutions include detecting the OS using `dpkg-architecture` and hardcoding the soname, or better, use a logical OR. eg: `libc6-dev | libc0.3-dev | libc-dev`. The `libc-dev` is a virtual package that works for any soname but you have to put it only as the last option.
+There is no programming interface for the parallel port on GNU/Hurd yet.