Dateinamen
Jan-Benedict Glaw
jbglaw at lug-owl.de
Sat Jan 1 21:50:13 CET 2000
On Sat, Jan 01, 2000 at 11:56:35AM +0100, Florian Lohoff wrote:
> On Thu, Dec 30, 1999 at 02:54:00AM +0100, Jan-Benedict Glaw wrote:
> > Hallo *!
> >
> > Gibt's eine portable Lösung zu canonicalize_file_name()?
> >
> > ---------| /usr/include/stdlib.h |---------
> > #ifdef __USE_GNU
> > /* Return a malloc'd string containing the canonical absolute name of the
> > named file. The last file name component need not exist, and may be a
> > symlink to a nonexistent file. */
> > extern char *canonicalize_file_name __P ((__const char *__name));
> > #endif
> > /---------| /usr/include/stdlib.h |---------
> >
> > __USE_GNU ist zwar unter Linux so ersteinmal definiert, aber leider nicht
> > immer, abhängig von anderen #include's (bzw. #define's).
>
> Da muss es einen Portablen weg zu geben - Perl selber benutzt teilweise dazu
> die CShell ....
Soll das heißen, daß man eine von Perls Funktionen/Modulen nicht nutzen
kann, wenn keine csh da ist? Und wie macht Perl das? Kannich da ein paar
Zeilen klauen? (Wie heißt die Funktion in Perl überhaupt?)
MfG, JBG
--
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20000101/5f4904a5/attachment.sig>
More information about the Linux
mailing list