Opened 12 years ago

Closed 12 years ago

#16 closed defect (fixed)

cpio can not stat files.

Reported by: Yuri Dario Owned by:
Priority: major Milestone:
Component: *none Version:
Severity: Keywords:
Cc:

Description

Reported by estellnb on rpm trac: http://svn.netlabs.org/rpm/ticket/49

cpio seems to be broken; it can not stat several files though /usr/bin/stat.exe can:

[e:\home]echo bin\highlight\profile.erx | cpio -o -H crc >bin.cpio
: Funktion »stat« fehlgeschlagen: No such file or directory
1 block

[e:\home]echo bin/highlight/profile.erx | cpio -o -H crc >bin.cpio
: Funktion »stat« fehlgeschlagen: No such file or directory
1 block

[e:\home]echo /home/bin/highlight/profile.erx | cpio -o -H crc >bin.cpio
: Funktion »stat« fehlgeschlagen: No such file or directory
1 block

[e:\home]echo E:/home/bin/highlight/profile.erx | cpio -o -H crc >bin.cpio
: Funktion »stat« fehlgeschlagen: No such file or directory
1 block

[e:\home]echo E:\home\bin\highlight\profile.erx | cpio -o -H crc >bin.cpio
: Funktion »stat« fehlgeschlagen: No such file or directory
1 block

[e:\home]dir bin\highlight\profile.erx

Volume in drive E is main Serial number is A0E8:A08F
Directory of E:\Home\bin\highlight\profile.erx

15.05.06 16.52 1.346 6.854 profile.erx

1.346 bytes in 1 file and 0 dirs

48.443.027.456 bytes (45GB) free

[e:\home]stat bin\highlight\profile.erx

File: bin
highlight
profile.erx
Size: 1346 Blocks: 24 IO Block: 49152 reguläre Datei

Device: 5645h/22085d Inode: 3517785638850085858 Links: 1
Access: (0666/-rw-rw-rw-) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN)
Access: 2006-05-15 20:09:04.000000000 +0100
Modify: 2006-05-15 16:52:36.000000000 +0100
Change: 2006-05-15 16:52:36.000000000 +0100

Birth: 2006-05-15 16:52:36.000000000 +0100

Change History (1)

comment:1 by Yuri Dario, 12 years ago

Resolution: fixed
Status: newclosed

cpio: remove file name ending \r due to binary stdin. fixes ticket:16.
Sending trunk/po/Makefile.in.in
Sending trunk/src/copyout.c
Sending trunk/src/copypass.c
Committed changeset:579

Note: See TracTickets for help on using tickets.