.history

p0czt@poczta.fm p0czt w poczta.fm
Sob, 11 Wrz 2004, 20:58:30 CEST


> Zbuduj basha z:
> ./builder --with bash_history bash.spec
> %bcond_with	bash_history	# build with additional history in
> /var/log/bash_hist ;)

Probowalem...
Whoops:

+ < /root/rpm/SOURCES/bash-backup_history.patch
1 out of 4 hunks FAILED- saving rejects to file bashhist.c.rej
błąd: Bad exit status from /var/tmp/rpm-tmp.63326 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.63326 (%prep)
Error: package build failed. (no more info)

# cat bashhist.c.rej

**************
*** 522,527 ***
    HIST_ENTRY *temp;
    int r;

    switch (history_control)
      {
      case 0:             /* nothing */
--- 526,535 ----
    HIST_ENTRY *temp;
    int r;

+
+   backup_add_history(line);
+
+
    switch (history_control)
      {
      case 0:           /* nothing */




Więcej informacji o liście dyskusyjnej pld-users-pl