Ticket #2593: addattr_progname.diff
File addattr_progname.diff, 523 bytes (added by , 14 years ago) |
---|
-
src/bin/addattr/main.cpp
diff --git a/src/bin/addattr/main.cpp b/src/bin/addattr/main.cpp index 2f439c1..a207917 100644
a b static struct option const kLongOptions[] = { 29 29 }; 30 30 31 31 32 #ifndef HAIKU_HOST_PLATFORM_SUNOS 32 33 extern const char *__progname; 34 #endif 35 #ifdef HAIKU_HOST_PLATFORM_SUNOS 36 static const char *kProgramName = "addattr"; 37 #else 33 38 static const char *kProgramName = __progname; 39 #endif 34 40 35 41 36 42 // supported types (if you add any, make sure that writeAttr() handles